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