Commit Graph

9102 Commits

Author SHA1 Message Date
Daniel Herrmann
6987ddae2a docs: implement requested doc changes 2024-03-03 23:03:15 +01:00
Daniel Herrmann
fe262014d3 docs: re-do changes in sample config to auto-generate config.md 2024-03-02 21:08:28 +01:00
Daniel Herrmann
4f474117b0 docs: improve OpenID documentation 2024-03-02 17:17:10 +01:00
Frederick [Bot]
4bb09b69be [skip ci] Updated swagger docs 2024-03-02 14:50:56 +00:00
379b0b24b3
fix(auth): test assertion 2024-03-02 15:38:01 +01:00
6db8728420
docs: add missing front matter 2024-03-02 15:34:59 +01:00
a34ca20c1a
fix(teams): use the same color for border between teams in list 2024-03-02 15:31:54 +01:00
a4a0ea973a
feat(auth): update team name in Vikunja when it was changed in the openid provider 2024-03-02 15:27:15 +01:00
fc4303a778
chore(auth): add oidc suffix to openid team name in db
Related to vikunja/vikunja#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
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
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
This change removes the "select all" first checkbox of api token permissions and replaces it with the title instead.

Resolves vikunja/vikunja#2148
2024-03-02 11:28:46 +01:00
178cd8c392
fix: open external migration service in current tab 2024-03-02 11:22:03 +01:00
ed4da96ab1 feat: assign users to teams via OIDC claims (#1393)
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: vikunja/vikunja#1393
Resolves vikunja/vikunja#1279
Resolves https://github.com/go-vikunja/vikunja/issues/42
Resolves vikunja/vikunja#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 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 2024-02-29 12:05:06 +00:00
e93e48c4c2 fix(deps): update vueuse to v10.9.0 2024-02-29 10:05:25 +00:00
06688fa8d4 fix(deps): update sentry-javascript monorepo to v7.103.0 2024-02-29 09:05:28 +00:00
1a15c865e2 fix(deps): update module golang.org/x/crypto to v0.20.0 2024-02-29 08:18:30 +00:00
7b9a72ebe1 fix(deps): update module github.com/prometheus/client_golang to v1.19.0 2024-02-29 08:15:51 +00:00
a0f4bdbdad fix(deps): update dependency vue to v3.4.21 2024-02-28 22:06:03 +00:00
eea356e570 chore(deps): update dev-dependencies 2024-02-28 18:05:31 +00:00
5b70609ba7
fix: usage of limit and order by usage in recursive cte 2024-02-28 14:35:09 +01:00
6b1e67485b
feat: fetch all projects with a recursive cte instead of recursive query
This change modifies the fetching of all projects to use a recursive common table expression instead of recursively calling the method.
2024-02-28 13:42:45 +01:00
5d127c2897 feat: run frontend tests with api build from the same branch (#2137)
Reviewed-on: vikunja/vikunja#2137
Co-authored-by: kolaente <k@knt.li>
Co-committed-by: kolaente <k@knt.li>
2024-02-27 18:06:34 +00:00
1275dfc260
fix: lint 2024-02-27 16:38:20 +01:00
997fb6bc54
fix(migration): show correct help message when a migration was started 2024-02-27 16:36:18 +01:00
b2e5de88ff
fix(labels): make sure labels are aligned in the middle 2024-02-27 16:29:27 +01:00
baa5d14ca6
fix(assignees): spacing of users 2024-02-27 16:15:35 +01:00
2d5c496397
fix(kanban): pass active filters down to task lazy loading
Before this change, applying a filter and then scrolling a bucket would not use that filter when lazy loading the tasks in that bucket. That resulted in all tasks being loaded, regardless if the filter applied to them.
2024-02-27 16:10:19 +01:00
b8533d2bfc
fix(gantt): use color variables for gantt header so that it works in dark mode 2024-02-27 15:55:07 +01:00
8a82093233
fix(project): don't allow archival or deletion of default projects in UI 2024-02-27 15:37:30 +01:00
3d39fc3960
fix(ci): sign drone config 2024-02-26 10:56:21 +01:00
43e13d9cdd
fix(ci): run test db in memory 2024-02-26 10:54:53 +01:00
a0e812395f
feat(docker)!: use scratch as base image
This change modifies the docker image so that it uses the scratch image instead of alpine. This is possible because the Vikunja binary is now entirely statically compiled, wich no dependencies on any system c libraries.

This also changes the default path for the sqlite file in the docker image (breaking). When using sqlite in docker, the VIKUNJA_DATABASE_PATH config variable or the file mount must be changed to prevent data loss.
2024-02-25 22:49:04 +01:00
2e5c19352e
docs: update publiccode.yml [skip ci] 2024-02-25 14:06:23 +01:00
1ffb93b63c
fix: clarify preview deployment text and fix typo 2024-02-25 13:51:43 +01:00
1bf8659423 fix(deps): update sentry-javascript monorepo to v7.102.1 2024-02-24 14:43:38 +00:00
7629c8426e chore(deps): update pnpm to v8.15.4 2024-02-24 14:05:08 +00:00
a83acc0300 fix(deps): update tiptap to v2.2.4 2024-02-23 13:06:11 +00:00
837360f122
chore: add publiccode.yml 2024-02-22 10:04:50 +01:00
34c31e2f03 fix(deps): update dependency vue-router to v4.3.0 2024-02-21 18:06:09 +00:00
829f504d3b fix(deps): update dependency dompurify to v3.0.9 2024-02-21 10:04:30 +00:00
899bc67853 chore(deps): update dependency electron to v29 2024-02-21 00:06:09 +00:00
b419df3156 fix(deps): update module github.com/redis/go-redis/v9 to v9.5.1 2024-02-20 16:06:59 +00:00
52d0930034 fix(deps): update sentry-javascript monorepo to v7.102.0 2024-02-20 14:41:55 +00:00