1
0
Commit Graph

10304 Commits

Author SHA1 Message Date
f32472eb24 fix(files): only use service rootpath for files when the files path is not absolute
Resolves https://community.vikunja.io/t/images-failing-to-load-500-internal-server-error/2835

(cherry picked from commit 261c6e6c9e5ad8484cd4b5cee7174de1a3a4156e)
2024-09-29 15:37:49 +02:00
99bed5c616 fix(deps): update dependency @sentry/vue to v8.31.0
(cherry picked from commit c85cfcce6aaa454bbcbdf35d3f4e149e49fd7a67)
2024-09-29 15:37:48 +02:00
166d9cf860 fix(deps): update dependency @intlify/unplugin-vue-i18n to v5.2.0
(cherry picked from commit 51bdbba2860ce1c7164c60c79fee02cb32b5b91b)
2024-09-29 15:37:47 +02:00
16994c5d36 fix(deps): update dependency vue-i18n to v10.0.3
(cherry picked from commit 2d5e2f70b94da4db417281185fd1796a3393d7b3)
2024-09-29 15:37:45 +02:00
8d849b3d30 fix(deps): update dependency @intlify/unplugin-vue-i18n to v5.1.0
(cherry picked from commit 2c8ca629ded224175d22af666b96c86e60f1790f)
2024-09-29 15:37:44 +02:00
884eef5407 fix(deps): update dependency vue to v3.5.8
(cherry picked from commit a61ac5ac32228ba4e4fba50b4a9a42d1b44221cc)
2024-09-29 15:37:43 +02:00
96d8de06da chore(deps): update dev-dependencies
(cherry picked from commit 8c9d75e9a40d8f45bc356f680b413123ee6d00b1)
2024-09-29 15:37:41 +02:00
d6bab95376 fix(deps): update dependency vue-i18n to v10.0.2
(cherry picked from commit 28f208542f3c31dac86f0fce7dfec3b8ee614f9f)
2024-09-29 15:37:40 +02:00
a983142ad6 chore(deps): update dev-dependencies
(cherry picked from commit 6a2a78d014a95f72d50c9bbb7cf3c2507b46dca3)
2024-09-29 15:37:39 +02:00
98c878b201 fix(deps): update dependency vue to v3.5.7
(cherry picked from commit 2c791e6dd2846365aa3561860020c284defe8a1e)
2024-09-29 15:37:39 +02:00
b2e983fde6 chore(deps): update desktop lockfile
(cherry picked from commit 4d2021997a5eebeb2b8b51fe0ea29f859847700a)
2024-09-29 15:37:30 +02:00
724ec5751f fix(attachment): do not use image previews
Image previews were partially backported from main which caused error messages because some parts are missing.

Resolved https://community.vikunja.io/t/preview-size-is-not-defined/2843
2024-09-29 11:59:18 +02:00
17618301bc Revert "chore(attachments): refactor building image preview"
This reverts commit e70f5bcce3.
2024-09-29 11:54:20 +02:00
83b27d813a chore: 0.24.3 release preperation 2024-09-20 14:46:33 +02:00
a0ad6e7d28 fix(typesense): use typesense bulk insert, log all errors
(cherry picked from commit 207b88a286dc9881034af9d9d117d67e8ae3c91f)
2024-09-20 14:28:02 +02:00
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 50a0674835c65b3eb2f0e1f2dd8ae53e9d997eda)
2024-09-20 14:28:00 +02:00
802f661f0d fix(typesense): index tasks one by one
(cherry picked from commit 8181829c9efde3b210d6bc8f1640f469f8887973)
2024-09-20 14:27:59 +02:00
f9829a6338 chore(logging): simplify log template string
(cherry picked from commit 83aeb90376a2b14ca22da19f206cefdb8448175b)
2024-09-20 14:27:58 +02:00
a87419fa07 chore(typesense): add more debug logging
(cherry picked from commit e4584109dfc39099dff0de174c49fa87d02a2c0e)
2024-09-20 14:27:55 +02:00
b321ad5fc0 fix(deps): update dependency vuemoji-picker to v0.3.1
(cherry picked from commit 6d7748988a0c054a60189af3ec3fe504c311fb38)
2024-09-20 14:27:54 +02:00
edfe41ef87 chore(deps): update dev-dependencies
(cherry picked from commit 363da6c80f3df424d6732d20163de3dac14e7237)
2024-09-20 14:27:52 +02:00
4cbed7c2ed fix(typesense): use emplace instead of upsert to update documents
(cherry picked from commit 3f1d0f390bddd05992f7ad1170ddfbda0bb3aec7)
2024-09-20 14:27:50 +02:00
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 edf206aba61678ecc15db981ae6caf99d80c8010)
2024-09-20 14:27:49 +02:00
15cde08db6 fix(typesense): add new tasks to typesense properly
Maybe related to https://github.com/go-vikunja/vikunja/issues/317

