Commit Graph

9043 Commits

Author SHA1 Message Date
kolaente c82e5fb235
fix: lint 2024-02-17 23:23:39 +01:00
kolaente e5e8e8d134
fix(editor): add unique ids to task list items 2024-02-17 23:15:27 +01:00
kolaente f120d72211
fix(editor): revert task list dependence on ids
continuous-integration/drone/push Build is failing Details
This partially reverts 3969f6ae66. Adding ids to task list items is not as simple and actually made it worse in some cases. Hence we stick to comparing the content of nodes for now, until this is properly fixed in tiptap.

Related #2091 (comment)
2024-02-17 23:13:51 +01:00
renovate a2951570a7 fix(deps): update module github.com/arran4/golang-ical to v0.2.6
continuous-integration/drone/push Build is failing Details
2024-02-17 20:08:08 +00:00
kolaente f4efdaa5de
fix(password): don't validate password min length on login page
continuous-integration/drone/push Build is failing Details
This would cause the login to fail when the actual password was shorter than 8 characters.
2024-02-17 21:07:35 +01:00
kolaente 32edef2d38
fix(editor): set default id of tasklist items
continuous-integration/drone/push Build is passing Details
This fixes a bug where all tasklist items would have the same id which would check all of them when checking one of them.
2024-02-17 11:38:20 +01:00
renovate 44c1f0d281 chore(deps): update pnpm to v8.15.3
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
2024-02-15 11:07:31 +00:00
kolaente 2dab2ccedd
feat: allow using sqlite in memory database
continuous-integration/drone/push Build is failing Details
This allows running vikunja for testing purposes. You almost never want to run this in production.
2024-02-15 10:48:48 +01:00
kolaente 827c43fe12
chore(magefile): add aliases for lint
continuous-integration/drone/push Build is passing Details
2024-02-14 15:05:11 +01:00
kolaente 415c6380a5
feat(api tokens): add task attachment to api scopes
continuous-integration/drone/push Build is failing Details
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
continuous-integration/drone/push Build is failing Details
2024-02-14 13:35:06 +00:00
kolaente cc5f48eb74
fix: lint
continuous-integration/drone/push Build is passing Details
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 #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
continuous-integration/drone/push Build is passing Details
2024-02-13 22:24:46 +01:00
kolaente 205f330f8a
fix(migration): make sure to correctly check if a migration was already running
continuous-integration/drone/push Build was killed Details
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
continuous-integration/drone/push Build is failing Details
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
continuous-integration/drone/push Build is failing Details
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
continuous-integration/drone/push Build is passing Details
2024-02-13 20:38:53 +01:00
renovate 77feae47d6 fix(deps): update sentry-javascript monorepo to v7.101.0
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build was killed Details
2024-02-13 15:05:51 +00:00
renovate 2fb263a109 fix(deps): update dependency vue to v3.4.19
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2024-02-13 11:06:25 +00:00
kolaente 641fec1215
fix: never return frontend on routes starting with /api
continuous-integration/drone/push Build is passing Details
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 #2110
2024-02-13 10:05:15 +01:00
kolaente 18374c2e52
docs: fix healthcheck and mariadb password
continuous-integration/drone/push Build is passing Details
2024-02-13 09:55:12 +01:00
renovate 9921551f96 chore(deps): update pnpm to v8.15.2
continuous-integration/drone/push Build is passing Details
2024-02-13 08:24:39 +00:00
renovate b26c359ce6 chore(deps): update dev-dependencies to v7
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
2024-02-13 00:06:22 +00:00
kolaente d7d3ffeebd
feat(navigation): persist project open state in navigation
continuous-integration/drone/push Build is passing Details
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 #2067
2024-02-12 22:22:55 +01:00
kolaente 0b61885e89
fix(tasks): correctly show different project in related tasks
continuous-integration/drone/push Build is passing Details
2024-02-12 22:05:33 +01:00
kolaente 8d5cb335bd
fix(tasks): sort done tasks last in relations
continuous-integration/drone/push Build is failing Details
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
continuous-integration/drone/push Build is failing Details
2024-02-12 21:56:25 +01:00
kolaente ee065d9238
feat(tasks): make done at column available for selection in table view
continuous-integration/drone/push Build is passing Details
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
continuous-integration/drone/push Build is passing Details
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
continuous-integration/drone/push Build is passing Details
2024-02-12 17:05:48 +01:00
kolaente ef30868514
fix(ci): use correct docker image for desktop rename
continuous-integration/drone/push Build is passing Details
2024-02-12 16:39:05 +01:00
kolaente 75eb878e33
fix(ci): use correct docker image
continuous-integration/drone/push Build is passing Details
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
continuous-integration/drone/push Build encountered an error Details
2024-02-11 18:46:46 +01:00
kolaente 3abdf2ccdd
feat(ci): automatically create a gitea release when tagging
continuous-integration/drone/push Build was killed Details
2024-02-11 18:45:15 +01:00
kolaente 001268a33e
docs: add healthcheck to docker compose examples
continuous-integration/drone/push Build was killed Details
2024-02-11 18:39:53 +01:00
kolaente 3129051a9c
fix(ci): enable cors for api testing
continuous-integration/drone/push Build is failing Details
2024-02-11 18:19:57 +01:00
kolaente 45c97a456d
feat(ci): rename unstable desktop packages
continuous-integration/drone/push Build is failing Details
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
continuous-integration/drone/push Build is failing Details
2024-02-11 15:57:22 +01:00
kolaente eec53e8a54
docs: mention installation of rpm packages
continuous-integration/drone/push Build is failing Details
2024-02-11 15:56:34 +01:00
kolaente d4a389279c
chore: don't send http errors with a status < 500 to sentry
continuous-integration/drone/push Build is passing Details
2024-02-11 15:29:27 +01:00
renovate 3a65324a7d fix(deps): update tiptap to v2.2.2
continuous-integration/drone/push Build is passing Details
2024-02-11 09:37:38 +00:00
renovate bec11d42fc fix(deps): update module golang.org/x/oauth2 to v0.17.0
continuous-integration/drone/push Build is failing Details
2024-02-11 09:36:08 +00:00
renovate d2eeac2dbe fix(deps): pin dependencies
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
2024-02-11 09:05:38 +00:00