Dustin J. Mitchell
a8d45c67c6
Encrypt content sent to the server
...
This implements client-side encryption, so that users' task information
is not availble to the server (or to anyone who does not have the
`encryption_secret`).
2020-12-27 18:51:41 +00:00
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
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
922e71cd4d
use a s!(..) shorthand in CLI tests
2020-12-24 21:15:56 +00: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
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
a0568f017c
Refactor filtering to start with a universe
2020-12-23 03:50:34 +00: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
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
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
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
Dustin J. Mitchell
451690afb7
v0.2.0
2020-11-29 20:59:09 -05:00
Dustin J. Mitchell
81cee8d375
use CARGO_PKG_VERSION for version
2020-11-29 20:35:25 -05:00
Dustin J. Mitchell
0a1ee470f7
use log and env_logger, and add some logging around sync
2020-11-29 18:18:28 -05:00
Dustin J. Mitchell
1b7dbd0715
remove delete_task from the Replica API so it's not misused
2020-11-29 14:26:47 -05:00
Dustin J. Mitchell
af7363f3aa
add delete subcommand
2020-11-29 14:07:16 -05:00
Dustin J. Mitchell
29ab993397
add done
2020-11-29 14:07:16 -05:00
Dustin J. Mitchell
d832b0b859
fix merge error
2020-11-29 11:18:29 -05:00
Dustin J. Mitchell
47cd051bd7
Merge pull request #71 from djmitche/issue7
...
Add start and stop commands
2020-11-28 23:19:21 -05:00
Dustin J. Mitchell
0e4ab4b88f
Add start and stop commands
2020-11-28 23:12:37 -05:00
Dustin J. Mitchell
6d08eacd98
limit config file usage to just yaml
2020-11-28 19:43:30 -05:00
Dustin J. Mitchell
0e926df578
Add configuration-file support to the 'task' command
2020-11-28 18:18:43 -05:00
Dustin J. Mitchell
8af7ba286d
Factor replica and sync configuration into simple owned structs
2020-11-28 16:57:32 -05:00
Dustin J. Mitchell
091f5b5b17
use semver ranges for dependencies
2020-11-28 15:13:30 -05:00
Dustin J. Mitchell
a665ff83de
add 'task modify' (that can only modify description right now)
2020-11-28 11:17:38 -05:00
Dustin J. Mitchell
1a92613ddc
take configuration in env vars temporarily
2020-11-28 10:02:17 -05:00
Dustin J. Mitchell
2a37f090a5
Add RemoteServer to the taskchampion crate
2020-11-27 20:15:17 -05:00
Dustin J. Mitchell
d46f20e75a
adjust visibility, comment
2020-11-27 18:16:42 -05:00
Dustin J. Mitchell
0f98727d9b
replica.new_task now invents its own uuid
2020-11-26 22:44:13 -05:00
Dustin J. Mitchell
3537db9bbe
implement a local sync server
2020-11-25 19:13:32 -05:00
Dustin J. Mitchell
8f7e2e2790
add a 'task sync' command using a copy of the test server
2020-11-25 18:07:04 -05:00
Dustin J. Mitchell
ca70d2c914
add cargo clippy to CI
2020-11-24 13:02:14 -05:00
Dustin J. Mitchell
2232aa8083
Merge pull request #47 from djmitche/issue43
...
Update handling of working set and show id's more widely
2020-11-24 12:19:47 -05:00
Dustin J. Mitchell
1c5e9b009b
Add Replica::get_working_set_index and use it
...
This is probably ridiculously inefficient, as it will load the working
set for each and every task listed. Optimize later!
2020-11-24 12:05:30 -05:00
Dustin J. Mitchell
2dd86edd4a
use Replica::get_working_set_task
2020-11-24 11:54:48 -05:00
Dustin J. Mitchell
c8f14d68cb
export the Uuid type from taskchampion
2020-11-24 11:44:21 -05:00
Dustin J. Mitchell
8233763295
add an 'info' subcommand
2020-11-24 11:31:56 -05:00
Dustin J. Mitchell
f31a96176d
use prettytable for tabular outputs
2020-11-23 21:58:45 -05:00
Dustin J. Mitchell
fe4183c3ca
Refactor command-line handling into modules per subcommands
2020-11-23 21:29:46 -05:00
Dustin J. Mitchell
e0b69a62b1
fix --help metadata
2020-11-23 16:18:24 -05:00