Commit Graph

67 Commits

Author SHA1 Message Date
kolaente 3658cde42f refactor: use query parameter only when looking for password reset token 2025-06-03 19:28:45 +02:00
Dominik Pschenitschni ed5d983d18 feat: consistent sorting 2025-06-02 22:27:03 +02:00
Dominik Pschenitschni bb9dc03351
fix: add newline at end of line (#827) 2025-05-24 13:57:47 +02:00
Weijie Zhao 33e78c35da
fix(auth): fix regex in JWT decoding causing login issues for Chinese/Japanese user names (#809) 2025-05-21 10:20:11 +00:00
kolaente fdc0860252
fix(auth): only use query parameters instead of local storage for password reset token (#770)
Resolves https://github.com/go-vikunja/vikunja/issues/682
2025-05-14 20:51:45 +00:00
Mitsuki Tanoue a77175d5b5
fix(auth): jwt token decoding
Resolves #388
2025-04-08 18:25:50 +02:00
kolaente 3e7c2966ab
fix(quick actions): always allow creating a new project or task, regardless of context
Resolves https://community.vikunja.io/t/ui-hotkeys-shortcuts/1096/29
2025-03-31 18:13:58 +02:00
kolaente 617070f9f7
fix(kanban): use full updated kanban bucket when moving task 2025-03-19 16:06:20 +01:00
Marc 3ad20096f3 feat(auth): allow automatic sso login from param (#3071)
This PR allows to automatically login to vikunja using the sso provider id specified in url parameter as discussed here : https://community.vikunja.io/t/how-to-setup-openid-automatic-redirection/2623/7

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/3071
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Marc <marc88@free.fr>
Co-committed-by: Marc <marc88@free.fr>
2025-03-02 19:48:28 +00:00
kolaente c6cade3aeb
feat(i18n): automatically set language during registration 2025-03-02 13:21:24 +01:00
kolaente 65df9e5ef9
fix: return meaningful error message when selecting an invalid timezone 2025-02-21 17:20:51 +01:00
kolaente 90bf5ba81b chore(auth): refactor registration enabled setting in /info 2025-01-28 09:59:08 +00:00
kolaente 9dc351f5a4 feat(auth): show login form when only ldap is enabled 2025-01-28 09:59:08 +00:00
kolaente 66293795e7
fix(auth): don't try to find openid provider when none are configured
Fixes a regression introduced in 748fa2b798

Related to https://github.com/go-vikunja/vikunja/issues/397
2025-01-24 19:16:02 +01:00
kolaente dc3930cfa7
fix(quick actions): use default project when creating a new task via quick add magic without specifying a project
Resolves https://community.vikunja.io/t/keyboard-navigation/3098/2
2025-01-21 14:49:34 +01:00
kolaente f6bfe2f13c
fix(quick actions): show saved filters in search results
This fixes a bug where saved filters would not show up in quick actions search results. It was caused by explicitely only searching for projects.
During the debugging of this, I've discovered the search parameter is ignored when searching for filters.

Resolves https://community.vikunja.io/t/virtual-projects-a-k-a-saved-filters-do-not-show-up-in-search-bar-results/3180/4
2025-01-21 11:07:28 +01:00
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