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
dbr
11a3b7882b
Changelog entry!
2021-09-10 10:03:46 +10:00
dbr
43ca0623b1
Merge branch 'main' into sqlstore
2021-09-10 09:59:35 +10:00
dbr/Ben
4cbc9a805f
Merge pull request #279 from taskchampion/changelog
...
Basic changelog infrastructure
2021-09-10 09:26:24 +09:30
Dustin J. Mitchell
1ee07de6a9
Merge pull request #282 from taskchampion/issue281
...
Fix clippy and only run it with the MSRV
2021-09-06 10:12:39 -04:00
Dustin J. Mitchell
91b2e1164f
run clippy on the MSRV
2021-09-05 22:14:21 +00:00
Dustin J. Mitchell
72b4941485
fix new clippy warnings
2021-09-05 21:55:09 +00:00
dbr
8ca7f70cef
Store changelog snippets as .md
2021-09-05 17:02:48 +10:00
dbr
a4b67d9f4e
Remove unused error variant
2021-09-04 13:29:03 +10: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