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"
55 registration_enabled: "%fosuser_registration%"
58 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
59 resource_dir: "%kernel.root_dir%/../web/uploads/import"
63 debug: "%kernel.debug%"
64 strict_variables: "%kernel.debug%"
66 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
67 exception_controller: wallabag_core.exception_controller:showAction
69 # Doctrine Configuration
72 driver: "%database_driver%"
73 host: "%database_host%"
74 port: "%database_port%"
75 dbname: "%database_name%"
76 user: "%database_user%"
77 password: "%database_password%"
79 path: "%database_path%"
80 unix_socket: "%database_socket%"
84 auto_generate_proxy_classes: "%kernel.debug%"
89 stof_doctrine_extensions:
90 default_locale: "%locale%"
91 translation_fallback: true
98 dir_name: "%kernel.root_dir%/DoctrineMigrations"
99 namespace: Application\Migrations
100 table_name: migration_versions
101 name: Application Migrations
103 # Swiftmailer Configuration
105 transport: "%mailer_transport%"
106 host: "%mailer_host%"
107 username: "%mailer_user%"
108 password: "%mailer_password%"
113 param_fetcher_listener: true
123 - 'application/epub+zip'
125 - 'application/x-mobipocket-ebook'
126 view_response_listener: 'force'
139 failed_validation: HTTP_BAD_REQUEST
146 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: false, prefer_extension: false }
147 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: false, prefer_extension: false }
148 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: false, prefer_extension: false }
149 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
150 # so we need to add custom rule for custom api export but also for all other routes of the application...
151 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
158 name: wallabag API documentation
162 allow_credentials: false
173 allow_headers: ['X-Custom-Auth']
174 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
178 allow_headers: ['X-Custom-Auth']
179 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
183 allow_origin: ['^http://localhost:[0-9]+']
184 allow_headers: ['X-Custom-Auth']
185 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
190 load_controllers: false
194 autodetect_theme: wallabag_core.helper.detect_active_theme
198 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
202 firewall_name: secured_area
203 user_class: Wallabag\UserBundle\Entity\User
206 enabled: "%fosuser_confirmation%"
208 address: "%from_email%"
209 sender_name: wallabag
212 client_class: Wallabag\ApiBundle\Entity\Client
213 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
214 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
215 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
217 user_provider: fos_user.user_manager
222 cookie_name: wllbg_trusted_computer
223 cookie_lifetime: 2592000
226 enabled: "%twofactor_auth%"
227 sender_email: "%twofactor_sender%"
229 template: WallabagUserBundle:Authentication:form.html.twig
230 mailer: wallabag_user.auth_code_mailer
241 class: 'Lexik\Bundle\MaintenanceBundle\Drivers\DatabaseDriver'
244 status: "wallabag Service Temporarily Unavailable"
249 host: "%rabbitmq_host%"
250 port: "%rabbitmq_port%"
251 user: "%rabbitmq_user%"
252 password: "%rabbitmq_password%"
259 name: 'wallabag.import.pocket'
264 name: 'wallabag.import.readability'
269 name: 'wallabag.import.instapaper'
274 name: 'wallabag.import.wallabag_v1'
279 name: 'wallabag.import.wallabag_v2'
284 name: 'wallabag.import.firefox'
289 name: 'wallabag.import.chrome'
295 name: 'wallabag.import.pocket'
298 name: 'wallabag.import.pocket'
299 callback: wallabag_import.consumer.amqp.pocket
303 name: 'wallabag.import.readability'
306 name: 'wallabag.import.readability'
307 callback: wallabag_import.consumer.amqp.readability
311 name: 'wallabag.import.instapaper'
314 name: 'wallabag.import.instapaper'
315 callback: wallabag_import.consumer.amqp.instapaper
319 name: 'wallabag.import.wallabag_v1'
322 name: 'wallabag.import.wallabag_v1'
323 callback: wallabag_import.consumer.amqp.wallabag_v1
327 name: 'wallabag.import.wallabag_v2'
330 name: 'wallabag.import.wallabag_v2'
331 callback: wallabag_import.consumer.amqp.wallabag_v2
335 name: 'wallabag.import.firefox'
338 name: 'wallabag.import.firefox'
339 callback: wallabag_import.consumer.amqp.firefox
343 name: 'wallabag.import.chrome'
346 name: 'wallabag.import.chrome'
347 callback: wallabag_import.consumer.amqp.chrome