]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/config.yml
- remove importers configuration
[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
24 handler_id: ~
25 fragments: ~
26 http_method_override: true
27
c89d35e8
NL
28wallabag_core:
29 languages:
30 en: 'English'
31 fr: 'Français'
57cf6fd7 32 de: 'Deutsch'
d275bdf4
NL
33 import:
34 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain']
c89d35e8 35
93fd4692
NL
36# Twig Configuration
37twig:
38 debug: "%kernel.debug%"
39 strict_variables: "%kernel.debug%"
bd9f0815
NL
40 globals:
41 share_twitter: %share_twitter%
42 share_mail: %share_mail%
43 share_shaarli: %share_shaarli%
44 shaarli_url: %shaarli_url%
45 share_diaspora: %share_diaspora%
46 diaspora_url: %diaspora_url%
47 flattr: %flattr%
48 flattrable: 1
49 flattred: 2
50 carrot: %carrot%
51 show_printlink: %show_printlink%
52 export_epub: %export_epub%
53 export_mobi: %export_mobi%
54 export_pdf: %export_pdf%
b84a8055 55 version: %app.version%
18cf594f 56 twofactor_auth: %twofactor_auth%
fdab81e9 57 warning_message: %warning_message%
b84a8055
NL
58 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
59 flattr_url: "https://flattr.com/thing/1265480"
26864574
NL
60 form:
61 resources:
62 - LexikFormFilterBundle:Form:form_div_layout.html.twig
6682139e 63
93fd4692
NL
64# Assetic Configuration
65assetic:
66 debug: "%kernel.debug%"
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:
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%"
93fd4692 86 charset: UTF8
9d50517c 87 path: "%database_path%"
93fd4692
NL
88
89 orm:
90 auto_generate_proxy_classes: "%kernel.debug%"
164bd801
J
91 entity_managers:
92 default:
164bd801 93 auto_mapping: true
93fd4692 94
3c65dfb7
NL
95stof_doctrine_extensions:
96 default_locale: "%locale%"
97 translation_fallback: true
98 orm:
99 default:
100 tree: true
101 sluggable: true
102
93fd4692
NL
103# Swiftmailer Configuration
104swiftmailer:
105 transport: "%mailer_transport%"
106 host: "%mailer_host%"
107 username: "%mailer_user%"
108 password: "%mailer_password%"
109 spool: { type: memory }
e4788de5
NL
110
111fos_rest:
112 param_fetcher_listener: true
113 body_listener: true
114 format_listener: true
115 view:
116 view_response_listener: 'force'
117 formats:
118 xml: true
119 json : true
120 templating_formats:
121 html: true
122 force_redirects:
123 html: true
124 failed_validation: HTTP_BAD_REQUEST
125 default_engine: twig
126 routing_loader:
a65f5d55 127 default_format: json
e4788de5 128
cd1298d6
NL
129nelmio_api_doc:
130 sandbox:
131 enabled: false
3c65dfb7 132 name: wallabag API documentation
fca3c757
NL
133
134nelmio_cors:
135 defaults:
136 allow_credentials: false
137 allow_origin: []
138 allow_headers: []
139 allow_methods: []
140 expose_headers: []
141 max_age: 0
142 hosts: []
143 #origin_regex: false
144 paths:
145 '^/api/':
146 allow_origin: ['*']
147 allow_headers: ['X-Custom-Auth']
148 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
149 max_age: 3600
150 '^/':
151 #origin_regex: true
152 allow_origin: ['^http://localhost:[0-9]+']
153 allow_headers: ['X-Custom-Auth']
154 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
155 max_age: 3600
156 hosts: ['^api\.']
32da2a70
J
157
158liip_theme:
159 load_controllers: false
160 themes:
161 - baggy
9948d899 162 - material
32da2a70
J
163 autodetect_theme: wallabag_core.helper.detect_active_theme
164
165 path_patterns:
3e30422c
J
166 # app_resource:
167 # - %%app_path%%/views/themes/%%current_theme%%/%%template%%
168 # - %%app_path%%/views/%%template%%
32da2a70
J
169 bundle_resource:
170 - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
3e30422c
J
171 # bundle_resource_dir:
172 # - %%dir%%/views/themes/%%current_theme%%/%%bundle_name%%/%%template%%
173 # - %%dir%%/views/%%bundle_name%%/%%override_path%%
a1691859
NL
174
175fos_user:
176 db_driver: orm
177 firewall_name: main
1210dae1 178 user_class: Wallabag\UserBundle\Entity\User
fcb1fba5 179 registration:
fcb1fba5
NL
180 confirmation:
181 enabled: true
182
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:
18cf594f
NL
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