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