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/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>.
60 registration_enabled: "%fosuser_registration%"
63 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
64 resource_dir: "%kernel.root_dir%/../web/uploads/import"
68 debug: "%kernel.debug%"
69 strict_variables: "%kernel.debug%"
71 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
72 exception_controller: wallabag_core.exception_controller:showAction
74 # Doctrine Configuration
77 driver: "%database_driver%"
78 host: "%database_host%"
79 port: "%database_port%"
80 dbname: "%database_name%"
81 user: "%database_user%"
82 password: "%database_password%"
83 charset: "%database_charset%"
84 path: "%database_path%"
85 unix_socket: "%database_socket%"
89 auto_generate_proxy_classes: "%kernel.debug%"
94 stof_doctrine_extensions:
95 default_locale: "%locale%"
96 translation_fallback: true
103 dir_name: "%kernel.root_dir%/DoctrineMigrations"
104 namespace: Application\Migrations
105 table_name: migration_versions
106 name: Application Migrations
108 # Swiftmailer Configuration
110 transport: "%mailer_transport%"
111 host: "%mailer_host%"
112 username: "%mailer_user%"
113 password: "%mailer_password%"
118 param_fetcher_listener: true
128 - 'application/epub+zip'
130 - 'application/x-mobipocket-ebook'
131 view_response_listener: 'force'
144 failed_validation: HTTP_BAD_REQUEST
151 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
152 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
153 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
154 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
155 # so we need to add custom rule for custom api export but also for all other routes of the application...
156 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
163 name: wallabag API documentation
167 allow_credentials: false
178 allow_headers: ['X-Custom-Auth']
179 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
183 allow_headers: ['X-Custom-Auth']
184 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
188 allow_origin: ['^http://localhost:[0-9]+']
189 allow_headers: ['X-Custom-Auth']
190 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
195 load_controllers: false
199 autodetect_theme: wallabag_core.helper.detect_active_theme
203 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
207 firewall_name: secured_area
208 user_class: Wallabag\UserBundle\Entity\User
211 enabled: "%fosuser_confirmation%"
213 address: "%from_email%"
214 sender_name: wallabag
218 client_class: Wallabag\ApiBundle\Entity\Client
219 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
220 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
221 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
223 user_provider: fos_user.user_provider.username_email
225 refresh_token_lifetime: 1209600
230 cookie_name: wllbg_trusted_computer
231 cookie_lifetime: 2592000
234 enabled: "%twofactor_auth%"
235 sender_email: "%twofactor_sender%"
237 template: WallabagUserBundle:Authentication:form.html.twig
238 mailer: wallabag_user.auth_code_mailer
247 host: "%rabbitmq_host%"
248 port: "%rabbitmq_port%"
249 user: "%rabbitmq_user%"
250 password: "%rabbitmq_password%"
257 name: 'wallabag.import.pocket'
262 name: 'wallabag.import.readability'
267 name: 'wallabag.import.pinboard'
272 name: 'wallabag.import.instapaper'
277 name: 'wallabag.import.wallabag_v1'
282 name: 'wallabag.import.wallabag_v2'
287 name: 'wallabag.import.firefox'
292 name: 'wallabag.import.chrome'
298 name: 'wallabag.import.pocket'
301 name: 'wallabag.import.pocket'
302 callback: wallabag_import.consumer.amqp.pocket
303 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
307 name: 'wallabag.import.readability'
310 name: 'wallabag.import.readability'
311 callback: wallabag_import.consumer.amqp.readability
312 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
316 name: 'wallabag.import.instapaper'
319 name: 'wallabag.import.instapaper'
320 callback: wallabag_import.consumer.amqp.instapaper
321 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
325 name: 'wallabag.import.pinboard'
328 name: 'wallabag.import.pinboard'
329 callback: wallabag_import.consumer.amqp.pinboard
330 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
334 name: 'wallabag.import.wallabag_v1'
337 name: 'wallabag.import.wallabag_v1'
338 callback: wallabag_import.consumer.amqp.wallabag_v1
339 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
343 name: 'wallabag.import.wallabag_v2'
346 name: 'wallabag.import.wallabag_v2'
347 callback: wallabag_import.consumer.amqp.wallabag_v2
348 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
352 name: 'wallabag.import.firefox'
355 name: 'wallabag.import.firefox'
356 callback: wallabag_import.consumer.amqp.firefox
357 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
361 name: 'wallabag.import.chrome'
364 name: 'wallabag.import.chrome'
365 callback: wallabag_import.consumer.amqp.chrome
366 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
379 - fos_user_security_logout