]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/config.yml
Change version to 2.2.0-dev
[github/wallabag/wallabag.git] / app / config / config.yml
CommitLineData
93fd4692
NL
1imports:
2 - { resource: parameters.yml }
3 - { resource: security.yml }
4 - { resource: services.yml }
5
6framework:
7 #esi: ~
2bc9cad7
JB
8 translator:
9 enabled: true
10 fallback: "%locale%"
11 secret: "%secret%"
93fd4692
NL
12 router:
13 resource: "%kernel.root_dir%/config/routing.yml"
14 strict_requirements: ~
2bc9cad7 15 form: ~
93fd4692 16 csrf_protection: ~
2bc9cad7
JB
17 validation:
18 enable_annotations: true
93fd4692
NL
19 templating:
20 engines: ['twig']
2bc9cad7
JB
21 default_locale: "%locale%"
22 trusted_hosts: ~
93fd4692
NL
23 trusted_proxies: ~
24 session:
25 # handler_id set to null will use default session handler from php.ini
2bc9cad7
JB
26 handler_id: session.handler.native_file
27 save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
28 fragments: ~
93fd4692 29 http_method_override: true
d8dbe76b 30 assets: ~
93fd4692 31
c89d35e8 32wallabag_core:
8fdadee3 33 version: 2.2.0-dev
63e40f2d 34 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
c89d35e8
NL
35 languages:
36 en: 'English'
37 fr: 'Français'
57cf6fd7 38 de: 'Deutsch'
f47101e0 39 tr: 'Türkçe'
e2b4f0e2 40 fa: 'فارسی'
d8f5b270 41 ro: 'Română'
ee40ccf2 42 pl: 'Polish'
449df236 43 da: 'Dansk'
e5f3b04c 44 es: 'Español'
187868d1 45 oc: 'Occitan'
8b09c6ed 46 it: 'Italiano'
5d6cffed 47 pt: 'Português'
bc789687
JB
48 items_on_page: 12
49 theme: material
dd32c89e 50 language: '%locale%'
bc789687 51 rss_limit: 50
bca54859 52 reading_speed: 1
b3f4a11a 53 cache_lifetime: 10
d1b07550 54 fetching_error_message: |
d36e5e20 55 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>.
77a7752a 56
de3d716a 57wallabag_user:
7149aa57 58 registration_enabled: "%fosuser_registration%"
de3d716a 59
77a7752a 60wallabag_import:
ff1a5362 61 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
b1d05721 62 resource_dir: "%kernel.root_dir%/../web/uploads/import"
c89d35e8 63
93fd4692
NL
64# Twig Configuration
65twig:
2bc9cad7 66 debug: "%kernel.debug%"
93fd4692 67 strict_variables: "%kernel.debug%"
5c895a7f
JB
68 form_themes:
69 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
40e21962 70 exception_controller: wallabag_core.exception_controller:showAction
6682139e 71
93fd4692
NL
72# Doctrine Configuration
73doctrine:
74 dbal:
2bc9cad7 75 driver: "%database_driver%"
61b9fdd5
NL
76 host: "%database_host%"
77 port: "%database_port%"
78 dbname: "%database_name%"
79 user: "%database_user%"
80 password: "%database_password%"
2bc9cad7
JB
81 charset: UTF8
82 path: "%database_path%"
6d204f53 83 unix_socket: "%database_socket%"
69c21157 84 server_version: 5.6
93fd4692
NL
85
86 orm:
87 auto_generate_proxy_classes: "%kernel.debug%"
164bd801
J
88 entity_managers:
89 default:
164bd801 90 auto_mapping: true
93fd4692 91
3c65dfb7
NL
92stof_doctrine_extensions:
93 default_locale: "%locale%"
94 translation_fallback: true
95 orm:
96 default:
97 tree: true
98 sluggable: true
99
292c1324
NL
100doctrine_migrations:
101 dir_name: "%kernel.root_dir%/DoctrineMigrations"
102 namespace: Application\Migrations
103 table_name: migration_versions
104 name: Application Migrations
105
93fd4692
NL
106# Swiftmailer Configuration
107swiftmailer:
108 transport: "%mailer_transport%"
2bc9cad7
JB
109 host: "%mailer_host%"
110 username: "%mailer_user%"
111 password: "%mailer_password%"
112 spool:
113 type: memory
e4788de5
NL
114
115fos_rest:
116 param_fetcher_listener: true
117 body_listener: true
118 format_listener: true
119 view:
120 view_response_listener: 'force'
121 formats:
122 xml: true
123 json : true
124 templating_formats:
125 html: true
126 force_redirects:
127 html: true
128 failed_validation: HTTP_BAD_REQUEST
129 default_engine: twig
130 routing_loader:
a65f5d55 131 default_format: json
e4788de5 132
cd1298d6
NL
133nelmio_api_doc:
134 sandbox:
135 enabled: false
3c65dfb7 136 name: wallabag API documentation
fca3c757
NL
137
138nelmio_cors:
139 defaults:
140 allow_credentials: false
141 allow_origin: []
142 allow_headers: []
143 allow_methods: []
144 expose_headers: []
145 max_age: 0
146 hosts: []
147 #origin_regex: false
148 paths:
149 '^/api/':
150 allow_origin: ['*']
151 allow_headers: ['X-Custom-Auth']
41c9eecf 152 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
fca3c757 153 max_age: 3600
848c2e1b 154 '^/oauth/':
fca3c757
NL
155 allow_origin: ['*']
156 allow_headers: ['X-Custom-Auth']
157 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
158 max_age: 3600
159 '^/':
160 #origin_regex: true
161 allow_origin: ['^http://localhost:[0-9]+']
162 allow_headers: ['X-Custom-Auth']
163 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
164 max_age: 3600
165 hosts: ['^api\.']
32da2a70
J
166
167liip_theme:
168 load_controllers: false
169 themes:
170 - baggy
9948d899 171 - material
32da2a70
J
172 autodetect_theme: wallabag_core.helper.detect_active_theme
173
174 path_patterns:
32da2a70 175 bundle_resource:
23634d5d 176 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
a1691859
NL
177
178fos_user:
179 db_driver: orm
fdc90ceb 180 firewall_name: secured_area
1210dae1 181 user_class: Wallabag\UserBundle\Entity\User
fcb1fba5 182 registration:
fcb1fba5 183 confirmation:
23634d5d 184 enabled: "%fosuser_confirmation%"
a40dd989 185 from_email:
23634d5d 186 address: "%from_email%"
a40dd989 187 sender_name: wallabag
fcb1fba5
NL
188fos_oauth_server:
189 db_driver: orm
190 client_class: Wallabag\ApiBundle\Entity\Client
191 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
192 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
193 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
194 service:
195 user_provider: fos_user.user_manager
2db616b5
NL
196
197scheb_two_factor:
2db616b5
NL
198 trusted_computer:
199 enabled: true
200 cookie_name: wllbg_trusted_computer
0d6a7929 201 cookie_lifetime: 2592000
2db616b5
NL
202
203 email:
23634d5d
JB
204 enabled: "%twofactor_auth%"
205 sender_email: "%twofactor_sender%"
2db616b5
NL
206 digits: 6
207 template: WallabagUserBundle:Authentication:form.html.twig
23ff8d36 208 mailer: wallabag_user.auth_code_mailer
625acf33
KG
209
210kphoen_rulerz:
211 executors:
212 doctrine: true
fbbda941
NL
213
214lexik_maintenance:
215 authorized:
216 ips: ['127.0.0.1']
217 driver:
218 ttl: 3600
219 class: 'Lexik\Bundle\MaintenanceBundle\Drivers\DatabaseDriver'
220 response:
221 code: 503
222 status: "wallabag Service Temporarily Unavailable"
56c778b4
NL
223
224old_sound_rabbit_mq:
225 connections:
226 default:
ef75e122
JB
227 host: "%rabbitmq_host%"
228 port: "%rabbitmq_port%"
229 user: "%rabbitmq_user%"
230 password: "%rabbitmq_password%"
56c778b4 231 vhost: /
ef75e122 232 lazy: true
56c778b4 233 producers:
c98db1b6 234 import_pocket:
56c778b4
NL
235 connection: default
236 exchange_options:
ef75e122 237 name: 'wallabag.import.pocket'
56c778b4 238 type: topic
c98db1b6
JB
239 import_readability:
240 connection: default
241 exchange_options:
242 name: 'wallabag.import.readability'
243 type: topic
c7ea9b41
JB
244 import_instapaper:
245 connection: default
246 exchange_options:
247 name: 'wallabag.import.instapaper'
248 type: topic
c98db1b6
JB
249 import_wallabag_v1:
250 connection: default
251 exchange_options:
252 name: 'wallabag.import.wallabag_v1'
253 type: topic
254 import_wallabag_v2:
255 connection: default
256 exchange_options:
257 name: 'wallabag.import.wallabag_v2'
258 type: topic
2c61db30
TC
259 import_firefox:
260 connection: default
261 exchange_options:
262 name: 'wallabag.import.firefox'
263 type: topic
264 import_chrome:
265 connection: default
266 exchange_options:
267 name: 'wallabag.import.chrome'
268 type: topic
56c778b4 269 consumers:
c98db1b6 270 import_pocket:
56c778b4
NL
271 connection: default
272 exchange_options:
ef75e122 273 name: 'wallabag.import.pocket'
56c778b4
NL
274 type: topic
275 queue_options:
ef75e122 276 name: 'wallabag.import.pocket'
ac87e0db 277 callback: wallabag_import.consumer.amqp.pocket
c98db1b6
JB
278 import_readability:
279 connection: default
280 exchange_options:
281 name: 'wallabag.import.readability'
282 type: topic
283 queue_options:
284 name: 'wallabag.import.readability'
ac87e0db 285 callback: wallabag_import.consumer.amqp.readability
c7ea9b41
JB
286 import_instapaper:
287 connection: default
288 exchange_options:
289 name: 'wallabag.import.instapaper'
290 type: topic
291 queue_options:
292 name: 'wallabag.import.instapaper'
293 callback: wallabag_import.consumer.amqp.instapaper
c98db1b6
JB
294 import_wallabag_v1:
295 connection: default
296 exchange_options:
297 name: 'wallabag.import.wallabag_v1'
298 type: topic
299 queue_options:
300 name: 'wallabag.import.wallabag_v1'
ac87e0db 301 callback: wallabag_import.consumer.amqp.wallabag_v1
c98db1b6
JB
302 import_wallabag_v2:
303 connection: default
304 exchange_options:
305 name: 'wallabag.import.wallabag_v2'
306 type: topic
307 queue_options:
308 name: 'wallabag.import.wallabag_v2'
ac87e0db 309 callback: wallabag_import.consumer.amqp.wallabag_v2
2c61db30
TC
310 import_firefox:
311 connection: default
312 exchange_options:
313 name: 'wallabag.import.firefox'
314 type: topic
315 queue_options:
316 name: 'wallabag.import.firefox'
317 callback: wallabag_import.consumer.amqp.firefox
318 import_chrome:
319 connection: default
320 exchange_options:
321 name: 'wallabag.import.chrome'
322 type: topic
323 queue_options:
324 name: 'wallabag.import.chrome'
325 callback: wallabag_import.consumer.amqp.chrome