Commit graph

241 commits

Author SHA1 Message Date
Thomas Lauf
d925553116 Prevent the CLI to canonicalize the binary
Some checks failed
tests / tests (alpine-edge, Alpine Edge, ubuntu-latest) (push) Has been cancelled
tests / tests (alpine-latest, Alpine Latest, ubuntu-latest) (push) Has been cancelled
tests / tests (archlinux, Archlinux Base, ubuntu-latest) (push) Has been cancelled
tests / tests (centos-stream9, Centos Stream9, ubuntu-latest) (push) Has been cancelled
tests / tests (debianstable, Debian Stable, ubuntu-latest) (push) Has been cancelled
tests / tests (debiantesting, Debian Testing, ubuntu-latest) (push) Has been cancelled
tests / tests (fedora41, Fedora 41, ubuntu-latest) (push) Has been cancelled
tests / tests (fedora42, Fedora 42, ubuntu-latest) (push) Has been cancelled
tests / tests (opensuseleap, OpenSUSE Leap, ubuntu-latest) (push) Has been cancelled
tests / tests (opensusetumbleweed, OpenSUSE Tumbleweed, ubuntu-latest) (push) Has been cancelled
tests / tests (osx-13, macOS 13, macos-13) (push) Has been cancelled
tests / tests (osx-14, macOS 14, macos-14) (push) Has been cancelled
tests / tests (osx-15, macOS 15, macos-15) (push) Has been cancelled
tests / tests (ubuntu2204, Ubuntu 22.04, ubuntu-latest) (push) Has been cancelled
tests / tests (ubuntu2204, Ubuntu 24.04, ubuntu-latest) (push) Has been cancelled
For one, it is not necessary: the first argument on the command line is not used any
further when executing the command line. Also, if there is an extension that starts
with the same string as the binary, the binary gets also marked as an extension.
This in turn prohibits the detection of any other Timewarrior command such that e.g.
the command 'summary' in 'timew summary' is treated as an external report, which is
not present and thus makes the call fail.

Closes #677

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2025-06-25 19:07:42 +02:00
Thomas Lauf
1d3dd8f440 Make display of ids and annotations the default in summary report for new users
Initialize a new 'timewarrior.cfg' file with the respective settings

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2025-06-01 23:39:53 +02:00
Thomas Lauf
331433c688 Update ChangeLog
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2025-05-30 22:51:01 +02:00
Thomas Lauf
f36ad01788 Fix man page section numbers and reference formatting
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2025-04-26 19:49:10 +02:00
Thomas Lauf
e092041a38 Enter commit hash for release 1.8.0
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2025-04-20 21:38:42 +02:00
Thomas Lauf
2257084710 Release 1.8.0
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2025-04-20 19:57:23 +02:00
Thomas Lauf
576af3fd5f Add the sub-command range to the modify command.
Additionally, this also makes the syntax of the `modify` command more flexible.
Before, the sub-command had to follow right after the `modify` command, now one can also write it with the id between command and sub-command:
```
$ timew modify @1 start 09:30
```
The `range` sub-command modifies both start and end time of the interval. It expects a range as parameter, e.g.
```
$ timew modify @3 range 08:15 - 13:37
```

Closes #627

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2025-04-19 22:59:33 +02:00
Thomas Lauf
3f763c031c Update ChangeLog
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2025-04-09 18:26:24 +02:00
Thomas Lauf
2d05922390 Update ChangeLog 2024-09-13 16:12:01 +02:00
Thomas Lauf
d502bf8ee4 Update ChangeLog
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2024-09-13 14:29:15 +02:00
Thomas Lauf
a20ea5a3ff Update ChangeLog & AUTHORS
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2024-06-17 23:10:27 +02:00
Thomas Lauf
61e5540ad2 Add 'retag' to command listing in internal help
Closes #600

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2024-04-26 17:00:39 +02:00
Thomas Lauf
9f8b0fbc28 Enter commit hash for release 1.7.1
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2024-01-16 21:26:51 +01:00
Thomas Lauf
2514d506b5 Release 1.7.1
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2024-01-16 13:35:02 +01:00
Thomas Lauf
7007e16819 Restore quoting of tags with hyphen
Closes #580 #582

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2024-01-16 13:35:02 +01:00
Thomas Lauf
980a8be58b Update ChangeLog, AUTHORS
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2024-01-13 18:57:49 +01:00
Thomas Lauf
5b5b68f153 Enter commit hash for release 1.7.0
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-12-24 21:11:17 +01:00
Thomas Lauf
63f7fc95a0 Release 1.7.0
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-12-24 19:45:20 +01:00
Thomas Lauf
bf683eedbf Filter summary based on ids
Closes  #573

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-12-23 22:38:31 +01:00
Thomas Lauf
159b8c642a Remove hyphen from list of items triggering quoting
Closes #576

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-12-23 13:08:05 +01:00
Thomas Lauf
f2e11a0d2d Update task-timewarrior-hook script to 87a3426d8153f92aaee2edf36b2de62e48c4de0e 2023-12-22 23:13:13 +01:00
Thomas Lauf
446afd0818 Update ChangeLog, AUTHORS
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-10-31 11:35:38 +01:00
Thomas Lauf
fd9ee0f780 Refactor holidays/refresh script
- Use double quotes only
- Optimize imports
- Extract function gather_locales
- Update help text

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-10-10 19:00:45 +02:00
Thomas Lauf
40e6c4adaf Use 'sonw' instead of 'eow'
With GothenburgBitFactory/taskwarrior#2519, all 'end of *' named dates have been changed to be the last minute of the respective date.
This caused the ':lastweek' hint to miss the last day of its range.

