51 Commits

Author SHA1 Message Date
kolaente
748fa2b798 fix(auth): redirect to logout url after logging out
Resolves https://community.vikunja.io/t/open-id-logout-url-doesnt-seem-to-work/3158
2025-01-09 15:17:53 +01:00
Dominik Pschenitschni
a6644d9c89 feat: move loading logic from ready to base store 2024-12-28 10:36:26 +00:00
kolaente
6f9b0ddfe7 fix(tasks): do not show import hint when using a filter as home tasks and already imported
This fixes a bug where the "import your tasks from other platforms" would be shown even if the user had already imported tasks. The bug was caused by the heuristic "there are tasks" was not evaluated when tasks were loaded through a filter

Resolves https://github.com/go-vikunja/vikunja/issues/372
2024-12-11 18:28:29 +01:00
Dominik Pschenitschni
1f55e3f866 feat: hasAttachments as store computed 2024-12-06 14:04:33 +00:00
Dominik Pschenitschni
90951d4003 fix: reactive ancestor projects 2024-12-04 16:47:27 +00:00
kolaente
a58c5de657 fix(project): set correct right after duplicating 2024-11-19 19:27:40 +01:00
kolaente
703c641aeb fix: lint issues 2024-10-29 09:57:53 +00:00
kolaente
21af73ff93 fix(caldav): use subpath for caldav url in frontend
Resolves https://github.com/go-vikunja/vikunja/issues/337
2024-10-13 19:32:45 +02:00
kolaente
92b90013ab feat(projects): optionally return max right when querying all projects
This change introduces an expand query parameter which, when provided, allows to return all projects with the max right the current user has on that project. This allows to show and hide appropriate buttons in the frontend.

Resolves https://github.com/go-vikunja/vikunja/issues/334
2024-10-13 19:22:09 +02:00
kolaente
1451f6e46f fix(kanban): correctly paginate filtered kanban buckets
Resolves https://github.com/go-vikunja/vikunja/issues/314
2024-09-14 09:37:21 +02:00
kolaente
e4b541e653 fix(view): correctly get paginated task results 2024-09-13 22:56:41 +02:00
kolaente
97e030a1fc fix(home): explicitly use filter for tasks on home page when one is set
Resolves https://github.com/go-vikunja/vikunja/issues/289
Resolves https://community.vikunja.io/t/various-sorting-filtering-issues/2781/5
2024-09-12 15:51:08 +02:00
kolaente
1f3eb8f2a3 chore: fix comment 2024-09-12 13:39:03 +02:00
kolaente
55dd7d2981 fix(task): specify task index when creating multiple tasks at once
This change allows to specify the task index when creating a task, which will then be checked to avoid duplicates and used. This allows us to calculate the indexes for all tasks beforehand when creating them at once using quick add magic.
The method is not bulletproof, but already fixes a problem where multiple tasks would have the same index when created that way.

Resolves https://community.vikunja.io/t/add-multiple-tasks-at-once/333/16
2024-09-11 17:58:42 +02:00
kolaente
429c7ca2c1 feat(task): always insert new tasks at the top
Resolves https://community.vikunja.io/t/kanban-cards-in-wrong-order/2731
2024-08-28 15:30:40 +02:00
Dominik Pschenitschni
413798b321 fix: remove console log 2024-08-07 13:29:56 +00:00
Dominik Pschenitschni
1e632397d2 fix(projects): trigger only single mutation
Previously these store methods created multiple edits on deep objects in the store or edited a deep nested object directly.

This is bad because:
- multiple edits lead to multiple triggers of all the watchers on the project.
- in theory we should listen deep to a project if we use some deep reactive value of a project, if we want deep updates. Because this is easy to forget, it's better to update the project directly. For this the method `setProject` already existed in the store. This is no real overhead because Vue is smart enough to only trigger listeners that use data of the modified state.

By modifying only a copy of the view and submitting the modified result __once__ we can save us a lot of headache.

PS: I'm not sure if there were any visible problems, because Vue is really fast and the reactivity system works quite well. Regardless of this we should try not to modify state unnecessarily.
2024-07-19 07:26:50 +00:00
Dominik Pschenitschni
2a6ba7e7f0 feat: improve label store 2024-07-19 06:51:24 +00:00
Dominik Pschenitschni
1e523a1a39 feat: improve projects store 2024-07-19 05:49:14 +00:00
kolaente
12474e5be6 fix(kanban): make sure tasks which changed their done status are moved around in buckets
This fixes a bug where tasks which had their done status changed were not moved in the correct bucket. This affected both frontend and api. The move of the task between buckets is now correctly done in the api and frontend - with a bit of duplicated logic between the two. This could be optimized further in the future.

