1
0

9679 Commits

Author SHA1 Message Date
kolaente
e7041f02d0
fix(caldav): do not crash for wrong parameters 2024-06-06 11:05:32 +02:00
kolaente
dd58d37db3
feat(typesense): move partial reindex to a flag instead of a separate command 2024-06-05 10:49:37 +02:00
kolaente
f131289d32
fix(typesense): correctly index assignee changes on tasks
This change fixes a bug where adding or removing an assignee to a task would not update the index in Typesense, causing filter queries for that assignee to return incorrect data. This was caused by the events being dispatched by the task update process not containing all the data.

Resolves https://github.com/go-vikunja/vikunja/issues/255
2024-06-05 10:36:25 +02:00
kolaente
e56b2232bb
fix(typesense): do not try to sort by position when searching in a saved filter
This change fixes a bug where Typesense would try to sort by the project view of a saved filter. The view position is not indexed in Typesense, hence filtering fails. Because sorting by position is not a feature in saved filters, I've removed the logic for sorting saved filters with Typesense.
2024-06-05 10:24:28 +02:00
kolaente
506ce66434
fix(typesense): correctly join task position table when sorting by it
This change fixes a bug where the project view to use for joining was empty, since Typesense only supports 3 sorting parameters. When using more than that, the logic to fetch the view ID parameter would not return the correct parameter, but the logic building the order by statement would. That led to inconsistencies where the task position was included in the order by statement, but the table would not be joined, failing the query.
2024-06-05 09:54:55 +02:00
Frederick [Bot]
d32a2526ba chore(i18n): update translations via Crowdin 2024-06-05 00:28:50 +00:00
kolaente
b386dfae87
fix(typesense): only return distinct tasks once 2024-06-04 18:22:05 +02:00
kolaente
5fc4ec48b7
fix(typesense): correctly incorporate existing filter when it is empty 2024-06-04 18:22:05 +02:00
Frederick [Bot]
37c89ea826 [skip ci] Updated swagger docs 2024-06-04 16:17:19 +00:00
kolaente
1843f1d0d8
fix(docs): correctly document filter query usage 2024-06-04 18:02:31 +02:00
kolaente
0bb4a5a2b2
chore(desktop): only build zip in ci to speed up smoke test builds 2024-06-04 15:02:21 +02:00
Frederick [Bot]
b4b17ed966 [skip ci] Updated swagger docs 2024-06-04 10:40:08 +00:00
kolaente
48676050d7 feat(tasks): expand subtasks (#2345)
This change adds a parameter to expand subtasks - if provided, Vikunja will ensure all subtasks are present in the results list.

Resolves https://community.vikunja.io/t/subtasks-show-on-different-pages/2292
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2345
Co-authored-by: kolaente <k@knt.li>
Co-committed-by: kolaente <k@knt.li>
2024-06-04 10:27:23 +00:00
kolaente
a38e768895
fix(db migration): do not try to create a unique index
Related to https://kolaente.dev/vikunja/vikunja/issues/2243
2024-06-04 08:45:39 +02:00
kolaente
c17e4564e7
fix(migration): ensure tasks are put into the correct bucket when migrating from todoist
Resolves https://github.com/go-vikunja/vikunja/issues/254
2024-06-04 08:33:11 +02:00
Frederick [Bot]
dbf5e61fc9 chore(i18n): update translations via Crowdin 2024-06-04 00:28:55 +00:00
kolaente
68d233684f
fix(views): edit views with filters
This change fixes a bug where filter values of views would be transformed in the wrong order, not transformed at all or at the wrong time. Transforming the filters now happens transparently in the background without anything funky happening visible to the user.
2024-06-03 22:21:09 +02:00
Frederick [Bot]
244ca262df [skip ci] Updated swagger docs 2024-06-03 19:51:44 +00:00
kolaente
99a67e09b1
feat(api): all usable routes behind authentication now have permissions
Previously, only routes which were coming from crudable entities could be used with an api token because there was no way to assign permissions to them. This change implements a more flexible structure for api permissions under the hood, allowing to add permissions for these routes and making them usable with an api token.

Resolves https://github.com/go-vikunja/vikunja/issues/266
2024-06-03 21:35:09 +02:00
kolaente
5ef140fba2
fix(tasklist): migrate old tasklist format
Resolves https://community.vikunja.io/t/task-list-from-0-21-0-0-23-0/2340
Resolves https://community.vikunja.io/t/general-feedback-after-trying-out-vikunja/1943/6
2024-06-03 17:39:35 +02:00
kolaente
755e53af70
fix(views): transform bucket configurations
This fixes a bug where filter buckets would not be editable because the bucket configuration was a read-only entry from the watcher.
2024-06-03 17:04:09 +02:00
kolaente
c47d8c6dbe
fix(task): do not try to set bucket for filtered bucket configuration 2024-06-03 17:02:50 +02:00
kolaente
43244156b4
fix(filter): do not add enter in input field 2024-06-03 16:30:17 +02:00
kolaente
4ce761eba7
fix(filter): trim search term before searching 2024-06-03 16:28:04 +02:00
kolaente
6c8299772a
fix(task): do not require admin permission to move tasks between buckets
Resolves https://community.vikunja.io/t/moving-between-buckets-requires-admin-permissions-now/2390
2024-06-03 16:26:07 +02:00
kolaente
a6fccfb908
fix(webhook): log errors in webhook response 2024-06-03 13:11:44 +02:00
andreymal
73780e4b50 feat: add pluralization rules for Russian (#2344)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2344
Reviewed-by: konrad <k@knt.li>
Co-authored-by: andreymal <andriyano-31@mail.ru>
Co-committed-by: andreymal <andriyano-31@mail.ru>
2024-06-03 08:51:11 +00:00
Elscrux
81bdad4beb fix: ignore casing to check if file extensions can be previewed (#2341)
Now .PNG is supported as well as .PnG and so on

Co-authored-by: Elscrux <nickposer2102@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2341
Co-authored-by: Elscrux <elscrux@gmail.com>
Co-committed-by: Elscrux <elscrux@gmail.com>
2024-06-02 19:23:52 +00:00
David Baakman
8bc23b3a54 docs: remove superfluous yaml code block (#2342)
Fixes the ```yaml shown in the documentation.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2342
Reviewed-by: konrad <k@knt.li>
Co-authored-by: David Baakman <kolaente@davidbaakman.nl>
Co-committed-by: David Baakman <kolaente@davidbaakman.nl>
2024-06-02 19:20:09 +00:00
Elscrux
aac01c7a35 feat: default view setting (#2306)
This PR adds configuration of default project view in settings, which is used when the user has not visited the project and thus last view hasn't yet been saved in projects. Updates old settings and adds "First View" option with fallback.

Resolves https://kolaente.dev/vikunja/vikunja/issues/2153

Co-authored-by: Elscrux <nickposer2102@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2306
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Elscrux <elscrux@gmail.com>
Co-committed-by: Elscrux <elscrux@gmail.com>
2024-06-02 08:15:53 +00:00
Frederick [Bot]
a175214aa0 chore(i18n): update translations via Crowdin 2024-06-02 00:28:49 +00:00
kolaente
8b2c3075c3
fix(logo): use correct month for pride logo change 2024-06-01 23:20:02 +02:00
Frederick [Bot]
a53ee4143f chore(i18n): update translations via Crowdin 2024-05-28 00:27:42 +00:00
Frederick [Bot]
aeadce8631 chore(i18n): update translations via Crowdin 2024-05-27 00:27:50 +00:00
Frederick [Bot]
e618becdf4 chore(i18n): update translations via Crowdin 2024-05-26 00:28:14 +00:00
konrad
34d69fa588 feat(task): show attachment preview for image attachments (#2266)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2266
Reviewed-by: konrad <k@knt.li>
2024-05-25 12:11:03 +00:00
Elscrux
aba045ff24 Set attachment width to 100% 2024-05-25 13:45:26 +02:00
Elscrux
4eb0df256c Improve preview spacing 2024-05-25 12:06:23 +02:00
Elscrux
8b066bf0e9 Add cover tooltips 2024-05-25 12:05:37 +02:00
Elscrux
c2fc444bc0 Use file fallback icon 2024-05-25 12:05:37 +02:00
Elscrux
680cb72f29 Make fallback icon grey 2024-05-25 12:05:37 +02:00
konrad
fd66e6875c feat(editor): add hotkeys to quickly edit and discard (#2265)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2265
Reviewed-by: konrad <k@knt.li>
2024-05-25 08:13:10 +00:00
kolaente
fb1f461e51
feat(i18n): add Croatian to selectable languages 2024-05-25 10:03:08 +02:00
Frederick [Bot]
3925536a7c chore(i18n): update translations via Crowdin 2024-05-25 00:27:52 +00:00
Elscrux
00bfa2c552 Rename discardShortcutEnabled to enableDiscardShortcut 2024-05-24 15:23:15 +02:00
Elscrux
ebb093797c Rename discardShortcutEnabled to enableDiscardShortcut 2024-05-24 15:23:15 +02:00
Elscrux
c13a991c16 Merge import 2024-05-24 15:23:15 +02:00
Elscrux
ecd44059e4 Use if to conditionally add escape hotkey 2024-05-24 15:23:15 +02:00
Elscrux
308a98c876 Add discardShortcutEnabled setting to opt into this feature
Only editing the task description and comments have this feature enabled
2024-05-24 15:23:15 +02:00
Elscrux
6ad8ce8f44 Cancel current edits and exit edit mode with escape 2024-05-24 15:23:15 +02:00