Commit Graph

9085 Commits

Author SHA1 Message Date
kolaente 827c43fe12
chore(magefile): add aliases for lint 2024-02-14 15:05:11 +01:00
kolaente 415c6380a5
feat(api tokens): add task attachment to api scopes
This explicitly adds download and upload of task attachments. Because these are not handled with the usual CRUDables, they were not picked up automatically.

Resolves https://github.com/go-vikunja/vikunja/issues/112
2024-02-14 15:00:16 +01:00
renovate ebe25ee2d7 fix(deps): update module github.com/arran4/golang-ical to v0.2.5 2024-02-14 13:35:06 +00:00
kolaente cc5f48eb74
fix: lint 2024-02-14 14:13:17 +01:00
kolaente 3969f6ae66
fix(editor): ensure task list clicks are only fired once
Before this fix, clicking on a task list item with the same name as another one, both would get marked as done. This was due to the mechanism which walks the dom tree to look for the node to update used its content for comparison. To prevent this, this fix first added unique ids to all task list items and then compared the nodes based on their id instead of the content.

Resolves vikunja/vikunja#2091
2024-02-14 14:13:03 +01:00
kolaente 5ab720d709
docs: remove outdated information 2024-02-14 10:21:51 +01:00
kolaente 7ae38c5ac1
docs: fix postgres example healthcheck 2024-02-14 10:21:27 +01:00
kolaente 162741e940
fix: lint 2024-02-13 22:24:46 +01:00
kolaente 205f330f8a
fix(migration): make sure to correctly check if a migration was already running
This change fixes a bug where Vikunja would not correctly check if a migration was already running. That meant it was not possible for users who had never before migrated anything to start a migration, because Vikunja assumed they already had a migration running for them.
This state was neither properly reflected in the frontend, which is now fixed as well.
2024-02-13 22:21:59 +01:00
kolaente a12c169ce8
fix: do not send etag when serving the frontend index file
Without this change, the browser may serve an outdated index.html file which usually does not work, showing the user only a blank page.
2024-02-13 21:32:41 +01:00
kolaente 2facbae0d7
fix(dump): only allow imports from the same version they were dumped on
Previously, Vikunja would allow imports from any version which then caused problems since the table structure might have changed between releases. This change now checks if the current version is the same as the one the dump was created on.
2024-02-13 21:25:31 +01:00
kolaente 77a779acea
fix(dump): do not export files which do not exist in storage 2024-02-13 21:14:31 +01:00
kolaente 89e349f2fd
docs: fix database healthcheck command 2024-02-13 20:38:53 +01:00
renovate 77feae47d6 fix(deps): update sentry-javascript monorepo to v7.101.0 2024-02-13 15:05:51 +00:00
renovate 2fb263a109 fix(deps): update dependency vue to v3.4.19 2024-02-13 11:06:25 +00:00
kolaente 641fec1215
fix: never return frontend on routes starting with /api
This fixes a problem where Vikunja would sometimes return the html for the frontend when accessing an api route for a nonexistent ressource, because the static handler was the next best.

Resolves vikunja/vikunja#2110
2024-02-13 10:05:15 +01:00
kolaente 18374c2e52
docs: fix healthcheck and mariadb password 2024-02-13 09:55:12 +01:00
renovate 9921551f96 chore(deps): update pnpm to v8.15.2 2024-02-13 08:24:39 +00:00
renovate b26c359ce6 chore(deps): update dev-dependencies to v7 2024-02-13 00:06:22 +00:00
kolaente d7d3ffeebd
feat(navigation): persist project open state in navigation
With this change, the project's collapsed open/closed state in the navigation survives a browser reload. Previously, all state would be lost after reloading.

Resolves vikunja/vikunja#2067
2024-02-12 22:22:55 +01:00
kolaente 0b61885e89
fix(tasks): correctly show different project in related tasks 2024-02-12 22:05:33 +01:00
kolaente 8d5cb335bd
fix(tasks): sort done tasks last in relations
When adding a new task relation, the task search input would previously show all tasks in a seemingly random order, including done tasks. Usually, you don't care about these done tasks when adding relations. This change modifies the sort order so that done tasks show up last in the search results.
2024-02-12 22:00:33 +01:00
kolaente 71e62541a1
fix(ci): escape bash script for drone variable substitution 2024-02-12 21:56:25 +01:00
kolaente ee065d9238
feat(tasks): make done at column available for selection in table view
This change adds the done at column of tasks to the table view. It also ensures it is possible to sort the tasks by that column.

