1
0

Add empty avatar provider (#149)

Fix lint

Add docs for avatar configuration

Add default avatar provider

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/149
This commit is contained in:
konrad
2020-03-01 21:10:25 +00:00
parent 584e3af237
commit cdd068cdb6
6 changed files with 80 additions and 10 deletions

View File

@ -73,8 +73,6 @@ service:
timezone: GMT
# Whether task comments should be enabled or not
enabletaskcomments: true
# The duration in seconds until a cached gravatar user avatar expires
gravatarexpiration: 3600
database:
# Database type to use. Supported types are mysql, postgres and sqlite.
@ -197,4 +195,12 @@ migration:
# with the code obtained from the wunderlist api.
# Note that the vikunja frontend expects this to be /migrate/wunderlist
redirecturl:
avatar:
# Switch between avatar providers. Possible values are gravatar and default.
# gravatar will fetch the avatar based on the user email.
# default will return a default avatar for every request.
provider: gravatar
# When using gravatar, this is the duration in seconds until a cached gravatar user avatar expires
gravatarexpiration: 3600
{{< /highlight >}}