Commit Graph

9128 Commits

Author SHA1 Message Date
9aea5830f3 fix(deps): update sentry-javascript monorepo to v7.106.0
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2024-03-08 12:07:55 +00:00
14452428a2
chore(deps): update github.com/go-jose/go-jose to 3.0.3
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-08 09:59:55 +01:00
b5682ecc18 chore(deps): update dependency electron to v29.1.1
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-08 07:59:34 +00:00
0bec7ee1ab fix(deps): update dependency @intlify/unplugin-vue-i18n to v3.0.1
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2024-03-08 02:07:52 +00:00
d1a3eb9701 fix(deps): update dependency @intlify/unplugin-vue-i18n to v3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-03-07 12:06:52 +00:00
cba09c8eb1 chore(deps): update dev-dependencies
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-03-07 07:06:40 +00:00
dc291a51f5
fix(migration): do not expire trello token
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-06 15:13:54 +01:00
e5e66d73f5 chore(deps): update dev-dependencies
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2024-03-06 00:06:22 +00:00
d69fc28125 fix(openid): OIDC teams should not have admins (#2161)
All checks were successful
continuous-integration/drone/push Build is passing
This PR fixes an issue discussed in #2152. Before this PR, the user who triggered team creation automatically got the admin flag set for this group, which makes perfect sense for the normal UI workflow. OIDC managed teams cannot be edited in Vikunja, and they're created automatically by the first user logging in having this team assigned. This PR therefore makes sure that OIDC managed team members do not receive the admin flag.

Co-authored-by: Daniel Herrmann <daniel.herrmann1@gmail.com>
Reviewed-on: #2161
Reviewed-by: konrad <k@knt.li>
Co-authored-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
Co-committed-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
2024-03-05 22:08:39 +00:00
4793282baf fix(deps): update src.techknowlogick.com/xgo digest to 770b8ea
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-03-05 19:06:41 +00:00
43b0689c1a chore(deps): update dev-dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-05 07:21:24 +00:00
48d1937bd4 fix(deps): update module golang.org/x/oauth2 to v0.18.0
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-05 07:21:02 +00:00
3e5d55d9e8 fix(deps): update dependency vue-flatpickr-component to v11.0.5
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2024-03-05 05:06:23 +00:00
a3154e805c fix(auth): use (issuer, name) to check for uniqueness of oidc teams (#2152)
All checks were successful
continuous-integration/drone/push Build is passing
The change introduced in #2150 introduces a bug where a Team would be re-created every time a user logs in, as the check if a team already exists was based on both the unique `oidcID` and the `name`. This PR proposes to only base the check on the ID, as this should be unique.

Co-authored-by: Daniel Herrmann <daniel.herrmann1@gmail.com>
Reviewed-on: #2152
Reviewed-by: konrad <k@knt.li>
Co-authored-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
Co-committed-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
2024-03-04 20:26:45 +00:00
2414b580c1 fix(deps): update module golang.org/x/crypto to v0.21.0
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2024-03-04 19:06:31 +00:00
87ac9e261f fix(deps): update module golang.org/x/term to v0.18.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-03-04 18:06:30 +00:00
63e9f8f682 fix(deps): update module github.com/arran4/golang-ical to v0.2.7
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-04 16:37:53 +00:00
5a9de579cc fix(deps): update module golang.org/x/sys to v0.18.0
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2024-03-04 16:05:48 +00:00
42e660c3d6 fix(deps): update dependency vue-i18n to v9.10.1
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-04 11:27:12 +00:00
6533e75496 fix(deps): update module github.com/stretchr/testify to v1.9.0
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-04 11:27:09 +00:00
f8c5e314df fix(deps): update sentry-javascript monorepo to v7.105.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-04 10:14:01 +00:00
429b140cad chore(deps): update dependency vue-tsc to v2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-03-04 05:07:03 +00:00
dc7ee851ec chore(deps): update dev-dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-03 22:31:33 +00:00
92d9c31101 docs: improve OpenID documentation (#2151)
All checks were successful
continuous-integration/drone/push Build is passing
This PR stems from issue #2150, in turn following up on PR #1393

It adds additional details around the OIDC authentication feature, as well as details about how the team assignment works.

Co-authored-by: Daniel Herrmann <daniel.herrmann1@gmail.com>
Reviewed-on: #2151
Reviewed-by: konrad <k@knt.li>
Co-authored-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
Co-committed-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
2024-03-03 22:19:16 +00:00
ac8751e1be
fix(task): move done tasks to the done bucket when they are moved between projects and the new project has a done bucket
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-03 18:13:47 +01:00
f5b90517c4
fix(sentry): send unwrapped error to sentry instead of http error
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-03 17:36:57 +01:00
fe27dd59ad
feat(subscription): use a recursive cte to fetch subscriptions of parent projects
All checks were successful
continuous-integration/drone/push Build is passing
Testing this locally resulted in improved response times from ~50ms to ~20ms when creating a project. It looks like even though the code running these sql queries uses different go routines, they affect each other (caused by IO or context switching?)
2024-03-03 15:34:18 +01:00
22933dac4a
fix(project): typo in table name
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-03 12:47:00 +01:00
fe02f4da2c
fix(project): check for project nesting cycles with a single recursive cte instead of a loop
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-03 11:40:43 +01:00
Frederick [Bot]
4bb09b69be [skip ci] Updated swagger docs 2024-03-02 14:50:56 +00:00
379b0b24b3
fix(auth): test assertion
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-02 15:38:01 +01:00
6db8728420
docs: add missing front matter
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-02 15:34:59 +01:00
a34ca20c1a
fix(teams): use the same color for border between teams in list
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-02 15:31:54 +01:00
a4a0ea973a
feat(auth): update team name in Vikunja when it was changed in the openid provider
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-02 15:27:15 +01:00
fc4303a778
chore(auth): add oidc suffix to openid team name in db
Related to #2150
2024-03-02 15:23:19 +01:00
4f1f96f1e9
chore(auth): refactor openid team creation 2024-03-02 15:22:37 +01:00
10ff864e0c
fix(projects): load projects only one when fetching subscriptions for a bunch of projects at once
All checks were successful
continuous-integration/drone/push Build is passing
This change ensures already loaded projects are passed down when fetching their subscription  instead of re-loading each project with a single sql statement. When loading all projects, this meant all projects were loaded twice, which was highly inefficient. This roughly added 25ms to each request, assuming the per page limit was maxed out at 50 projects.

Empirical testing shows this change reduces load times by ~20ms. Because the request is already pretty fast, this is ~30% of the overall request time, making the loading of projects now even faster
2024-03-02 14:27:11 +01:00
89b01e86bc
fix(projects): load all projects when first opening Vikunja 2024-03-02 13:43:04 +01:00
a3932a0a19
fix(projects): return correct project pagination count 2024-03-02 13:30:34 +01:00
e42a605597
fix: add root ca to final docker image
All checks were successful
continuous-integration/drone/push Build is passing
Since Vikunja's docker image is now based on the scratch image, the root ca certificates are not included by default anymore. This meant Vikunja could not check if the certificate presented by a remote host was valid, thus failing the connection. This meant it was impossible to use features communicating with external hosts such as webhooks, openid auth or gravatar.
2024-03-02 11:48:14 +01:00
67f55510bf
feat: nest api token permissions under their parents
All checks were successful
continuous-integration/drone/push Build is passing
This change removes the "select all" first checkbox of api token permissions and replaces it with the title instead.

Resolves #2148
2024-03-02 11:28:46 +01:00
178cd8c392
fix: open external migration service in current tab
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-02 11:22:03 +01:00
ed4da96ab1 feat: assign users to teams via OIDC claims (#1393)
All checks were successful
continuous-integration/drone/push Build is passing
This change adds the ability to sync teams via a custom openid claim. Vikunja will automatically create and delete teams as necessary, it will also add and remove users when they log in. These teams are fully managed by Vikunja and cannot be updated by a user.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: #1393
Resolves #1279
Resolves https://github.com/go-vikunja/vikunja/issues/42
Resolves #950
Co-authored-by: viehlieb <pf@pragma-shift.net>
Co-committed-by: viehlieb <pf@pragma-shift.net>
2024-03-02 08:47:10 +00:00
f18cde269b
chore: remove unused docker entrypoint script
Some checks failed
continuous-integration/drone/push Build is failing
2024-03-01 11:47:29 +01:00
09d446765d
docs: update config docs 2024-03-01 11:47:29 +01:00
a99e7f9aa3 fix(deps): update dependency express to v4.18.3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-02-29 12:05:06 +00:00
e93e48c4c2 fix(deps): update vueuse to v10.9.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-02-29 10:05:25 +00:00
06688fa8d4 fix(deps): update sentry-javascript monorepo to v7.103.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-02-29 09:05:28 +00:00
1a15c865e2 fix(deps): update module golang.org/x/crypto to v0.20.0
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-29 08:18:30 +00:00
7b9a72ebe1 fix(deps): update module github.com/prometheus/client_golang to v1.19.0
Some checks failed
continuous-integration/drone/push Build is failing
2024-02-29 08:15:51 +00:00