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