https://community.vikunja.io/t/is-it-possible-to-list-done-tasks-with-their-completion-date/1922
2024-02-12 17:56:24 +01:00
kolaente 28ed754c66
fix(ci): correctly set shell for rename command
It looks like Drone executes all commands with sh, even if the default shell of the container is something else. Because sh does not have support for whitespaces in string extrapolation, the rename command would fail. This change always specifies bash as the shell.
2024-02-12 17:37:20 +01:00
kolaente 390f71b0c6
feat(registration): improve username and password validation
Username and password are validated in the api for length and whitespaces. Previously, the api would tell the user "hey you got it wrong" but the error was not reflected properly in the UI. This change implements a client-side validation which mirrors the one from the api, allowing instant validation and better error UX.
2024-02-12 17:32:24 +01:00
kolaente 8c6d98bb02
feat(kanban): debounce bucket limit setting 2024-02-12 17:05:48 +01:00
kolaente ef30868514
fix(ci): use correct docker image for desktop rename 2024-02-12 16:39:05 +01:00
kolaente 75eb878e33
fix(ci): use correct docker image 2024-02-12 14:24:51 +01:00
kolaente 1ab6fef70a
fix(metrics): typo 2024-02-12 14:23:16 +01:00
kolaente 6defc4cba2
fix(ci): use correct docker image for frontend testing 2024-02-11 18:46:46 +01:00
kolaente 3abdf2ccdd
feat(ci): automatically create a gitea release when tagging 2024-02-11 18:45:15 +01:00
kolaente 001268a33e
docs: add healthcheck to docker compose examples 2024-02-11 18:39:53 +01:00
kolaente 3129051a9c
fix(ci): enable cors for api testing 2024-02-11 18:19:57 +01:00
kolaente 45c97a456d
feat(ci): rename unstable desktop packages 2024-02-11 17:02:37 +01:00
kolaente 1255bdc4ab
docs: add desktop packages 2024-02-11 16:54:53 +01:00
kolaente 99856b2031
docs: add missing traefik label 2024-02-11 15:57:22 +01:00
kolaente eec53e8a54
docs: mention installation of rpm packages 2024-02-11 15:56:34 +01:00
kolaente d4a389279c
chore: don't send http errors with a status < 500 to sentry 2024-02-11 15:29:27 +01:00
renovate 3a65324a7d fix(deps): update tiptap to v2.2.2 2024-02-11 09:37:38 +00:00
renovate bec11d42fc fix(deps): update module golang.org/x/oauth2 to v0.17.0 2024-02-11 09:36:08 +00:00
renovate d2eeac2dbe fix(deps): pin dependencies 2024-02-11 09:05:38 +00:00
renovate 05e7468135 fix(deps): update module xorm.io/xorm to v1.3.8 2024-02-11 08:34:26 +00:00
renovate 4babe72f24 fix(deps): update module github.com/getsentry/sentry-go to v0.27.0 2024-02-11 08:34:04 +00:00
renovate e9fe927644 fix(deps): update module golang.org/x/sys to v0.17.0 2024-02-11 08:33:24 +00:00
renovate 7cefb86a78 fix(deps): update dependency vue to v3.4.18 2024-02-11 08:05:32 +00:00
kolaente 6c4122264a
chore(ci): sign drone config 2024-02-10 15:18:46 +01:00
kolaente 4162c64ed9
fix(ci): publish frontend assets into correct directory 2024-02-10 15:17:19 +01:00
kolaente 2e57b6e409
chore: release preparation 2024-02-10 14:46:33 +01:00
kolaente 8752ae2a0b
fix(webhook): fetch all event details before sending the webhook
Resolves https://community.vikunja.io/t/webhook-comment-data-issues/1952
2024-02-10 14:15:32 +01:00