]>
Commit | Line | Data |
---|---|---|
93fd4692 NL |
1 | imports: |
2 | - { resource: parameters.yml } | |
3 | - { resource: security.yml } | |
4 | - { resource: services.yml } | |
5 | ||
64f81bc3 | 6 | parameters: |
e35f8439 | 7 | # Allows to use the live reload feature for changes in assets |
8655913e | 8 | use_webpack_dev_server: false |
64f81bc3 | 9 | |
93fd4692 NL |
10 | framework: |
11 | #esi: ~ | |
2bc9cad7 JB |
12 | translator: |
13 | enabled: true | |
14 | fallback: "%locale%" | |
15 | secret: "%secret%" | |
93fd4692 NL |
16 | router: |
17 | resource: "%kernel.root_dir%/config/routing.yml" | |
18 | strict_requirements: ~ | |
2bc9cad7 | 19 | form: ~ |
93fd4692 | 20 | csrf_protection: ~ |
2bc9cad7 JB |
21 | validation: |
22 | enable_annotations: true | |
93fd4692 NL |
23 | templating: |
24 | engines: ['twig'] | |
2bc9cad7 JB |
25 | default_locale: "%locale%" |
26 | trusted_hosts: ~ | |
93fd4692 NL |
27 | trusted_proxies: ~ |
28 | session: | |
29 | # handler_id set to null will use default session handler from php.ini | |
2bc9cad7 JB |
30 | handler_id: session.handler.native_file |
31 | save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%" | |
32 | fragments: ~ | |
93fd4692 | 33 | http_method_override: true |
d8dbe76b | 34 | assets: ~ |
93fd4692 | 35 | |
c89d35e8 | 36 | wallabag_core: |
8ef1df81 | 37 | version: 2.2.2 |
63e40f2d | 38 | paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" |
c89d35e8 NL |
39 | languages: |
40 | en: 'English' | |
41 | fr: 'Français' | |
57cf6fd7 | 42 | de: 'Deutsch' |
f47101e0 | 43 | tr: 'Türkçe' |
e2b4f0e2 | 44 | fa: 'فارسی' |
d8f5b270 | 45 | ro: 'Română' |
ee40ccf2 | 46 | pl: 'Polish' |
449df236 | 47 | da: 'Dansk' |
e5f3b04c | 48 | es: 'Español' |
187868d1 | 49 | oc: 'Occitan' |
8b09c6ed | 50 | it: 'Italiano' |
5d6cffed | 51 | pt: 'Português' |
bc789687 JB |
52 | items_on_page: 12 |
53 | theme: material | |
dd32c89e | 54 | language: '%locale%' |
bc789687 | 55 | rss_limit: 50 |
bca54859 | 56 | reading_speed: 1 |
b3f4a11a | 57 | cache_lifetime: 10 |
24879db1 | 58 | action_mark_as_read: 1 |
1680c95c | 59 | list_mode: 0 |
d1b07550 | 60 | fetching_error_message: | |
d36e5e20 | 61 | wallabag can't retrieve contents for this article. Please <a href="http://doc.wallabag.org/en/master/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>. |
efd351c9 | 62 | api_limit_mass_actions: 10 |
77a7752a | 63 | |
de3d716a | 64 | wallabag_user: |
7149aa57 | 65 | registration_enabled: "%fosuser_registration%" |
de3d716a | 66 | |
77a7752a | 67 | wallabag_import: |
ff1a5362 | 68 | allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv'] |
b1d05721 | 69 | resource_dir: "%kernel.root_dir%/../web/uploads/import" |
c89d35e8 | 70 | |
93fd4692 NL |
71 | # Twig Configuration |
72 | twig: | |
2bc9cad7 | 73 | debug: "%kernel.debug%" |
93fd4692 | 74 | strict_variables: "%kernel.debug%" |
5c895a7f JB |
75 | form_themes: |
76 | - "LexikFormFilterBundle:Form:form_div_layout.html.twig" | |
40e21962 | 77 | exception_controller: wallabag_core.exception_controller:showAction |
6682139e | 78 | |
93fd4692 NL |
79 | # Doctrine Configuration |
80 | doctrine: | |
81 | dbal: | |
2bc9cad7 | 82 | driver: "%database_driver%" |
61b9fdd5 NL |
83 | host: "%database_host%" |
84 | port: "%database_port%" | |
85 | dbname: "%database_name%" | |
86 | user: "%database_user%" | |
87 | password: "%database_password%" | |
98efffc2 | 88 | charset: "%database_charset%" |
2bc9cad7 | 89 | path: "%database_path%" |
6d204f53 | 90 | unix_socket: "%database_socket%" |
69c21157 | 91 | server_version: 5.6 |
93fd4692 NL |
92 | |
93 | orm: | |
94 | auto_generate_proxy_classes: "%kernel.debug%" | |
164bd801 J |
95 | entity_managers: |
96 | default: | |
164bd801 | 97 | auto_mapping: true |
93fd4692 | 98 | |
3c65dfb7 NL |
99 | stof_doctrine_extensions: |
100 | default_locale: "%locale%" | |
101 | translation_fallback: true | |
102 | orm: | |
103 | default: | |
104 | tree: true | |
105 | sluggable: true | |
106 | ||
292c1324 NL |
107 | doctrine_migrations: |
108 | dir_name: "%kernel.root_dir%/DoctrineMigrations" | |
109 | namespace: Application\Migrations | |
110 | table_name: migration_versions | |
111 | name: Application Migrations | |
112 | ||
93fd4692 NL |
113 | # Swiftmailer Configuration |
114 | swiftmailer: | |
115 | transport: "%mailer_transport%" | |
2bc9cad7 JB |
116 | host: "%mailer_host%" |
117 | username: "%mailer_user%" | |
118 | password: "%mailer_password%" | |
119 | spool: | |
120 | type: memory | |
e4788de5 NL |
121 | |
122 | fos_rest: | |
123 | param_fetcher_listener: true | |
124 | body_listener: true | |
e4788de5 | 125 | view: |
f1c3f68e JB |
126 | mime_types: |
127 | csv: | |
128 | - 'text/csv' | |
129 | - 'text/plain' | |
130 | pdf: | |
131 | - 'application/pdf' | |
132 | epub: | |
133 | - 'application/epub+zip' | |
134 | mobi: | |
135 | - 'application/x-mobipocket-ebook' | |
e4788de5 NL |
136 | view_response_listener: 'force' |
137 | formats: | |
138 | xml: true | |
f1c3f68e JB |
139 | json: true |
140 | txt: true | |
141 | csv: true | |
142 | pdf: true | |
143 | epub: true | |
144 | mobi: true | |
e4788de5 NL |
145 | templating_formats: |
146 | html: true | |
147 | force_redirects: | |
148 | html: true | |
149 | failed_validation: HTTP_BAD_REQUEST | |
150 | default_engine: twig | |
151 | routing_loader: | |
a65f5d55 | 152 | default_format: json |
f1c3f68e JB |
153 | format_listener: |
154 | enabled: true | |
155 | rules: | |
0bacc9e1 NL |
156 | - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false } |
157 | - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false } | |
158 | - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false } | |
f1c3f68e JB |
159 | # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener |
160 | # so we need to add custom rule for custom api export but also for all other routes of the application... | |
161 | - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false } | |
e4788de5 | 162 | |
cd1298d6 NL |
163 | nelmio_api_doc: |
164 | sandbox: | |
165 | enabled: false | |
3f3a6087 JB |
166 | cache: |
167 | enabled: true | |
3c65dfb7 | 168 | name: wallabag API documentation |
fca3c757 NL |
169 | |
170 | nelmio_cors: | |
171 | defaults: | |
172 | allow_credentials: false | |
173 | allow_origin: [] | |
174 | allow_headers: [] | |
175 | allow_methods: [] | |
176 | expose_headers: [] | |
177 | max_age: 0 | |
178 | hosts: [] | |
179 | #origin_regex: false | |
180 | paths: | |
181 | '^/api/': | |
182 | allow_origin: ['*'] | |
183 | allow_headers: ['X-Custom-Auth'] | |
41c9eecf | 184 | allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE'] |
fca3c757 | 185 | max_age: 3600 |
848c2e1b | 186 | '^/oauth/': |
fca3c757 NL |
187 | allow_origin: ['*'] |
188 | allow_headers: ['X-Custom-Auth'] | |
189 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
190 | max_age: 3600 | |
191 | '^/': | |
192 | #origin_regex: true | |
193 | allow_origin: ['^http://localhost:[0-9]+'] | |
194 | allow_headers: ['X-Custom-Auth'] | |
195 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
196 | max_age: 3600 | |
197 | hosts: ['^api\.'] | |
32da2a70 J |
198 | |
199 | liip_theme: | |
200 | load_controllers: false | |
201 | themes: | |
202 | - baggy | |
9948d899 | 203 | - material |
32da2a70 J |
204 | autodetect_theme: wallabag_core.helper.detect_active_theme |
205 | ||
206 | path_patterns: | |
32da2a70 | 207 | bundle_resource: |
23634d5d | 208 | - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%" |
a1691859 NL |
209 | |
210 | fos_user: | |
211 | db_driver: orm | |
fdc90ceb | 212 | firewall_name: secured_area |
1210dae1 | 213 | user_class: Wallabag\UserBundle\Entity\User |
fcb1fba5 | 214 | registration: |
fcb1fba5 | 215 | confirmation: |
23634d5d | 216 | enabled: "%fosuser_confirmation%" |
a40dd989 | 217 | from_email: |
23634d5d | 218 | address: "%from_email%" |
a40dd989 | 219 | sender_name: wallabag |
5066c3e0 | 220 | |
fcb1fba5 NL |
221 | fos_oauth_server: |
222 | db_driver: orm | |
223 | client_class: Wallabag\ApiBundle\Entity\Client | |
224 | access_token_class: Wallabag\ApiBundle\Entity\AccessToken | |
225 | refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken | |
226 | auth_code_class: Wallabag\ApiBundle\Entity\AuthCode | |
227 | service: | |
5066c3e0 | 228 | user_provider: fos_user.user_provider.username_email |
05cdd393 YE |
229 | options: |
230 | refresh_token_lifetime: 1209600 | |
5066c3e0 | 231 | |
2db616b5 | 232 | scheb_two_factor: |
2db616b5 NL |
233 | trusted_computer: |
234 | enabled: true | |
235 | cookie_name: wllbg_trusted_computer | |
0d6a7929 | 236 | cookie_lifetime: 2592000 |
2db616b5 NL |
237 | |
238 | email: | |
23634d5d JB |
239 | enabled: "%twofactor_auth%" |
240 | sender_email: "%twofactor_sender%" | |
2db616b5 NL |
241 | digits: 6 |
242 | template: WallabagUserBundle:Authentication:form.html.twig | |
23ff8d36 | 243 | mailer: wallabag_user.auth_code_mailer |
625acf33 KG |
244 | |
245 | kphoen_rulerz: | |
177c5510 | 246 | targets: |
625acf33 | 247 | doctrine: true |
fbbda941 | 248 | |
56c778b4 NL |
249 | old_sound_rabbit_mq: |
250 | connections: | |
251 | default: | |
ef75e122 JB |
252 | host: "%rabbitmq_host%" |
253 | port: "%rabbitmq_port%" | |
254 | user: "%rabbitmq_user%" | |
255 | password: "%rabbitmq_password%" | |
56c778b4 | 256 | vhost: / |
ef75e122 | 257 | lazy: true |
56c778b4 | 258 | producers: |
c98db1b6 | 259 | import_pocket: |
56c778b4 NL |
260 | connection: default |
261 | exchange_options: | |
ef75e122 | 262 | name: 'wallabag.import.pocket' |
56c778b4 | 263 | type: topic |
c98db1b6 JB |
264 | import_readability: |
265 | connection: default | |
266 | exchange_options: | |
267 | name: 'wallabag.import.readability' | |
268 | type: topic | |
9ab024b4 JB |
269 | import_pinboard: |
270 | connection: default | |
271 | exchange_options: | |
272 | name: 'wallabag.import.pinboard' | |
273 | type: topic | |
c7ea9b41 JB |
274 | import_instapaper: |
275 | connection: default | |
276 | exchange_options: | |
277 | name: 'wallabag.import.instapaper' | |
278 | type: topic | |
c98db1b6 JB |
279 | import_wallabag_v1: |
280 | connection: default | |
281 | exchange_options: | |
282 | name: 'wallabag.import.wallabag_v1' | |
283 | type: topic | |
284 | import_wallabag_v2: | |
285 | connection: default | |
286 | exchange_options: | |
287 | name: 'wallabag.import.wallabag_v2' | |
288 | type: topic | |
2c61db30 TC |
289 | import_firefox: |
290 | connection: default | |
291 | exchange_options: | |
292 | name: 'wallabag.import.firefox' | |
293 | type: topic | |
294 | import_chrome: | |
295 | connection: default | |
296 | exchange_options: | |
297 | name: 'wallabag.import.chrome' | |
298 | type: topic | |
56c778b4 | 299 | consumers: |
c98db1b6 | 300 | import_pocket: |
56c778b4 NL |
301 | connection: default |
302 | exchange_options: | |
ef75e122 | 303 | name: 'wallabag.import.pocket' |
56c778b4 NL |
304 | type: topic |
305 | queue_options: | |
ef75e122 | 306 | name: 'wallabag.import.pocket' |
ac87e0db | 307 | callback: wallabag_import.consumer.amqp.pocket |
881b0578 | 308 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
c98db1b6 JB |
309 | import_readability: |
310 | connection: default | |
311 | exchange_options: | |
312 | name: 'wallabag.import.readability' | |
313 | type: topic | |
314 | queue_options: | |
315 | name: 'wallabag.import.readability' | |
ac87e0db | 316 | callback: wallabag_import.consumer.amqp.readability |
881b0578 | 317 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
c7ea9b41 JB |
318 | import_instapaper: |
319 | connection: default | |
320 | exchange_options: | |
321 | name: 'wallabag.import.instapaper' | |
322 | type: topic | |
323 | queue_options: | |
324 | name: 'wallabag.import.instapaper' | |
325 | callback: wallabag_import.consumer.amqp.instapaper | |
881b0578 | 326 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
9ab024b4 JB |
327 | import_pinboard: |
328 | connection: default | |
329 | exchange_options: | |
330 | name: 'wallabag.import.pinboard' | |
331 | type: topic | |
332 | queue_options: | |
333 | name: 'wallabag.import.pinboard' | |
334 | callback: wallabag_import.consumer.amqp.pinboard | |
881b0578 | 335 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
c98db1b6 JB |
336 | import_wallabag_v1: |
337 | connection: default | |
338 | exchange_options: | |
339 | name: 'wallabag.import.wallabag_v1' | |
340 | type: topic | |
341 | queue_options: | |
342 | name: 'wallabag.import.wallabag_v1' | |
ac87e0db | 343 | callback: wallabag_import.consumer.amqp.wallabag_v1 |
881b0578 | 344 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
c98db1b6 JB |
345 | import_wallabag_v2: |
346 | connection: default | |
347 | exchange_options: | |
348 | name: 'wallabag.import.wallabag_v2' | |
349 | type: topic | |
350 | queue_options: | |
351 | name: 'wallabag.import.wallabag_v2' | |
ac87e0db | 352 | callback: wallabag_import.consumer.amqp.wallabag_v2 |
881b0578 | 353 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
2c61db30 TC |
354 | import_firefox: |
355 | connection: default | |
356 | exchange_options: | |
357 | name: 'wallabag.import.firefox' | |
358 | type: topic | |
359 | queue_options: | |
360 | name: 'wallabag.import.firefox' | |
361 | callback: wallabag_import.consumer.amqp.firefox | |
881b0578 | 362 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
2c61db30 TC |
363 | import_chrome: |
364 | connection: default | |
365 | exchange_options: | |
366 | name: 'wallabag.import.chrome' | |
367 | type: topic | |
368 | queue_options: | |
369 | name: 'wallabag.import.chrome' | |
370 | callback: wallabag_import.consumer.amqp.chrome | |
881b0578 | 371 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
3cc78f06 NL |
372 | |
373 | fos_js_routing: | |
49c5d0ad NL |
374 | routes_to_expose: |
375 | - homepage | |
376 | - starred | |
377 | - archive | |
378 | - all | |
379 | - tag | |
380 | - config | |
381 | - import | |
382 | - developer | |
383 | - howto | |
66e9dde0 | 384 | - fos_user_security_logout |
995c2044 | 385 | - new |