Commit graph

10525 commits

Author SHA1 Message Date
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
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
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
Tomas Babej
8b86f16f25 Variant: Do not use implicit fall-through
The code handling the comparison between the date and string types would
convert the variants to correct types, but only through multi-level
fall-through in the switch statement, which is always a bit of a
dangerous construct.

Added explicit return for the non-trivial case, preventing the need for
the fall-through.

Closes #2502.
2021-06-12 15:49:06 -04:00
Tomas Babej
8f16824538 tests: Add test for partial operator over date/string pairs 2021-06-12 15:49:06 -04:00
Tomas Babej
c98fe5f34b
cmake: Remove recur2.cpp from CMakeLists 2021-06-12 10:40:47 -04:00
Tomas Babej
34ffd164bb
recur: Remove references to the new recurrence mechanism 2021-06-12 10:40:29 -04:00
Tomas Babej
4db7990df8
recur: Remove WIP recurrence overhaul implementation
The feature has been moved to 3.0 milestone. Also, we are now using
feature branches for development of new functionality, in order to make
the development branch more stable.
2021-06-12 10:37:23 -04:00
Tomas Babej
7011cfb05a Changelog: Document TW #2503 2021-06-10 21:44:07 -04:00
Tomas Babej
5e5a48606f CmdExec: Prevent user from executing an empty command
Closes #2503.
2021-06-10 21:44:07 -04:00
Tomas Babej
496773b386
README: Update Discord badge with an invite link 2021-06-06 01:19:51 -04:00
Tomas Babej
3581260ee7 performance: Move sample data out of the perl script
This made language statistics look much more skewed towards Perl than
they should be.
2021-06-06 00:27:39 -04:00
Tomas Babej
c5a210e4a0 README: Add contributor-relevant badges 2021-06-06 00:27:39 -04:00
Tomas Babej
47d17a4365 README: Move downloads stats under main header 2021-06-06 00:27:39 -04:00
Tomas Babej
920c31ea72 README: Add downloads badges to the top 2021-06-06 00:27:39 -04:00
Tomas Babej
b7541571b5 test: Replace cmake3 with cmake for CentOS builds 2021-06-06 00:27:39 -04:00
Tomas Babej
d705abee32 README: Make it clear what discussions are we talking about 2021-06-06 00:27:39 -04:00
Tomas Babej
2ae4db3a37 README: Add libera.chat 2021-06-06 00:27:39 -04:00
Tomas Babej
b5134c9be3 README: Add Github discussions and download statistics 2021-06-06 00:27:39 -04:00
Tomas Babej
acc72e7e3d README: Make some of the links actionable 2021-06-06 00:27:39 -04:00
Tomas Babej
f3abccd151 README: Promote our communities 2021-06-06 00:27:39 -04:00
Tomas Babej
7d053f29e1 README: Add Taskwarrior heading 2021-06-06 00:27:39 -04:00