diff options
author | Kevin Decherf <kevin@kdecherf.com> | 2020-04-26 15:39:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-26 15:39:57 +0200 |
commit | 0e8a0f77d0b643a884e6687bd9c463267852a970 (patch) | |
tree | 88c6761b4215637bba34b263015e87750c92a187 /app/config | |
parent | 8a8a78a64c116caf81aaa4339906298bdc0e32e0 (diff) | |
parent | 71f7e58fbd84e1d15c7a405a3c5872adb937dc37 (diff) | |
download | wallabag-0e8a0f77d0b643a884e6687bd9c463267852a970.tar.gz wallabag-0e8a0f77d0b643a884e6687bd9c463267852a970.tar.zst wallabag-0e8a0f77d0b643a884e6687bd9c463267852a970.zip |
Merge pull request #4026 from wallabag/3760-ignorelist-db
Move Ignore Origin rules to database
Diffstat (limited to 'app/config')
-rw-r--r-- | app/config/security.yml | 1 | ||||
-rw-r--r-- | app/config/wallabag.yml | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/app/config/security.yml b/app/config/security.yml index 760b2550..5a73440b 100644 --- a/app/config/security.yml +++ b/app/config/security.yml | |||
@@ -79,4 +79,5 @@ security: | |||
79 | - { path: ^/annotations, roles: ROLE_USER } | 79 | - { path: ^/annotations, roles: ROLE_USER } |
80 | - { path: ^/2fa, role: IS_AUTHENTICATED_2FA_IN_PROGRESS } | 80 | - { path: ^/2fa, role: IS_AUTHENTICATED_2FA_IN_PROGRESS } |
81 | - { path: ^/users, roles: ROLE_SUPER_ADMIN } | 81 | - { path: ^/users, roles: ROLE_SUPER_ADMIN } |
82 | - { path: ^/ignore-origin-instance-rules, roles: ROLE_SUPER_ADMIN } | ||
82 | - { path: ^/, roles: ROLE_USER } | 83 | - { path: ^/, roles: ROLE_USER } |
diff --git a/app/config/wallabag.yml b/app/config/wallabag.yml index eaa92507..4dad9200 100644 --- a/app/config/wallabag.yml +++ b/app/config/wallabag.yml | |||
@@ -165,6 +165,14 @@ wallabag_core: | |||
165 | value: 0 | 165 | value: 0 |
166 | section: entry | 166 | section: entry |
167 | 167 | ||
168 | default_ignore_origin_instance_rules: | ||
169 | - | ||
170 | rule: host = "feedproxy.google.com" | ||
171 | - | ||
172 | rule: host = "feeds.reuters.com" | ||
173 | - | ||
174 | rule: _all ~ "https?://www\.lemonde\.fr/tiny.*" | ||
175 | |||
168 | wallabag_user: | 176 | wallabag_user: |
169 | registration_enabled: "%fosuser_registration%" | 177 | registration_enabled: "%fosuser_registration%" |
170 | 178 | ||