Commit Graph

133 Commits

Author SHA1 Message Date
Dustin J. Mitchell
fb39c90592 Add an integration test combining replica and server
This confirms that task changes are replicated via the server.
2021-09-12 21:30:05 +00:00
dbr
43ca0623b1 Merge branch 'main' into sqlstore 2021-09-10 09:59:35 +10:00
Dustin J. Mitchell
72b4941485 fix new clippy warnings 2021-09-05 21:55:09 +00:00
Ravi Sawlani
f824d6123c added tests 2021-08-25 12:42:37 +05:30
Ravi Sawlani
c5e18aec31 lint issue 2021-08-24 22:41:45 +05:30
Ravi Sawlani
90b06df30f refactor 2021-08-24 22:38:27 +05:30
Ravi Sawlani
4a3b19bba6 added common business date acronyms 2021-08-24 22:26:30 +05:30
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
c3bc93f631 Clipplease 2021-06-15 22:02:32 +10:00
Dustin J. Mitchell
62c17ab411 Fix arg parsing on Windows 2021-06-14 10:57:44 -04:00
Dustin J. Mitchell
0de4fc1dee Add confirmation prompts for modifications of lots of tasks 2021-06-10 10:55:42 -04:00
Dustin J. Mitchell
31ff46bee6 pin mdbook version 2021-06-09 15:38:36 -04:00
Dustin J. Mitchell
ebdae1f44a Merge pull request #266 from taskchampion/issue80
Add support for synthetic tags
2021-06-09 15:28:10 -04:00
Dustin J. Mitchell
4ccd33bc0c Merge pull request #265 from taskchampion/issue264
Treat partially-matched arguments as an error
2021-06-09 15:27:10 -04:00
Dustin J. Mitchell
6c9ba48674 Use built to determine version information 2021-06-07 15:29:12 -04:00
dbr/Ben
0c43f82176 Merge pull request #262 from taskchampion/usagecmdname
Remove path from ta command in usage text
2021-06-06 15:00:35 +10:00
Dustin J. Mitchell
cf3a053a0e Add PENDING, COMPLETED, DELETED synthetic tags
Note that DELETED is not tested since we don't yet support deleting
tasks.
2021-06-05 21:30:27 -04:00
Dustin J. Mitchell
2b3383842e Treat partially-matched arguments as an error 2021-06-05 09:15:24 -04:00
Dustin J. Mitchell
21c4f95fd9 fix clippy 2021-06-05 09:03:59 -04:00
dbr
4cc41a8731 Clippy the Pendant 2021-06-05 12:05:56 +10:00
dbr
8069d1badc Remove path from ta command in usage text
Previously would show things like "target/bin/ta [filter] list"
2021-06-05 11:54:30 +10:00
Dustin J. Mitchell
5f28eb3a74 produce Tag instances in the parser (#260)
and..
* fix usage-docs plugin
* upgrade mdbook
2021-06-04 09:26:12 -04:00
Dustin J. Mitchell
ac6b020b6d minor updates from review 2021-06-01 09:24:40 -04:00
Dustin J. Mitchell
b18701c3cb remove many duration strings to simplify 2021-06-01 09:20:14 -04:00
Dustin J. Mitchell
0259a5e2e2 parse durations and timestamps 2021-05-31 08:49:37 -04:00
Dustin J. Mitchell
288f29d9d5 refactor argparse::args into submodules 2021-05-31 08:49:37 -04:00
Dustin J. Mitchell
1aae7e059d Add wait to reports, for display and sorting 2021-05-31 08:49:37 -04:00
Dustin J. Mitchell
cf078e1233 add 'wait' to the info output 2021-05-31 08:49:37 -04:00
Dustin J. Mitchell
e977fb294c Implement modifying tasks' "wait" value 2021-05-31 08:49:35 -04:00
Dustin J. Mitchell
9e3646bf84 Summarize tasks nicely in console output 2021-05-30 16:36:20 -04:00
Dustin J. Mitchell
adfde8be15 Merge pull request #236 from taskchampion/issue140
Generate usage documentation
2021-05-26 11:03:49 -04:00
Dustin J. Mitchell
09558f9329 Substitute usage information into the documentation
This will simplify keeping documentation in sync with the code.
2021-05-24 08:51:05 -04:00
dbr
b944e27880 Make 'cargo run' run ta binary 2021-05-24 19:44:32 +10:00
Dustin J. Mitchell
45db886f2a add 'ta config path' 2021-05-23 09:12:04 -04:00
Dustin J. Mitchell
7f046a8e27 Merge pull request #225 from taskchampion/issue217
Support multiple exit codes
2021-05-21 10:26:24 -04:00
Dustin J. Mitchell
9d78654573 Merge pull request #221 from taskchampion/issue177
Require a filter be specified for modifications
2021-05-21 10:25:45 -04:00
dbr
00089639fe Include git HEAD rev in version output
Closes #241
2021-05-21 16:31:25 +10:00
Dustin J. Mitchell
bb7130f960 Support multiple exit codes
..with more specific error enums.
2021-05-18 18:57:55 +00:00
Dustin J. Mitchell
0852bfd195 Require a filter be specified for modifications
This filter can either be `*` or some "real" filter.  But an empty set
of arguments no longer automatically matches all tasks.
2021-05-18 18:57:46 +00:00
Dustin J. Mitchell
2345a57940 fix clippy warning 2021-05-18 18:57:29 +00:00
Dustin J. Mitchell
023e638335 Merge pull request #231 from taskchampion/working_set_rebuild_bug
Fix a working set rebuild bug
2021-05-17 21:36:56 -04:00
Dustin J. Mitchell
fd62c8327b Add a ta config set subcommand
This uses `toml_edit` to edit the config file in-place.  For the moment,
it only supports top-level arguments, but can be extended to do other
things later.
2021-05-16 09:53:41 -04:00
Dustin J. Mitchell
a778423cbc store the filename of the loaded config file 2021-05-16 09:53:41 -04:00
Dustin J. Mitchell
09efb33073 move Settings to its own module
..and add some tests for it
2021-05-16 09:53:40 -04:00
Dustin J. Mitchell
fa9e6ddcd5 Don't unwrap in production code 2021-05-16 09:40:35 -04:00
Dustin J. Mitchell
febe6d8b68 sort the 'next' repot by id 2021-05-11 14:58:57 -04:00
Dustin J. Mitchell
ac53383aea remove debugging prints 2021-05-09 21:30:58 -04:00
Dustin J. Mitchell
0f0f2b0e75 rename CLI to ta 2021-05-04 17:09:47 -04:00
Dustin J. Mitchell
94d1217d81 Switch to TOML for configuration 2021-05-02 17:04:26 -04:00