Commit graph

113 commits

Author SHA1 Message Date
Dustin J. Mitchell
dadc9473d3 unit tests for TCString 2022-02-06 16:21:42 +00:00
Dustin J. Mitchell
e5625e1597 entry and wait time support 2022-02-01 02:45:28 +00:00
Dustin J. Mitchell
96b59dd5b2 serialize C integration tests 2022-01-26 02:15:57 +00:00
Dustin J. Mitchell
ca0279a73f move existing integration tests into new crate 2022-01-26 00:57:06 +00:00
Dustin J. Mitchell
c006cbe8e5 test bindings in an integration-tests crate 2022-01-25 02:54:01 +00:00
Dustin J. Mitchell
46e08bc040 add some UUID support 2022-01-25 02:26:04 +00:00
Dustin J. Mitchell
e590dc7c98 add tc_replica_undo 2022-01-25 02:26:04 +00:00
Dustin J. Mitchell
ce56127bbf create / free replicas, plus error handling 2022-01-25 02:26:04 +00:00
Dustin J. Mitchell
33f5f056b1 first bits of a dynamc lib 2022-01-25 02:26:04 +00:00
Dustin J. Mitchell
63804b5652 Implement 'ta import'
Tests include "TODO" notes for data not handled by TaskChampion,
including links to the associated GitHub issues.
2022-01-06 00:06:19 +00: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
2e65d172cd Add an integration test for snapshot syncing 2021-10-24 21:41:41 -04: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
13a96efacb Add snapshot encoding / decoding 2021-10-11 20:58:36 -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
a143660124 Switch to pretty_assertions 2021-10-02 01:08:26 +00:00
Dustin J. Mitchell
c62eeb4fcb v0.4.1 2021-09-26 09:26:38 -04:00
Dustin J. Mitchell
fe7d421c21 v0.4.0 2021-09-25 23:42:16 +00: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
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
0de4fc1dee Add confirmation prompts for modifications of lots of tasks 2021-06-10 10:55:42 -04:00
Dustin J. Mitchell
31ff46bee6 pin mdbook version 2021-06-09 15:38:36 -04:00
Dustin J. Mitchell
ebdae1f44a
Merge pull request #266 from taskchampion/issue80
Add support for synthetic tags
2021-06-09 15:28:10 -04:00
Dustin J. Mitchell
6c9ba48674 Use built to determine version information 2021-06-07 15:29:12 -04:00
Dustin J. Mitchell
3d698f7939 add support for synthetic tags 2021-06-05 20:27:02 -04:00
Dustin J. Mitchell
5f28eb3a74
produce Tag instances in the parser (#260)
and..
* fix usage-docs plugin
* upgrade mdbook
2021-06-04 09:26:12 -04:00
Dustin J. Mitchell
0259a5e2e2 parse durations and timestamps 2021-05-31 08:49:37 -04:00
Dustin J. Mitchell
e977fb294c Implement modifying tasks' "wait" value 2021-05-31 08:49:35 -04:00
dbr
3c8c7d4888 Updated Cargo.lock 2021-05-28 12:19:49 +10:00
dbr
aa2340965e Merge branch 'main' into sqlstore 2021-05-28 12:17:09 +10:00
dbr
baa6b59e39 Remove KvStorage 2021-05-28 12:10:18 +10:00
Dustin J. Mitchell
09558f9329 Substitute usage information into the documentation
This will simplify keeping documentation in sync with the code.
2021-05-24 08:51:05 -04:00
Dustin J. Mitchell
bb7130f960 Support multiple exit codes
..with more specific error enums.
2021-05-18 18:57:55 +00:00
Dustin J. Mitchell
fd62c8327b Add a ta config set subcommand
This uses `toml_edit` to edit the config file in-place.  For the moment,
it only supports top-level arguments, but can be extended to do other
things later.
2021-05-16 09:53:41 -04:00
Dustin J. Mitchell
94d1217d81 Switch to TOML for configuration 2021-05-02 17:04:26 -04:00
dbr
60ff0a8d11 Very WIP (i.e broken) start of SQLite storage in server 2021-04-29 16:00:22 +10:00
dbr
cefd6fd6cc Serialize Uuid as string for nicer debugging
Also implement ToSql/FromSql for Operation/TaskMap so errors are handled properly
2021-04-29 10:39:29 +10:00
dbr
e06e33bee4 Remove kv storage backend
Now uses sqlite by default
2021-04-29 00:20:13 +10:00
dbr
e40724b381 Start of SQLite backed storage #131 2021-04-22 11:48:05 +10:00
Dustin J. Mitchell
6a0bddab38
Merge pull request #205 from taskchampion/issue201
Replace tempfile with tempdir
2021-04-17 09:09:56 -04:00
Dustin J. Mitchell
c8d6619d71 Replace tempfile with tempdir 2021-04-16 19:29:27 -04:00
Dustin J. Mitchell
27c20074e3 run 'git audit fix' 2021-04-16 19:22:08 -04:00
Dustin J. Mitchell
6c0f7a736f Use dirs-next instead of dirs 2021-04-16 09:21:59 -04:00
Dustin J. Mitchell
ed576a8c6c
Merge pull request #193 from djmitche/dependabot/cargo/serde_json-1.0.64
Bump serde_json from 1.0.59 to 1.0.64
2021-03-31 18:29:39 -04:00
Dustin J. Mitchell
51f9a1093e
Merge pull request #192 from djmitche/dependabot/cargo/textwrap-0.13.4
Bump textwrap from 0.12.1 to 0.13.4
2021-03-31 18:29:32 -04:00
Dustin J. Mitchell
ad878b7b29
Merge pull request #191 from djmitche/dependabot/cargo/actix-web-3.3.2
Bump actix-web from 3.3.0 to 3.3.2
2021-03-31 18:29:19 -04:00
dependabot[bot]
35ae3420b8
Bump serde_json from 1.0.59 to 1.0.64
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.59 to 1.0.64.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.59...v1.0.64)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 07:30:38 +00:00
dependabot[bot]
e69efe79d0
Bump textwrap from 0.12.1 to 0.13.4
Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.12.1 to 0.13.4.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgeisler/textwrap/compare/0.12.1...0.13.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 07:30:25 +00:00
dependabot[bot]
5b28993be0
Bump actix-web from 3.3.0 to 3.3.2
Bumps [actix-web](https://github.com/actix/actix-web) from 3.3.0 to 3.3.2.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/web-v3.3.0...web-v3.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 07:30:16 +00:00