]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/config.yml
Always include warning message
[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: ~
78cedc22 8 translator: { fallback: "%locale%" }
93fd4692
NL
9 secret: "%secret%"
10 router:
11 resource: "%kernel.root_dir%/config/routing.yml"
12 strict_requirements: ~
13 form: ~
14 csrf_protection: ~
15 validation: { enable_annotations: true }
16 templating:
17 engines: ['twig']
18 #assets_version: SomeVersionScheme
19 default_locale: "%locale%"
20 trusted_hosts: ~
21 trusted_proxies: ~
22 session:
23 # handler_id set to null will use default session handler from php.ini
73cd160b
JB
24 handler_id: session.handler.native_file
25 save_path: "%kernel.root_dir%/../var/sessions/%kernel.environment%"
93fd4692
NL
26 fragments: ~
27 http_method_override: true
d8dbe76b 28 assets: ~
93fd4692 29
c89d35e8
NL
30wallabag_core:
31 languages:
32 en: 'English'
33 fr: 'Français'
57cf6fd7 34 de: 'Deutsch'
f47101e0 35 tr: 'Türkçe'
bc789687
JB
36 items_on_page: 12
37 theme: material
38 language: en
39 rss_limit: 50
77a7752a
JB
40
41wallabag_import:
42 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain']
b1d05721 43 resource_dir: "%kernel.root_dir%/../web/uploads/import"
c89d35e8 44
93fd4692
NL
45# Twig Configuration
46twig:
47 debug: "%kernel.debug%"
48 strict_variables: "%kernel.debug%"
bd9f0815
NL
49 globals:
50 share_twitter: %share_twitter%
51 share_mail: %share_mail%
52 share_shaarli: %share_shaarli%
53 shaarli_url: %shaarli_url%
54 share_diaspora: %share_diaspora%
55 diaspora_url: %diaspora_url%
56 flattr: %flattr%
57 flattrable: 1
58 flattred: 2
59 carrot: %carrot%
60 show_printlink: %show_printlink%
61 export_epub: %export_epub%
62 export_mobi: %export_mobi%
63 export_pdf: %export_pdf%
b89444ad
TC
64 export_csv: %export_csv%
65 export_json: %export_json%
66 export_txt: %export_txt%
67 export_xml: %export_xml%
b84a8055 68 version: %app.version%
18cf594f 69 twofactor_auth: %twofactor_auth%
b84a8055 70 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
5c895a7f
JB
71 form_themes:
72 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
6682139e 73
93fd4692
NL
74# Assetic Configuration
75assetic:
76 debug: "%kernel.debug%"
77 use_controller: false
78 bundles: [ ]
79 #java: /usr/bin/java
80 filters:
81 cssrewrite: ~
82 #closure:
83 # jar: "%kernel.root_dir%/Resources/java/compiler.jar"
84 #yui_css:
85 # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
86
87# Doctrine Configuration
88doctrine:
89 dbal:
90 driver: "%database_driver%"
61b9fdd5
NL
91 host: "%database_host%"
92 port: "%database_port%"
93 dbname: "%database_name%"
94 user: "%database_user%"
95 password: "%database_password%"
93fd4692 96 charset: UTF8
9d50517c 97 path: "%database_path%"
93fd4692
NL
98
99 orm:
100 auto_generate_proxy_classes: "%kernel.debug%"
164bd801
J
101 entity_managers:
102 default:
164bd801 103 auto_mapping: true
93fd4692 104
3c65dfb7
NL
105stof_doctrine_extensions:
106 default_locale: "%locale%"
107 translation_fallback: true
108 orm:
109 default:
110 tree: true
111 sluggable: true
112
292c1324
NL
113doctrine_migrations:
114 dir_name: "%kernel.root_dir%/DoctrineMigrations"
115 namespace: Application\Migrations
116 table_name: migration_versions
117 name: Application Migrations
118
93fd4692
NL
119# Swiftmailer Configuration
120swiftmailer:
121 transport: "%mailer_transport%"
122 host: "%mailer_host%"
123 username: "%mailer_user%"
124 password: "%mailer_password%"
125 spool: { type: memory }
e4788de5
NL
126
127fos_rest:
128 param_fetcher_listener: true
129 body_listener: true
130 format_listener: true
131 view:
132 view_response_listener: 'force'
133 formats:
134 xml: true
135 json : true
136 templating_formats:
137 html: true
138 force_redirects:
139 html: true
140 failed_validation: HTTP_BAD_REQUEST
141 default_engine: twig
142 routing_loader:
a65f5d55 143 default_format: json
e4788de5 144
cd1298d6
NL
145nelmio_api_doc:
146 sandbox:
147 enabled: false
3c65dfb7 148 name: wallabag API documentation
fca3c757
NL
149
150nelmio_cors:
151 defaults:
152 allow_credentials: false
153 allow_origin: []
154 allow_headers: []
155 allow_methods: []
156 expose_headers: []
157 max_age: 0
158 hosts: []
159 #origin_regex: false
160 paths:
161 '^/api/':
162 allow_origin: ['*']
163 allow_headers: ['X-Custom-Auth']
164 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
165 max_age: 3600
166 '^/':
167 #origin_regex: true
168 allow_origin: ['^http://localhost:[0-9]+']
169 allow_headers: ['X-Custom-Auth']
170 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
171 max_age: 3600
172 hosts: ['^api\.']
32da2a70
J
173
174liip_theme:
175 load_controllers: false
176 themes:
177 - baggy
9948d899 178 - material
32da2a70
J
179 autodetect_theme: wallabag_core.helper.detect_active_theme
180
181 path_patterns:
32da2a70
J
182 bundle_resource:
183 - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
a1691859
NL
184
185fos_user:
186 db_driver: orm
187 firewall_name: main
1210dae1 188 user_class: Wallabag\UserBundle\Entity\User
fcb1fba5 189 registration:
fcb1fba5
NL
190 confirmation:
191 enabled: true
a40dd989
NL
192 from_email:
193 address: %from_email%
194 sender_name: wallabag
fcb1fba5
NL
195fos_oauth_server:
196 db_driver: orm
197 client_class: Wallabag\ApiBundle\Entity\Client
198 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
199 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
200 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
201 service:
202 user_provider: fos_user.user_manager
2db616b5
NL
203
204scheb_two_factor:
2db616b5
NL
205 trusted_computer:
206 enabled: true
207 cookie_name: wllbg_trusted_computer
0d6a7929 208 cookie_lifetime: 2592000
2db616b5
NL
209
210 email:
18cf594f
NL
211 enabled: %twofactor_auth%
212 sender_email: %twofactor_sender%
2db616b5
NL
213 digits: 6
214 template: WallabagUserBundle:Authentication:form.html.twig
23ff8d36 215 mailer: wallabag_user.auth_code_mailer
625acf33
KG
216
217kphoen_rulerz:
218 executors:
219 doctrine: true