vikunja/pkg/models
kolaente 25fd0f6108
fix(filter): correctly create task positions during filter creation
This fixes a bug where a saved filter would contain many "dead" entries for tasks which are not part of that filter. These entries were "dead" because the filter would not match for them and thus they were not shown.
The problem was caused by a routine during the creation of the filter where all projects from all matching tasks would be used as input for fetching the tasks to add to task_positions.

https://community.vikunja.io/t/not-able-to-move-task-between-buckets-within-a-kanban-view-for-saved-filter/2882/3
2024-12-09 19:21:13 +01:00
..
api_routes.go fix(api): allow api tokens to retrieve the user who created the token 2024-10-13 16:02:53 +02:00
api_tokens.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
api_tokens_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
api_tokens_test.go chore(deps): update golangci-lint rules 2023-12-19 13:34:31 +01:00
bulk_task.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
bulk_task_test.go chore: remove year from copyright headers 2023-09-01 08:32:28 +02:00
error.go fix(filters): return more details when the provided filter time zone is invalid 2024-09-30 08:42:16 +02:00
events.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
export.go fix(filter): make sure tasks are in a correct bucket and position when they are part of a date filter 2024-09-19 11:19:48 +02:00
favorites.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
kanban.go fix(views): enable search in bucket filters 2024-11-19 16:27:22 +00:00
kanban_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
kanban_task_bucket.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
kanban_task_bucket_test.go fix(kanban): use correct assertion in the test 2024-07-12 14:21:46 +02:00
kanban_test.go fix(tasks): tests 2024-06-18 13:48:09 +02:00
label.go fix(label): ignore existing ID during creation 2024-09-10 16:45:40 +02:00
label_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
label_task.go fix(labels): trigger task updated for bulk label task update 2024-09-19 08:59:34 +02:00
label_task_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
label_task_test.go feat: make used bcrypt rounds configurable 2024-10-13 15:38:04 +02:00
label_test.go feat: make used bcrypt rounds configurable 2024-10-13 15:38:04 +02:00
link_sharing.go fix: reset id before creating 2024-09-17 10:46:14 +02:00
link_sharing_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
link_sharing_test.go chore(deps): update golangci-lint rules 2023-12-19 13:34:31 +01:00
listeners.go fix(events): do not crash filter event handler when triggered by a link share user 2024-10-30 14:49:33 +01:00
main_test.go chore: remove year from copyright headers 2023-09-01 08:32:28 +02:00
mentions.go chore: remove year from copyright headers 2023-09-01 08:32:28 +02:00
mentions_test.go chore(deps): update golangci-lint rules 2023-12-19 13:34:31 +01:00
message.go chore: remove year from copyright headers 2023-09-01 08:32:28 +02:00
models.go feat(views)!: move done and default bucket setting to view 2024-03-19 00:47:47 +01:00
notifications.go fix: task overdue at the same time as the notification 2024-12-03 08:33:16 +01:00
notifications_database.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
project.go fix(typo): Simpl -> Simple -> GetProjectsMapSimpleByTaskIDs (#2906) 2024-12-09 13:55:16 +00:00
project_duplicate.go fix(project): correctly set done bucket after duplicating project 2024-11-19 19:23:08 +01:00
project_duplicate_test.go fix(views): duplicate all views and related entities when duplicating a project 2024-03-19 00:47:51 +01:00
project_rights.go chore(projects): only pass users to checks 2024-10-29 09:11:06 +01:00
project_team.go fix: reset id before creating 2024-09-17 10:46:14 +02:00
project_team_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
project_team_test.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
project_test.go fix(views): stable assertion for bucket in tests 2024-03-19 17:27:03 +01:00
project_users.go fix: reset id before creating 2024-09-17 10:46:14 +02:00
project_users_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
project_users_rights_test.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
project_users_test.go feat: make used bcrypt rounds configurable 2024-10-13 15:38:04 +02:00
project_view.go fix(views): enable search in bucket filters 2024-11-19 16:27:22 +00:00
project_view_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
reaction.go fix: reset id before creating 2024-09-17 10:46:14 +02:00
reaction_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
reaction_test.go feat: emoji reactions for tasks and comments (#2196) 2024-03-12 19:25:58 +00:00
rights.go feat(projects): optionally return max right when querying all projects 2024-10-13 19:22:09 +02:00
saved_filters.go fix(filters): validate filter expression when creating or updating filter 2024-11-18 11:02:21 +01:00
saved_filters_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
saved_filters_test.go fix(views): enable search in bucket filters 2024-11-19 16:27:22 +00:00
subscription.go fix: reset id before creating 2024-09-17 10:46:14 +02:00
subscription_rights.go chore: simplify sentry code 2024-11-22 12:05:02 +01:00
subscription_test.go fix(subscriptions): cleanup and simplify fetching subscribers for tasks and projects logic 2024-09-04 19:55:17 +02:00
task_assignees.go fix(typo): Simpl -> Simple -> GetProjectsMapSimpleByTaskIDs (#2906) 2024-12-09 13:55:16 +00:00
task_assignees_rights.go fix(typo): Simpl -> Simple -> GetProjectsMapSimpleByTaskIDs (#2906) 2024-12-09 13:55:16 +00:00
task_attachment.go fix(attachments): check permissions when accessing all attachments 2024-11-21 15:42:53 +01:00
task_attachment_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
task_attachment_test.go fix(files): configure the files path in files init instead of globally 2024-09-29 19:04:25 +02:00
task_collection.go fix(saved filters): check permissions when accessing tasks of a filter 2024-11-21 15:42:26 +01:00
task_collection_filter.go feat(filters): add "not in" operator for filters 2024-10-29 12:03:16 +01:00
task_collection_filter_test.go feat(filters): add "not in" operator for filters 2024-10-29 12:03:16 +01:00
task_collection_sort.go feat(views): save view and position in Typesense 2024-03-19 00:47:47 +01:00
task_collection_sort_test.go fix(views): test assertions 2024-03-19 00:47:51 +01:00
task_collection_test.go feat(filters): add "not in" operator for filters 2024-10-29 12:03:16 +01:00
task_comment_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
task_comments.go fix(typesense): fetch task comments without permission check 2024-11-02 18:42:12 +01:00
task_comments_test.go fix: tests 2024-01-28 11:52:16 +01:00
task_overdue_reminder.go fix(typo): Simpl -> Simple -> GetProjectsMapSimpleByTaskIDs (#2906) 2024-12-09 13:55:16 +00:00
task_overdue_reminder_test.go chore(deps): update golangci-lint rules 2023-12-19 13:34:31 +01:00
task_position.go fix(filter): correctly create task positions during filter creation 2024-12-09 19:21:13 +01:00
task_relation.go fix: reset id before creating 2024-09-17 10:46:14 +02:00
task_relation_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
task_relation_test.go fix(tasks): check for cycles during creation of task relations and prevent them 2024-02-10 13:30:41 +01:00
task_reminder.go fix(typo): Simpl -> Simple -> GetProjectsMapSimpleByTaskIDs (#2906) 2024-12-09 13:55:16 +00:00
task_reminder_test.go chore(deps): update golangci-lint rules 2023-12-19 13:34:31 +01:00
task_search.go fix(tasks): prefix created and updated columns when sorting by them 2024-11-18 12:07:29 +01:00
tasks.go fix(filter): correctly create task positions during filter creation 2024-12-09 19:21:13 +01:00
tasks_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
tasks_test.go fix(views): move bucket update to extra endpoint 2024-07-02 16:34:53 +02:00
team_members.go fix: reset id before creating 2024-09-17 10:46:14 +02:00
team_members_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
team_members_test.go chore(deps): update golangci-lint rules 2023-12-19 13:34:31 +01:00
teams.go fix: reset id before creating 2024-09-17 10:46:14 +02:00
teams_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
teams_rights_test.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
teams_test.go feat(teams): add public flags to teams to allow easier sharing with other teams (#2179) 2024-03-10 14:04:32 +00:00
typesense.go fix(typesense): fetch task comments without permission check 2024-11-02 18:42:12 +01:00
unit_tests.go fix(views): update test fixtures for new structure 2024-03-19 00:47:51 +01:00
unsplash.go chore: remove year from copyright headers 2023-09-01 08:32:28 +02:00
user_delete.go feat: preferably award admin access to project users with write access on user deletion (#2772) 2024-10-24 20:42:38 +00:00
user_delete_test.go chore(deps): update golangci-lint rules 2023-12-19 13:34:31 +01:00
user_project.go feat(sharing): add config so that users only find members of their teams 2024-10-28 11:08:06 +01:00
user_project_test.go feat(sharing): add config so that users only find members of their teams 2024-10-28 11:08:06 +01:00
users.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00
webhooks.go fix: reset id before creating 2024-09-17 10:46:14 +02:00
webhooks_rights.go chore(web): move web handler package to Vikunja 2024-08-29 16:15:28 +02:00