Commit graph

3130 commits

Author SHA1 Message Date
Thomas Lauf
2535c2c399 Cleanup includes
- Remove unused includes
- Use '<..>' style consistently
- Strip any paths from include
- Replace deprecated C++ headers
- Sort includes according to LLVM rules
  https://llvm.org/docs/CodingStandards.html#include-style

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-06-17 14:19:02 +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
dependabot[bot]
6c287870dd Bump docker/build-push-action from 4.0.0 to 4.1.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-15 14:29:29 +02:00
dependabot[bot]
7b6510ddb8 Bump docker/login-action from 2.1.0 to 2.2.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-15 14:29:13 +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
Benedikt Fein
dd330aa0db Fix man page build for out-of-source builds
Fixes #461

Signed-off-by: Benedikt Fein <fein@fim.uni-passau.de>
2023-06-08 17:29:05 +02:00
Thomas Lauf
814956b920 Update README.md for shell completions
- Add repository and license for fish completion
- Beautify repository URLs
- Updated texts

Relates to #535

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-05-29 16:42:44 +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
aa73688ed4 Update README.md for shell completions
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-05-26 09:27:24 +02:00
Povl Filip Sonne-Frederiksen
fc6aab7d8b Adding fish shell completion
Signed-off-by: Povl Filip Sonne-Frederiksen <22501790+pfmephisto@users.noreply.github.com>
2023-05-26 09:15:53 +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
Ankur Sinha (Ankur Sinha Gmail)
834af86d5b fix(totals.py): correct handling of report end when it is available
Signed-off-by: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
2023-05-26 08:51:13 +02:00
Ankur Sinha (Ankur Sinha Gmail)
99d18f42bb fix(totals.py): return all info when no arguments are provided
Signed-off-by: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
2023-05-26 08:51:13 +02:00
Ankur Sinha (Ankur Sinha Gmail)
75d037d353 fix(totals.py): end report at current time if a task is being tracked
Fixes #540

Signed-off-by: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur@gmail.com>
2023-05-26 08:51:13 +02:00
dependabot[bot]
00a2bf55da Bump sigstore/cosign-installer from 3.0.3 to 3.0.5
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.0.3 to 3.0.5.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.0.3...v3.0.5)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 13:50:50 +02:00
dependabot[bot]
84fdf76f9a Bump sigstore/cosign-installer from 3.0.2 to 3.0.3
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-02 22:14:22 +02:00
Thomas Lauf
12c089aee1 Fix wording
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-18 23:18:43 +02:00
Thomas Lauf
38cf5aa6f4 Fix <br> tag
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-18 23:18:43 +02:00
Thomas Lauf
5b87c962e7 Polish up bash scripts
- Use '-n' instead of '! -z'
- Quote all the things...
- Enclose variable references in '{}'

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-18 23:18:43 +02:00
Thomas Lauf
14d364bff7 Drop unused assignments
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-17 08:17:29 +02:00
Thomas Lauf
81225722aa Remove stuff for Python < 3.7
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-17 08:17:29 +02:00
Thomas Lauf
2a73e3bc77 Add quotes to soothe spell checker
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-17 08:17:29 +02:00
Thomas Lauf
a1d418a686 Fix grammar and spelling
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-17 08:17:29 +02:00
Thomas Lauf
0d56d1c790 Apply 'one sentence, one line'
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-17 08:17:29 +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
b7ffa3ad5d Use GitHub flavored Markdown to center text
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-16 19:28:00 +02:00
Thomas Lauf
1bfeb60988 Add 'alt' attribute to image, replace deprecated attribute 'align'
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-16 19:24:56 +02:00
Thomas Lauf
b5832d7991 Fix numbering in Markdown file
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-16 19:24:56 +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
c8a85850ea Update branch names in CONTRIBUTING.md
Main development branch is 'develop'.
Branch 'stable' always points to the latest release.

Closes #531

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-14 14:48:45 +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
Maxim Beder
f4085904ee Fix summary truncating long annotations
Fixed summary truncating annotations which are too long and consisting
of multibyte characters, by using UTF8 aware functions for measuring
length of the string and takeing a substring.

Signed-off-by: Maxim Beder <macsim.beder@gmail.com>
2023-04-14 12:23:16 +02:00
Maxim Beder
68d4978b7d Add test for summary truncating long anotations
When calling summary command with :annotations hint, if the annotation
is longer than a certain length, it's going to be truncated. The issue
is that the length and truncation are done on a raw string without
considering UTF8 multibyte characters, so there are edge cases when an
annotation is truncated in the middle of a character creating an invalid
UTF8 string.

Added a test case for this scenario.

Signed-off-by: Maxim Beder <macsim.beder@gmail.com>
2023-04-14 12:23:16 +02:00
dependabot[bot]
c85e0c01ca Bump sigstore/cosign-installer from 3.0.1 to 3.0.2
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v3.0.1...v3.0.2)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-12 20:31:12 +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
082708a7ca Fix typos and wording
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-04 22:44:44 +02:00
Thomas Lauf
14bed139f6 Update copyrights
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-04 22:44:44 +02:00
Thomas Lauf
c48f595661 Change Discord invite link point directly to the Timewarrior channel
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-02 21:51:27 +02:00
Thomas Lauf
fd1e26eff3 Add configurable default range for report 'gaps'
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-02 18:50:35 +02:00
Thomas Lauf
c6130157c6 Specify ranges without ':' in configuration
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-04-02 18:50:35 +02:00
Thomas Lauf
edfabcc1e5 Update on-modify.timewarrior to 360fc2292a5eab46cd5c9bdd4cc791b6f9ea5e9a
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-03-24 20:46:37 +01:00
Thomas Lauf
123632a806 Add link to dedicated repository for on-modify.timewarrior hook
Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-03-19 22:56:51 +01:00
dependabot[bot]
087d2cc3d4 Bump sigstore/cosign-installer from 2.8.1 to 3.0.1
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 2.8.1 to 3.0.1.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](https://github.com/sigstore/cosign-installer/compare/v2.8.1...v3.0.1)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-09 19:33:16 +01:00
dependabot[bot]
d935701687 Bump docker/build-push-action from 3.3.0 to 4.0.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.3.0 to 4.0.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.3.0...v4.0.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-05 17:55:13 +01:00
dependabot[bot]
d6cd1df330 Bump docker/build-push-action from 3.2.0 to 3.3.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-17 19:06:55 +01:00
Thomas Lauf
1489367042 Document limitation when using a named date as range end
Closes #421

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
2023-01-16 23:32:26 +01:00