Thomas Lauf
62863d0443
Convert repository owner to lowercase for GHCR
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-01-13 23:42:17 +01:00
Thomas Lauf
fd380acf9b
Update Fedora docker images
...
- Remove no longer supported versions
- Add current versions
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-01-13 23:04:21 +01:00
Thomas Lauf
8b865eac81
Use github.repository_owner instead of github.actor
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-01-13 22:46:01 +01:00
Thomas Lauf
ba0514543f
Update Fedora docker images
...
- Remove no longer supported versions
- Add current versions
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-01-13 22:41:13 +01:00
Thomas Lauf
84c65f0324
Fix spelling
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-01-07 18:58:42 +01:00
Thomas Lauf
ca5de02c56
Add workflow for Timewarrior Docker image
...
The workflow is triggered by a successful run of the test suite and creates a Docker image with a Timewarrior installation of the current branch (restricted to develop/stable)
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-01-05 23:20:00 +01:00
Thomas Lauf
246af8acfd
Update AUTHORS, ChangeLog
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-31 22:22:49 +01:00
Thomas Lauf
55ad661e0d
Add tests for configurable report range, update man page
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-31 22:22:49 +01:00
Thomas Lauf
c8eee25f5b
Update AUTHORS, ChangeLog
...
Closes #406
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-30 00:23:16 +01:00
Thomas Lauf
47b9fa8e9c
Move details on POSIX time to section NOTES
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-30 00:16:00 +01:00
Daniel Hornung
cb7f439022
DOC: Added additional information about minimum posix time.
...
Signed-off-by: Daniel Hornung <d.hornung@indiscale.com>
2022-12-30 00:02:25 +01:00
Daniel Hornung
49f389ef8c
DOC: Man page now says that POSIX time is at least 315532800.
...
Signed-off-by: Daniel Hornung <d.hornung@indiscale.com>
2022-12-30 00:00:12 +01:00
Thomas Lauf
2a8976d2b7
Update AUTHORS, ChangeLog
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 23:24:24 +01:00
xerus2000
5994c7b4ce
Update README
2022-12-29 23:15:10 +01:00
xerus2000
c8069d7cd7
Adjust man page
2022-12-29 23:15:10 +01:00
Thomas Lauf
f9ca6c6f5e
Make display of columns for week number and day of week configurable
...
Closes #389
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 18:06:07 +01:00
Thomas Lauf
a5194c5b2e
Update documentation on dates and durations
...
Relates to #252
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 16:20:03 +01:00
Thomas Lauf
817bc492a3
Fix synopsis
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 15:36:59 +01:00
Thomas Lauf
7a020a3384
Replace Markdown syntax with AsciiDoc syntax
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 15:33:38 +01:00
Thomas Lauf
f3ed2f1554
Update documentation on annotation command
...
Relates to #266
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 15:30:47 +01:00
Thomas Lauf
3c6caff67b
Show error message if command track is called with an id
...
Closes #439
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 14:24:37 +01:00
Thomas Lauf
30c69d8e78
Extract format constants
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 14:07:41 +01:00
Thomas Lauf
da06ff22da
Add curly braces
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 14:07:41 +01:00
Thomas Lauf
8d14f8b5f6
Move retrieval of configuration up
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 14:07:41 +01:00
Thomas Lauf
86117c44e4
Add missing period
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 14:07:41 +01:00
Thomas Lauf
6f141f6301
Make display of tags column configurable
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 14:07:41 +01:00
Thomas Lauf
6fdda2bacd
Extract column index calculation from loop
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 14:07:41 +01:00
Thomas Lauf
44bd1dee31
Code style: add curly braces
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 14:07:41 +01:00
Thomas Lauf
4f8a04e4ca
Separate colum index from column offset
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 14:07:41 +01:00
Thomas Lauf
fabf70faa3
Add default value to Rules::getBoolean
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 14:07:41 +01:00
Thomas Lauf
5265b26e86
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>
2022-12-29 14:07:41 +01:00
Thomas Lauf
d056719a36
Enable to enter quoted hints as config value
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 14:01:20 +01:00
Thomas Lauf
29a00fbcd9
Code style: add curly braces
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 14:01:20 +01:00
Thomas Lauf
4a0ab1236d
Add --details option
...
- extracts and prints affected tests
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 13:56:21 +01:00
Thomas Lauf
06e3df1d82
Update AUTHORS, ChangeLog
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-28 22:13:35 +01:00
Thomas Lauf
30d1ba2b2a
Add example descriptions
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-28 22:13:35 +01:00
Scott Mcdermott
bf26176243
Allow specification of intervals to the export command
...
This patch checks if intervals are given on cli to 'timew export', and
if so will filter only those numbered IDs out from the db. This lets
the user that already knows the interval(s) they want to know about, to
ask for only those, without parsing the whole thing (similar to how we
can do this for taskwarrior IDs).
If both intervals and other filters -- time range or tags -- are given,
this is considered an error. There would seem to be little use to AND
or OR tags/ranges with IDs because anyone that knew IDs to request would
already know those IDs met their requirement.
Fixes #510
Code additions from @lauft PR notes (thanks!):
- factor out 'filtering' so we can do only one call to getTracked()
- simplify (tag || range) to .empty(), which already checks both
- error message phrasing
Signed-off-by: Scott Mcdermott <scott@smemsh.net>
2022-12-28 22:13:35 +01:00
Thomas Lauf
e708a63612
Remove double entry
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-28 22:13:35 +01:00
Thomas Lauf
5c93b43f30
Add paragraphs
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-27 23:28:56 +01:00
Thomas Lauf
9ff8d78afc
Update Authors/ChangeLog
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-11-28 21:48:23 +01:00
Thomas Lauf
25ff673521
Beautify tests
...
- Replace unused return variables with '_'
- Use 'expected' and 'actual' for test values
- Add whitespace
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-11-25 16:54:10 +01:00
Thomas Lauf
3d3faafcba
Compare output of 'timew help start' to 'man timew-start'
...
The command timew help should redirect to the man tool.
Instead of testing that the header of the output matches some reg ex,
test that the outputs of `timew help` and `man` are equal
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-11-25 16:52:39 +01:00
Thomas Lauf
d8b7080dcb
Compare output of command help with unknown argument with corresponding output of man command
...
The error message may be different depending on the man tool used.
Therefore, instead of hard-coding it into the test, ensure it is the same as produced by the man command
Closes #512
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-11-25 16:50:29 +01:00
Thomas Lauf
a38ecf6380
Add Alpine Linux test images
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-11-25 16:47:16 +01:00
Thomas Lauf
c80442c878
Make report 'totals.py' display data when no time range specified
...
Use interval array to determine whether there is data to display
Move interval truncation outside the loop, combine/rework 'no data' messages
Close #450
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-11-01 23:04:46 +01:00
Thomas Lauf
8e8df2aaa8
Update AUTHORS, ChangeLog
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-11-01 18:32:56 +01:00
Thomas Lauf
49c33591b8
Make report 'totals.py' truncate intervals to search range
...
Closes #505
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-11-01 18:32:56 +01:00
Thomas Lauf
6d826cb1d2
Update AUTHORS
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-11-01 11:23:35 +01:00
Thomas Lauf
4a0d5f9063
Configure Dependabot for GitHub actions
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-10-19 12:27:18 +02:00
Thomas Lauf
a3eef76b43
Update GitHub checkout action to v3
...
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-10-16 22:53:02 +02:00