Closes #493

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-10-10 13:04:47 +02:00
Thomas Lauf
0b641da598 Add ":today" hint
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-10-10 13:04:47 +02:00
Thomas Lauf
2fee9f6592 Enter commit hash for release 1.6.0
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-09-18 13:19:37 +02:00
Thomas Lauf
1882058c5e Release 1.6.0
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-09-18 12:33:17 +02:00
Thomas Lauf
bddb874034 Improve configurability of CMake install directories
Make installation of man pages configurable per section
Use configuration variable TIMEW_BINDIR
Update documentation

Closes #553

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-08-11 15:30:26 +02:00
Thomas Lauf
be0243ba1a Update ChangeLog
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-08-04 23:17:03 +02:00
Thomas Lauf
5dc9925cde Update AUTHORS, ChangeLog
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-07-31 22:49:05 +02:00
Thomas Lauf
a2374fb67b Update AUTHORS, ChangeLog
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-07-29 15:45:01 +02:00
Thomas Lauf
04dc8f36e7 Update AUTHORS, ChangeLog
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-06-23 20:06:22 +02:00
Thomas Lauf
3008e458e9 Update project to C++17
- Bump CMake to minimum version 3.8
- Set C++ standard to 17
- Remove CMAKE_LEGACY_CYGWIN_WIN32 compatibility mode
- Remove C++11 stuff
- Update documentation

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-06-17 08:41:07 +02:00
Thomas Lauf
213798a29a Update AUTHORS, ChangLog
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-06-08 17:33:14 +02:00
Thomas Lauf
20a8a4a4cc Cleanup CMake files
- Replace tabs with spaces
- Use lowercase for CMake commands
- Unify alignment
- Remove superfluous empty line
- Add space after CMake command

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-05-26 09:53:03 +02:00
Thomas Lauf
81bc57309b Unify wording
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-05-26 09:30:11 +02:00
Thomas Lauf
660966dc9f Update ChangeLog, AUTHORS
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-05-26 09:28:07 +02:00
Thomas Lauf
6a5789140e Update ChangeLog, AUTHORS
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-05-26 09:12:23 +02:00
Thomas Lauf
a30a2a1a8b Fix typo
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-17 08:17:29 +02:00
Thomas Lauf
3e5e926ea7 Update ChangeLog
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-14 14:51:26 +02:00
Thomas Lauf
70a1082224 Use local man pages in tests
We need to set the value of `MANPATH` to the local man pages when running helper function 'run_cmd_wait_nofail'.
Use the already set Timewarrior environment for this.

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-14 13:50:35 +02:00
Thomas Lauf
57695d27f4 Update ChangeLog, AUTHORS
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-14 12:32:14 +02:00
Thomas Lauf
c35ab51736 Enter commit hash for release 1.5.0
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-04 23:35:38 +02:00
Thomas Lauf
3acf704195 Prepare for release 1.5.0
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-04 22:44:44 +02:00
Thomas Lauf
2d7dd35bd5 Update man pages for annotation command and summary report
Closes #444

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-01-14 21:20:56 +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
246af8acfd Update AUTHORS, ChangeLog
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
2a8976d2b7 Update AUTHORS, ChangeLog
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2022-12-29 23:24:24 +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