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: |
62 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>.
63 api_limit_mass_actions: 10
66 registration_enabled: "%fosuser_registration%"
69 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
70 resource_dir: "%kernel.root_dir%/../web/uploads/import"
74 debug: "%kernel.debug%"
75 strict_variables: "%kernel.debug%"
77 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
78 exception_controller: wallabag_core.exception_controller:showAction
80 # Doctrine Configuration
83 driver: "%database_driver%"
84 host: "%database_host%"
85 port: "%database_port%"
86 dbname: "%database_name%"
87 user: "%database_user%"
88 password: "%database_password%"
89 charset: "%database_charset%"
90 path: "%database_path%"
91 unix_socket: "%database_socket%"
95 auto_generate_proxy_classes: "%kernel.debug%"
100 stof_doctrine_extensions:
101 default_locale: "%locale%"
102 translation_fallback: true
109 dir_name: "%kernel.root_dir%/DoctrineMigrations"
110 namespace: Application\Migrations
111 table_name: migration_versions
112 name: Application Migrations
114 # Swiftmailer Configuration
116 transport: "%mailer_transport%"
117 host: "%mailer_host%"
118 username: "%mailer_user%"
119 password: "%mailer_password%"
124 param_fetcher_listener: true
134 - 'application/epub+zip'
136 - 'application/x-mobipocket-ebook'
137 view_response_listener: 'force'
150 failed_validation: HTTP_BAD_REQUEST
157 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
158 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
159 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
160 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
161 # so we need to add custom rule for custom api export but also for all other routes of the application...
162 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
169 name: wallabag API documentation
173 allow_credentials: false
184 allow_headers: ['X-Custom-Auth']
185 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
189 allow_headers: ['X-Custom-Auth']
190 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
194 allow_origin: ['^http://localhost:[0-9]+']
195 allow_headers: ['X-Custom-Auth']
196 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
201 load_controllers: false
205 autodetect_theme: wallabag_core.helper.detect_active_theme
209 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
213 firewall_name: secured_area
214 user_class: Wallabag\UserBundle\Entity\User
217 enabled: "%fosuser_confirmation%"
219 address: "%from_email%"
220 sender_name: wallabag
224 client_class: Wallabag\ApiBundle\Entity\Client
225 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
226 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
227 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
229 user_provider: fos_user.user_provider.username_email
231 refresh_token_lifetime: 1209600
236 cookie_name: wllbg_trusted_computer
237 cookie_lifetime: 2592000
240 enabled: "%twofactor_auth%"
241 sender_email: "%twofactor_sender%"
243 template: WallabagUserBundle:Authentication:form.html.twig
244 mailer: wallabag_user.auth_code_mailer
253 host: "%rabbitmq_host%"
254 port: "%rabbitmq_port%"
255 user: "%rabbitmq_user%"
256 password: "%rabbitmq_password%"
263 name: 'wallabag.import.pocket'
268 name: 'wallabag.import.readability'
273 name: 'wallabag.import.pinboard'
278 name: 'wallabag.import.instapaper'
283 name: 'wallabag.import.wallabag_v1'
288 name: 'wallabag.import.wallabag_v2'
293 name: 'wallabag.import.firefox'
298 name: 'wallabag.import.chrome'
304 name: 'wallabag.import.pocket'
307 name: 'wallabag.import.pocket'
308 callback: wallabag_import.consumer.amqp.pocket
309 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
313 name: 'wallabag.import.readability'
316 name: 'wallabag.import.readability'
317 callback: wallabag_import.consumer.amqp.readability
318 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
322 name: 'wallabag.import.instapaper'
325 name: 'wallabag.import.instapaper'
326 callback: wallabag_import.consumer.amqp.instapaper
327 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
331 name: 'wallabag.import.pinboard'
334 name: 'wallabag.import.pinboard'
335 callback: wallabag_import.consumer.amqp.pinboard
336 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
340 name: 'wallabag.import.wallabag_v1'
343 name: 'wallabag.import.wallabag_v1'
344 callback: wallabag_import.consumer.amqp.wallabag_v1
345 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
349 name: 'wallabag.import.wallabag_v2'
352 name: 'wallabag.import.wallabag_v2'
353 callback: wallabag_import.consumer.amqp.wallabag_v2
354 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
358 name: 'wallabag.import.firefox'
361 name: 'wallabag.import.firefox'
362 callback: wallabag_import.consumer.amqp.firefox
363 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
367 name: 'wallabag.import.chrome'
370 name: 'wallabag.import.chrome'
371 callback: wallabag_import.consumer.amqp.chrome
372 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
385 - fos_user_security_logout