2 - { resource: parameters.yml }
3 - { resource: security.yml }
4 - { resource: services.yml }
7 use_webpack_dev_server: false
16 resource: "%kernel.root_dir%/config/routing.yml"
17 strict_requirements: ~
21 enable_annotations: true
24 default_locale: "%locale%"
28 # handler_id set to null will use default session handler from php.ini
29 handler_id: session.handler.native_file
30 save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
32 http_method_override: true
37 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
57 action_mark_as_read: 1
59 fetching_error_message: |
60 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>.
63 registration_enabled: "%fosuser_registration%"
66 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
67 resource_dir: "%kernel.root_dir%/../web/uploads/import"
71 debug: "%kernel.debug%"
72 strict_variables: "%kernel.debug%"
74 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
75 exception_controller: wallabag_core.exception_controller:showAction
77 # Doctrine Configuration
80 driver: "%database_driver%"
81 host: "%database_host%"
82 port: "%database_port%"
83 dbname: "%database_name%"
84 user: "%database_user%"
85 password: "%database_password%"
86 charset: "%database_charset%"
87 path: "%database_path%"
88 unix_socket: "%database_socket%"
92 auto_generate_proxy_classes: "%kernel.debug%"
97 stof_doctrine_extensions:
98 default_locale: "%locale%"
99 translation_fallback: true
106 dir_name: "%kernel.root_dir%/DoctrineMigrations"
107 namespace: Application\Migrations
108 table_name: migration_versions
109 name: Application Migrations
111 # Swiftmailer Configuration
113 transport: "%mailer_transport%"
114 host: "%mailer_host%"
115 username: "%mailer_user%"
116 password: "%mailer_password%"
121 param_fetcher_listener: true
131 - 'application/epub+zip'
133 - 'application/x-mobipocket-ebook'
134 view_response_listener: 'force'
147 failed_validation: HTTP_BAD_REQUEST
154 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
155 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
156 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
157 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
158 # so we need to add custom rule for custom api export but also for all other routes of the application...
159 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
166 name: wallabag API documentation
170 allow_credentials: false
181 allow_headers: ['X-Custom-Auth']
182 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
186 allow_headers: ['X-Custom-Auth']
187 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
191 allow_origin: ['^http://localhost:[0-9]+']
192 allow_headers: ['X-Custom-Auth']
193 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
198 load_controllers: false
202 autodetect_theme: wallabag_core.helper.detect_active_theme
206 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
210 firewall_name: secured_area
211 user_class: Wallabag\UserBundle\Entity\User
214 enabled: "%fosuser_confirmation%"
216 address: "%from_email%"
217 sender_name: wallabag
221 client_class: Wallabag\ApiBundle\Entity\Client
222 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
223 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
224 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
226 user_provider: fos_user.user_provider.username_email
228 refresh_token_lifetime: 1209600
233 cookie_name: wllbg_trusted_computer
234 cookie_lifetime: 2592000
237 enabled: "%twofactor_auth%"
238 sender_email: "%twofactor_sender%"
240 template: WallabagUserBundle:Authentication:form.html.twig
241 mailer: wallabag_user.auth_code_mailer
250 host: "%rabbitmq_host%"
251 port: "%rabbitmq_port%"
252 user: "%rabbitmq_user%"
253 password: "%rabbitmq_password%"
260 name: 'wallabag.import.pocket'
265 name: 'wallabag.import.readability'
270 name: 'wallabag.import.pinboard'
275 name: 'wallabag.import.instapaper'
280 name: 'wallabag.import.wallabag_v1'
285 name: 'wallabag.import.wallabag_v2'
290 name: 'wallabag.import.firefox'
295 name: 'wallabag.import.chrome'
301 name: 'wallabag.import.pocket'
304 name: 'wallabag.import.pocket'
305 callback: wallabag_import.consumer.amqp.pocket
306 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
310 name: 'wallabag.import.readability'
313 name: 'wallabag.import.readability'
314 callback: wallabag_import.consumer.amqp.readability
315 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
319 name: 'wallabag.import.instapaper'
322 name: 'wallabag.import.instapaper'
323 callback: wallabag_import.consumer.amqp.instapaper
324 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
328 name: 'wallabag.import.pinboard'
331 name: 'wallabag.import.pinboard'
332 callback: wallabag_import.consumer.amqp.pinboard
333 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
337 name: 'wallabag.import.wallabag_v1'
340 name: 'wallabag.import.wallabag_v1'
341 callback: wallabag_import.consumer.amqp.wallabag_v1
342 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
346 name: 'wallabag.import.wallabag_v2'
349 name: 'wallabag.import.wallabag_v2'
350 callback: wallabag_import.consumer.amqp.wallabag_v2
351 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
355 name: 'wallabag.import.firefox'
358 name: 'wallabag.import.firefox'
359 callback: wallabag_import.consumer.amqp.firefox
360 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
364 name: 'wallabag.import.chrome'
367 name: 'wallabag.import.chrome'
368 callback: wallabag_import.consumer.amqp.chrome
369 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
382 - fos_user_security_logout