diff options
Diffstat (limited to 'app/config/config.yml')
-rw-r--r-- | app/config/config.yml | 77 |
1 files changed, 65 insertions, 12 deletions
diff --git a/app/config/config.yml b/app/config/config.yml index 0c2b6a1d..0b325afe 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -46,7 +46,6 @@ twig: | |||
46 | doctrine: | 46 | doctrine: |
47 | dbal: | 47 | dbal: |
48 | driver: "%database_driver%" | 48 | driver: "%database_driver%" |
49 | driver_class: "%database_driver_class%" | ||
50 | host: "%database_host%" | 49 | host: "%database_host%" |
51 | port: "%database_port%" | 50 | port: "%database_port%" |
52 | dbname: "%database_name%" | 51 | dbname: "%database_name%" |
@@ -55,7 +54,6 @@ doctrine: | |||
55 | charset: "%database_charset%" | 54 | charset: "%database_charset%" |
56 | path: "%database_path%" | 55 | path: "%database_path%" |
57 | unix_socket: "%database_socket%" | 56 | unix_socket: "%database_socket%" |
58 | server_version: 5.6 | ||
59 | 57 | ||
60 | orm: | 58 | orm: |
61 | auto_generate_proxy_classes: "%kernel.debug%" | 59 | auto_generate_proxy_classes: "%kernel.debug%" |
@@ -79,10 +77,13 @@ doctrine_migrations: | |||
79 | 77 | ||
80 | # Swiftmailer Configuration | 78 | # Swiftmailer Configuration |
81 | swiftmailer: | 79 | swiftmailer: |
82 | transport: "%mailer_transport%" | 80 | transport: "%mailer_transport%" |
83 | host: "%mailer_host%" | 81 | username: "%mailer_user%" |
84 | username: "%mailer_user%" | 82 | password: "%mailer_password%" |
85 | password: "%mailer_password%" | 83 | host: "%mailer_host%" |
84 | port: "%mailer_port%" | ||
85 | encryption: "%mailer_encryption%" | ||
86 | auth_mode: "%mailer_auth_mode%" | ||
86 | spool: | 87 | spool: |
87 | type: memory | 88 | type: memory |
88 | 89 | ||
@@ -147,18 +148,18 @@ nelmio_cors: | |||
147 | paths: | 148 | paths: |
148 | '^/api/': | 149 | '^/api/': |
149 | allow_origin: ['*'] | 150 | allow_origin: ['*'] |
150 | allow_headers: ['X-Custom-Auth'] | 151 | allow_headers: ['Authorization','content-type'] |
151 | allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE'] | 152 | allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE'] |
152 | max_age: 3600 | 153 | max_age: 3600 |
153 | '^/oauth/': | 154 | '^/oauth/': |
154 | allow_origin: ['*'] | 155 | allow_origin: ['*'] |
155 | allow_headers: ['X-Custom-Auth'] | 156 | allow_headers: ['Authorization','content-type'] |
156 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | 157 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] |
157 | max_age: 3600 | 158 | max_age: 3600 |
158 | '^/': | 159 | '^/': |
159 | #origin_regex: true | 160 | #origin_regex: true |
160 | allow_origin: ['^http://localhost:[0-9]+'] | 161 | allow_origin: ['*'] |
161 | allow_headers: ['X-Custom-Auth'] | 162 | allow_headers: ['Authorization','content-type'] |
162 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] | 163 | allow_methods: ['POST', 'PUT', 'GET', 'DELETE'] |
163 | max_age: 3600 | 164 | max_age: 3600 |
164 | hosts: ['^api\.'] | 165 | hosts: ['^api\.'] |
@@ -197,10 +198,17 @@ fos_oauth_server: | |||
197 | refresh_token_lifetime: 1209600 | 198 | refresh_token_lifetime: 1209600 |
198 | 199 | ||
199 | scheb_two_factor: | 200 | scheb_two_factor: |
200 | trusted_computer: | 201 | trusted_device: |
201 | enabled: true | 202 | enabled: true |
202 | cookie_name: wllbg_trusted_computer | 203 | cookie_name: wllbg_trusted_computer |
203 | cookie_lifetime: 2592000 | 204 | lifetime: 2592000 |
205 | |||
206 | backup_codes: | ||
207 | enabled: "%twofactor_auth%" | ||
208 | |||
209 | google: | ||
210 | enabled: "%twofactor_auth%" | ||
211 | template: WallabagUserBundle:Authentication:form.html.twig | ||
204 | 212 | ||
205 | email: | 213 | email: |
206 | enabled: "%twofactor_auth%" | 214 | enabled: "%twofactor_auth%" |
@@ -253,6 +261,11 @@ old_sound_rabbit_mq: | |||
253 | exchange_options: | 261 | exchange_options: |
254 | name: 'wallabag.import.wallabag_v2' | 262 | name: 'wallabag.import.wallabag_v2' |
255 | type: topic | 263 | type: topic |
264 | import_elcurator: | ||
265 | connection: default | ||
266 | exchange_options: | ||
267 | name: 'wallabag.import.elcurator' | ||
268 | type: topic | ||
256 | import_firefox: | 269 | import_firefox: |
257 | connection: default | 270 | connection: default |
258 | exchange_options: | 271 | exchange_options: |
@@ -318,6 +331,15 @@ old_sound_rabbit_mq: | |||
318 | name: 'wallabag.import.wallabag_v2' | 331 | name: 'wallabag.import.wallabag_v2' |
319 | callback: wallabag_import.consumer.amqp.wallabag_v2 | 332 | callback: wallabag_import.consumer.amqp.wallabag_v2 |
320 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} | 333 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} |
334 | import_elcurator: | ||
335 | connection: default | ||
336 | exchange_options: | ||
337 | name: 'wallabag.import.elcurator' | ||
338 | type: topic | ||
339 | queue_options: | ||
340 | name: 'wallabag.import.elcurator' | ||
341 | callback: wallabag_import.consumer.amqp.elcurator | ||
342 | qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"} | ||
321 | import_firefox: | 343 | import_firefox: |
322 | connection: default | 344 | connection: default |
323 | exchange_options: | 345 | exchange_options: |
@@ -357,3 +379,34 @@ jms_serializer: | |||
357 | # see: https://github.com/schmittjoh/JMSSerializerBundle/pull/494 | 379 | # see: https://github.com/schmittjoh/JMSSerializerBundle/pull/494 |
358 | datetime: | 380 | datetime: |
359 | default_format: "Y-m-d\\TH:i:sO" # ATOM | 381 | default_format: "Y-m-d\\TH:i:sO" # ATOM |
382 | |||
383 | # see https://github.com/symfony/symfony-standard/pull/1133 | ||
384 | sensio_framework_extra: | ||
385 | router: | ||
386 | annotations: false | ||
387 | |||
388 | httplug: | ||
389 | clients: | ||
390 | wallabag_core: | ||
391 | factory: 'wallabag_core.http_client_factory' | ||
392 | config: | ||
393 | defaults: | ||
394 | timeout: 10 | ||
395 | plugins: ['httplug.plugin.logger'] | ||
396 | wallabag_core.entry.download_images: | ||
397 | factory: 'httplug.factory.auto' | ||
398 | plugins: ['httplug.plugin.logger'] | ||
399 | wallabag_import.pocket.client: | ||
400 | factory: 'httplug.factory.auto' | ||
401 | plugins: | ||
402 | - 'httplug.plugin.logger' | ||
403 | - header_defaults: | ||
404 | headers: | ||
405 | 'content-type': 'application/json' | ||
406 | 'X-Accept': 'application/json' | ||
407 | discovery: | ||
408 | client: false | ||
409 | |||
410 | # define custom entity so we can override length attribute to fix utf8mb4 issue | ||
411 | craue_config: | ||
412 | entity_name: Wallabag\CoreBundle\Entity\InternalSetting | ||