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