Commit Graph

1978 Commits

Author SHA1 Message Date
183b870c6d add punctuation and comments for errors
Some checks failed
continuous-integration/drone/pr Build is failing
2023-02-23 15:52:16 +01:00
584fa51a2a change get to exist in team_members.go:114 2023-02-23 15:48:38 +01:00
d3ca751f4c undo team gets deleted if user is last team member
Some checks failed
continuous-integration/drone/pr Build is failing
remove logic behind deleting last team_member
2023-02-23 15:42:10 +01:00
82b7c14fed fix lint
Some checks failed
continuous-integration/drone/pr Build is failing
2023-02-13 20:43:24 +01:00
bd2cb9ad8b make documentation cleaner
Some checks failed
continuous-integration/drone/pr Build is failing
2023-02-13 20:04:25 +01:00
dace429bb7 rework openid.go, add errors to return, make team deletion more robust 2023-02-13 19:52:18 +01:00
956d7971ca move find x not in y for int64 slices to utils 2023-02-13 18:48:28 +01:00
e1c0c4fa90 use models.TeamData instead of declaring struct twice 2023-02-13 17:26:22 +01:00
37ccc008ee remove manage admin function, nullcheck for oidc_id, undo removal of * in method TableName 2023-02-13 17:24:42 +01:00
e0a1eae268 rewok checkMembership to not load user and improvements on return val 2023-02-13 17:05:34 +01:00
3b4c5e4815 add errors to error doc, rewrite error messages
specify error on teams model, add more declarative error

specify error message on ErrOIDCTeamDoesNotExist
2023-02-13 16:40:02 +01:00
4567a68065 do the swag
Some checks failed
continuous-integration/drone/pr Build is failing
2023-02-10 21:44:08 +01:00
8d46490db0 add openid.md as readme for feature: 950 assigning group through oidc claim
All checks were successful
continuous-integration/drone/pr Build is passing
2023-02-10 21:32:40 +01:00
1b191c36e4 add config.yml.sample for seting up vikunja_scope and group assignment feature 2023-02-10 21:32:40 +01:00
2eb0bb9c14 remove user from all oidc teams if token is empty 2023-02-10 21:32:40 +01:00
b32656c46f make provider scopes more robust add default openid profile email 2023-02-10 21:32:40 +01:00
b272e46d4d add functionality for deleting user only from oidc teams which are not present in the current token 2023-02-10 21:32:40 +01:00
af1e71f256 change method function to GetOrCreateTeamsByOIDCAndNames 2023-02-10 21:32:40 +01:00
a2d5f06cde do the swag 2023-02-10 21:32:39 +01:00
3ef25e7be5 add functionality to assign user to teams through oidc custom claim 2023-02-10 21:32:39 +01:00
d3fa4a04c0 add TeamData struct to openid.go 2023-02-10 21:32:39 +01:00
5061028f20 add VikunjaGroups to claums struct in openid.go 2023-02-10 21:32:39 +01:00
8b109fbcda add scope to provider 2023-02-10 21:32:39 +01:00
962e09174f add functionality of searching teams by oidcId and name to teams.go 2023-02-10 21:32:39 +01:00
db1f1423bb add OidcIDto teams 2023-02-10 21:32:39 +01:00
ae8e3d9108 add errors to user 2023-02-10 21:10:03 +01:00
83fdd06aac migration to add idcID to teams 2023-02-10 21:09:49 +01:00
7366fa996e wip assign groups via oidc 2023-02-10 21:07:01 +01:00
2715a55620 introduce functionality to assign/create team via group claim 2023-02-10 21:06:43 +01:00
247f678491 fix(deps): update module golang.org/x/image to v0.4.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-02-09 08:01:12 +00:00
7d796cea0a fix(deps): update module golang.org/x/oauth2 to v0.5.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-09 07:32:59 +00:00
984bcb90e1 fix(deps): update module golang.org/x/crypto to v0.6.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-02-08 23:01:19 +00:00
6bbcd1399f fix(deps): update module golang.org/x/term to v0.5.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-02-07 20:01:16 +00:00
58da38adb6
fix(migration): don't try to add nonexistent tasks as related
All checks were successful
continuous-integration/drone/push Build is passing
Discussion: https://community.vikunja.io/t/todoist-migration-fails-after-51-iterations-19-minutes/1137
2023-02-07 17:06:04 +01:00
4a05d1a497 fix(deps): update module github.com/getsentry/sentry-go to v0.18.0 (#1386)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: vikunja/api#1386
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2023-02-07 15:12:41 +00:00
d6643f5af3 fix(deps): update module golang.org/x/sys to v0.5.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-02-07 01:01:18 +00:00
aa25ccdc91
chore: update funding links
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-03 11:48:44 +01:00
cb96590611 fix(docd): Update Subdirectory Documentation (#1363)
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Jef Oliver <jef@eljef.me>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1363
Co-authored-by: Jef Oliver <jef@eljef.me>
Co-committed-by: Jef Oliver <jef@eljef.me>
2023-02-03 08:41:36 +00:00
5d242f7e54
chore(deps): update xgo to 1.20
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-02 17:44:57 +01:00
02352841dc chore(deps): update module go to 1.20
Some checks failed
continuous-integration/drone/push Build is failing
2023-02-02 16:37:47 +00:00
d682a22cd5 fix(deps): update module github.com/yuin/goldmark to v1.5.4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-02-02 13:01:12 +00:00
fdbe110945
chore(deps): upgrade golangci-lint to 1.51.0
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-02 11:16:07 +01:00
7b46446e03 chore(deps): update goreleaser/nfpm docker tag to v2.25.0 (#1382)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1382
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2023-02-02 10:12:02 +00:00
3b1887e438
fix(docker): passing environment variables into the container
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-01 18:50:40 +01:00
32ff4b2cbd
fix(docker): re-add expose
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-01 18:39:57 +01:00
6ddadba573
fix(docker): cross compilation with buildx
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-01 15:06:55 +01:00
clos
afdceb0aff fix(list): when list background is removed, delete file from file system and DB (#1372)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: testinho.testador <testinho.testador@noreply.kolaente.de>
Reviewed-on: vikunja/api#1372
Reviewed-by: konrad <k@knt.li>
Co-authored-by: clos <clos@noreply.kolaente.de>
Co-committed-by: clos <clos@noreply.kolaente.de>
2023-02-01 11:38:23 +00:00
437960b146 fix(deps): update module github.com/redis/go-redis/v9 to v9.0.2
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2023-02-01 09:01:10 +00:00
75baba32a6 fix(deps): update module github.com/ulule/limiter/v3 to v3.11.0 (#1378)
Some checks failed
continuous-integration/drone/push Build is failing
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1378
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2023-01-31 20:38:02 +00:00
9432b437fe fix(deps): update module github.com/labstack/echo-jwt/v4 to v4.1.0
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2023-01-31 17:01:19 +00:00