2 - { resource: parameters.yml }
3 - { resource: security.yml }
4 - { resource: services.yml }
13 resource: "%kernel.root_dir%/config/routing.yml"
14 strict_requirements: ~
18 enable_annotations: true
21 default_locale: "%locale%"
25 # handler_id set to null will use default session handler from php.ini
26 handler_id: session.handler.native_file
27 save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
29 http_method_override: true
34 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
54 action_mark_as_read: 1
56 fetching_error_message: |
57 wallabag can't retrieve contents for this article. Please <a href="http://doc.wallabag.org/en/master/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>.
58 api_limit_mass_actions: 10
61 registration_enabled: "%fosuser_registration%"
64 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
65 resource_dir: "%kernel.root_dir%/../web/uploads/import"
69 debug: "%kernel.debug%"
70 strict_variables: "%kernel.debug%"
72 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
73 exception_controller: wallabag_core.exception_controller:showAction
75 # Doctrine Configuration
78 driver: "%database_driver%"
79 host: "%database_host%"
80 port: "%database_port%"
81 dbname: "%database_name%"
82 user: "%database_user%"
83 password: "%database_password%"
84 charset: "%database_charset%"
85 path: "%database_path%"
86 unix_socket: "%database_socket%"
90 auto_generate_proxy_classes: "%kernel.debug%"
95 stof_doctrine_extensions:
96 default_locale: "%locale%"
97 translation_fallback: true
104 dir_name: "%kernel.root_dir%/DoctrineMigrations"
105 namespace: Application\Migrations
106 table_name: migration_versions
107 name: Application Migrations
109 # Swiftmailer Configuration
111 transport: "%mailer_transport%"
112 host: "%mailer_host%"
113 username: "%mailer_user%"
114 password: "%mailer_password%"
119 param_fetcher_listener: true
129 - 'application/epub+zip'
131 - 'application/x-mobipocket-ebook'
132 view_response_listener: 'force'
145 failed_validation: HTTP_BAD_REQUEST
152 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
153 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
154 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
155 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
156 # so we need to add custom rule for custom api export but also for all other routes of the application...
157 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
164 name: wallabag API documentation
168 allow_credentials: false
179 allow_headers: ['X-Custom-Auth']
180 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
184 allow_headers: ['X-Custom-Auth']
185 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
189 allow_origin: ['^http://localhost:[0-9]+']
190 allow_headers: ['X-Custom-Auth']
191 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
196 load_controllers: false
200 autodetect_theme: wallabag_core.helper.detect_active_theme
204 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
208 firewall_name: secured_area
209 user_class: Wallabag\UserBundle\Entity\User
212 enabled: "%fosuser_confirmation%"
214 address: "%from_email%"
215 sender_name: wallabag
219 client_class: Wallabag\ApiBundle\Entity\Client
220 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
221 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
222 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
224 user_provider: fos_user.user_provider.username_email
226 refresh_token_lifetime: 1209600
231 cookie_name: wllbg_trusted_computer
232 cookie_lifetime: 2592000
235 enabled: "%twofactor_auth%"
236 sender_email: "%twofactor_sender%"
238 template: WallabagUserBundle:Authentication:form.html.twig
239 mailer: wallabag_user.auth_code_mailer
248 host: "%rabbitmq_host%"
249 port: "%rabbitmq_port%"
250 user: "%rabbitmq_user%"
251 password: "%rabbitmq_password%"
258 name: 'wallabag.import.pocket'
263 name: 'wallabag.import.readability'
268 name: 'wallabag.import.pinboard'
273 name: 'wallabag.import.instapaper'
278 name: 'wallabag.import.wallabag_v1'
283 name: 'wallabag.import.wallabag_v2'
288 name: 'wallabag.import.firefox'
293 name: 'wallabag.import.chrome'
299 name: 'wallabag.import.pocket'
302 name: 'wallabag.import.pocket'
303 callback: wallabag_import.consumer.amqp.pocket
304 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
308 name: 'wallabag.import.readability'
311 name: 'wallabag.import.readability'
312 callback: wallabag_import.consumer.amqp.readability
313 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
317 name: 'wallabag.import.instapaper'
320 name: 'wallabag.import.instapaper'
321 callback: wallabag_import.consumer.amqp.instapaper
322 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
326 name: 'wallabag.import.pinboard'
329 name: 'wallabag.import.pinboard'
330 callback: wallabag_import.consumer.amqp.pinboard
331 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
335 name: 'wallabag.import.wallabag_v1'
338 name: 'wallabag.import.wallabag_v1'
339 callback: wallabag_import.consumer.amqp.wallabag_v1
340 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
344 name: 'wallabag.import.wallabag_v2'
347 name: 'wallabag.import.wallabag_v2'
348 callback: wallabag_import.consumer.amqp.wallabag_v2
349 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
353 name: 'wallabag.import.firefox'
356 name: 'wallabag.import.firefox'
357 callback: wallabag_import.consumer.amqp.firefox
358 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
362 name: 'wallabag.import.chrome'
365 name: 'wallabag.import.chrome'
366 callback: wallabag_import.consumer.amqp.chrome
367 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
380 - fos_user_security_logout