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
67 registration_enabled: "%fosuser_registration%"
70 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
71 resource_dir: "%kernel.root_dir%/../web/uploads/import"
75 debug: "%kernel.debug%"
76 strict_variables: "%kernel.debug%"
78 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
79 exception_controller: wallabag_core.exception_controller:showAction
81 # Doctrine Configuration
84 driver: "%database_driver%"
85 host: "%database_host%"
86 port: "%database_port%"
87 dbname: "%database_name%"
88 user: "%database_user%"
89 password: "%database_password%"
90 charset: "%database_charset%"
91 path: "%database_path%"
92 unix_socket: "%database_socket%"
96 auto_generate_proxy_classes: "%kernel.debug%"
101 stof_doctrine_extensions:
102 default_locale: "%locale%"
103 translation_fallback: true
110 dir_name: "%kernel.root_dir%/DoctrineMigrations"
111 namespace: Application\Migrations
112 table_name: migration_versions
113 name: Application Migrations
115 # Swiftmailer Configuration
117 transport: "%mailer_transport%"
118 host: "%mailer_host%"
119 username: "%mailer_user%"
120 password: "%mailer_password%"
125 param_fetcher_listener: true
135 - 'application/epub+zip'
137 - 'application/x-mobipocket-ebook'
138 view_response_listener: 'force'
151 failed_validation: HTTP_BAD_REQUEST
158 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
159 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
160 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
161 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
162 # so we need to add custom rule for custom api export but also for all other routes of the application...
163 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
170 name: wallabag API documentation
174 allow_credentials: false
185 allow_headers: ['X-Custom-Auth']
186 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
190 allow_headers: ['X-Custom-Auth']
191 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
195 allow_origin: ['^http://localhost:[0-9]+']
196 allow_headers: ['X-Custom-Auth']
197 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
202 load_controllers: false
206 autodetect_theme: wallabag_core.helper.detect_active_theme
210 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
214 firewall_name: secured_area
215 user_class: Wallabag\UserBundle\Entity\User
218 enabled: "%fosuser_confirmation%"
220 address: "%from_email%"
221 sender_name: wallabag
225 client_class: Wallabag\ApiBundle\Entity\Client
226 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
227 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
228 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
230 user_provider: fos_user.user_provider.username_email
232 refresh_token_lifetime: 1209600
237 cookie_name: wllbg_trusted_computer
238 cookie_lifetime: 2592000
241 enabled: "%twofactor_auth%"
242 sender_email: "%twofactor_sender%"
244 template: WallabagUserBundle:Authentication:form.html.twig
245 mailer: wallabag_user.auth_code_mailer
254 host: "%rabbitmq_host%"
255 port: "%rabbitmq_port%"
256 user: "%rabbitmq_user%"
257 password: "%rabbitmq_password%"
264 name: 'wallabag.import.pocket'
269 name: 'wallabag.import.readability'
274 name: 'wallabag.import.pinboard'
279 name: 'wallabag.import.instapaper'
284 name: 'wallabag.import.wallabag_v1'
289 name: 'wallabag.import.wallabag_v2'
294 name: 'wallabag.import.firefox'
299 name: 'wallabag.import.chrome'
305 name: 'wallabag.import.pocket'
308 name: 'wallabag.import.pocket'
309 callback: wallabag_import.consumer.amqp.pocket
310 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
314 name: 'wallabag.import.readability'
317 name: 'wallabag.import.readability'
318 callback: wallabag_import.consumer.amqp.readability
319 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
323 name: 'wallabag.import.instapaper'
326 name: 'wallabag.import.instapaper'
327 callback: wallabag_import.consumer.amqp.instapaper
328 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
332 name: 'wallabag.import.pinboard'
335 name: 'wallabag.import.pinboard'
336 callback: wallabag_import.consumer.amqp.pinboard
337 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
341 name: 'wallabag.import.wallabag_v1'
344 name: 'wallabag.import.wallabag_v1'
345 callback: wallabag_import.consumer.amqp.wallabag_v1
346 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
350 name: 'wallabag.import.wallabag_v2'
353 name: 'wallabag.import.wallabag_v2'
354 callback: wallabag_import.consumer.amqp.wallabag_v2
355 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
359 name: 'wallabag.import.firefox'
362 name: 'wallabag.import.firefox'
363 callback: wallabag_import.consumer.amqp.firefox
364 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
368 name: 'wallabag.import.chrome'
371 name: 'wallabag.import.chrome'
372 callback: wallabag_import.consumer.amqp.chrome
373 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
386 - fos_user_security_logout