Resolves https://kolaente.dev/vikunja/vikunja/issues/2610
2024-07-18 12:39:29 +02:00
kolaente
f1d9e4f25c fix(quick add magic): create the task even when it only contains quick add magic keywords
Resolves https://github.com/go-vikunja/vikunja/issues/282
2024-07-17 14:16:21 +02:00
kolaente
ed5feee33a fix(kanban): move task to done bucket when it was marked done from the task detail view 2024-07-17 13:56:43 +02:00
kolaente
10bad95440 fix(auth): log user out when the current account does not exist 2024-07-02 12:27:19 +02:00
kolaente
d12deee977 feat(views): allow reordering views
Resolves https://community.vikunja.io/t/reordering-views/2394
2024-06-18 16:39:52 +02:00
kolaente
9f604eca79 fix(tasks): clarify usage of repeating modes available in quick add magic.
Originally, it was possible to specify repeating intervals for months or years. This was actually misleading because the interval would be converted to seconds under the hood, causing all kinds of problems with leap years and months with 30 vs 31 days. Because of that, the options for month and year were removed in 7746d39161 to make it clear what these actually meant.
Now, since we do have a repeating mode "Monthly", this commit changes the behaviour to repeat a task monthly when it was specified as "every month", but only that. All other cases were removed from the docs since they are not actually supported.

https://github.com/go-vikunja/vikunja/issues/271
2024-06-18 15:41:30 +02:00
Dominik Pschenitschni
917cbf9cb6 fix(vue): toValue instead of unref 2024-06-10 13:53:13 +00:00
kolaente
e1dcf2e859 feat: do not save language on the server when in demo mode
When the demo mode is enabled, people set the language to their own language - which is understandable. However, this is really confusing for other people when they log in and the language is something unexpected.
This change overrides the configured language when saving it while Vikunja is in demo mode.
2024-05-07 18:39:50 +02:00
kolaente
84197dd9c1 fix: correctly return error and bubble up when the api could not be reached 2024-04-21 23:33:50 +02:00
kolaente
574c7f218e fix(labels): allow link shares to add existing labels to a task
Resolves https://github.com/go-vikunja/vikunja/issues/252
2024-04-21 15:12:27 +02:00
kolaente
0bc9a670d7 fix(task): do not crash when loading a task if parent projects are not loaded
Related to https://community.vikunja.io/t/vikunja-freezes/2246
Related to https://github.com/go-vikunja/vikunja/issues/233
2024-04-12 17:56:19 +02:00
kolaente
7acd1a7e51 fix(project): remove child projects from state when deleting a project 2024-04-07 15:03:18 +02:00
kolaente
fd4312382e fix(kanban): remove unused function 2024-03-20 11:46:36 +01:00
kolaente
2dcf6c6861 fix(kanban): do not use the bucket id saved on the task 2024-03-20 11:36:54 +01:00
kolaente
7c30b00668 fix(views): correctly pass project id when loading more tasks in kanban views 2024-03-19 13:55:05 +01:00
kolaente
4b903c4f48 fix(views): lint 2024-03-19 00:47:52 +01:00
kolaente
bec9e3eb7d fix(views): set current project after modifying views 2024-03-19 00:47:51 +01:00
kolaente
434b1ea0e8 feat(views): crud in frontend 2024-03-19 00:47:50 +01:00
kolaente
27cb6e3372 fix(views): make bucket edit work 2024-03-19 00:47:50 +01:00
kolaente
ca0550acea fix(views): fetch buckets through view 2024-03-19 00:47:48 +01:00
kolaente
cf15cc6f12 feat(views): fetch tasks via view context when accessing them through views 2024-03-19 00:47:47 +01:00
kolaente
cf6b476b7d chore: cleanup leftover console.log 2024-03-12 21:33:24 +01:00
kolaente
a5c51d4b1e feat: emoji reactions for tasks and comments (#2196)
This PR adds reactions for tasks and comments, similar to what you can do on Gitea, GitHub, Slack and plenty of other tools.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2196
Co-authored-by: kolaente <k@knt.li>
Co-committed-by: kolaente <k@knt.li>
2024-03-12 19:25:58 +00:00
kolaente
49ab90fc19 fix: lint 2024-03-11 17:24:40 +01:00
kolaente
e097721817 fix(tasks): use correct filter query when filtering 2024-03-11 16:39:27 +01:00
kolaente
a66e26678e feat(filters): pass timezone down when filtering with relative date math
Resolves https://community.vikunja.io/t/my-vikunja-instance-creates-tasks-with-due-date-time-of-9am-for-tasks-with-the-word-today-word-in-it/2105/8
2024-03-11 16:28:25 +01:00
kolaente
dbfe162cd2 fix(filters): label highlighting and autocomplete fields now work with in operator
Previously, when creating a filter query with the 'in' operator and multiple values, autocompletion and highlighting was not available. This change now implements a split for each value, seperated by a comma.
2024-03-11 15:41:06 +01:00
waza-ari
ffa82556e0 feat(teams): add public flags to teams to allow easier sharing with other teams (#2179)
Resolves #2173
Co-authored-by: Daniel Herrmann <daniel.herrmann1@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2179
Reviewed-by: konrad <k@knt.li>
Co-authored-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
Co-committed-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
2024-03-10 14:04:32 +00:00
kolaente
1d2f3ca546 feat(filter): resolve label and project ids back to titles when loading a filter 2024-03-09 19:07:31 +01:00
kolaente
89b01e86bc fix(projects): load all projects when first opening Vikunja 2024-03-02 13:43:04 +01:00
kolaente
2d5c496397 fix(kanban): pass active filters down to task lazy loading
Before this change, applying a filter and then scrolling a bucket would not use that filter when lazy loading the tasks in that bucket. That resulted in all tasks being loaded, regardless if the filter applied to them.
2024-02-27 16:10:19 +01:00