Dustin J. Mitchell
08faac957a
Add a getting-started section
2020-11-29 20:14:06 -05:00
Dustin J. Mitchell
33283658d5
Merge pull request #75 from djmitche/issue54
...
use log and env_logger, and add some logging around sync
2020-11-29 18:34:01 -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
c117494ce6
Merge pull request #74 from djmitche/issue66
...
Implement actual on-disk storage for sync-server.
2020-11-29 17:47:11 -05:00
Dustin J. Mitchell
8b233de46e
Merge pull request #73 from djmitche/issue72
...
Add done and delete subcommands
2020-11-29 17:42:02 -05:00
Dustin J. Mitchell
786d5b6a17
Implement actual on-disk storage for sync-server.
2020-11-29 17:41: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
42d988d601
fix clippy warnings
2020-11-29 14:05:51 -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
7a2857e814
Merge pull request #70 from djmitche/issue9
...
Support configuration of the cli
2020-11-28 22:02:07 -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
87596bb1f0
update Cargo.lock to latest
2020-11-28 15:14:49 -05:00
Dustin J. Mitchell
091f5b5b17
use semver ranges for dependencies
2020-11-28 15:13:30 -05:00
Dustin J. Mitchell
3c976a324e
Create dependabot.yml
2020-11-28 11:31:12 -05:00
Dustin J. Mitchell
383f77b5c6
Merge pull request #69 from djmitche/issue6
...
add 'task modify' (that can only modify description right now)
2020-11-28 11:26:02 -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
b34ef34b2a
Merge pull request #67 from djmitche/issue58
...
take configuration in env vars temporarily
2020-11-28 10:16:56 -05:00
Dustin J. Mitchell
1a92613ddc
take configuration in env vars temporarily
2020-11-28 10:02:17 -05:00
Dustin J. Mitchell
97a8a87c24
Merge pull request #64 from djmitche/issue57
...
Add RemoteServer to the taskchampion crate
2020-11-27 20:23:39 -05:00
Dustin J. Mitchell
a02f864b87
Merge pull request #65 from djmitche/issue63
...
do not require taskchampion from sync-server
2020-11-27 20:15:25 -05:00
Dustin J. Mitchell
2a37f090a5
Add RemoteServer to the taskchampion crate
2020-11-27 20:15:17 -05:00
Dustin J. Mitchell
3092a6bb7f
do not require taskchampion from sync-server
2020-11-27 20:08:54 -05:00
Dustin J. Mitchell
d46f20e75a
adjust visibility, comment
2020-11-27 18:16:42 -05:00
Dustin J. Mitchell
f59355f827
set default theme to ayu
2020-11-26 23:38:14 -05:00
Dustin J. Mitchell
f5859bc45c
fix docs to include all files
2020-11-26 23:38:14 -05:00
Dustin J. Mitchell
efb1bc6a39
Create CONTRIBUTING.md
2020-11-26 23:36:54 -05:00
Dustin J. Mitchell
367c2fa2bd
Create LICENSE
2020-11-26 23:20:45 -05:00
Dustin J. Mitchell
b10dc01213
Create CODE_OF_CONDUCT.md
2020-11-26 23:18:32 -05:00
Dustin J. Mitchell
c96e40e494
Create SECURITY.md
2020-11-26 23:16:39 -05:00
Dustin J. Mitchell
d53d83d06e
Merge pull request #62 from djmitche/issue37
...
replica.new_task now invents its own uuid
2020-11-26 23:13:15 -05:00
Dustin J. Mitchell
eb47cf4e7f
scrpit to push docs
2020-11-26 23:02:15 -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
2064057688
fix clippy warnings
...
I don't know why these are "intermittent"
2020-11-26 22:36:31 -05:00
Dustin J. Mitchell
26b17c6dbc
Revert "add signing support"
...
It turns out we don't need this.
This reverts commit e92fc0628b
.
2020-11-26 22:34:20 -05:00
Dustin J. Mitchell
b0dd3905e7
fix crate name for tc-sync-server
2020-11-26 22:30:07 -05:00
Dustin J. Mitchell
e32b9d1bf6
Merge pull request #61 from djmitche/issue55
...
Implement the sync server
2020-11-26 20:00:22 -05:00
Dustin J. Mitchell
5b1b911bf7
Move add_version and get_child_version to server module
...
..and add some tests specifically for those functions, in the absence of
all the HTTP nonsense.
2020-11-26 19:59:52 -05:00
Dustin J. Mitchell
fb22b9686f
refactor sync server to use pluggable storage
...
..with a fixed implementation of the replica / server protocol logic.
There isn't much logic yet, and there's a lot of boilerplate to take
care of, so this looks a little lopsided, but I'm confident this is the
right structure for this code's future.
2020-11-26 19:59:52 -05:00
Dustin J. Mitchell
7472749fee
add tests for API methods
2020-11-26 19:59:52 -05:00
Dustin J. Mitchell
3fb2327a5b
add docs for replica/server protocol
2020-11-26 19:59:52 -05:00
Dustin J. Mitchell
2dae271851
build an in-memory sync server implementation
2020-11-26 19:59:52 -05:00
Dustin J. Mitchell
2457d8bc43
move types in crate::types to crate::server
2020-11-26 19:59:52 -05:00
Dustin J. Mitchell
e84871931f
Refactor HTTP implementation of API methods
2020-11-26 19:59:52 -05:00
Dustin J. Mitchell
a5c06008b3
use a trait object for the server, for dynamic dispatch
2020-11-26 19:59:52 -05:00