2 - { resource: parameters.yml }
3 - { resource: security.yml }
4 - { resource: services.yml }
8 translator: { fallback: "%locale%" }
11 resource: "%kernel.root_dir%/config/routing.yml"
12 strict_requirements: ~
15 validation: { enable_annotations: true }
18 #assets_version: SomeVersionScheme
19 default_locale: "%locale%"
23 # handler_id set to null will use default session handler from php.ini
26 http_method_override: true
34 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain']
39 oauth_request: https://getpocket.com/v3/oauth/request
40 auth_authorize: https://getpocket.com/auth/authorize
41 oauth_authorize: https://getpocket.com/v3/oauth/authorize
42 get: https://getpocket.com/v3/get
46 debug: "%kernel.debug%"
47 strict_variables: "%kernel.debug%"
49 share_twitter: %share_twitter%
50 share_mail: %share_mail%
51 share_shaarli: %share_shaarli%
52 shaarli_url: %shaarli_url%
53 share_diaspora: %share_diaspora%
54 diaspora_url: %diaspora_url%
59 show_printlink: %show_printlink%
60 export_epub: %export_epub%
61 export_mobi: %export_mobi%
62 export_pdf: %export_pdf%
63 version: %app.version%
64 twofactor_auth: %twofactor_auth%
65 warning_message: %warning_message%
66 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
67 flattr_url: "https://flattr.com/thing/1265480"
70 - LexikFormFilterBundle:Form:form_div_layout.html.twig
72 # Assetic Configuration
74 debug: "%kernel.debug%"
81 # jar: "%kernel.root_dir%/Resources/java/compiler.jar"
83 # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
85 # Doctrine Configuration
88 driver: "%database_driver%"
89 host: "%database_host%"
90 port: "%database_port%"
91 dbname: "%database_name%"
92 user: "%database_user%"
93 password: "%database_password%"
95 path: "%database_path%"
98 auto_generate_proxy_classes: "%kernel.debug%"
103 stof_doctrine_extensions:
104 default_locale: "%locale%"
105 translation_fallback: true
111 # Swiftmailer Configuration
113 transport: "%mailer_transport%"
114 host: "%mailer_host%"
115 username: "%mailer_user%"
116 password: "%mailer_password%"
117 spool: { type: memory }
120 param_fetcher_listener: true
122 format_listener: true
124 view_response_listener: 'force'
132 failed_validation: HTTP_BAD_REQUEST
140 name: wallabag API documentation
144 allow_credentials: false
155 allow_headers: ['X-Custom-Auth']
156 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
160 allow_origin: ['^http://localhost:[0-9]+']
161 allow_headers: ['X-Custom-Auth']
162 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
167 load_controllers: false
171 autodetect_theme: wallabag_core.helper.detect_active_theme
175 # - %%app_path%%/views/themes/%%current_theme%%/%%template%%
176 # - %%app_path%%/views/%%template%%
178 - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
179 # bundle_resource_dir:
180 # - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%%
181 # - %%dir%%/views/%%bundle_name%%/%%override_path%%
186 user_class: Wallabag\UserBundle\Entity\User
193 client_class: Wallabag\ApiBundle\Entity\Client
194 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
195 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
196 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
198 user_provider: fos_user.user_manager
203 cookie_name: wllbg_trusted_computer
204 cookie_lifetime: 2592000
207 enabled: %twofactor_auth%
208 sender_email: %twofactor_sender%
210 template: WallabagUserBundle:Authentication:form.html.twig
211 mailer: wallabag_user.auth_code_mailer