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