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
f229715242
Merge pull request #295 from taskchampion/issue23-config
...
add server-side config --snapshot-{days,versions}
2021-10-10 15:24:18 -04:00
Dustin J. Mitchell
ef1d8f37a8
write config defaults once
2021-10-10 01:43:30 +00:00
Dustin J. Mitchell
329c0d0aef
move ServerConfig to crate::server
2021-10-10 01:35:12 +00:00
Dustin J. Mitchell
4d19ca7bdb
add server-side config --snapshot-{days,versions}
2021-10-10 01:28:05 +00:00
Dustin J. Mitchell
74aee49107
Merge pull request #297 from djmitche/versionid-nil
...
Replace NO_VERSION_ID with NIL_VERSION_ID
2021-10-09 21:14:43 -04:00
Dustin J. Mitchell
45e2f2cde8
Merge pull request #296 from djmitche/app-configure
...
Use App::configure to set up actix
2021-10-09 21:14:22 -04:00
Dustin J. Mitchell
dd9bef0a7b
Merge pull request #294 from taskchampion/taskdb-refactor
...
factor taskdb into multiple modules
2021-10-09 21:13:56 -04:00
Dustin J. Mitchell
aaac1c3356
Use App::configure to set up actix
...
This avoids the need for the messy cache-control-header macro.
Otherwise, it has no effect.
2021-10-09 18:07:25 -04:00
Dustin J. Mitchell
536b88c8f4
Replace NO_VERSION_ID with NIL_VERSION_ID
...
The docs refer to this as the "nil version ID" so let's do the same.
This started out more ambitiously, to change this to `VersionId::NIL`,
but that required making VersionId a newtype and all of the implicit
conversions from VersionId to Uuid would have to be explicit. That
didn't seem wortht the trouble.
2021-10-09 17:59:09 -04:00
Dustin J. Mitchell
a0a3f36a16
factor taskdb into multiple modules
2021-10-09 09:47:10 -04:00
Dustin J. Mitchell
f109056340
Merge pull request #289 from taskchampion/issue23
...
Add support for snapshots
2021-10-09 09:40:57 -04:00
Dustin J. Mitchell
7bb6ea6865
Request snapshots in AddVersion
2021-10-08 23:15:48 -04:00
Dustin J. Mitchell
d1da8eee52
Add add_snapshot API method
2021-10-08 23:15:48 -04:00
Dustin J. Mitchell
e2f79edad6
add get_snapshot API method
2021-10-08 23:15:48 -04:00
Dustin J. Mitchell
53d1f8dbc2
update get_child_version to distinguish gone and not-found
2021-10-08 23:15:48 -04:00
Dustin J. Mitchell
2570956710
[breaking] Add snapshot support to server storage
...
This refactors the storage API pretty substantially, and represents a
breaking change to the schema used by the sqlite storage
2021-10-08 23:15:48 -04:00
Dustin J. Mitchell
8d2be3b495
add get_version to server storage api
2021-10-08 23:15:48 -04:00
Dustin J. Mitchell
eadce9f15a
Add documentation for snapshots
2021-10-08 23:15:48 -04:00
Dustin J. Mitchell
75fd0ff83a
Remove cargo fmt error
...
This was added to test the 'Formatting' action. It works :)
2021-10-03 22:26:03 +00:00
Dustin J. Mitchell
e2320fb9aa
Merge pull request #293 from taskchampion/cargo-fmt
...
add a cargo-fmt job to CI
2021-10-02 22:16:06 -04:00
Dustin J. Mitchell
fbd140a706
add fmt error
2021-10-02 15:03:41 +00:00
Dustin J. Mitchell
de5d46d3c7
add a cargo-fmt job to CI
2021-10-02 14:57:47 +00: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
d923dc7bae
Merge pull request #288 from taskchampion/docs-update
...
Docs update
2021-10-01 22:08:40 -04:00
Dustin J. Mitchell
a143660124
Switch to pretty_assertions
2021-10-02 01:08:26 +00:00
Dustin J. Mitchell
267288c9e6
Merge pull request #290 from taskchampion/update-cache
...
use actions/cache@v2
2021-09-29 08:42:16 -04:00
Dustin J. Mitchell
a95860b0d1
use actions/cache@v2
2021-09-29 12:24:02 +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
7881b2993c
update docs
2021-09-26 09:34:35 -04:00
Dustin J. Mitchell
bfb732947c
more build-docs fixes
2021-09-26 09:33:37 -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
e9dfcaaa44
more updates to build-docs.sh
2021-09-25 23:53:08 +00:00
Dustin J. Mitchell
67b2f261a1
fix build-docs to create gh-pages branch
2021-09-25 23:50:39 +00:00
Dustin J. Mitchell
fe7d421c21
v0.4.0
2021-09-25 23:42:16 +00:00
Dustin J. Mitchell
b1b17310e6
fix typo
2021-09-25 23:16:16 +00:00
Dustin J. Mitchell
56bcd24e37
Merge pull request #285 from taskchampion/issue99
...
Add cache-control headers to API responses
2021-09-25 10:26:38 -04:00
Dustin J. Mitchell
217f3bf28a
Add cache-control headers to API responses
2021-09-15 22:32:35 +00:00
Dustin J. Mitchell
3837a61b6f
Merge pull request #284 from taskchampion/issue128
...
Add integration test for replica/server interactions
2021-09-14 09:36:57 -04:00
Dustin J. Mitchell
7d3aae4555
allow publishing taskchampion-cli, to allow 'cargo install'
2021-09-14 09:26:44 -04:00
Dustin J. Mitchell
757f923c66
reword README
2021-09-13 17:42:16 -04:00
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
Dustin J. Mitchell
ebcf9527dc
refactor sync-server into a lib crate with a binary
2021-09-12 21:30:04 +00:00
dbr/Ben
4690cf7fc8
Merge pull request #206 from dbr/sqlstore
...
Switch to SQLite storage backend
2021-09-10 10:04:08 +09:30