2 - { resource: parameters.yml }
3 - { resource: security.yml }
4 - { resource: services.yml }
7 # Allows to use the live reload feature for changes in assets
8 use_webpack_dev_server: false
17 resource: "%kernel.root_dir%/config/routing.yml"
18 strict_requirements: ~
22 enable_annotations: true
25 default_locale: "%locale%"
29 # handler_id set to null will use default session handler from php.ini
30 handler_id: session.handler.native_file
31 save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
33 http_method_override: true
38 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
58 action_mark_as_read: 1
60 fetching_error_message: |
61 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>.
64 registration_enabled: "%fosuser_registration%"
67 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
68 resource_dir: "%kernel.root_dir%/../web/uploads/import"
72 debug: "%kernel.debug%"
73 strict_variables: "%kernel.debug%"
75 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
76 exception_controller: wallabag_core.exception_controller:showAction
78 # Doctrine Configuration
81 driver: "%database_driver%"
82 host: "%database_host%"
83 port: "%database_port%"
84 dbname: "%database_name%"
85 user: "%database_user%"
86 password: "%database_password%"
87 charset: "%database_charset%"
88 path: "%database_path%"
89 unix_socket: "%database_socket%"
93 auto_generate_proxy_classes: "%kernel.debug%"
98 stof_doctrine_extensions:
99 default_locale: "%locale%"
100 translation_fallback: true
107 dir_name: "%kernel.root_dir%/DoctrineMigrations"
108 namespace: Application\Migrations
109 table_name: migration_versions
110 name: Application Migrations
112 # Swiftmailer Configuration
114 transport: "%mailer_transport%"
115 host: "%mailer_host%"
116 username: "%mailer_user%"
117 password: "%mailer_password%"
122 param_fetcher_listener: true
132 - 'application/epub+zip'
134 - 'application/x-mobipocket-ebook'
135 view_response_listener: 'force'
148 failed_validation: HTTP_BAD_REQUEST
155 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
156 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
157 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
158 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
159 # so we need to add custom rule for custom api export but also for all other routes of the application...
160 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
167 name: wallabag API documentation
171 allow_credentials: false
182 allow_headers: ['X-Custom-Auth']
183 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
187 allow_headers: ['X-Custom-Auth']
188 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
192 allow_origin: ['^http://localhost:[0-9]+']
193 allow_headers: ['X-Custom-Auth']
194 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
199 load_controllers: false
203 autodetect_theme: wallabag_core.helper.detect_active_theme
207 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
211 firewall_name: secured_area
212 user_class: Wallabag\UserBundle\Entity\User
215 enabled: "%fosuser_confirmation%"
217 address: "%from_email%"
218 sender_name: wallabag
222 client_class: Wallabag\ApiBundle\Entity\Client
223 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
224 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
225 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
227 user_provider: fos_user.user_provider.username_email
229 refresh_token_lifetime: 1209600
234 cookie_name: wllbg_trusted_computer
235 cookie_lifetime: 2592000
238 enabled: "%twofactor_auth%"
239 sender_email: "%twofactor_sender%"
241 template: WallabagUserBundle:Authentication:form.html.twig
242 mailer: wallabag_user.auth_code_mailer
251 host: "%rabbitmq_host%"
252 port: "%rabbitmq_port%"
253 user: "%rabbitmq_user%"
254 password: "%rabbitmq_password%"
261 name: 'wallabag.import.pocket'
266 name: 'wallabag.import.readability'
271 name: 'wallabag.import.pinboard'
276 name: 'wallabag.import.instapaper'
281 name: 'wallabag.import.wallabag_v1'
286 name: 'wallabag.import.wallabag_v2'
291 name: 'wallabag.import.firefox'
296 name: 'wallabag.import.chrome'
302 name: 'wallabag.import.pocket'
305 name: 'wallabag.import.pocket'
306 callback: wallabag_import.consumer.amqp.pocket
307 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
311 name: 'wallabag.import.readability'
314 name: 'wallabag.import.readability'
315 callback: wallabag_import.consumer.amqp.readability
316 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
320 name: 'wallabag.import.instapaper'
323 name: 'wallabag.import.instapaper'
324 callback: wallabag_import.consumer.amqp.instapaper
325 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
329 name: 'wallabag.import.pinboard'
332 name: 'wallabag.import.pinboard'
333 callback: wallabag_import.consumer.amqp.pinboard
334 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
338 name: 'wallabag.import.wallabag_v1'
341 name: 'wallabag.import.wallabag_v1'
342 callback: wallabag_import.consumer.amqp.wallabag_v1
343 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
347 name: 'wallabag.import.wallabag_v2'
350 name: 'wallabag.import.wallabag_v2'
351 callback: wallabag_import.consumer.amqp.wallabag_v2
352 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
356 name: 'wallabag.import.firefox'
359 name: 'wallabag.import.firefox'
360 callback: wallabag_import.consumer.amqp.firefox
361 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
365 name: 'wallabag.import.chrome'
368 name: 'wallabag.import.chrome'
369 callback: wallabag_import.consumer.amqp.chrome
370 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
383 - fos_user_security_logout