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