2 - { resource: parameters.yml }
3 - { resource: security.yml }
4 - { resource: services.yml }
5 - { resource: wallabag.yml }
8 # Allows to use the live reload feature for changes in assets
9 use_webpack_dev_server: false
10 craue_config.cache_adapter.class: Craue\ConfigBundle\CacheAdapter\SymfonyCacheComponentAdapter
19 resource: "%kernel.project_dir%/app/config/routing.yml"
20 strict_requirements: ~
24 enable_annotations: true
27 default_locale: "%locale%"
30 # handler_id set to null will use default session handler from php.ini
31 handler_id: session.handler.native_file
32 save_path: "%kernel.project_dir%/var/sessions/%kernel.environment%"
34 http_method_override: true
39 debug: "%kernel.debug%"
40 strict_variables: "%kernel.debug%"
42 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
43 exception_controller: wallabag_core.exception_controller:showAction
45 # Doctrine Configuration
48 driver: "%database_driver%"
49 driver_class: "%database_driver_class%"
50 host: "%database_host%"
51 port: "%database_port%"
52 dbname: "%database_name%"
53 user: "%database_user%"
54 password: "%database_password%"
55 charset: "%database_charset%"
56 path: "%database_path%"
57 unix_socket: "%database_socket%"
61 auto_generate_proxy_classes: "%kernel.debug%"
66 stof_doctrine_extensions:
67 default_locale: "%locale%"
68 translation_fallback: true
75 dir_name: "%kernel.project_dir%/app/DoctrineMigrations"
76 namespace: Application\Migrations
77 table_name: migration_versions
78 name: Application Migrations
80 # Swiftmailer Configuration
82 transport: "%mailer_transport%"
83 username: "%mailer_user%"
84 password: "%mailer_password%"
87 encryption: "%mailer_encryption%"
88 auth_mode: "%mailer_auth_mode%"
93 param_fetcher_listener: true
103 - 'application/epub+zip'
105 - 'application/x-mobipocket-ebook'
106 view_response_listener: 'force'
119 failed_validation: HTTP_BAD_REQUEST
126 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
127 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
128 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
129 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
130 # so we need to add custom rule for custom api export but also for all other routes of the application...
131 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
138 name: wallabag API documentation
142 allow_credentials: false
153 allow_headers: ['X-Custom-Auth']
154 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
158 allow_headers: ['X-Custom-Auth']
159 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
163 allow_origin: ['^http://localhost:[0-9]+']
164 allow_headers: ['X-Custom-Auth']
165 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
170 load_controllers: false
174 autodetect_theme: wallabag_core.helper.detect_active_theme
178 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
182 firewall_name: secured_area
183 user_class: Wallabag\UserBundle\Entity\User
186 enabled: "%fosuser_confirmation%"
188 address: "%from_email%"
189 sender_name: wallabag
193 client_class: Wallabag\ApiBundle\Entity\Client
194 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
195 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
196 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
198 user_provider: fos_user.user_provider.username_email
200 refresh_token_lifetime: 1209600
205 cookie_name: wllbg_trusted_computer
206 cookie_lifetime: 2592000
209 enabled: "%twofactor_auth%"
210 sender_email: "%twofactor_sender%"
212 template: WallabagUserBundle:Authentication:form.html.twig
213 mailer: wallabag_user.auth_code_mailer
222 host: "%rabbitmq_host%"
223 port: "%rabbitmq_port%"
224 user: "%rabbitmq_user%"
225 password: "%rabbitmq_password%"
232 name: 'wallabag.import.pocket'
237 name: 'wallabag.import.readability'
242 name: 'wallabag.import.pinboard'
247 name: 'wallabag.import.instapaper'
252 name: 'wallabag.import.wallabag_v1'
257 name: 'wallabag.import.wallabag_v2'
262 name: 'wallabag.import.firefox'
267 name: 'wallabag.import.chrome'
273 name: 'wallabag.import.pocket'
276 name: 'wallabag.import.pocket'
277 callback: wallabag_import.consumer.amqp.pocket
278 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
282 name: 'wallabag.import.readability'
285 name: 'wallabag.import.readability'
286 callback: wallabag_import.consumer.amqp.readability
287 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
291 name: 'wallabag.import.instapaper'
294 name: 'wallabag.import.instapaper'
295 callback: wallabag_import.consumer.amqp.instapaper
296 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
300 name: 'wallabag.import.pinboard'
303 name: 'wallabag.import.pinboard'
304 callback: wallabag_import.consumer.amqp.pinboard
305 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
309 name: 'wallabag.import.wallabag_v1'
312 name: 'wallabag.import.wallabag_v1'
313 callback: wallabag_import.consumer.amqp.wallabag_v1
314 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
318 name: 'wallabag.import.wallabag_v2'
321 name: 'wallabag.import.wallabag_v2'
322 callback: wallabag_import.consumer.amqp.wallabag_v2
323 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
327 name: 'wallabag.import.firefox'
330 name: 'wallabag.import.firefox'
331 callback: wallabag_import.consumer.amqp.firefox
332 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
336 name: 'wallabag.import.chrome'
339 name: 'wallabag.import.chrome'
340 callback: wallabag_import.consumer.amqp.chrome
341 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
354 - fos_user_security_logout
359 # to be removed if we switch to (default) ISO8601 datetime instead of ATOM
360 # see: https://github.com/schmittjoh/JMSSerializerBundle/pull/494
362 default_format: "Y-m-d\\TH:i:sO" # ATOM
364 # see https://github.com/symfony/symfony-standard/pull/1133
365 sensio_framework_extra:
370 entity_name: Wallabag\CoreBundle\Entity\InternalSetting