]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/config.yml
Prepare release 2.0.6
[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:
a26f91dc 33 version: 2.0.6
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
77a7752a
JB
52
53wallabag_import:
54 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain']
b1d05721 55 resource_dir: "%kernel.root_dir%/../web/uploads/import"
c89d35e8 56
93fd4692
NL
57# Twig Configuration
58twig:
2bc9cad7 59 debug: "%kernel.debug%"
93fd4692 60 strict_variables: "%kernel.debug%"
5c895a7f
JB
61 form_themes:
62 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
6682139e 63
93fd4692
NL
64# Assetic Configuration
65assetic:
2bc9cad7 66 debug: "%kernel.debug%"
93fd4692
NL
67 use_controller: false
68 bundles: [ ]
69 #java: /usr/bin/java
70 filters:
71 cssrewrite: ~
72 #closure:
73 # jar: "%kernel.root_dir%/Resources/java/compiler.jar"
74 #yui_css:
75 # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
76
77# Doctrine Configuration
78doctrine:
79 dbal:
2bc9cad7 80 driver: "%database_driver%"
61b9fdd5
NL
81 host: "%database_host%"
82 port: "%database_port%"
83 dbname: "%database_name%"
84 user: "%database_user%"
85 password: "%database_password%"
2bc9cad7
JB
86 charset: UTF8
87 path: "%database_path%"
69c21157 88 server_version: 5.6
93fd4692
NL
89
90 orm:
91 auto_generate_proxy_classes: "%kernel.debug%"
164bd801
J
92 entity_managers:
93 default:
164bd801 94 auto_mapping: true
93fd4692 95
3c65dfb7
NL
96stof_doctrine_extensions:
97 default_locale: "%locale%"
98 translation_fallback: true
99 orm:
100 default:
101 tree: true
102 sluggable: true
103
292c1324
NL
104doctrine_migrations:
105 dir_name: "%kernel.root_dir%/DoctrineMigrations"
106 namespace: Application\Migrations
107 table_name: migration_versions
108 name: Application Migrations
109
93fd4692
NL
110# Swiftmailer Configuration
111swiftmailer:
112 transport: "%mailer_transport%"
2bc9cad7
JB
113 host: "%mailer_host%"
114 username: "%mailer_user%"
115 password: "%mailer_password%"
116 spool:
117 type: memory
e4788de5
NL
118
119fos_rest:
120 param_fetcher_listener: true
121 body_listener: true
122 format_listener: true
123 view:
124 view_response_listener: 'force'
125 formats:
126 xml: true
127 json : true
128 templating_formats:
129 html: true
130 force_redirects:
131 html: true
132 failed_validation: HTTP_BAD_REQUEST
133 default_engine: twig
134 routing_loader:
a65f5d55 135 default_format: json
e4788de5 136
cd1298d6
NL
137nelmio_api_doc:
138 sandbox:
139 enabled: false
3c65dfb7 140 name: wallabag API documentation
fca3c757
NL
141
142nelmio_cors:
143 defaults:
144 allow_credentials: false
145 allow_origin: []
146 allow_headers: []
147 allow_methods: []
148 expose_headers: []
149 max_age: 0
150 hosts: []
151 #origin_regex: false
152 paths:
153 '^/api/':
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"