2b5c9ae7a8
Add config docs Lint Move provider-related stuff to separate file Refactor getting auth providers Fix tests Fix user tests Fix openid tests Add swagger docs Fix lint Fix lint issues Fix checking if the user already exists Make sure to create a new namespace for new users Docs Add tests for openid Remove unnessecary err check Consistently return nil users if creating a new user failed Move sending confirmation email to separate function Better variable names Move checks to separate functions Refactor creating user into seperate file Fix creating new local users Test creating new users from different issuers Generate a random username right away if no preferred username has been given Add todo Cache openid providers Add getting int clientids Fix migration Move creating tokens to auth package Add getting or creating a third party user Add parsing claims Add retreiving auth tokens Add token callback from openid package Add check for provider key Add routes Start adding openid auth handler Add config for openid auth Co-authored-by: kolaente <k@knt.li> Reviewed-on: https://kolaente.dev/vikunja/api/pulls/713 Co-Authored-By: konrad <konrad@kola-entertainments.de> Co-Committed-By: konrad <konrad@kola-entertainments.de>
107 lines
5.1 KiB
Modula-2
107 lines
5.1 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.2.0
|
|
code.vikunja.io/web v0.0.0-20200809154828-8767618f181f
|
|
dmitri.shuralyov.com/go/generated v0.0.0-20170818220700-b1254a446363 // indirect
|
|
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-20200907205600-7a23bdc65eef
|
|
github.com/beevik/etree v1.1.0 // indirect
|
|
github.com/c2h5oh/datasize v0.0.0-20200825124411-48ed595a09d2
|
|
github.com/client9/misspell v0.3.4
|
|
github.com/coreos/go-oidc v2.2.1+incompatible
|
|
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/dustinkirkland/golang-petname v0.0.0-20191129215211-8e5a1ed0cff0
|
|
github.com/fzipp/gocyclo v0.3.1
|
|
github.com/gabriel-vasile/mimetype v1.1.2
|
|
github.com/getsentry/sentry-go v0.8.0
|
|
github.com/go-errors/errors v1.1.1
|
|
github.com/go-openapi/swag v0.19.9 // indirect
|
|
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.4.1
|
|
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0
|
|
github.com/google/go-cmp v0.5.2 // indirect
|
|
github.com/gordonklaus/ineffassign v0.0.0-20201107091007-3b93a8888063
|
|
github.com/iancoleman/strcase v0.1.2
|
|
github.com/imdario/mergo v0.3.11
|
|
github.com/jgautheron/goconst v0.0.0-20201117150253-ccae5bf973f3
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/labstack/echo/v4 v4.1.17
|
|
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/magefile/mage v1.10.0
|
|
github.com/mailru/easyjson v0.7.6 // indirect
|
|
github.com/mattn/go-sqlite3 v1.14.5
|
|
github.com/mitchellh/mapstructure v1.3.2 // indirect
|
|
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
|
|
github.com/olekukonko/tablewriter v0.0.4
|
|
github.com/onsi/ginkgo v1.13.0 // indirect
|
|
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7
|
|
github.com/pelletier/go-toml v1.8.0 // indirect
|
|
github.com/pquerna/otp v1.3.0
|
|
github.com/pquerna/cachecontrol v0.0.0-20200921180117-858c6e7e6b7e // indirect
|
|
github.com/prometheus/client_golang v1.8.0
|
|
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-20200824052919-0d455de96546
|
|
github.com/spf13/afero v1.4.1
|
|
github.com/spf13/cast v1.3.1 // indirect
|
|
github.com/spf13/cobra v1.1.1
|
|
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.9
|
|
github.com/ulule/limiter/v3 v3.5.0
|
|
golang.org/x/crypto v0.0.0-20201112155050-0c6587e931a9
|
|
golang.org/x/image v0.0.0-20200927104501-e162460cd6b5
|
|
golang.org/x/lint v0.0.0-20200302205851-738671d3881b
|
|
golang.org/x/net v0.0.0-20201016165138-7b1cca2348c0 // indirect
|
|
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45
|
|
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9
|
|
golang.org/x/tools v0.0.0-20201017001424-6003fad69a88 // 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
|
|
gopkg.in/ini.v1 v1.57.0 // indirect
|
|
gopkg.in/square/go-jose.v2 v2.5.1 // indirect
|
|
gopkg.in/yaml.v3 v3.0.0-20200605160147-a5ece683394c
|
|
honnef.co/go/tools v0.0.1-2020.1.5
|
|
src.techknowlogick.com/xgo v1.1.1-0.20200811225412-bff6512e7c9c
|
|
src.techknowlogick.com/xormigrate v1.4.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
|