]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/config.yml
config.yml edit to include Danish
[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 30wallabag_core:
a74a6ca2 31 version: 2.0.0-alpha.2
63e40f2d 32 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
c89d35e8
NL
33 languages:
34 en: 'English'
35 fr: 'Français'
57cf6fd7 36 de: 'Deutsch'
f47101e0 37 tr: 'Türkçe'
e2b4f0e2 38 fa: 'فارسی'
d8f5b270 39 ro: 'Română'
ee40ccf2 40 pl: 'Polish'
8ccc3064 41 da: 'Dansk'
bc789687
JB
42 items_on_page: 12
43 theme: material
44 language: en
45 rss_limit: 50
77a7752a
JB
46
47wallabag_import:
48 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain']
b1d05721 49 resource_dir: "%kernel.root_dir%/../web/uploads/import"
c89d35e8 50
93fd4692
NL
51# Twig Configuration
52twig:
53 debug: "%kernel.debug%"
54 strict_variables: "%kernel.debug%"
5c895a7f
JB
55 form_themes:
56 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
6682139e 57
93fd4692
NL
58# Assetic Configuration
59assetic:
60 debug: "%kernel.debug%"
61 use_controller: false
62 bundles: [ ]
63 #java: /usr/bin/java
64 filters:
65 cssrewrite: ~
66 #closure:
67 # jar: "%kernel.root_dir%/Resources/java/compiler.jar"
68 #yui_css:
69 # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
70
71# Doctrine Configuration
72doctrine:
73 dbal:
74 driver: "%database_driver%"
61b9fdd5
NL
75 host: "%database_host%"
76 port: "%database_port%"
77 dbname: "%database_name%"
78 user: "%database_user%"
79 password: "%database_password%"
93fd4692 80 charset: UTF8
9d50517c 81 path: "%database_path%"
93fd4692
NL
82
83 orm:
84 auto_generate_proxy_classes: "%kernel.debug%"
164bd801
J
85 entity_managers:
86 default:
164bd801 87 auto_mapping: true
93fd4692 88
3c65dfb7
NL
89stof_doctrine_extensions:
90 default_locale: "%locale%"
91 translation_fallback: true
92 orm:
93 default:
94 tree: true
95 sluggable: true
96
292c1324
NL
97doctrine_migrations:
98 dir_name: "%kernel.root_dir%/DoctrineMigrations"
99 namespace: Application\Migrations
100 table_name: migration_versions
101 name: Application Migrations
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:
32da2a70
J
166 bundle_resource:
167 - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
a1691859
NL
168
169fos_user:
170 db_driver: orm
171 firewall_name: main
1210dae1 172 user_class: Wallabag\UserBundle\Entity\User
fcb1fba5 173 registration:
fcb1fba5 174 confirmation:
3eb06f28 175 enabled: %fosuser_confirmation%
a40dd989
NL
176 from_email:
177 address: %from_email%
178 sender_name: wallabag
fcb1fba5
NL
179fos_oauth_server:
180 db_driver: orm
181 client_class: Wallabag\ApiBundle\Entity\Client
182 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
183 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
184 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
185 service:
186 user_provider: fos_user.user_manager
2db616b5
NL
187
188scheb_two_factor:
2db616b5
NL
189 trusted_computer:
190 enabled: true
191 cookie_name: wllbg_trusted_computer
0d6a7929 192 cookie_lifetime: 2592000
2db616b5
NL
193
194 email:
18cf594f
NL
195 enabled: %twofactor_auth%
196 sender_email: %twofactor_sender%
2db616b5
NL
197 digits: 6
198 template: WallabagUserBundle:Authentication:form.html.twig
23ff8d36 199 mailer: wallabag_user.auth_code_mailer
625acf33
KG
200
201kphoen_rulerz:
202 executors:
203 doctrine: true
fbbda941
NL
204
205lexik_maintenance:
206 authorized:
207 ips: ['127.0.0.1']
208 driver:
209 ttl: 3600
210 class: 'Lexik\Bundle\MaintenanceBundle\Drivers\DatabaseDriver'
211 response:
212 code: 503
213 status: "wallabag Service Temporarily Unavailable"