Add configurable default range for reports

Query rule 'reports.<name>.range' for the specific default range of the report.
Use rule 'reports.range' to configure an overall default range for all reports.
Make internal reports 'summary', 'month', 'week', 'day', and 'gaps' use this feature.

Closes #477

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2022-09-23 14:04:01 +02:00
parent d056719a36
commit 5265b26e86
8 changed files with 84 additions and 11 deletions

View file

@ -21,6 +21,8 @@
- #470 Do not leak filter in IntervalFilterFirstOf
(thanks to Shaun Ruffel)
- #474 Make display of ids and annotations in summary report configurable
- #477 Add configurable default range for reports
(thanks to Oivvio Polite)
- #478 Add support for XDG Base Directory specification on Unixes
(Thanks to Stanisław Wysocki)
- #491 Tracking an interval in the future while actively tracking time results in a database inconsistency