2 - { resource: parameters.yml }
3 - { resource: security.yml }
4 - { resource: services.yml }
5 - { resource: wallabag.yml }
8 # Allows to use the live reload feature for changes in assets
9 use_webpack_dev_server: false
10 craue_config.cache_adapter.class: Craue\ConfigBundle\CacheAdapter\SymfonyCacheComponentAdapter
19 resource: "%kernel.root_dir%/config/routing.yml"
20 strict_requirements: ~
24 enable_annotations: true
27 default_locale: "%locale%"
31 # handler_id set to null will use default session handler from php.ini
32 handler_id: session.handler.native_file
33 save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
35 http_method_override: true
40 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
60 action_mark_as_read: 1
62 fetching_error_message_title: 'No title found'
63 fetching_error_message: |
64 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>.
65 api_limit_mass_actions: 10
68 registration_enabled: "%fosuser_registration%"
71 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
72 resource_dir: "%kernel.root_dir%/../web/uploads/import"
76 debug: "%kernel.debug%"
77 strict_variables: "%kernel.debug%"
79 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
80 exception_controller: wallabag_core.exception_controller:showAction
82 # Doctrine Configuration
85 driver: "%database_driver%"
86 host: "%database_host%"
87 port: "%database_port%"
88 dbname: "%database_name%"
89 user: "%database_user%"
90 password: "%database_password%"
91 charset: "%database_charset%"
92 path: "%database_path%"
93 unix_socket: "%database_socket%"
97 auto_generate_proxy_classes: "%kernel.debug%"
102 stof_doctrine_extensions:
103 default_locale: "%locale%"
104 translation_fallback: true
111 dir_name: "%kernel.root_dir%/DoctrineMigrations"
112 namespace: Application\Migrations
113 table_name: migration_versions
114 name: Application Migrations
116 # Swiftmailer Configuration
118 transport: "%mailer_transport%"
119 host: "%mailer_host%"
120 username: "%mailer_user%"
121 password: "%mailer_password%"
126 param_fetcher_listener: true
136 - 'application/epub+zip'
138 - 'application/x-mobipocket-ebook'
139 view_response_listener: 'force'
152 failed_validation: HTTP_BAD_REQUEST
159 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: json, prefer_extension: false }
160 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
161 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: json, prefer_extension: false }
162 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
163 # so we need to add custom rule for custom api export but also for all other routes of the application...
164 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
171 name: wallabag API documentation
175 allow_credentials: false
186 allow_headers: ['X-Custom-Auth']
187 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
191 allow_headers: ['X-Custom-Auth']
192 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
196 allow_origin: ['^http://localhost:[0-9]+']
197 allow_headers: ['X-Custom-Auth']
198 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
203 load_controllers: false
207 autodetect_theme: wallabag_core.helper.detect_active_theme
211 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
215 firewall_name: secured_area
216 user_class: Wallabag\UserBundle\Entity\User
219 enabled: "%fosuser_confirmation%"
221 address: "%from_email%"
222 sender_name: wallabag
226 client_class: Wallabag\ApiBundle\Entity\Client
227 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
228 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
229 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
231 user_provider: fos_user.user_provider.username_email
233 access_token_lifetime: 31536000
234 refresh_token_lifetime: 63072000
235 supported_scopes: read write user
237 auth_code_lifetime: 60
242 cookie_name: wllbg_trusted_computer
243 cookie_lifetime: 2592000
246 enabled: "%twofactor_auth%"
247 sender_email: "%twofactor_sender%"
249 template: WallabagUserBundle:Authentication:form.html.twig
250 mailer: wallabag_user.auth_code_mailer
259 host: "%rabbitmq_host%"
260 port: "%rabbitmq_port%"
261 user: "%rabbitmq_user%"
262 password: "%rabbitmq_password%"
269 name: 'wallabag.import.pocket'
274 name: 'wallabag.import.readability'
279 name: 'wallabag.import.pinboard'
284 name: 'wallabag.import.instapaper'
289 name: 'wallabag.import.wallabag_v1'
294 name: 'wallabag.import.wallabag_v2'
299 name: 'wallabag.import.firefox'
304 name: 'wallabag.import.chrome'
310 name: 'wallabag.import.pocket'
313 name: 'wallabag.import.pocket'
314 callback: wallabag_import.consumer.amqp.pocket
315 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
319 name: 'wallabag.import.readability'
322 name: 'wallabag.import.readability'
323 callback: wallabag_import.consumer.amqp.readability
324 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
328 name: 'wallabag.import.instapaper'
331 name: 'wallabag.import.instapaper'
332 callback: wallabag_import.consumer.amqp.instapaper
333 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
337 name: 'wallabag.import.pinboard'
340 name: 'wallabag.import.pinboard'
341 callback: wallabag_import.consumer.amqp.pinboard
342 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
346 name: 'wallabag.import.wallabag_v1'
349 name: 'wallabag.import.wallabag_v1'
350 callback: wallabag_import.consumer.amqp.wallabag_v1
351 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
355 name: 'wallabag.import.wallabag_v2'
358 name: 'wallabag.import.wallabag_v2'
359 callback: wallabag_import.consumer.amqp.wallabag_v2
360 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
364 name: 'wallabag.import.firefox'
367 name: 'wallabag.import.firefox'
368 callback: wallabag_import.consumer.amqp.firefox
369 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
373 name: 'wallabag.import.chrome'
376 name: 'wallabag.import.chrome'
377 callback: wallabag_import.consumer.amqp.chrome
378 qos_options: {prefetch_count: "%rabbitmq_prefetch_count%"}
391 - fos_user_security_logout