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>.
62 api_limit_mass_actions: 10
65 registration_enabled: "%fosuser_registration%"
68 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
69 resource_dir: "%kernel.root_dir%/../web/uploads/import"
73 debug: "%kernel.debug%"
74 strict_variables: "%kernel.debug%"
76 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
77 exception_controller: wallabag_core.exception_controller:showAction
79 # Doctrine Configuration
82 driver: "%database_driver%"
83 host: "%database_host%"
84 port: "%database_port%"
85 dbname: "%database_name%"
86 user: "%database_user%"
87 password: "%database_password%"
88 charset: "%database_charset%"
89 path: "%database_path%"
90 unix_socket: "%database_socket%"
94 auto_generate_proxy_classes: "%kernel.debug%"
99 stof_doctrine_extensions:
100 default_locale: "%locale%"
101 translation_fallback: true
108 dir_name: "%kernel.root_dir%/DoctrineMigrations"
109 namespace: Application\Migrations
110 table_name: migration_versions
111 name: Application Migrations
113 # Swiftmailer Configuration
115 transport: "%mailer_transport%"
116 host: "%mailer_host%"
117 username: "%mailer_user%"
118 password: "%mailer_password%"
123 param_fetcher_listener: true
133 - 'application/epub+zip'
135 - 'application/x-mobipocket-ebook'
136 view_response_listener: 'force'
149 failed_validation: HTTP_BAD_REQUEST
156 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
157 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
158 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
159 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
160 # so we need to add custom rule for custom api export but also for all other routes of the application...
161 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
168 name: wallabag API documentation
172 allow_credentials: false
183 allow_headers: ['X-Custom-Auth']
184 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
188 allow_headers: ['X-Custom-Auth']
189 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
193 allow_origin: ['^http://localhost:[0-9]+']
194 allow_headers: ['X-Custom-Auth']
195 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
200 load_controllers: false
204 autodetect_theme: wallabag_core.helper.detect_active_theme
208 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
212 firewall_name: secured_area
213 user_class: Wallabag\UserBundle\Entity\User
216 enabled: "%fosuser_confirmation%"
218 address: "%from_email%"
219 sender_name: wallabag
223 client_class: Wallabag\ApiBundle\Entity\Client
224 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
225 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
226 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
228 user_provider: fos_user.user_provider.username_email
230 refresh_token_lifetime: 1209600
235 cookie_name: wllbg_trusted_computer
236 cookie_lifetime: 2592000
239 enabled: "%twofactor_auth%"
240 sender_email: "%twofactor_sender%"
242 template: WallabagUserBundle:Authentication:form.html.twig
243 mailer: wallabag_user.auth_code_mailer
252 host: "%rabbitmq_host%"
253 port: "%rabbitmq_port%"
254 user: "%rabbitmq_user%"
255 password: "%rabbitmq_password%"
262 name: 'wallabag.import.pocket'
267 name: 'wallabag.import.readability'
272 name: 'wallabag.import.pinboard'
277 name: 'wallabag.import.instapaper'
282 name: 'wallabag.import.wallabag_v1'
287 name: 'wallabag.import.wallabag_v2'
292 name: 'wallabag.import.firefox'
297 name: 'wallabag.import.chrome'
303 name: 'wallabag.import.pocket'
306 name: 'wallabag.import.pocket'
307 callback: wallabag_import.consumer.amqp.pocket
308 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
312 name: 'wallabag.import.readability'
315 name: 'wallabag.import.readability'
316 callback: wallabag_import.consumer.amqp.readability
317 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
321 name: 'wallabag.import.instapaper'
324 name: 'wallabag.import.instapaper'
325 callback: wallabag_import.consumer.amqp.instapaper
326 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
330 name: 'wallabag.import.pinboard'
333 name: 'wallabag.import.pinboard'
334 callback: wallabag_import.consumer.amqp.pinboard
335 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
339 name: 'wallabag.import.wallabag_v1'
342 name: 'wallabag.import.wallabag_v1'
343 callback: wallabag_import.consumer.amqp.wallabag_v1
344 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
348 name: 'wallabag.import.wallabag_v2'
351 name: 'wallabag.import.wallabag_v2'
352 callback: wallabag_import.consumer.amqp.wallabag_v2
353 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
357 name: 'wallabag.import.firefox'
360 name: 'wallabag.import.firefox'
361 callback: wallabag_import.consumer.amqp.firefox
362 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
366 name: 'wallabag.import.chrome'
369 name: 'wallabag.import.chrome'
370 callback: wallabag_import.consumer.amqp.chrome
371 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
384 - fos_user_security_logout