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