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 fetching_error_message: |
55 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 registration_enabled: "%fosuser_registration%"
61 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
62 resource_dir: "%kernel.root_dir%/../web/uploads/import"
66 debug: "%kernel.debug%"
67 strict_variables: "%kernel.debug%"
69 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
70 exception_controller: wallabag_core.exception_controller:showAction
72 # Doctrine Configuration
75 driver: "%database_driver%"
76 host: "%database_host%"
77 port: "%database_port%"
78 dbname: "%database_name%"
79 user: "%database_user%"
80 password: "%database_password%"
81 charset: "%database_charset%"
82 path: "%database_path%"
83 unix_socket: "%database_socket%"
87 auto_generate_proxy_classes: "%kernel.debug%"
92 stof_doctrine_extensions:
93 default_locale: "%locale%"
94 translation_fallback: true
101 dir_name: "%kernel.root_dir%/DoctrineMigrations"
102 namespace: Application\Migrations
103 table_name: migration_versions
104 name: Application Migrations
106 # Swiftmailer Configuration
108 transport: "%mailer_transport%"
109 host: "%mailer_host%"
110 username: "%mailer_user%"
111 password: "%mailer_password%"
116 param_fetcher_listener: true
126 - 'application/epub+zip'
128 - 'application/x-mobipocket-ebook'
129 view_response_listener: 'force'
142 failed_validation: HTTP_BAD_REQUEST
149 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: false, prefer_extension: false }
150 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: false, prefer_extension: false }
151 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: false, prefer_extension: false }
152 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
153 # so we need to add custom rule for custom api export but also for all other routes of the application...
154 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
161 name: wallabag API documentation
165 allow_credentials: false
176 allow_headers: ['X-Custom-Auth']
177 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
181 allow_headers: ['X-Custom-Auth']
182 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
186 allow_origin: ['^http://localhost:[0-9]+']
187 allow_headers: ['X-Custom-Auth']
188 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
193 load_controllers: false
197 autodetect_theme: wallabag_core.helper.detect_active_theme
201 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
205 firewall_name: secured_area
206 user_class: Wallabag\UserBundle\Entity\User
209 enabled: "%fosuser_confirmation%"
211 address: "%from_email%"
212 sender_name: wallabag
216 client_class: Wallabag\ApiBundle\Entity\Client
217 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
218 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
219 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
221 user_provider: fos_user.user_provider.username_email
223 refresh_token_lifetime: 1209600
228 cookie_name: wllbg_trusted_computer
229 cookie_lifetime: 2592000
232 enabled: "%twofactor_auth%"
233 sender_email: "%twofactor_sender%"
235 template: WallabagUserBundle:Authentication:form.html.twig
236 mailer: wallabag_user.auth_code_mailer
245 host: "%rabbitmq_host%"
246 port: "%rabbitmq_port%"
247 user: "%rabbitmq_user%"
248 password: "%rabbitmq_password%"
255 name: 'wallabag.import.pocket'
260 name: 'wallabag.import.readability'
265 name: 'wallabag.import.pinboard'
270 name: 'wallabag.import.instapaper'
275 name: 'wallabag.import.wallabag_v1'
280 name: 'wallabag.import.wallabag_v2'
285 name: 'wallabag.import.firefox'
290 name: 'wallabag.import.chrome'
296 name: 'wallabag.import.pocket'
299 name: 'wallabag.import.pocket'
300 callback: wallabag_import.consumer.amqp.pocket
304 name: 'wallabag.import.readability'
307 name: 'wallabag.import.readability'
308 callback: wallabag_import.consumer.amqp.readability
312 name: 'wallabag.import.instapaper'
315 name: 'wallabag.import.instapaper'
316 callback: wallabag_import.consumer.amqp.instapaper
320 name: 'wallabag.import.pinboard'
323 name: 'wallabag.import.pinboard'
324 callback: wallabag_import.consumer.amqp.pinboard
328 name: 'wallabag.import.wallabag_v1'
331 name: 'wallabag.import.wallabag_v1'
332 callback: wallabag_import.consumer.amqp.wallabag_v1
336 name: 'wallabag.import.wallabag_v2'
339 name: 'wallabag.import.wallabag_v2'
340 callback: wallabag_import.consumer.amqp.wallabag_v2
344 name: 'wallabag.import.firefox'
347 name: 'wallabag.import.firefox'
348 callback: wallabag_import.consumer.amqp.firefox
352 name: 'wallabag.import.chrome'
355 name: 'wallabag.import.chrome'
356 callback: wallabag_import.consumer.amqp.chrome
369 - fos_user_security_logout