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