(cherry picked from commit 9e39ef939786d175a2036166de4c2c8be550b295)
2024-09-20 14:27:46 +02:00
96835f6a28 fix(deps): update module github.com/typesense/typesense-go to v2
(cherry picked from commit c54181eeda593ab0c06e4358802d442338ffa5bf)
2024-09-20 14:27:44 +02:00
b1c4f0c216 fix(typesense): only fail silently when a project was not found during indexing
(cherry picked from commit b3bf92b7ce15576f41f4109c02dd2bc005a58575)
2024-09-20 14:27:42 +02:00
d2fbd468e6 fix(deps): update tiptap to v2.7.2
(cherry picked from commit 05dd05216d39692a025b4d61451bb9c0ae4a8707)
2024-09-20 14:27:40 +02:00
a751178c8b fix(views): add migration for filtered kanban buckets
(cherry picked from commit cd0ab54d572a5187ced45ee15da149be36c3553c)
2024-09-20 14:27:38 +02:00
2b9b9216dc feat(task): use focus-visible for task focus styles
(cherry picked from commit a7bd9dad24edfa8eabf1ba6617361d6ffeb2256f)
2024-09-20 14:27:37 +02:00
f732082708 fix(a11y): hide unfocusable buttons
(cherry picked from commit 10e245f6d0b28051c3750d16db61c31ff6f0fdef)
2024-09-20 14:27:35 +02:00
f56df8aa34 fix(task): open focused task when pressing enter
(cherry picked from commit 010dd1ea22094a8fe6cce46ab9d10292fc87853e)
2024-09-20 14:27:34 +02:00
e290d79c15 feat(navigation): use focus-visible for nav items
(cherry picked from commit 65a2814b2a43384dd6f3d412c8ab8094725d3255)
2024-09-20 14:27:32 +02:00
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 4dd9d5de6777967203533b8f88756c3cab4d2bd5)
2024-09-20 14:27:30 +02:00
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 ec902b051bcbb2c1382feb7c5ca0155d9d5fc4b7)
2024-09-20 14:27:28 +02:00
4857bfbbdb chore: rearrange cron registers
(cherry picked from commit 4b2b8e3b83caad72bd9a1574f9967bed8e06d3d7)
2024-09-20 14:27:28 +02:00
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 bc52da4029170bfd10cddea28cf5c6983969cb42)
2024-09-20 14:27:26 +02:00
d27b62db6e fix(task): cleanup old task positions and task buckets when adding an updated or created task to filter
(cherry picked from commit 2123da49a38e8683a2a0272b89617634d45f7f45)
2024-09-20 14:27:23 +02:00
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 c53a76139616b9cfbdc748a5e6caf23585517e42)
2024-09-20 14:27:21 +02:00
3398dee481 fix(labels): trigger task updated for bulk label task update
(cherry picked from commit c84b50b3ee793091f5501fa65129c168e728565e)
2024-09-20 14:27:19 +02:00
063aa7afec fix: test selector
(cherry picked from commit c5b82fc591c9056758eafeeae7f23c9652e8fb7f)
2024-09-20 14:27:17 +02:00
df3f5e73ed fix(deps): update dependency vue to v3.5.6
(cherry picked from commit 1f00180af6cd075eabcbb46f754a38cc0cc1ceca)
2024-09-20 14:27:16 +02:00
c57636182a fix(deps): update dependency tailwindcss to v3.4.12
(cherry picked from commit 33e851f54394675a21b716807fb0786e49021112)
2024-09-20 14:27:14 +02:00
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 16d73869752cea8ffcc73ee6be3021994cd6b6c1)
2024-09-20 14:27:12 +02:00
21cc3722a1 fix(projects): description not visible on mobile
(cherry picked from commit 6d9bda8cc1a44bcd3446df2e3a414802f96dc476)
2024-09-20 14:27:11 +02:00
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 abf92e29facfa91a75fdce4ab04729010cb510f1)
2024-09-20 14:27:09 +02:00
9e5d6bad8d chore(tasks): move drag options to direct attributes instead of v-bind
(cherry picked from commit f4d628550f361fb514bdc887727ca542958520ef)
2024-09-20 14:27:08 +02:00
2b0fbe2575 chore(devenv): do not install cypress on darwin
(cherry picked from commit 1d352fcbf300f3994b27207f2a0ea0385205b01d)
2024-09-20 14:27:06 +02:00
1e7d9c982d chore: remove console.log
(cherry picked from commit a1105434bff981e721640f31bc7f7cf3d1f34859)
2024-09-20 14:27:03 +02:00
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 acc7c9f8f5442e5008bfd86b1615a72f6f763ee8)
2024-09-20 14:27:02 +02:00
a46009dfc9 fix(task): align task title on mobile popup
(cherry picked from commit cc64ca640635ad888670cb48bba390d2a8a07d8d)
2024-09-20 14:27:00 +02:00