Commit graph

150 commits

Author SHA1 Message Date
Dustin J. Mitchell
acd4aefc17
Merge pull request #313 from djmitche/issue89
Add support for annotations
2021-10-31 09:49:25 -04:00
Dustin J. Mitchell
e9b3611fd9 Use tag_<tag> instead of tag.<tag>
This aligns with the Taskwarrior data model.
2021-10-29 20:41:37 -04:00
Dustin J. Mitchell
4314b8bc2d Add support for annotations
This matches the taskwarrior task model for annotations.
2021-10-29 20:28:23 -04:00
Dustin J. Mitchell
7fe5553093 fix errors from merges 2021-10-26 22:37:51 -04:00
Dustin J. Mitchell
7c8c85f27f
Merge pull request #301 from djmitche/issue299
Drop tindercrypt, document encryption
2021-10-26 22:05:59 -04:00
Dustin J. Mitchell
8df3e4f2f8 use TW's semantics for start 2021-10-24 20:57:58 -04:00
Dustin J. Mitchell
2f7c11bcc3
Merge pull request #305 from djmitche/issue23-client-apply
Client initialization from snapshots
2021-10-20 22:22:51 -04:00
Dustin J. Mitchell
c63a21797a remove dbg!(..) 2021-10-20 21:25:28 -04:00
Dustin J. Mitchell
ec35d4fa20 use a distinct error for out-of-sync replica 2021-10-20 21:23:29 -04:00
Dustin J. Mitchell
c72cae648d Apply snapshots automatically on empty taskdbs 2021-10-20 21:23:29 -04:00
Dustin J. Mitchell
0af66fd6c8 Validate encryption using externally-generated data 2021-10-19 18:31:30 -04:00
Dustin J. Mitchell
17f5521ea4 add an app_id to the encryption AAD 2021-10-17 18:06:16 -04:00
Dustin J. Mitchell
4300f7bdda use CHACHA20_POLY1305 instead of AES_256_GCM 2021-10-17 17:37:32 -04:00
Dustin J. Mitchell
97d1366b66 move taskchampion::server::remote::crypto to taskchampion::server::crypto 2021-10-16 22:37:28 +00:00
Dustin J. Mitchell
0f39a3f3b2 [BREAKING CHANGE] drop use of tindercrypt, and use ring directly 2021-10-16 22:34:33 +00:00
Dustin J. Mitchell
ddfb327292 WIP 2021-10-15 02:56:46 +00:00
Dustin J. Mitchell
bd2189e589
Merge pull request #300 from djmitche/issue23-client
Client support for adding snapshots
2021-10-13 16:44:50 -04:00
Dustin J. Mitchell
1c6a5315c9 remove unused file 2021-10-11 21:29:49 -04:00
Dustin J. Mitchell
ed3475d9ea support avoiding snapshots 2021-10-11 21:00:08 -04:00
Dustin J. Mitchell
b97f6dc4d5 Send snapshots to server 2021-10-11 21:00:07 -04:00
Dustin J. Mitchell
13a96efacb Add snapshot encoding / decoding 2021-10-11 20:58:36 -04:00
Dustin J. Mitchell
bde19d7f07 Return SnapshotUrgency from AddVersion 2021-10-11 20:58:34 -04:00
Dustin J. Mitchell
b8d892878c document sync data formats 2021-10-11 20:56:45 -04:00
Dustin J. Mitchell
79f07b57ad more taskdb refactoring 2021-10-11 20:56:45 -04:00
Dustin J. Mitchell
4d19ca7bdb add server-side config --snapshot-{days,versions} 2021-10-10 01:28:05 +00:00
Dustin J. Mitchell
a0a3f36a16 factor taskdb into multiple modules 2021-10-09 09:47:10 -04:00
Dustin J. Mitchell
d01386f3ea
Merge pull request #292 from taskchampion/issue291
Switch to pretty_assertions
2021-10-02 10:54:25 -04:00
Dustin J. Mitchell
bcef6bf392 remove redundant {..} 2021-10-01 22:18:24 -04:00
Dustin J. Mitchell
a143660124 Switch to pretty_assertions 2021-10-02 01:08:26 +00:00
Dustin J. Mitchell
a76d7580ce cargo fmt 2021-09-26 13:59:58 -04:00
Dustin J. Mitchell
255cf29d4f Update docs
* improve linking
* parallel construction for storage and servers
* clarify rationale for Task/TaskMut
2021-09-26 13:59:04 -04:00
Dustin J. Mitchell
c62eeb4fcb v0.4.1 2021-09-26 09:26:38 -04:00
Dustin J. Mitchell
a122a28993 Add derive feature for serde
This feature had previously been indirectly required by a dependency,
and this is no longer the case.
2021-09-26 09:07:15 -04:00
Dustin J. Mitchell
fe7d421c21 v0.4.0 2021-09-25 23:42:16 +00:00
dbr
f8ed4cecdd Reset operation auto-increment ID 2021-09-04 13:05:21 +10:00
dbr
5db04ee1af Tidying 2021-09-04 13:05:10 +10:00
dbr
89e9a42374 Refactor calculation of next working set ID
As per Dustin's code-review comment
2021-09-04 13:02:03 +10:00
dbr
1d62799437 Deduplicate StoredUuid wrapper 2021-09-04 12:53:37 +10:00
dbr/Ben
477bf9e328
Tweaks from code review
Co-authored-by: Dustin J. Mitchell <dustin@v.igoro.us>
2021-09-04 12:05:30 +09:30
dbr
75f0447c7b Fix empty-dir problem with server also, and add tests 2021-06-15 22:09:54 +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
Dustin J. Mitchell
7956f6a34b implement FromStr instead of just from_str 2021-06-05 21:30:28 -04: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
0e60bcedaf hide the implementation of Tag 2021-06-05 21:20:36 -04:00
Dustin J. Mitchell
ff23c9148b refactor taskchampion::task into submodules 2021-06-05 21:20:10 -04:00
Dustin J. Mitchell
3d698f7939 add support for synthetic tags 2021-06-05 20:27:02 -04:00
Dustin J. Mitchell
e977fb294c Implement modifying tasks' "wait" value 2021-05-31 08:49:35 -04:00
Dustin J. Mitchell
d4f669ed6e Define and test an MSRV 2021-05-30 16:07:41 -04:00
dbr
7c665c9a77 Clippy things 2021-05-28 20:41:03 +10:00