]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/config/config.yml
manage assets through npm
[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:
5ecdfcd0 31 version: 2.0.5
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'
449df236 41 da: 'Dansk'
e5f3b04c 42 es: 'Español'
187868d1 43 oc: 'Occitan'
8b09c6ed 44 it: 'Italiano'
bc789687
JB
45 items_on_page: 12
46 theme: material
47 language: en
48 rss_limit: 50
bca54859 49 reading_speed: 1
77a7752a
JB
50
51wallabag_import:
52 allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain']
b1d05721 53 resource_dir: "%kernel.root_dir%/../web/uploads/import"
c89d35e8 54
93fd4692
NL
55# Twig Configuration
56twig:
57 debug: "%kernel.debug%"
58 strict_variables: "%kernel.debug%"
5c895a7f
JB
59 form_themes:
60 - "LexikFormFilterBundle:Form:form_div_layout.html.twig"
6682139e 61
93fd4692
NL
62# Doctrine Configuration
63doctrine:
64 dbal:
65 driver: "%database_driver%"
61b9fdd5
NL
66 host: "%database_host%"
67 port: "%database_port%"
68 dbname: "%database_name%"
69 user: "%database_user%"
70 password: "%database_password%"
93fd4692 71 charset: UTF8
9d50517c 72 path: "%database_path%"
69c21157 73 server_version: 5.6
93fd4692
NL
74
75 orm:
76 auto_generate_proxy_classes: "%kernel.debug%"
164bd801
J
77 entity_managers:
78 default:
164bd801 79 auto_mapping: true
93fd4692 80
3c65dfb7
NL
81stof_doctrine_extensions:
82 default_locale: "%locale%"
83 translation_fallback: true
84 orm:
85 default:
86 tree: true
87 sluggable: true
88
292c1324
NL
89doctrine_migrations:
90 dir_name: "%kernel.root_dir%/DoctrineMigrations"
91 namespace: Application\Migrations
92 table_name: migration_versions
93 name: Application Migrations
94
93fd4692
NL
95# Swiftmailer Configuration
96swiftmailer:
97 transport: "%mailer_transport%"
98 host: "%mailer_host%"
99 username: "%mailer_user%"
100 password: "%mailer_password%"
101 spool: { type: memory }
e4788de5
NL
102
103fos_rest:
104 param_fetcher_listener: true
105 body_listener: true
106 format_listener: true
107 view:
108 view_response_listener: 'force'
109 formats:
110 xml: true
111 json : true
112 templating_formats:
113 html: true
114 force_redirects:
115 html: true
116 failed_validation: HTTP_BAD_REQUEST
117 default_engine: twig
118 routing_loader:
a65f5d55 119 default_format: json
e4788de5 120
cd1298d6
NL
121nelmio_api_doc:
122 sandbox:
123 enabled: false
3c65dfb7 124 name: wallabag API documentation
fca3c757
NL
125
126nelmio_cors:
127 defaults:
128 allow_credentials: false
129 allow_origin: []
130 allow_headers: []
131 allow_methods: []
132 expose_headers: []
133 max_age: 0
134 hosts: []
135 #origin_regex: false
136 paths:
137 '^/api/':
138 allow_origin: ['*']
139 allow_headers: ['X-Custom-Auth']
140 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
141 max_age: 3600
142 '^/':
143 #origin_regex: true
144 allow_origin: ['^http://localhost:[0-9]+']
145 allow_headers: ['X-Custom-Auth']
146 allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
147 max_age: 3600
148 hosts: ['^api\.']
32da2a70
J
149
150liip_theme:
151 load_controllers: false
152 themes:
153 - baggy
9948d899 154 - material
32da2a70
J
155 autodetect_theme: wallabag_core.helper.detect_active_theme
156
157 path_patterns:
32da2a70
J
158 bundle_resource:
159 - %%bundle_path%%/Resources/views/themes/%%current_theme%%/%%template%%
a1691859
NL
160
161fos_user:
162 db_driver: orm
163 firewall_name: main
1210dae1 164 user_class: Wallabag\UserBundle\Entity\User
fcb1fba5 165 registration:
fcb1fba5 166 confirmation:
3eb06f28 167 enabled: %fosuser_confirmation%
a40dd989
NL
168 from_email:
169 address: %from_email%
170 sender_name: wallabag
fcb1fba5
NL
171fos_oauth_server:
172 db_driver: orm
173 client_class: Wallabag\ApiBundle\Entity\Client
174 access_token_class: Wallabag\ApiBundle\Entity\AccessToken
175 refresh_token_class: Wallabag\ApiBundle\Entity\RefreshToken
176 auth_code_class: Wallabag\ApiBundle\Entity\AuthCode
177 service:
178 user_provider: fos_user.user_manager
2db616b5
NL
179
180scheb_two_factor:
2db616b5
NL
181 trusted_computer:
182 enabled: true
183 cookie_name: wllbg_trusted_computer
0d6a7929 184 cookie_lifetime: 2592000
2db616b5
NL
185
186 email:
18cf594f
NL
187 enabled: %twofactor_auth%
188 sender_email: %twofactor_sender%
2db616b5
NL
189 digits: 6
190 template: WallabagUserBundle:Authentication:form.html.twig
23ff8d36 191 mailer: wallabag_user.auth_code_mailer
625acf33
KG
192
193kphoen_rulerz:
194 executors:
195 doctrine: true
fbbda941
NL
196
197lexik_maintenance:
198 authorized:
199 ips: ['127.0.0.1']
200 driver:
201 ttl: 3600
202 class: 'Lexik\Bundle\MaintenanceBundle\Drivers\DatabaseDriver'
203 response:
204 code: 503
205 status: "wallabag Service Temporarily Unavailable"