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 host: "%database_host%"
50 port: "%database_port%"
51 dbname: "%database_name%"
52 user: "%database_user%"
53 password: "%database_password%"
54 charset: "%database_charset%"
55 path: "%database_path%"
56 unix_socket: "%database_socket%"
60 auto_generate_proxy_classes: "%kernel.debug%"
65 stof_doctrine_extensions:
66 default_locale: "%locale%"
67 translation_fallback: true
74 dir_name: "%kernel.project_dir%/app/DoctrineMigrations"
75 namespace: Application\Migrations
76 table_name: migration_versions
77 name: Application Migrations
79 # Swiftmailer Configuration
81 transport: "%mailer_transport%"
82 username: "%mailer_user%"
83 password: "%mailer_password%"
86 encryption: "%mailer_encryption%"
87 auth_mode: "%mailer_auth_mode%"
92 param_fetcher_listener: true
102 - 'application/epub+zip'
104 - 'application/x-mobipocket-ebook'
105 view_response_listener: 'force'
118 failed_validation: HTTP_BAD_REQUEST
125 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
126 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
127 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
128 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
129 # so we need to add custom rule for custom api export but also for all other routes of the application...
130 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
137 name: wallabag API documentation
141 allow_credentials: false
152 allow_headers: ['X-Custom-Auth']
153 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
157 allow_headers: ['X-Custom-Auth']
158 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
162 allow_origin: ['^http://localhost:[0-9]+']
163 allow_headers: ['X-Custom-Auth']
164 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
169 load_controllers: false
173 autodetect_theme: wallabag_core.helper.detect_active_theme
177 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
181 firewall_name: secured_area
182 user_class: Wallabag\UserBundle\Entity\User
185 enabled: "%fosuser_confirmation%"
187 address: "%from_email%"
188 sender_name: wallabag
192 client_class: Wallabag\ApiBundle\Entity\Client
193 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
194 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
195 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
197 user_provider: fos_user.user_provider.username_email
199 refresh_token_lifetime: 1209600
204 cookie_name: wllbg_trusted_computer
205 cookie_lifetime: 2592000
208 enabled: "%twofactor_auth%"
209 sender_email: "%twofactor_sender%"
211 template: WallabagUserBundle:Authentication:form.html.twig
212 mailer: wallabag_user.auth_code_mailer
221 host: "%rabbitmq_host%"
222 port: "%rabbitmq_port%"
223 user: "%rabbitmq_user%"
224 password: "%rabbitmq_password%"
231 name: 'wallabag.import.pocket'
236 name: 'wallabag.import.readability'
241 name: 'wallabag.import.pinboard'
246 name: 'wallabag.import.instapaper'
251 name: 'wallabag.import.wallabag_v1'
256 name: 'wallabag.import.wallabag_v2'
261 name: 'wallabag.import.firefox'
266 name: 'wallabag.import.chrome'
272 name: 'wallabag.import.pocket'
275 name: 'wallabag.import.pocket'
276 callback: wallabag_import.consumer.amqp.pocket
277 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
281 name: 'wallabag.import.readability'
284 name: 'wallabag.import.readability'
285 callback: wallabag_import.consumer.amqp.readability
286 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
290 name: 'wallabag.import.instapaper'
293 name: 'wallabag.import.instapaper'
294 callback: wallabag_import.consumer.amqp.instapaper
295 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
299 name: 'wallabag.import.pinboard'
302 name: 'wallabag.import.pinboard'
303 callback: wallabag_import.consumer.amqp.pinboard
304 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
308 name: 'wallabag.import.wallabag_v1'
311 name: 'wallabag.import.wallabag_v1'
312 callback: wallabag_import.consumer.amqp.wallabag_v1
313 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
317 name: 'wallabag.import.wallabag_v2'
320 name: 'wallabag.import.wallabag_v2'
321 callback: wallabag_import.consumer.amqp.wallabag_v2
322 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
326 name: 'wallabag.import.firefox'
329 name: 'wallabag.import.firefox'
330 callback: wallabag_import.consumer.amqp.firefox
331 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
335 name: 'wallabag.import.chrome'
338 name: 'wallabag.import.chrome'
339 callback: wallabag_import.consumer.amqp.chrome
340 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
353 - fos_user_security_logout
358 # to be removed if we switch to (default) ISO8601 datetime instead of ATOM
359 # see: https://github.com/schmittjoh/JMSSerializerBundle/pull/494
361 default_format: "Y-m-d\\TH:i:sO" # ATOM
363 # see https://github.com/symfony/symfony-standard/pull/1133
364 sensio_framework_extra: