Commit graph

11601 commits

Author SHA1 Message Date
Scott Mcdermott
178c17d032 tests: Add tests for bug #2519 2021-07-18 09:45:00 -04:00
Scott Mcdermott
07e2c23a91 tests: Add test cases for 'by' date attribute modifier 2021-07-18 09:45:00 -04:00
Scott Mcdermott
4738f25d59 AUTHORS: Add Scott Mcdermott among authors
Scott added date attribute filter modifier 'by'
2021-07-18 09:45:00 -04:00
Scott Mcdermott
3948484cf5 docs: Document TW #2536 2021-07-18 09:45:00 -04:00
Scott Mcdermott
ac3572a4f5 CLI2: New filter attribute modifier "by", uses '<=' for comparison
This patch allows e.g. due.by:tomorrow that includes all of tomorrow,
because it uses less than or equal to, rather than just less than, like
'before' modifier does.  This allows matching the last second of the day
when filtering by "due.by:eod", and more generally allows date filters
with an inclusive end-interval specification.

Closes #2536
2021-07-18 09:45:00 -04:00
Vladyslav Tronko
af6f2b55ec Fix matching project name during urgency calculation 2021-07-17 16:21:59 -04:00
Tomas Babej
9c2affa0cb libshared: Bump to fix build on OS-X
See [0] and [1] for reference.

[0]: https://github.com/GothenburgBitFactory/libshared/pull/43
[1]: https://github.com/GothenburgBitFactory/libshared/pull/44
2021-07-12 23:02:01 -04:00
Tomas Babej
171a586a3f
libshared: Bump version to enforce safer file writes
Part of a solution for #152.
2021-07-11 20:28:21 -04:00
Tomas Babej
bc9888fc5e Changelog: Document TW #2530 2021-07-10 07:24:57 -04:00
Tomas Babej
79c860053b tests: Add a regression test for #2530 2021-07-10 07:24:57 -04:00
Tomas Babej
85a6c90c2b AUTHORS: Add Pablo among authors
Pablo reported regression TW #2519.
2021-07-03 10:47:38 -04:00
Tomas Babej
dc5e925b43 docs: Document TW #2519 2021-07-03 10:47:38 -04:00
Tomas Babej
fb208cf494 tests: Fix incorrect test constant 2021-07-03 10:47:38 -04:00
Tomas Babej
11b85373ee tests: 'eoy' is the last second of the year 2021-07-03 10:47:38 -04:00
Tomas Babej
9d80570073 libshared: Bump version
This brings back behaviour of "end of" named dates to point to the last
second of the given date.

Closes #2519.
2021-07-03 10:47:38 -04:00
Tomas Babej
8b1cc98d05 Changelog: Document TW #2514 2021-06-26 14:38:18 -04:00
Tomas Babej
3cbbe7e701 docs: Add reportaman to authors 2021-06-26 14:38:18 -04:00
Tomas Babej
d76b4e0d86 tests: Add test for TW #2514 2021-06-26 14:38:18 -04:00
Tomas Babej
cc0ba46873 feedback: Consider start and end attributes when reporting task durations
Instead of relying on the modification times, we can use the values of
the start and end attributes, if available.

This allows us to perform historical changes that result in correct
duration intervals reported by task info.

Closes #2514
2021-06-26 14:38:18 -04:00
Tomas Babej
a519cf59f2 docs: Document TW #1804 2021-06-23 00:13:03 -04:00
Tomas Babej
88eca5f535 tests: Add test for TW #1804 2021-06-23 00:13:03 -04:00
Tomas Babej
8f7e41b392 parseJSON: Allow annotations with missing entry values
This relaxes previous stringent requirements on the input values during
import.

Closes #1804.
2021-06-23 00:13:03 -04:00
Tomas Babej
6d81acd355 parseJSON: Ensure NULL values from failed lookups do not persist
The operator[] insets values if the lookup fails, which creates null
pointers.

See: https://en.cppreference.com/w/cpp/container/map/operator_at
2021-06-23 00:13:03 -04:00
Tomas Babej
75422e80e3 reproduce: Add gdb into the image 2021-06-23 00:13:03 -04:00
dbr
cae03c6d7e Initial changelog
Also simple process/script to manage entries in PR's without merge conflicts:

1. Unreleased entries area stored as text files in ".changelogs/"
2. On release these are concatenated together and put in CHANGELOG.md

Script basically just add line of text to a "YYYY-MM-DD-branch.txt" formatted file
2021-06-20 22:13:57 +10:00
Tomas Babej
388a8917ba ChangeLog: Document #1938 2021-06-19 12:29:41 -04:00
Tomas Babej
3bf714e715 tests: Add test for TW #1938 2021-06-19 12:29:41 -04:00
Tomas Babej
c8560a8c96 test: Make all tests executable 2021-06-19 12:29:41 -04:00
Tomas Babej
a219bd30cf Task: Bump annotations with duplicate entry values
Since annotations are stored as a map, duplicate entry values lead to
data loss (i.e. annotations overriding each other on import). Perhaps
the choice of using a map internally should be reconsidered.

Closes #1938.
2021-06-19 12:29:41 -04:00
Tomas Babej
3fed9e9abb
README: Add sponsoring section 2021-06-19 11:48:17 -04:00
Tomas Babej
dbcf2c4fe0
README: Add sponsors badge 2021-06-19 07:42:59 -04:00
Dustin J. Mitchell
c8533c86f5
Merge pull request #273 from taskchampion/issue269
Create a new doc if necessary in `ta config set`
2021-06-16 21:29:46 -04:00
Dustin J. Mitchell
cc5240eeec Create config directory if necessary 2021-06-16 13:45:00 +00:00
Dustin J. Mitchell
8e84bf0446 Create a new doc if necessary in ta config set 2021-06-16 13:44:42 +00:00
dbr
86deed3197 Remove unused Transaction from Txn
Also note about why StorageTxn isn't implemented
2021-06-16 11:22:17 +10:00
dbr/Ben
53cba2b31e
Merge pull request #276 from taskchampion/ci-platforms
CI tests on Windows+macOS
2021-06-16 10:55:43 +10:00
Dustin J. Mitchell
a709f8a132 Merge remote-tracking branch 'upstream/main' into ci-platforms 2021-06-15 10:13:51 -04:00
Dustin J. Mitchell
9c35b31fbe
Merge pull request #275 from taskchampion/issue274
Fix arg parsing on Windows
2021-06-15 10:13:00 -04:00
dbr
75f0447c7b Fix empty-dir problem with server also, and add tests 2021-06-15 22:09:54 +10:00
dbr
c3bc93f631 Clipplease 2021-06-15 22:02:32 +10:00
dbr
e72b990ea2 Avoid error if DB folder does not exist 2021-06-15 20:01:47 +10:00
dbr
2f533d2f3a Merge remote-tracking branch 'origin/main' into sqlstore
# Conflicts:
#	Cargo.lock
#	taskchampion/Cargo.toml
2021-06-15 19:49:36 +10:00
dbr
2a2aef2b25 Maybe this time 2021-06-15 12:25:04 +10:00
dbr
5769b20702 Important missing line to make CI actually run on matrix.os 2021-06-15 12:20:55 +10:00
dbr
41c5cc842d Typo 2021-06-15 12:16:09 +10:00
dbr
fbc97c871b Test on Windows+macOS 2021-06-15 12:13:15 +10:00
Dustin J. Mitchell
62c17ab411 Fix arg parsing on Windows 2021-06-14 10:57:44 -04:00
Tomas Babej
b77bbaa988
Changelog: Document TW #1788 2021-06-12 17:00:11 -04:00
Tomas Babej
2d5c506d5e
README: Link more badges to sources of information 2021-06-12 15:49:53 -04:00
Tomas Babej
f4a31620f1 Changelog: Document TW #2502 2021-06-12 15:49:06 -04:00