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%"
84 username: "%mailer_user%"
85 password: "%mailer_password%"
90 param_fetcher_listener: true
100 - 'application/epub+zip'
102 - 'application/x-mobipocket-ebook'
103 view_response_listener: 'force'
116 failed_validation: HTTP_BAD_REQUEST
123 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
124 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
125 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
126 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
127 # so we need to add custom rule for custom api export but also for all other routes of the application...
128 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
135 name: wallabag API documentation
139 allow_credentials: false
150 allow_headers: ['X-Custom-Auth']
151 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
155 allow_headers: ['X-Custom-Auth']
156 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
160 allow_origin: ['^http://localhost:[0-9]+']
161 allow_headers: ['X-Custom-Auth']
162 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
167 load_controllers: false
171 autodetect_theme: wallabag_core.helper.detect_active_theme
175 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
179 firewall_name: secured_area
180 user_class: Wallabag\UserBundle\Entity\User
183 enabled: "%fosuser_confirmation%"
185 address: "%from_email%"
186 sender_name: wallabag
190 client_class: Wallabag\ApiBundle\Entity\Client
191 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
192 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
193 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
195 user_provider: fos_user.user_provider.username_email
197 refresh_token_lifetime: 1209600
202 cookie_name: wllbg_trusted_computer
203 cookie_lifetime: 2592000
206 enabled: "%twofactor_auth%"
207 sender_email: "%twofactor_sender%"
209 template: WallabagUserBundle:Authentication:form.html.twig
210 mailer: wallabag_user.auth_code_mailer
219 host: "%rabbitmq_host%"
220 port: "%rabbitmq_port%"
221 user: "%rabbitmq_user%"
222 password: "%rabbitmq_password%"
229 name: 'wallabag.import.pocket'
234 name: 'wallabag.import.readability'
239 name: 'wallabag.import.pinboard'
244 name: 'wallabag.import.instapaper'
249 name: 'wallabag.import.wallabag_v1'
254 name: 'wallabag.import.wallabag_v2'
259 name: 'wallabag.import.firefox'
264 name: 'wallabag.import.chrome'
270 name: 'wallabag.import.pocket'
273 name: 'wallabag.import.pocket'
274 callback: wallabag_import.consumer.amqp.pocket
275 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
279 name: 'wallabag.import.readability'
282 name: 'wallabag.import.readability'
283 callback: wallabag_import.consumer.amqp.readability
284 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
288 name: 'wallabag.import.instapaper'
291 name: 'wallabag.import.instapaper'
292 callback: wallabag_import.consumer.amqp.instapaper
293 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
297 name: 'wallabag.import.pinboard'
300 name: 'wallabag.import.pinboard'
301 callback: wallabag_import.consumer.amqp.pinboard
302 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
306 name: 'wallabag.import.wallabag_v1'
309 name: 'wallabag.import.wallabag_v1'
310 callback: wallabag_import.consumer.amqp.wallabag_v1
311 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
315 name: 'wallabag.import.wallabag_v2'
318 name: 'wallabag.import.wallabag_v2'
319 callback: wallabag_import.consumer.amqp.wallabag_v2
320 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
324 name: 'wallabag.import.firefox'
327 name: 'wallabag.import.firefox'
328 callback: wallabag_import.consumer.amqp.firefox
329 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
333 name: 'wallabag.import.chrome'
336 name: 'wallabag.import.chrome'
337 callback: wallabag_import.consumer.amqp.chrome
338 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
351 - fos_user_security_logout
356 # to be removed if we switch to (default) ISO8601 datetime instead of ATOM
357 # see: https://github.com/schmittjoh/JMSSerializerBundle/pull/494
359 default_format: "Y-m-d\\TH:i:sO" # ATOM