
Don't fail if the last avatar file does not exist when deleting it Fix lint Remove old global avatar setting and update docs Generate docs Invalidate the avatar cache when uploading a new one Add debug logs Add caching for upload avatars Add cache locks Fix encoding Resize the uploaded image to a max of 1024 pixels Remove the old uploaded avatar if one already exists Add mimetype check for images Set avatar provider to upload when uploading an avatar Add upload avatar provider Make font size smaller to let the initials still look good in smaller sizes Add debug log Add cache and resizing of initials avatars Make font size depend on avatar size Add drawing initials avatar Add initials provider Make the initials avatar provider the default Add routes Add user avatar settings handler methods Add user avatar provider field Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/api/pulls/622
96 lines
4.5 KiB
Modula-2
96 lines
4.5 KiB
Modula-2
// Vikunja is a to-do list application to facilitate your life.
|
|
// Copyright 2018 Vikunja and contributors. All rights reserved.
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
module code.vikunja.io/api
|
|
|
|
require (
|
|
4d63.com/tz v1.1.0
|
|
code.vikunja.io/web v0.0.0-20200618164749-a5f3d450d39a
|
|
gitea.com/xorm/xorm-redis-cache v0.2.0
|
|
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751
|
|
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a
|
|
github.com/beevik/etree v1.1.0 // indirect
|
|
github.com/c2h5oh/datasize v0.0.0-20200112174442-28bbd4740fee
|
|
github.com/client9/misspell v0.3.4
|
|
github.com/cweill/gotests v1.5.3
|
|
github.com/d4l3k/messagediff v1.2.1 // indirect
|
|
github.com/dgrijalva/jwt-go v3.2.0+incompatible
|
|
github.com/disintegration/imaging v1.6.2
|
|
github.com/fsnotify/fsnotify v1.4.9 // indirect
|
|
github.com/fzipp/gocyclo v0.0.0-20150627053110-6acd4345c835
|
|
github.com/gabriel-vasile/mimetype v1.1.1
|
|
github.com/getsentry/sentry-go v0.7.0
|
|
github.com/go-redis/redis/v7 v7.4.0
|
|
github.com/go-sql-driver/mysql v1.5.0
|
|
github.com/go-testfixtures/testfixtures/v3 v3.3.0
|
|
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0
|
|
github.com/gordonklaus/ineffassign v0.0.0-20200309095847-7953dde2c7bf
|
|
github.com/iancoleman/strcase v0.0.0-20191112232945-16388991a334
|
|
github.com/imdario/mergo v0.3.10
|
|
github.com/jgautheron/goconst v0.0.0-20200227150835-cda7ea3bf591
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/labstack/echo/v4 v4.1.16
|
|
github.com/labstack/gommon v0.3.0
|
|
github.com/laurent22/ical-go v0.1.1-0.20181107184520-7e5d6ade8eef
|
|
github.com/lib/pq v1.8.0
|
|
github.com/mailru/easyjson v0.7.0 // indirect
|
|
github.com/mattn/go-sqlite3 v1.14.0
|
|
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
|
|
github.com/olekukonko/tablewriter v0.0.4
|
|
github.com/onsi/ginkgo v1.12.0 // indirect
|
|
github.com/onsi/gomega v1.9.0 // indirect
|
|
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7
|
|
github.com/pelletier/go-toml v1.4.0 // indirect
|
|
github.com/pquerna/otp v1.2.0
|
|
github.com/prometheus/client_golang v1.7.1
|
|
github.com/samedi/caldav-go v3.0.0+incompatible
|
|
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749
|
|
github.com/shurcooL/vfsgen v0.0.0-20200627165143-92b8a710ab6c
|
|
github.com/spf13/afero v1.3.3
|
|
github.com/spf13/cobra v1.0.0
|
|
github.com/spf13/jwalterweatherman v1.1.0 // indirect
|
|
github.com/spf13/viper v1.7.1
|
|
github.com/stretchr/testify v1.6.1
|
|
github.com/swaggo/swag v1.6.7
|
|
github.com/ulule/limiter/v3 v3.5.0
|
|
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de
|
|
golang.org/x/image v0.0.0-20200801110659-972c09e46d76
|
|
golang.org/x/lint v0.0.0-20200302205851-738671d3881b
|
|
golang.org/x/net v0.0.0-20200602114024-627f9648deb9 // indirect
|
|
golang.org/x/text v0.3.3 // indirect
|
|
golang.org/x/tools v0.0.0-20200410194907-79a7a3126eef // indirect
|
|
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
|
|
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
|
|
gopkg.in/d4l3k/messagediff.v1 v1.2.1
|
|
gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df
|
|
honnef.co/go/tools v0.0.1-2020.1.4
|
|
src.techknowlogick.com/xgo v1.0.1-0.20200717022558-357d34c5aebf
|
|
src.techknowlogick.com/xormigrate v1.3.0
|
|
xorm.io/builder v0.3.7
|
|
xorm.io/core v0.7.3
|
|
xorm.io/xorm v1.0.2
|
|
)
|
|
|
|
replace (
|
|
github.com/coreos/bbolt => go.etcd.io/bbolt v1.3.4
|
|
github.com/coreos/go-systemd => github.com/coreos/go-systemd/v22 v22.0.0
|
|
github.com/hpcloud/tail => github.com/jeffbean/tail v1.0.1 // See https://github.com/hpcloud/tail/pull/159
|
|
github.com/samedi/caldav-go => github.com/kolaente/caldav-go v3.0.1-0.20190524174923-9e5cd1688227+incompatible // Branch: feature/dynamic-supported-components, PR: https://github.com/samedi/caldav-go/pull/6 and https://github.com/samedi/caldav-go/pull/7
|
|
gopkg.in/fsnotify.v1 => github.com/kolaente/fsnotify v1.4.10-0.20200411160148-1bc3c8ff4048 // See https://github.com/fsnotify/fsnotify/issues/328 and https://github.com/golang/go/issues/26904
|
|
)
|
|
|
|
go 1.13
|