vikunja-api/pkg/integrations
konrad 0a1d8c9404 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: https://kolaente.dev/vikunja/frontend/pulls/1342

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1086
2022-03-27 20:35:04 +00:00
..
_test.go.tpl Update copyright year 2021-02-02 20:19:13 +01:00
archived_test.go Update copyright year 2021-02-02 20:19:13 +01:00
healthcheck_test.go healthcheck endpoint (#998) 2021-10-03 18:37:02 +00:00
integrations.go feat: upgrade golangci-lint to 1.45.2 2022-03-27 16:55:37 +02:00
kanban_test.go Add names for link shares (#829) 2021-04-07 12:44:39 +00:00
link_sharing_auth_test.go Add link share password authentication (#831) 2021-04-11 13:17:50 +00:00
link_sharing_test.go Add names for link shares (#829) 2021-04-07 12:44:39 +00:00
list_test.go Update copyright year 2021-02-02 20:19:13 +01:00
login_test.go Add link share password authentication (#831) 2021-04-11 13:17:50 +00:00
register_test.go Add link share password authentication (#831) 2021-04-11 13:17:50 +00:00
task_collection_test.go feat: add date math for filters (#1086) 2022-03-27 20:35:04 +00:00
task_comment_test.go Add names for link shares (#829) 2021-04-07 12:44:39 +00:00
task_test.go Add names for link shares (#829) 2021-04-07 12:44:39 +00:00
token_test.go Update copyright year 2021-02-02 20:19:13 +01:00
user_change_password_test.go Update copyright year 2021-02-02 20:19:13 +01:00
user_confirm_email_test.go Add link share password authentication (#831) 2021-04-11 13:17:50 +00:00
user_list_test.go Enable searching users by full email or name 2021-04-07 18:28:58 +02:00
user_password_request_token_test.go Add link share password authentication (#831) 2021-04-11 13:17:50 +00:00
user_password_reset_test.go Add link share password authentication (#831) 2021-04-11 13:17:50 +00:00
user_show_test.go Update copyright year 2021-02-02 20:19:13 +01:00