Commit Graph

13 Commits

Author SHA1 Message Date
e10494f34e
Don't fail if the last avatar file does not exist when deleting it
Some checks reported errors
continuous-integration/drone/pr Build was killed
2020-08-02 16:02:10 +02:00
0e06e5ddd6
Fix lint 2020-08-02 15:33:29 +02:00
dd55003a71
Invalidate the avatar cache when uploading a new one 2020-08-02 15:19:32 +02:00
92ea31a3aa
Fix encoding 2020-08-02 14:21:26 +02:00
3138f6324d
Resize the uploaded image to a max of 1024 pixels 2020-08-02 14:20:56 +02:00
857e6e0719
Remove the old uploaded avatar if one already exists 2020-08-02 14:04:01 +02:00
7cbded8990
Add mimetype check for images 2020-08-02 13:59:51 +02:00
27ca9a9169
Set avatar provider to upload when uploading an avatar 2020-08-02 13:36:05 +02:00
69d935f7f0
Add upload avatar provider 2020-08-02 12:46:53 +02:00
d543762883
Add initials provider 2020-08-01 19:13:37 +02:00
888c1b9749
Add user avatar settings handler methods 2020-08-01 18:53:22 +02:00
cdd068cdb6 Add empty avatar provider (#149)
All checks were successful
continuous-integration/drone/push Build is passing
Fix lint

Add docs for avatar configuration

Add default avatar provider

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#149
2020-03-01 21:10:25 +00:00
584e3af237 Add proxying gravatar requests for user avatars (#148)
All checks were successful
continuous-integration/drone/push Build is passing
Fix getting avatar based on email

Remove avatarUrl from user struct

Fix staticcheck

Add default avatar size

Add config option for caching avatars

go mod vendor

Add swagger docs

Add proxying gravatar requests for user avatars

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#148
2020-03-01 20:30:37 +00:00