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
9 craue_config.cache_adapter.class: Craue\ConfigBundle\CacheAdapter\SymfonyCacheComponentAdapter
18 resource: "%kernel.root_dir%/config/routing.yml"
19 strict_requirements: ~
23 enable_annotations: true
26 default_locale: "%locale%"
30 # handler_id set to null will use default session handler from php.ini
31 handler_id: session.handler.native_file
32 save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
34 http_method_override: true
39 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
59 action_mark_as_read: 1
61 fetching_error_message_title: 'No title found'
62 fetching_error_message: |
63 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>.
64 api_limit_mass_actions: 10
65 default_internal_settings:
80 value: http://diasporapod.com
88 value: https://unmark.it
100 value: http://myshaarli.com
104 value: http://scuttle.org
119 name: restricted_access
151 name: import_with_redis
155 name: import_with_rabbitmq
164 value: v2.wallabag.org
171 name: demo_mode_enabled
175 name: demo_mode_username
179 name: download_images_enabled
183 name: wallabag_support_url
184 value: https://www.wallabag.org/pages/support.html
188 value: http://v2.wallabag.org
191 name: api_user_registration
196 registration_enabled: "%fosuser_registration%"
199 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
200 resource_dir: "%kernel.root_dir%/../web/uploads/import"
204 debug: "%kernel.debug%"
205 strict_variables: "%kernel.debug%"
207 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
208 exception_controller: wallabag_core.exception_controller:showAction
210 # Doctrine Configuration
213 driver: "%database_driver%"
214 host: "%database_host%"
215 port: "%database_port%"
216 dbname: "%database_name%"
217 user: "%database_user%"
218 password: "%database_password%"
219 charset: "%database_charset%"
220 path: "%database_path%"
221 unix_socket: "%database_socket%"
225 auto_generate_proxy_classes: "%kernel.debug%"
230 stof_doctrine_extensions:
231 default_locale: "%locale%"
232 translation_fallback: true
239 dir_name: "%kernel.root_dir%/DoctrineMigrations"
240 namespace: Application\Migrations
241 table_name: migration_versions
242 name: Application Migrations
244 # Swiftmailer Configuration
246 transport: "%mailer_transport%"
247 host: "%mailer_host%"
248 username: "%mailer_user%"
249 password: "%mailer_password%"
254 param_fetcher_listener: true
264 - 'application/epub+zip'
266 - 'application/x-mobipocket-ebook'
267 view_response_listener: 'force'
280 failed_validation: HTTP_BAD_REQUEST
287 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
288 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
289 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
290 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
291 # so we need to add custom rule for custom api export but also for all other routes of the application...
292 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
299 name: wallabag API documentation
303 allow_credentials: false
314 allow_headers: ['X-Custom-Auth']
315 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
319 allow_headers: ['X-Custom-Auth']
320 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
324 allow_origin: ['^http://localhost:[0-9]+']
325 allow_headers: ['X-Custom-Auth']
326 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
331 load_controllers: false
335 autodetect_theme: wallabag_core.helper.detect_active_theme
339 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
343 firewall_name: secured_area
344 user_class: Wallabag\UserBundle\Entity\User
347 enabled: "%fosuser_confirmation%"
349 address: "%from_email%"
350 sender_name: wallabag
354 client_class: Wallabag\ApiBundle\Entity\Client
355 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
356 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
357 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
359 user_provider: fos_user.user_provider.username_email
361 refresh_token_lifetime: 1209600
366 cookie_name: wllbg_trusted_computer
367 cookie_lifetime: 2592000
370 enabled: "%twofactor_auth%"
371 sender_email: "%twofactor_sender%"
373 template: WallabagUserBundle:Authentication:form.html.twig
374 mailer: wallabag_user.auth_code_mailer
383 host: "%rabbitmq_host%"
384 port: "%rabbitmq_port%"
385 user: "%rabbitmq_user%"
386 password: "%rabbitmq_password%"
393 name: 'wallabag.import.pocket'
398 name: 'wallabag.import.readability'
403 name: 'wallabag.import.pinboard'
408 name: 'wallabag.import.instapaper'
413 name: 'wallabag.import.wallabag_v1'
418 name: 'wallabag.import.wallabag_v2'
423 name: 'wallabag.import.firefox'
428 name: 'wallabag.import.chrome'
434 name: 'wallabag.import.pocket'
437 name: 'wallabag.import.pocket'
438 callback: wallabag_import.consumer.amqp.pocket
439 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
443 name: 'wallabag.import.readability'
446 name: 'wallabag.import.readability'
447 callback: wallabag_import.consumer.amqp.readability
448 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
452 name: 'wallabag.import.instapaper'
455 name: 'wallabag.import.instapaper'
456 callback: wallabag_import.consumer.amqp.instapaper
457 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
461 name: 'wallabag.import.pinboard'
464 name: 'wallabag.import.pinboard'
465 callback: wallabag_import.consumer.amqp.pinboard
466 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
470 name: 'wallabag.import.wallabag_v1'
473 name: 'wallabag.import.wallabag_v1'
474 callback: wallabag_import.consumer.amqp.wallabag_v1
475 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
479 name: 'wallabag.import.wallabag_v2'
482 name: 'wallabag.import.wallabag_v2'
483 callback: wallabag_import.consumer.amqp.wallabag_v2
484 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
488 name: 'wallabag.import.firefox'
491 name: 'wallabag.import.firefox'
492 callback: wallabag_import.consumer.amqp.firefox
493 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
497 name: 'wallabag.import.chrome'
500 name: 'wallabag.import.chrome'
501 callback: wallabag_import.consumer.amqp.chrome
502 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
515 - fos_user_security_logout