Commit graph

11544 commits

Author SHA1 Message Date
Dustin J. Mitchell
6b70b47aa0 specify version ranges 2020-12-26 16:03:57 +00:00
Dustin J. Mitchell
c472e04a09
Merge pull request #127 from djmitche/issue76
Default to a local server, so `task sync` works out of the box
2020-12-26 10:45:15 -05:00
Dustin J. Mitchell
64b38ee814 add some debug logging 2020-12-26 15:34:00 +00:00
Dustin J. Mitchell
57834848f2 Default to a local server, so task sync works out of the box 2020-12-26 15:29:48 +00:00
Dustin J. Mitchell
db85ff86a1
Merge pull request #126 from djmitche/issue119
implement generic report generation
2020-12-26 09:59:12 -05:00
Dustin J. Mitchell
00f548c713 implement generic report generation 2020-12-26 04:11:20 +00:00
Dustin J. Mitchell
f264e74288 specify nom version 2020-12-25 04:18:24 +00:00
Dustin J. Mitchell
e7b7e88bc9 convert unrwap to expect and add testing 2020-12-25 02:52:49 +00:00
Dustin J. Mitchell
8a10fa8335 fix some more pedantic lints 2020-12-25 02:43:51 +00:00
Dustin J. Mitchell
46512b78d7
Merge pull request #118 from djmitche/issue112
use a s!(..) shorthand in CLI tests
2020-12-24 21:37:48 -05:00
Dustin J. Mitchell
922e71cd4d use a s!(..) shorthand in CLI tests 2020-12-24 21:15:56 +00:00
Dustin J. Mitchell
7e906ced22
Merge pull request #117 from djmitche/issue113
use static strings for usage
2020-12-24 16:15:51 -05:00
Dustin J. Mitchell
75aaf8d4ab use static strings for usage 2020-12-24 21:07:27 +00:00
Dustin J. Mitchell
7594144a2d
Merge pull request #115 from djmitche/issue110
Fix clippy warnings and make them all errors
2020-12-24 13:30:39 -05:00
Dustin J. Mitchell
8989b0d2e3 Fix clippy warnings and make them all errors 2020-12-24 17:39:49 +00:00
Dustin J. Mitchell
c75d07df94
Merge pull request #114 from djmitche/issue11
Support filtering by tags
2020-12-24 12:14:10 -05:00
Dustin J. Mitchell
8c9e240e97 Document filter and modification syntax 2020-12-24 17:04:51 +00:00
Dustin J. Mitchell
9c94a7b753 support filtering by tags 2020-12-24 16:38:08 +00:00
Dustin J. Mitchell
161c38807d
Merge pull request #109 from djmitche/issue11-filter-refactor
Refactor filtering to start with a universe
2020-12-24 11:05:32 -05:00
Dustin J. Mitchell
a0568f017c Refactor filtering to start with a universe 2020-12-23 03:50:34 +00:00
Dustin J. Mitchell
e6d60524fa
Merge pull request #107 from djmitche/issue103
Implement tags in the Replica API and the CLI
2020-12-22 21:06:37 -05:00
Dustin J. Mitchell
5ea72f878a display tags in 'task info' 2020-12-21 20:43:09 +00:00
Dustin J. Mitchell
54e8484bc2 Support CLI syntax for changing tags 2020-12-21 20:43:09 +00:00
Dustin J. Mitchell
28c5fb2268 Add support for task tags
Based on properties named `tag.<tag>` as already documented
2020-12-21 20:43:09 +00:00
Dustin J. Mitchell
141752bd4b
Merge pull request #98 from djmitche/issue44
Switch to a command-line API closer to TaskWarrior
2020-12-21 10:20:55 -05:00
Dustin J. Mitchell
8ba6277cce use 'atty' to detect when colors can be used 2020-12-20 19:54:38 -05:00
Dustin J. Mitchell
7d17740ca8 use a generic Write instance for command output 2020-12-20 19:45:24 -05:00
Dustin J. Mitchell
6b550e7516 implement cli help 2020-12-20 18:42:21 -05:00
Tomas Babej
3964e7f3de
Changelog: Fix attribution 2020-12-20 17:04:07 -05:00
Tomas Babej
9d32b34b49
docs: Add information about unicode characters 2020-12-20 15:37:01 -05:00
Tomas Babej
e6edac7edd
build: Update libshared to version supporting Unicode 11
Closes #2333.
2020-12-20 15:27:28 -05:00
Dustin J. Mitchell
2c579b9f01 Switch to a command-line API closer to TaskWarrior
* Use a parser (rather than clap) to process the command line
* Outline some generic support for filtering, reporting, modifying, etc.
* Break argument parsing strictly from invocation, to allow independent testing
2020-12-19 16:40:09 -05:00
Dustin J. Mitchell
87bb829634
Merge pull request #96 from srfraser/i88_append
subcommands: prepend and append to description
2020-12-18 16:38:38 -05:00
Simon Fraser
ee341ac7d5 subcommands: prepend and append to description
This currently uses format!() which may not be the best
option. Fixes #88
2020-12-17 12:59:50 +00:00
Tomas Babej
7dfff13b06
tests: Allow match for 8 bit color code in color.rules.t
The test proper coloring for overdue task from an hour ago fails,
even though the task is properly colored. This is because the blue color
gets upgraded to blue color in 256-color scheme, and hence is
represented with 38;5;4m instead of 34m.

