]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/config.yml
Prepare wallabag 2.1.2 :rocket:
[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:
ef227116 33 version: 2.1.2
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'
bc789687
JB
47 items_on_page: 12
48 theme: material
dd32c89e 49 language: '%locale%'
bc789687 50 rss_limit: 50
bca54859 51 reading_speed: 1
b3f4a11a 52 cache_lifetime: 10
77a7752a 53
de3d716a 54wallabag_user:
7149aa57 55 registration_enabled: "%fosuser_registration%"
de3d716a 56
77a7752a 57wallabag_import:
ff1a5362 58 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain', 'text/csv']
b1d05721 59 resource_dir: "%kernel.root_dir%/../web/uploads/import"
c89d35e8 60
93fd4692
NL
61# Twig Configuration
62twig:
2bc9cad7 63 debug: "%kernel.debug%"
93fd4692 64 strict_variables: "%kernel.debug%"
5c895a7f
JB
65 form_themes:
66 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
40e21962 67 exception_controller: wallabag_core.exception_controller:showAction
6682139e 68
93fd4692
NL
69# Doctrine Configuration
70doctrine:
71 dbal:
2bc9cad7 72 driver: "%database_driver%"
61b9fdd5
NL
73 host: "%database_host%"
74 port: "%database_port%"
75 dbname: "%database_name%"
76 user: "%database_user%"
77 password: "%database_password%"
2bc9cad7
JB
78 charset: UTF8
79 path: "%database_path%"
6d204f53 80 unix_socket: "%database_socket%"
69c21157 81 server_version: 5.6
93fd4692
NL
82
83 orm:
84 auto_generate_proxy_classes: "%kernel.debug%"
164bd801
J
85 entity_managers:
86 default:
164bd801 87 auto_mapping: true
93fd4692 88
3c65dfb7
NL
89stof_doctrine_extensions:
90 default_locale: "%locale%"
91 translation_fallback: true
92 orm:
93 default:
94 tree: true
95 sluggable: true
96
292c1324
NL
97doctrine_migrations:
98 dir_name: "%kernel.root_dir%/DoctrineMigrations"
99 namespace: Application\Migrations
100 table_name: migration_versions
101 name: Application Migrations
102
93fd4692
NL
103# Swiftmailer Configuration
104swiftmailer:
105 transport: "%mailer_transport%"
2bc9cad7
JB
106 host: "%mailer_host%"
107 username: "%mailer_user%"
108 password: "%mailer_password%"
109 spool:
110 type: memory
e4788de5
NL
111
112fos_rest:
113 param_fetcher_listener: true
114 body_listener: true
115 format_listener: true
116 view:
117 view_response_listener: 'force'
118 formats:
119 xml: true
120 json : true
121 templating_formats:
122 html: true
123 force_redirects:
124 html: true
125 failed_validation: HTTP_BAD_REQUEST
126 default_engine: twig
127 routing_loader:
a65f5d55 128 default_format: json
e4788de5 129
cd1298d6
NL
130nelmio_api_doc:
131 sandbox:
132 enabled: false
3c65dfb7 133 name: wallabag API documentation
fca3c757
NL
134
135nelmio_cors:
136 defaults:
137 allow_credentials: false
138 allow_origin: []
139 allow_headers: []
140 allow_methods: []
141 expose_headers: []
142 max_age: 0
143 hosts: []
144 #origin_regex: false
145 paths:
146 '^/api/':
147 allow_origin: ['*']
148 allow_headers: ['X-Custom-Auth']
41c9eecf 149 allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
fca3c757 150 max_age: 3600
848c2e1b 151 '^/oauth/':
fca3c757
NL
152 allow_origin: ['*']
153 allow_headers: ['X-Custom-Auth']
154 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
155 max_age: 3600
156 '^/':
157 #origin_regex: true
158 allow_origin: ['^http://localhost:[0-9]+']
159 allow_headers: ['X-Custom-Auth']
160 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
161 max_age: 3600
162 hosts: ['^api\.']
32da2a70
J
163
164liip_theme:
165 load_controllers: false
166 themes:
167 - baggy
9948d899 168 - material
32da2a70
J
169 autodetect_theme: wallabag_core.helper.detect_active_theme
170
171 path_patterns:
32da2a70 172 bundle_resource:
23634d5d 173 - "%%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%"
a1691859
NL
174
175fos_user:
176 db_driver: orm
fdc90ceb 177 firewall_name: secured_area
1210dae1 178 user_class: Wallabag\UserBundle\Entity\User
fcb1fba5 179 registration:
fcb1fba5 180 confirmation:
23634d5d 181 enabled: "%fosuser_confirmation%"
a40dd989 182 from_email:
23634d5d 183 address: "%from_email%"
a40dd989 184 sender_name: wallabag
fcb1fba5
NL
185fos_oauth_server:
186 db_driver: orm
187 client_class: Wallabag\ApiBundle\Entity\Client
188 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
189 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
190 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
191 service:
192 user_provider: fos_user.user_manager
2db616b5
NL
193
194scheb_two_factor:
2db616b5
NL
195 trusted_computer:
196 enabled: true
197 cookie_name: wllbg_trusted_computer
0d6a7929 198 cookie_lifetime: 2592000
2db616b5
NL
199
200 email:
23634d5d
JB
201 enabled: "%twofactor_auth%"
202 sender_email: "%twofactor_sender%"
2db616b5
NL
203 digits: 6
204 template: WallabagUserBundle:Authentication:form.html.twig
23ff8d36 205 mailer: wallabag_user.auth_code_mailer
625acf33
KG
206
207kphoen_rulerz:
208 executors:
209 doctrine: true
fbbda941
NL
210
211lexik_maintenance:
212 authorized:
213 ips: ['127.0.0.1']
214 driver:
215 ttl: 3600
216 class: 'Lexik\Bundle\MaintenanceBundle\Drivers\DatabaseDriver'
217 response:
218 code: 503
219 status: "wallabag Service Temporarily Unavailable"
56c778b4
NL
220
221old_sound_rabbit_mq:
222 connections:
223 default:
ef75e122
JB
224 host: "%rabbitmq_host%"
225 port: "%rabbitmq_port%"
226 user: "%rabbitmq_user%"
227 password: "%rabbitmq_password%"
56c778b4 228 vhost: /
ef75e122 229 lazy: true
56c778b4 230 producers:
c98db1b6 231 import_pocket:
56c778b4
NL
232 connection: default
233 exchange_options:
ef75e122 234 name: 'wallabag.import.pocket'
56c778b4 235 type: topic
c98db1b6
JB
236 import_readability:
237 connection: default
238 exchange_options:
239 name: 'wallabag.import.readability'
240 type: topic
c7ea9b41
JB
241 import_instapaper:
242 connection: default
243 exchange_options:
244 name: 'wallabag.import.instapaper'
245 type: topic
c98db1b6
JB
246 import_wallabag_v1:
247 connection: default
248 exchange_options:
249 name: 'wallabag.import.wallabag_v1'
250 type: topic
251 import_wallabag_v2:
252 connection: default
253 exchange_options:
254 name: 'wallabag.import.wallabag_v2'
255 type: topic
2c61db30
TC
256 import_firefox:
257 connection: default
258 exchange_options:
259 name: 'wallabag.import.firefox'
260 type: topic
261 import_chrome:
262 connection: default
263 exchange_options:
264 name: 'wallabag.import.chrome'
265 type: topic
56c778b4 266 consumers:
c98db1b6 267 import_pocket:
56c778b4
NL
268 connection: default
269 exchange_options:
ef75e122 270 name: 'wallabag.import.pocket'
56c778b4
NL
271 type: topic
272 queue_options:
ef75e122 273 name: 'wallabag.import.pocket'
ac87e0db 274 callback: wallabag_import.consumer.amqp.pocket
c98db1b6
JB
275 import_readability:
276 connection: default
277 exchange_options:
278 name: 'wallabag.import.readability'
279 type: topic
280 queue_options:
281 name: 'wallabag.import.readability'
ac87e0db 282 callback: wallabag_import.consumer.amqp.readability
c7ea9b41
JB
283 import_instapaper:
284 connection: default
285 exchange_options:
286 name: 'wallabag.import.instapaper'
287 type: topic
288 queue_options:
289 name: 'wallabag.import.instapaper'
290 callback: wallabag_import.consumer.amqp.instapaper
c98db1b6
JB
291 import_wallabag_v1:
292 connection: default
293 exchange_options:
294 name: 'wallabag.import.wallabag_v1'
295 type: topic
296 queue_options:
297 name: 'wallabag.import.wallabag_v1'
ac87e0db 298 callback: wallabag_import.consumer.amqp.wallabag_v1
c98db1b6
JB
299 import_wallabag_v2:
300 connection: default
301 exchange_options:
302 name: 'wallabag.import.wallabag_v2'
303 type: topic
304 queue_options:
305 name: 'wallabag.import.wallabag_v2'
ac87e0db 306 callback: wallabag_import.consumer.amqp.wallabag_v2
2c61db30
TC
307 import_firefox:
308 connection: default
309 exchange_options:
310 name: 'wallabag.import.firefox'
311 type: topic
312 queue_options:
313 name: 'wallabag.import.firefox'
314 callback: wallabag_import.consumer.amqp.firefox
315 import_chrome:
316 connection: default
317 exchange_options:
318 name: 'wallabag.import.chrome'
319 type: topic
320 queue_options:
321 name: 'wallabag.import.chrome'
322 callback: wallabag_import.consumer.amqp.chrome