vikunja/pkg/models
konrad 0a1d8c9404
All checks were successful
continuous-integration/drone/push Build is passing
feat: add date math for filters (#1086)
This adds support for relative dates in filters, similar to the ones from [grafana](https://grafana.com/docs/grafana/latest/dashboards/time-range-controls) or [elasticsearch](https://www.elastic.co/guide/en/elasticsearch/reference/7.3/common-options.html#date-math).

In short, it allows you to filter for due dates by passing in dates like "now - 7d" to get a date from 7 days ago.

This is a very powerful addition for saved filters as they will allow you to create filters for all kinds of stuff where you previously only could use fixed dates. Now you can for example create a saved filter for "all tasks this week".

Frontend PR: vikunja/frontend#1342

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1086
2022-03-27 20:35:04 +00:00
..
bulk_task_test.go Add events (#777) 2021-02-02 22:48:37 +00:00
bulk_task.go Add events (#777) 2021-02-02 22:48:37 +00:00
error.go Add link share password authentication (#831) 2021-04-11 13:17:50 +00:00
events.go User Data Export and import (#967) 2021-09-04 19:26:31 +00:00
export.go feat: upgrade golangci-lint to 1.45.2 2022-03-27 16:55:37 +02:00
favorites.go Make sure list / task favorites are set per user, not per entity (#915) 2021-07-10 10:21:54 +00:00
kanban_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
kanban_test.go Reorder tasks, lists and kanban buckets (#923) 2021-07-28 19:06:40 +00:00
kanban.go Fix moving the done bucket around 2021-07-29 17:32:33 +02:00
label_rights.go Make sure all tables are properly pluralized 2021-03-28 20:17:35 +02:00
label_task_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
label_task_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
label_task.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
label_test.go Refactor user email confirmation + password reset handling (#919) 2021-07-13 20:56:02 +00:00
label.go Fix swagger docs for create requests 2021-05-26 21:56:31 +02:00
link_sharing_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
link_sharing_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
link_sharing.go Update module github.com/golang-jwt/jwt to v4 (#930) 2021-08-03 21:43:18 +00:00
list_duplicate_test.go Update copyright year 2021-02-02 20:19:13 +01:00
list_duplicate.go feat: upgrade golangci-lint to 1.45.2 2022-03-27 16:55:37 +02:00
list_rights.go Enable a list to be moved across namespaces (#1096) 2022-01-23 12:59:43 +00:00
list_team_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
list_team_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
list_team.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
list_test.go Enable a list to be moved across namespaces (#1096) 2022-01-23 12:59:43 +00:00
list_users_rights_test.go Update copyright year 2021-02-02 20:19:13 +01:00
list_users_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
list_users_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
list_users.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
list.go Enable a list to be moved across namespaces (#1096) 2022-01-23 12:59:43 +00:00
listeners.go fix: make sure the full task is available in notifications 2021-10-16 16:38:59 +02:00
main_test.go Task mentions (#926) 2021-07-29 15:42:49 +00:00
mentions_test.go Task mentions (#926) 2021-07-29 15:42:49 +00:00
mentions.go Task mentions (#926) 2021-07-29 15:42:49 +00:00
message.go Update copyright year 2021-02-02 20:19:13 +01:00
models.go Make sure list / task favorites are set per user, not per entity (#915) 2021-07-10 10:21:54 +00:00
namespace_rights.go Make sure all tables are properly pluralized 2021-03-28 20:17:35 +02:00
namespace_team_rights_test.go Update copyright year 2021-02-02 20:19:13 +01:00
namespace_team_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
namespace_team_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
namespace_team.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
namespace_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
namespace_users_rights_test.go Update copyright year 2021-02-02 20:19:13 +01:00
namespace_users_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
namespace_users_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
namespace_users.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
namespace.go chore: cleanup namespace creation 2022-03-06 17:09:05 +01:00
notifications_database.go Add crud endpoints for notifications (#801) 2021-02-21 14:50:34 +00:00
notifications.go fix: make sure the full task is available in notifications 2021-10-16 16:38:59 +02:00
rights.go Update copyright year 2021-02-02 20:19:13 +01:00
saved_filters_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
saved_filters_test.go Fix setting a saved filter as favorite 2021-07-20 21:32:25 +02:00
saved_filters.go Fix setting a saved filter as favorite 2021-07-20 21:32:25 +02:00
subscription_rights.go Subscriptions and notifications for namespaces, tasks and lists (#786) 2021-02-14 19:18:14 +00:00
subscription_test.go Subscriptions and notifications for namespaces, tasks and lists (#786) 2021-02-14 19:18:14 +00:00
subscription.go Fix swagger docs for create requests 2021-05-26 21:56:31 +02:00
task_assignees_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
task_assignees.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
task_attachment_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
task_attachment_test.go Add names for link shares (#829) 2021-04-07 12:44:39 +00:00
task_attachment.go Fix getting user info from /user endpoint for link shares 2021-04-07 15:02:57 +02:00
task_collection_filter.go feat: add date math for filters (#1086) 2022-03-27 20:35:04 +00:00
task_collection_sort_test.go Update copyright year 2021-02-02 20:19:13 +01:00
task_collection_sort.go Reorder tasks, lists and kanban buckets (#923) 2021-07-28 19:06:40 +00:00
task_collection_test.go fix: sorting for saved filters 2021-11-14 21:03:55 +01:00
task_collection.go feat: add date math for filters (#1086) 2022-03-27 20:35:04 +00:00
task_comment_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
task_comments_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
task_comments.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
task_overdue_reminder_test.go Add reminders for overdue tasks (#832) 2021-04-11 15:08:43 +00:00
task_overdue_reminder.go Improve sending overdue task reminders by only sending one for all overdue tasks 2021-04-18 15:32:02 +02:00
task_relation_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
task_relation_test.go Add events (#777) 2021-02-02 22:48:37 +00:00
task_relation.go Fix task relations not getting properly cleaned up when deleting them 2021-07-19 23:40:18 +02:00
task_reminder_test.go feat: add time zone setting for reminders (#1092) 2022-01-16 11:05:56 +00:00
task_reminder.go feat: add time zone setting for reminders (#1092) 2022-01-16 11:05:56 +00:00
tasks_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
tasks_test.go Reorder tasks, lists and kanban buckets (#923) 2021-07-28 19:06:40 +00:00
tasks.go feat: upgrade golangci-lint to 1.45.2 2022-03-27 16:55:37 +02:00
team_members_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
team_members_test.go Add events (#777) 2021-02-02 22:48:37 +00:00
team_members.go Fix swagger docs for create requests 2021-05-26 21:56:31 +02:00
teams_rights_test.go Update copyright year 2021-02-02 20:19:13 +01:00
teams_rights.go Update copyright year 2021-02-02 20:19:13 +01:00
teams_test.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
teams.go Ensure case insensitive search on postgres (#927) 2021-08-01 21:40:25 +00:00
unit_tests.go Task mentions (#926) 2021-07-29 15:42:49 +00:00
unsplash.go Update copyright year 2021-02-02 20:19:13 +01:00
user_delete_test.go fix: deleting users with no namespaces 2021-11-22 22:34:20 +01:00
user_delete.go fix: user deletion schedule 2021-12-12 12:29:05 +01:00
user_list.go feat: upgrade golangci-lint to 1.45.2 2022-03-27 16:55:37 +02:00
users_list_test.go Refactor user email confirmation + password reset handling (#919) 2021-07-13 20:56:02 +00:00
users.go Fix getting user info from /user endpoint for link shares 2021-04-07 15:02:57 +02:00