Commit Graph

10291 Commits

Author SHA1 Message Date
kolaente 83b27d813a
chore: 0.24.3 release preperation 2024-09-20 14:46:33 +02:00
kolaente a0ad6e7d28
fix(typesense): use typesense bulk insert, log all errors
(cherry picked from commit 207b88a286)
2024-09-20 14:28:02 +02:00
kolaente 940d149e2a
fix(typesense): force position to always be float instead of auto-inferring
This fixes an issue where it would be impossible to update a task in Typesense when the position for a view of it was previously saved as int64. This happened because the field is created per view on demand and its type is automatically inferred from the data saved. Now, when the first value for a particular position field is a float which could as well be an int (for example, 42.0), that field gets created as an int64 instead of float. Subsequent tries to save a float into that field will then fail.

Additionally, errors about this are silently discarded when using bulk insert. That's why the problem was not really debuggable at first.

(cherry picked from commit 50a0674835)
2024-09-20 14:28:00 +02:00
kolaente 802f661f0d
fix(typesense): index tasks one by one
(cherry picked from commit 8181829c9e)
2024-09-20 14:27:59 +02:00
kolaente f9829a6338
chore(logging): simplify log template string
(cherry picked from commit 83aeb90376)
2024-09-20 14:27:58 +02:00
kolaente a87419fa07
chore(typesense): add more debug logging
(cherry picked from commit e4584109df)
2024-09-20 14:27:55 +02:00
renovate b321ad5fc0
fix(deps): update dependency vuemoji-picker to v0.3.1
(cherry picked from commit 6d7748988a)
2024-09-20 14:27:54 +02:00
renovate edfe41ef87
chore(deps): update dev-dependencies
(cherry picked from commit 363da6c80f)
2024-09-20 14:27:52 +02:00
kolaente 4cbed7c2ed
fix(typesense): use emplace instead of upsert to update documents
(cherry picked from commit 3f1d0f390b)
2024-09-20 14:27:50 +02:00
kolaente 25c8476883
fix(typesense): make sure task positions are recreated properly when updating them
Related https://community.vikunja.io/t/version-0-24-0-internal-server-error-breaking-change/2558
Related https://github.com/go-vikunja/vikunja/issues/317

(cherry picked from commit edf206aba6)
2024-09-20 14:27:49 +02:00
kolaente 15cde08db6
fix(typesense): add new tasks to typesense properly
Maybe related to https://github.com/go-vikunja/vikunja/issues/317

(cherry picked from commit 9e39ef9397)
2024-09-20 14:27:46 +02:00
kolaente 96835f6a28
fix(deps): update module github.com/typesense/typesense-go to v2
(cherry picked from commit c54181eeda)
2024-09-20 14:27:44 +02:00
kolaente b1c4f0c216
fix(typesense): only fail silently when a project was not found during indexing
(cherry picked from commit b3bf92b7ce)
2024-09-20 14:27:42 +02:00
renovate d2fbd468e6
fix(deps): update tiptap to v2.7.2
(cherry picked from commit 05dd05216d)
2024-09-20 14:27:40 +02:00
kolaente a751178c8b
fix(views): add migration for filtered kanban buckets
(cherry picked from commit cd0ab54d57)
2024-09-20 14:27:38 +02:00
kolaente 2b9b9216dc
feat(task): use focus-visible for task focus styles
(cherry picked from commit a7bd9dad24)
2024-09-20 14:27:37 +02:00
kolaente f732082708
fix(a11y): hide unfocusable buttons
(cherry picked from commit 10e245f6d0)
2024-09-20 14:27:35 +02:00
kolaente f56df8aa34
fix(task): open focused task when pressing enter
(cherry picked from commit 010dd1ea22)
2024-09-20 14:27:34 +02:00
kolaente e290d79c15
feat(navigation): use focus-visible for nav items
(cherry picked from commit 65a2814b2a)
2024-09-20 14:27:32 +02:00
kolaente 51f26d14b9
fix(filters): correctly transform and populate saved filter when creating and editing
This fixes a bug where the checkbox "include nulls" during creation was not checked but would be saved as such.

(cherry picked from commit 4dd9d5de67)
2024-09-20 14:27:30 +02:00
kolaente 320fc75c27
fix(task): mark related task as done from the task detail view
Resolves https://github.com/go-vikunja/vikunja/issues/326

(cherry picked from commit ec902b051b)
2024-09-20 14:27:28 +02:00
kolaente 4857bfbbdb
chore: rearrange cron registers
(cherry picked from commit 4b2b8e3b83)
2024-09-20 14:27:28 +02:00
kolaente 62c238e4bc
fix(filter): make sure tasks are in a correct bucket and position when they are part of a date filter
Whenever a task is part of a date filter, it might fall in or out of a filter bucket without anything changing, other than the current time. For example, a filter condition like due_date > now may include different tasks depending on the current time.
For these kinds of tasks to properly show up in the kanban view of a filter, there has to be an entry in the task_buckets table. These entries only got updated when either a task was updated or the filter itself was updated. To account for th changing of time, we also need to check periodically if tasks are now part or not anymore part of that filter.
This change adds a cron task to do precisely that.
We'll have to see if this works resource-wise, but the cron is not the only one doing a bunch of sql queries so it might be fine after all.

Resolves https://community.vikunja.io/t/tasks-in-saved-filter-appear-in-list-view-but-are-not-visible-in-kanban-view/2800

