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"
53 fetching_error_message: "wallabag can't retrieve contents for this article. Please report this issue to us."
56 registration_enabled: "%fosuser_registration%"
59 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
60 resource_dir: "%kernel.root_dir%/../web/uploads/import"
64 debug: "%kernel.debug%"
65 strict_variables: "%kernel.debug%"
67 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
68 exception_controller: wallabag_core.exception_controller:showAction
70 # Doctrine Configuration
73 driver: "%database_driver%"
74 host: "%database_host%"
75 port: "%database_port%"
76 dbname: "%database_name%"
77 user: "%database_user%"
78 password: "%database_password%"
79 charset: "%database_charset%"
80 path: "%database_path%"
81 unix_socket: "%database_socket%"
85 auto_generate_proxy_classes: "%kernel.debug%"
90 stof_doctrine_extensions:
91 default_locale: "%locale%"
92 translation_fallback: true
99 dir_name: "%kernel.root_dir%/DoctrineMigrations"
100 namespace: Application\Migrations
101 table_name: migration_versions
102 name: Application Migrations
104 # Swiftmailer Configuration
106 transport: "%mailer_transport%"
107 host: "%mailer_host%"
108 username: "%mailer_user%"
109 password: "%mailer_password%"
114 param_fetcher_listener: true
124 - 'application/epub+zip'
126 - 'application/x-mobipocket-ebook'
127 view_response_listener: 'force'
140 failed_validation: HTTP_BAD_REQUEST
147 - { path: "^/api/entries/([0-9]+)/export.(.*)", priorities: ['epub', 'mobi', 'pdf', 'txt', 'csv'], fallback_format: false, prefer_extension: false }
148 - { path: "^/api", priorities: ['json', 'xml'], fallback_format: false, prefer_extension: false }
149 - { path: "^/annotations", priorities: ['json', 'xml'], fallback_format: false, prefer_extension: false }
150 # for an unknown reason, EACH REQUEST goes to FOS\RestBundle\EventListener\FormatListener
151 # so we need to add custom rule for custom api export but also for all other routes of the application...
152 - { path: '^/', priorities: ['text/html', '*/*'], fallback_format: html, prefer_extension: false }
159 name: wallabag API documentation
163 allow_credentials: false
174 allow_headers: ['X-Custom-Auth']
175 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
179 allow_headers: ['X-Custom-Auth']
180 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
184 allow_origin: ['^http://localhost:[0-9]+']
185 allow_headers: ['X-Custom-Auth']
186 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
191 load_controllers: false
195 autodetect_theme: wallabag_core.helper.detect_active_theme
199 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
203 firewall_name: secured_area
204 user_class: Wallabag\UserBundle\Entity\User
207 enabled: "%fosuser_confirmation%"
209 address: "%from_email%"
210 sender_name: wallabag
213 client_class: Wallabag\ApiBundle\Entity\Client
214 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
215 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
216 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
218 user_provider: fos_user.user_manager
223 cookie_name: wllbg_trusted_computer
224 cookie_lifetime: 2592000
227 enabled: "%twofactor_auth%"
228 sender_email: "%twofactor_sender%"
230 template: WallabagUserBundle:Authentication:form.html.twig
231 mailer: wallabag_user.auth_code_mailer
242 class: 'Lexik\Bundle\MaintenanceBundle\Drivers\DatabaseDriver'
245 status: "wallabag Service Temporarily Unavailable"
250 host: "%rabbitmq_host%"
251 port: "%rabbitmq_port%"
252 user: "%rabbitmq_user%"
253 password: "%rabbitmq_password%"
260 name: 'wallabag.import.pocket'
265 name: 'wallabag.import.readability'
270 name: 'wallabag.import.instapaper'
275 name: 'wallabag.import.wallabag_v1'
280 name: 'wallabag.import.wallabag_v2'
285 name: 'wallabag.import.firefox'
290 name: 'wallabag.import.chrome'
296 name: 'wallabag.import.pocket'
299 name: 'wallabag.import.pocket'
300 callback: wallabag_import.consumer.amqp.pocket
304 name: 'wallabag.import.readability'
307 name: 'wallabag.import.readability'
308 callback: wallabag_import.consumer.amqp.readability
312 name: 'wallabag.import.instapaper'
315 name: 'wallabag.import.instapaper'
316 callback: wallabag_import.consumer.amqp.instapaper
320 name: 'wallabag.import.wallabag_v1'
323 name: 'wallabag.import.wallabag_v1'
324 callback: wallabag_import.consumer.amqp.wallabag_v1
328 name: 'wallabag.import.wallabag_v2'
331 name: 'wallabag.import.wallabag_v2'
332 callback: wallabag_import.consumer.amqp.wallabag_v2
336 name: 'wallabag.import.firefox'
339 name: 'wallabag.import.firefox'
340 callback: wallabag_import.consumer.amqp.firefox
344 name: 'wallabag.import.chrome'
347 name: 'wallabag.import.chrome'
348 callback: wallabag_import.consumer.amqp.chrome