]>
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 |
77a7752a | 65 | |
de3d716a | 66 | wallabag_user: |
7149aa57 | 67 | registration_enabled: "%fosuser_registration%" |
de3d716a | 68 | |
77a7752a | 69 | wallabag_import: |
ff1a5362 | 70 | allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv'] |
b1d05721 | 71 | resource_dir: "%kernel.root_dir%/../web/uploads/import" |
c89d35e8 | 72 | |
93fd4692 NL |
73 | # Twig Configuration |
74 | twig: | |
2bc9cad7 | 75 | debug: "%kernel.debug%" |
93fd4692 | 76 | strict_variables: "%kernel.debug%" |
5c895a7f JB |
77 | form_themes: |
78 | - "LexikFormFilterBundle:Form:form_div_layout.html.twig" | |
40e21962 | 79 | exception_controller: wallabag_core.exception_controller:showAction |
6682139e | 80 | |
93fd4692 NL |
81 | # Doctrine Configuration |
82 | doctrine: | |
83 | dbal: | |
2bc9cad7 | 84 | driver: "%database_driver%" |
61b9fdd5 NL |
85 | host: "%database_host%" |
86 | port: "%database_port%" | |
87 | dbname: "%database_name%" | |
88 | user: "%database_user%" | |
89 | password: "%database_password%" | |
98efffc2 | 90 | charset: "%database_charset%" |
2bc9cad7 | 91 | path: "%database_path%" |
6d204f53 | 92 | unix_socket: "%database_socket%" |
69c21157 | 93 | server_version: 5.6 |
93fd4692 NL |
94 | |
95 | orm: | |
96 | auto_generate_proxy_classes: "%kernel.debug%" | |
164bd801 J |
97 | entity_managers: |
98 | default: | |
164bd801 | 99 | auto_mapping: true |
93fd4692 | 100 | |
3c65dfb7 NL |
101 | stof_doctrine_extensions: |
102 | default_locale: "%locale%" | |
103 | translation_fallback: true | |
104 | orm: | |
105 | default: | |
106 | tree: true | |
107 | sluggable: true | |
108 | ||
292c1324 NL |
109 | doctrine_migrations: |
110 | dir_name: "%kernel.root_dir%/DoctrineMigrations" | |
111 | namespace: Application\Migrations | |
112 | table_name: migration_versions | |
113 | name: Application Migrations | |
114 | ||
93fd4692 NL |
115 | # Swiftmailer Configuration |
116 | swiftmailer: | |
117 | transport: "%mailer_transport%" | |
2bc9cad7 JB |
118 | host: "%mailer_host%" |
119 | username: "%mailer_user%" | |
120 | password: "%mailer_password%" | |
121 | spool: | |
122 | type: memory | |
e4788de5 NL |
123 | |
124 | fos_rest: | |
125 | param_fetcher_listener: true | |
126 | body_listener: true | |
e4788de5 | 127 | view: |
f1c3f68e JB |
128 | mime_types: |
129 | csv: | |
130 | - 'text/csv' | |
131 | - 'text/plain' | |
132 | pdf: | |
133 | - 'application/pdf' | |
134 | epub: | |
135 | - 'application/epub+zip' | |
136 | mobi: | |
137 | - 'application/x-mobipocket-ebook' | |
e4788de5 NL |
138 | view_response_listener: 'force' |
139 | formats: | |
140 | xml: true | |
f1c3f68e JB |
141 | json: true |
142 | txt: true | |
143 | csv: true | |
144 | pdf: true | |
145 | epub: true | |
146 | mobi: true | |
e4788de5 NL |
147 | templating_formats: |
148 | html: true | |
149 | force_redirects: | |
150 | html: true | |
151 | failed_validation: HTTP_BAD_REQUEST | |
152 | default_engine: twig | |
153 | routing_loader: | |
a65f5d55 | 154 | default_format: json |
f1c3f68e JB |
155 | format_listener: |
156 | enabled: true | |
157 | rules: | |
0bacc9e1 NL |
158 | - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false } |
159 | - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false } | |
160 | - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false } | |
f1c3f68e JB |
161 | # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener |
162 | # so we need to add custom rule for custom api export but also for all other routes of the application... | |
163 | - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false } | |
e4788de5 | 164 | |
cd1298d6 NL |
165 | nelmio_api_doc: |
166 | sandbox: | |
167 | enabled: false | |
3f3a6087 JB |
168 | cache: |
169 | enabled: true | |
3c65dfb7 | 170 | name: wallabag API documentation |
fca3c757 NL |
171 | |
172 | nelmio_cors: | |
173 | defaults: | |
174 | allow_credentials: false | |
175 | allow_origin: [] | |
176 | allow_headers: [] | |
177 | allow_methods: [] | |
178 | expose_headers: [] | |
179 | max_age: 0 | |
180 | hosts: [] | |
181 | #origin_regex: false | |
182 | paths: | |
183 | '^/api/': | |
184 | allow_origin: ['*'] | |
185 | allow_headers: ['X-Custom-Auth'] | |
41c9eecf | 186 | allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE'] |
fca3c757 | 187 | max_age: 3600 |
848c2e1b | 188 | '^/oauth/': |
fca3c757 NL |
189 | allow_origin: ['*'] |
190 | allow_headers: ['X-Custom-Auth'] | |
191 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
192 | max_age: 3600 | |
193 | '^/': | |
194 | #origin_regex: true | |
195 | allow_origin: ['^http://localhost:[0-9]+'] | |
196 | allow_headers: ['X-Custom-Auth'] | |
197 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | |
198 | max_age: 3600 | |
199 | hosts: ['^api\.'] | |
32da2a70 J |
200 | |
201 | liip_theme: | |
202 | load_controllers: false | |
203 | themes: | |
204 | - baggy | |
9948d899 | 205 | - material |
32da2a70 J |
206 | autodetect_theme: wallabag_core.helper.detect_active_theme |
207 | ||
208 | path_patterns: | |
32da2a70 | 209 | bundle_resource: |
23634d5d | 210 | - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%" |
a1691859 NL |
211 | |
212 | fos_user: | |
213 | db_driver: orm | |
fdc90ceb | 214 | firewall_name: secured_area |
1210dae1 | 215 | user_class: Wallabag\UserBundle\Entity\User |
fcb1fba5 | 216 | registration: |
fcb1fba5 | 217 | confirmation: |
23634d5d | 218 | enabled: "%fosuser_confirmation%" |
a40dd989 | 219 | from_email: |
23634d5d | 220 | address: "%from_email%" |
a40dd989 | 221 | sender_name: wallabag |
5066c3e0 | 222 | |
fcb1fba5 NL |
223 | fos_oauth_server: |
224 | db_driver: orm | |
225 | client_class: Wallabag\ApiBundle\Entity\Client | |
226 | access_token_class: Wallabag\ApiBundle\Entity\AccessToken | |
227 | refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken | |
228 | auth_code_class: Wallabag\ApiBundle\Entity\AuthCode | |
229 | service: | |
5066c3e0 | 230 | user_provider: fos_user.user_provider.username_email |
05cdd393 YE |
231 | options: |
232 | refresh_token_lifetime: 1209600 | |
5066c3e0 | 233 | |
2db616b5 | 234 | scheb_two_factor: |
2db616b5 NL |
235 | trusted_computer: |
236 | enabled: true | |
237 | cookie_name: wllbg_trusted_computer | |
0d6a7929 | 238 | cookie_lifetime: 2592000 |
2db616b5 NL |
239 | |
240 | email: | |
23634d5d JB |
241 | enabled: "%twofactor_auth%" |
242 | sender_email: "%twofactor_sender%" | |
2db616b5 NL |
243 | digits: 6 |
244 | template: WallabagUserBundle:Authentication:form.html.twig | |
23ff8d36 | 245 | mailer: wallabag_user.auth_code_mailer |
625acf33 KG |
246 | |
247 | kphoen_rulerz: | |
177c5510 | 248 | targets: |
625acf33 | 249 | doctrine: true |
fbbda941 | 250 | |
56c778b4 NL |
251 | old_sound_rabbit_mq: |
252 | connections: | |
253 | default: | |
ef75e122 JB |
254 | host: "%rabbitmq_host%" |
255 | port: "%rabbitmq_port%" | |
256 | user: "%rabbitmq_user%" | |
257 | password: "%rabbitmq_password%" | |
56c778b4 | 258 | vhost: / |
ef75e122 | 259 | lazy: true |
56c778b4 | 260 | producers: |
c98db1b6 | 261 | import_pocket: |
56c778b4 NL |
262 | connection: default |
263 | exchange_options: | |
ef75e122 | 264 | name: 'wallabag.import.pocket' |
56c778b4 | 265 | type: topic |
c98db1b6 JB |
266 | import_readability: |
267 | connection: default | |
268 | exchange_options: | |
269 | name: 'wallabag.import.readability' | |
270 | type: topic | |
9ab024b4 JB |
271 | import_pinboard: |
272 | connection: default | |
273 | exchange_options: | |
274 | name: 'wallabag.import.pinboard' | |
275 | type: topic | |
c7ea9b41 JB |
276 | import_instapaper: |
277 | connection: default | |
278 | exchange_options: | |
279 | name: 'wallabag.import.instapaper' | |
280 | type: topic | |
c98db1b6 JB |
281 | import_wallabag_v1: |
282 | connection: default | |
283 | exchange_options: | |
284 | name: 'wallabag.import.wallabag_v1' | |
285 | type: topic | |
286 | import_wallabag_v2: | |
287 | connection: default | |
288 | exchange_options: | |
289 | name: 'wallabag.import.wallabag_v2' | |
290 | type: topic | |
2c61db30 TC |
291 | import_firefox: |
292 | connection: default | |
293 | exchange_options: | |
294 | name: 'wallabag.import.firefox' | |
295 | type: topic | |
296 | import_chrome: | |
297 | connection: default | |
298 | exchange_options: | |
299 | name: 'wallabag.import.chrome' | |
300 | type: topic | |
56c778b4 | 301 | consumers: |
c98db1b6 | 302 | import_pocket: |
56c778b4 NL |
303 | connection: default |
304 | exchange_options: | |
ef75e122 | 305 | name: 'wallabag.import.pocket' |
56c778b4 NL |
306 | type: topic |
307 | queue_options: | |
ef75e122 | 308 | name: 'wallabag.import.pocket' |
ac87e0db | 309 | callback: wallabag_import.consumer.amqp.pocket |
881b0578 | 310 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
c98db1b6 JB |
311 | import_readability: |
312 | connection: default | |
313 | exchange_options: | |
314 | name: 'wallabag.import.readability' | |
315 | type: topic | |
316 | queue_options: | |
317 | name: 'wallabag.import.readability' | |
ac87e0db | 318 | callback: wallabag_import.consumer.amqp.readability |
881b0578 | 319 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
c7ea9b41 JB |
320 | import_instapaper: |
321 | connection: default | |
322 | exchange_options: | |
323 | name: 'wallabag.import.instapaper' | |
324 | type: topic | |
325 | queue_options: | |
326 | name: 'wallabag.import.instapaper' | |
327 | callback: wallabag_import.consumer.amqp.instapaper | |
881b0578 | 328 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
9ab024b4 JB |
329 | import_pinboard: |
330 | connection: default | |
331 | exchange_options: | |
332 | name: 'wallabag.import.pinboard' | |
333 | type: topic | |
334 | queue_options: | |
335 | name: 'wallabag.import.pinboard' | |
336 | callback: wallabag_import.consumer.amqp.pinboard | |
881b0578 | 337 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
c98db1b6 JB |
338 | import_wallabag_v1: |
339 | connection: default | |
340 | exchange_options: | |
341 | name: 'wallabag.import.wallabag_v1' | |
342 | type: topic | |
343 | queue_options: | |
344 | name: 'wallabag.import.wallabag_v1' | |
ac87e0db | 345 | callback: wallabag_import.consumer.amqp.wallabag_v1 |
881b0578 | 346 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
c98db1b6 JB |
347 | import_wallabag_v2: |
348 | connection: default | |
349 | exchange_options: | |
350 | name: 'wallabag.import.wallabag_v2' | |
351 | type: topic | |
352 | queue_options: | |
353 | name: 'wallabag.import.wallabag_v2' | |
ac87e0db | 354 | callback: wallabag_import.consumer.amqp.wallabag_v2 |
881b0578 | 355 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
2c61db30 TC |
356 | import_firefox: |
357 | connection: default | |
358 | exchange_options: | |
359 | name: 'wallabag.import.firefox' | |
360 | type: topic | |
361 | queue_options: | |
362 | name: 'wallabag.import.firefox' | |
363 | callback: wallabag_import.consumer.amqp.firefox | |
881b0578 | 364 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
2c61db30 TC |
365 | import_chrome: |
366 | connection: default | |
367 | exchange_options: | |
368 | name: 'wallabag.import.chrome' | |
369 | type: topic | |
370 | queue_options: | |
371 | name: 'wallabag.import.chrome' | |
372 | callback: wallabag_import.consumer.amqp.chrome | |
881b0578 | 373 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
3cc78f06 NL |
374 | |
375 | fos_js_routing: | |
49c5d0ad NL |
376 | routes_to_expose: |
377 | - homepage | |
378 | - starred | |
379 | - archive | |
380 | - all | |
381 | - tag | |
382 | - config | |
383 | - import | |
384 | - developer | |
385 | - howto | |
66e9dde0 | 386 | - fos_user_security_logout |
995c2044 | 387 | - new |