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%"
31 # handler_id set to null will use default session handler from php.ini
32 handler_id: session.handler.native_file
33 save_path: "%kernel.project_dir%/var/sessions/%kernel.environment%"
35 http_method_override: true
40 debug: "%kernel.debug%"
41 strict_variables: "%kernel.debug%"
43 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
44 exception_controller: wallabag_core.exception_controller:showAction
46 # Doctrine Configuration
49 driver: "%database_driver%"
50 driver_class: "%database_driver_class%"
51 host: "%database_host%"
52 port: "%database_port%"
53 dbname: "%database_name%"
54 user: "%database_user%"
55 password: "%database_password%"
56 charset: "%database_charset%"
57 path: "%database_path%"
58 unix_socket: "%database_socket%"
62 auto_generate_proxy_classes: "%kernel.debug%"
67 stof_doctrine_extensions:
68 default_locale: "%locale%"
69 translation_fallback: true
76 dir_name: "%kernel.project_dir%/app/DoctrineMigrations"
77 namespace: Application\Migrations
78 table_name: migration_versions
79 name: Application Migrations
81 # Swiftmailer Configuration
83 transport: "%mailer_transport%"
85 username: "%mailer_user%"
86 password: "%mailer_password%"
91 param_fetcher_listener: true
101 - 'application/epub+zip'
103 - 'application/x-mobipocket-ebook'
104 view_response_listener: 'force'
117 failed_validation: HTTP_BAD_REQUEST
124 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
125 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
126 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
127 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
128 # so we need to add custom rule for custom api export but also for all other routes of the application...
129 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
136 name: wallabag API documentation
140 allow_credentials: false
151 allow_headers: ['X-Custom-Auth']
152 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
156 allow_headers: ['X-Custom-Auth']
157 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
161 allow_origin: ['^http://localhost:[0-9]+']
162 allow_headers: ['X-Custom-Auth']
163 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
168 load_controllers: false
172 autodetect_theme: wallabag_core.helper.detect_active_theme
176 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
180 firewall_name: secured_area
181 user_class: Wallabag\UserBundle\Entity\User
184 enabled: "%fosuser_confirmation%"
186 address: "%from_email%"
187 sender_name: wallabag
191 client_class: Wallabag\ApiBundle\Entity\Client
192 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
193 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
194 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
196 user_provider: fos_user.user_provider.username_email
198 refresh_token_lifetime: 1209600
203 cookie_name: wllbg_trusted_computer
204 cookie_lifetime: 2592000
207 enabled: "%twofactor_auth%"
208 sender_email: "%twofactor_sender%"
210 template: WallabagUserBundle:Authentication:form.html.twig
211 mailer: wallabag_user.auth_code_mailer
220 host: "%rabbitmq_host%"
221 port: "%rabbitmq_port%"
222 user: "%rabbitmq_user%"
223 password: "%rabbitmq_password%"
230 name: 'wallabag.import.pocket'
235 name: 'wallabag.import.readability'
240 name: 'wallabag.import.pinboard'
245 name: 'wallabag.import.instapaper'
250 name: 'wallabag.import.wallabag_v1'
255 name: 'wallabag.import.wallabag_v2'
260 name: 'wallabag.import.firefox'
265 name: 'wallabag.import.chrome'
271 name: 'wallabag.import.pocket'
274 name: 'wallabag.import.pocket'
275 callback: wallabag_import.consumer.amqp.pocket
276 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
280 name: 'wallabag.import.readability'
283 name: 'wallabag.import.readability'
284 callback: wallabag_import.consumer.amqp.readability
285 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
289 name: 'wallabag.import.instapaper'
292 name: 'wallabag.import.instapaper'
293 callback: wallabag_import.consumer.amqp.instapaper
294 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
298 name: 'wallabag.import.pinboard'
301 name: 'wallabag.import.pinboard'
302 callback: wallabag_import.consumer.amqp.pinboard
303 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
307 name: 'wallabag.import.wallabag_v1'
310 name: 'wallabag.import.wallabag_v1'
311 callback: wallabag_import.consumer.amqp.wallabag_v1
312 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
316 name: 'wallabag.import.wallabag_v2'
319 name: 'wallabag.import.wallabag_v2'
320 callback: wallabag_import.consumer.amqp.wallabag_v2
321 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
325 name: 'wallabag.import.firefox'
328 name: 'wallabag.import.firefox'
329 callback: wallabag_import.consumer.amqp.firefox
330 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
334 name: 'wallabag.import.chrome'
337 name: 'wallabag.import.chrome'
338 callback: wallabag_import.consumer.amqp.chrome
339 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
352 - fos_user_security_logout
357 # to be removed if we switch to (default) ISO8601 datetime instead of ATOM
358 # see: https://github.com/schmittjoh/JMSSerializerBundle/pull/494
360 default_format: "Y-m-d\\TH:i:sO" # ATOM