(cherry picked from commit bc52da4029)
2024-09-20 14:27:26 +02:00
kolaente d27b62db6e
fix(task): cleanup old task positions and task buckets when adding an updated or created task to filter
(cherry picked from commit 2123da49a3)
2024-09-20 14:27:23 +02:00
kolaente a21036340e
fix(task): add task to filter view after it was updated
Maybe resolves https://community.vikunja.io/t/tasks-in-saved-filter-appear-in-list-view-but-are-not-visible-in-kanban-view/2800

(cherry picked from commit c53a761396)
2024-09-20 14:27:21 +02:00
kolaente 3398dee481
fix(labels): trigger task updated for bulk label task update
(cherry picked from commit c84b50b3ee)
2024-09-20 14:27:19 +02:00
kolaente 063aa7afec
fix: test selector
(cherry picked from commit c5b82fc591)
2024-09-20 14:27:17 +02:00
renovate df3f5e73ed
fix(deps): update dependency vue to v3.5.6
(cherry picked from commit 1f00180af6)
2024-09-20 14:27:16 +02:00
renovate c57636182a
fix(deps): update dependency tailwindcss to v3.4.12
(cherry picked from commit 33e851f543)
2024-09-20 14:27:14 +02:00
kolaente 4d2a567c46
fix(modal): make scrolling on iOS Safari work
This fixes a bug where the full-screen modal would not work on iOS Safari (and only there). It's unclear why this is happening due to a single overflow: visible statement though.

Resolves https://github.com/go-vikunja/vikunja/issues/325

(cherry picked from commit 16d7386975)
2024-09-20 14:27:12 +02:00
kolaente 21cc3722a1
fix(projects): description not visible on mobile
(cherry picked from commit 6d9bda8cc1)
2024-09-20 14:27:11 +02:00
kolaente 6a68736ca5
fix(task): dragging and dropping on mobile
This change fixes a regression introduced in 1cbb93ea9b.
In that change, the whole task area was made clickable using mouse events directly. Unfortunately, this also prevented the parent component of the task component to recieve them, essentially never getting notified about the mouse movement and thus never dragging the task. I don't know why this is only a problem on Safari, but it might be related to https://github.com/SortableJS/Sortable/issues/1571#issuecomment-535684451

Resolves https://community.vikunja.io/t/task-re-ordering-is-not-working-in-safari/1916
Resolves https://kolaente.dev/vikunja/vikunja/issues/2092
Resolves https://github.com/go-vikunja/vikunja/issues/304

(cherry picked from commit abf92e29fa)
2024-09-20 14:27:09 +02:00
kolaente 9e5d6bad8d
chore(tasks): move drag options to direct attributes instead of v-bind
(cherry picked from commit f4d628550f)
2024-09-20 14:27:08 +02:00
kolaente 2b0fbe2575
chore(devenv): do not install cypress on darwin
(cherry picked from commit 1d352fcbf3)
2024-09-20 14:27:06 +02:00
kolaente 1e7d9c982d
chore: remove console.log
(cherry picked from commit a1105434bf)
2024-09-20 14:27:03 +02:00
kolaente 20c52a8325
fix(editor): restore the current value, not the one from a previous task
Resolves https://community.vikunja.io/t/task-description-is-overwritten-when-pressing-esc-key/2813

(cherry picked from commit acc7c9f8f5)
2024-09-20 14:27:02 +02:00
kolaente a46009dfc9
fix(task): align task title on mobile popup
(cherry picked from commit cc64ca6406)
2024-09-20 14:27:00 +02:00
kolaente 6ab12b9dd1
chore: add go and direnv to recommended vscode extensions
(cherry picked from commit 89f78cd369)
2024-09-20 14:26:59 +02:00
renovate aeb404f313
fix(deps): update tiptap to v2.7.1
(cherry picked from commit 14c3b13823)
2024-09-20 14:26:57 +02:00
renovate 9c5df7d389
chore(deps): update dev-dependencies
(cherry picked from commit c2a7438814)
2024-09-20 14:26:56 +02:00
renovate ffd36261cb
fix(deps): update tiptap to v2.7.0
(cherry picked from commit 8fe37fd900)
2024-09-20 14:26:54 +02:00
renovate 8812af2d77
fix(deps): update module github.com/prometheus/client_golang to v1.20.4
(cherry picked from commit 88b4ab1768)
2024-09-20 14:26:52 +02:00
kolaente 93f7dd611a
fix: reset id before creating
(cherry picked from commit c252c8f0cd)
2024-09-20 14:26:51 +02:00
renovate 0e683ae7bf
fix(deps): update vueuse to v11.1.0
(cherry picked from commit 410ff28b71)
2024-09-20 14:26:49 +02:00
renovate deef8da370
chore(deps): update dev-dependencies
(cherry picked from commit d98dd7ecbb)
2024-09-20 14:26:47 +02:00
renovate a0988daeaf
fix(deps): update dependency date-fns to v4
(cherry picked from commit fc73085876)
2024-09-20 14:26:46 +02:00
renovate 6225b24da8
chore(deps): update dev-dependencies
(cherry picked from commit c71f7334b4)
2024-09-20 14:26:44 +02:00
kolaente 983c02964c
fix(modal): do not prevent scrolling on mobile
Maybe related to https://github.com/go-vikunja/vikunja/issues/325

(cherry picked from commit 6a5342bd49)
2024-09-20 14:26:44 +02:00
renovate 7bc93757c7
fix(deps): update dependency vue-router to v4.4.5
(cherry picked from commit b4ea1bb86a)
2024-09-20 14:26:42 +02:00
renovate b4c5df1ef8
fix(deps): update dependency vue to v3.5.5
(cherry picked from commit 378d0ae9bb)
2024-09-20 14:26:41 +02:00