Support both representations of the blue color in the given test.
2020-12-14 23:13:44 -05:00
Tomas Babej
982308412d
libshared: Updated to 418a1873aea42f0ed719218628b0ee166b2c281c 2020-12-14 22:37:13 -05:00
Tomas Babej
e37ab8a9ed
rules: Reduce code duplication 2020-12-14 22:35:38 -05:00
Tomas Babej
2336c4039d
rules: Mark coloring implementations that are not consistent with their corresponding virtual tags 2020-12-14 22:35:37 -05:00
Tomas Babej
2adc5994d5
rules: Make colorizeOverdue properly process dateEarlierToday date state
This makes the coloring implementation consistent with the
Task::is_overdue() method.

Closes #1998.
2020-12-14 22:35:37 -05:00
Tomas Babej
fbf8fe688e
CmdCalendar: Properly colorize overdue task from today
Even if task is due today, but the due time is in the past, it is
considered overdue according to the implementation of Task::is_overdue
method.

Make coloring in the calendar output consistent.
2020-12-14 22:35:36 -05:00
Tomas Babej
bfae79eac7
CmdCalendar: Remove accidental repeated blending 2020-12-14 22:35:35 -05:00
Tomas Babej
83a55ccfe5
tests: Add test for coloring an overdue task from earlier today 2020-12-14 22:35:34 -05:00
Tomas Babej
eb32c9d8d7
Context: Correctly handle XDG_CONFIG_HOME paths ending with '/' 2020-12-10 23:49:00 -05:00
Tomas Babej
f0e34a7ef7
Context: Do not append .config if XDG_CONFIG_HOME is defined
- Thanks to Julien Rabinow.
2020-12-10 23:34:59 -05:00
Tomas Babej
b64e754000
cmake: Bring back commit.h.in and cmake.h.in 2020-12-10 22:14:04 -05:00
Tomas Babej
8013654577
cmake: Add additional ignored files for make_package
Closes #2369.

- Thanks to Heiko Becker.
2020-12-10 21:52:56 -05:00
Tomas Babej
1a52c59356
tests: Add test to ensure 64 bit time_t 2020-12-10 00:51:41 -05:00
Tomas Babej
af5e81434f
tests: Parallelize more when compiling TW 2020-12-10 00:08:44 -05:00
Tomas Babej
6d74b62dc4
docs: Add entries for alternate location of taskrc to ChangeLog/NEWS 2020-12-09 22:57:57 -05:00
Tomas Babej
1b14ee80bc
docs: Clean up ChangeLog and NEWS with duplicated entries from 2.5.2
Many changes made in the 2.6.0 were cherry-picked into 2.5.2 release,
make sure those are not duplicated in 2.6.0 changelog / news.
2020-12-09 22:49:32 -05:00