Commit graph

11416 commits

Author SHA1 Message Date
Tomas Babej
35cab8845a
changelog: Document TW #2292 2021-01-14 18:21:44 -05:00
indev
098be0747d fix: remove lock file on interruption of 'task edit' (#2292) 2021-01-14 18:16:34 -05:00
Dustin J. Mitchell
3cccdc7e32 v0.3.0 2021-01-10 22:45:12 -05:00
Dustin J. Mitchell
9cfbe01271
Merge pull request #147 from djmitche/issue144
Reorganize the 'taskchampion' crate
2021-01-10 22:31:40 -05:00
Dustin J. Mitchell
ae4cee1ac3 add docs for the 'server' and 'storage' modules 2021-01-10 22:22:18 -05:00
Dustin J. Mitchell
02d9c577ab use StorageConfig instead of ReplicaConfig 2021-01-10 22:22:18 -05:00
Dustin J. Mitchell
b004b6cb93 use ServerConfig::into_server instead of server::from_config 2021-01-10 22:22:18 -05:00
Dustin J. Mitchell
15ffc62279 rename taskstorage to storage 2021-01-10 22:22:17 -05:00
Dustin J. Mitchell
a318ceebe2
Merge pull request #146 from djmitche/issue106
Adjust Tag syntax to match TaskWarrior
2021-01-09 23:00:52 -05:00
Dustin J. Mitchell
824c14b5b8 Notes about active development of TW 2021-01-10 03:51:46 +00:00
Dustin J. Mitchell
b95c146a7e Adjust Tag syntax to match TaskWarrior 2021-01-10 03:47:38 +00:00
Dustin J. Mitchell
2bacc05ced
Merge pull request #145 from djmitche/issue123
Centralize API for working set to a single struct
2021-01-09 18:42:36 -05:00
Dustin J. Mitchell
087769146e Centralize API for working set to a single struct
Rather than allow addressing tasks either by working set ID or uuid,
with attendant performance issues, this moves the API for the working
set to a single struct that just serves as a 1-1 mapping of indexes to
UUIDs.  It's up to the caller to use this information.
2021-01-09 23:42:27 +00:00
Dustin J. Mitchell
d06f2e5aeb
Merge pull request #143 from djmitche/issue125
Always pass Uuids by value
2021-01-09 17:57:29 -05:00
Dustin J. Mitchell
45d3e38c63 Always pass Uuids by value
Rust handles this well.  Fixes #125.
2021-01-09 22:09:06 +00:00
Jochen Sprickerhof
663c6575ce Use str_replace from libshared 2021-01-07 22:37:04 -05:00
Jochen Sprickerhof
a95205357c Support editing multi-line annotations (Closes: #2283)
Since e4b9c1f annotations where JSON encoded in task edit to escape
new lines (\n). But other strings where mangled as well, like https://
becoming https:\/\/, making it hard to edit.

This patch removes the JSON encoding and indents new lines instead.
2021-01-07 22:37:04 -05:00
Tomas Babej
1cbcdf0969
docs: Update ChangeLog with info about the 2.5.3 release 2021-01-04 01:06:04 -05:00
Tomas Babej
09ae7ce44d
NEWS: Update tested configurations 2021-01-04 01:01:10 -05:00
Tomas Babej
2f47226f91
cmake: Prevent nested tarballs (or other archives) in the release
This happened dring the release of the version 2.5.2.
2021-01-04 00:20:08 -05:00
Tomas Babej
d26f79a458
docs: Update copyright 2021-01-03 22:58:02 -05:00
Tomas Babej
ce6ff451b0
cmake: Update list of ignored source files 2021-01-03 22:52:50 -05:00
Tomas Babej
5466f19441
README: Update build status badge prior to the release 2021-01-03 22:52:02 -05:00
Tomas Babej
0db0ab1b3c
ci: Pass CONTAINER variable to the test execution step 2021-01-03 22:48:56 -05:00
Tomas Babej
fd34737330
ci: Remove rednudant declaration of runs-on 2021-01-03 22:48:44 -05:00
Tomas Babej
f48f89fbd9
ci: Remove integration with Travis 2021-01-03 22:48:37 -05:00
Tomas Babej
7de0a3afa4
ci: Add Github-workflow based CI pipeline 2021-01-03 22:47:08 -05:00
Tomas Babej
c5aba94233
NEWS: Update tested configurations 2021-01-03 22:35:21 -05:00
Tomas Babej
b7500776fe
docs: Document TW #2375 2021-01-03 22:34:54 -05:00
Dustin J. Mitchell
ca1b7da9bf
Merge pull request #142 from djmitche/issue68
Automatically add new pending tasks to working set after sync
2021-01-02 14:59:56 -05:00
Dustin J. Mitchell
5e92770eb8 Automatically rebuild working set after sync 2021-01-02 14:47:36 -05:00
Dustin J. Mitchell
dc2df10158 Control whether to renumber the working set when rebuilding it 2021-01-02 14:47:36 -05:00
Dustin J. Mitchell
b62370c150 Rename replica.gc to replica.rebuild_working_set
The command-line operation is still `gc`, but we'll break that down into
finer pieces in the replica.
2021-01-02 13:23:48 -05:00
Tomas Babej
620461766e
doc: Document TW #2101 2021-01-02 03:01:33 -05:00
Tomas Babej
9017cd6e53
doc: Update copyright to 2021 2021-01-02 02:48:22 -05:00
Tomas Babej
2ebf4b864d
ColTypeNumeric: Support date and duration variants
If the lexer identifies an expression as an date or a duration, it
should be re-cast into integer value.

Closes #2101.
2021-01-02 00:21:02 -05:00
Tomas Babej
a641e4315f
Variant: Support 64-bit numeric values
Closes #2101.
2021-01-01 23:57:34 -05:00
Dustin J. Mitchell
da63d77d9d
Merge pull request #141 from djmitche/issue102
Update documentation for reports, new CLI
2021-01-01 16:49:55 -05:00
Dustin J. Mitchell
8b4f345387 Update documentation for reports, new CLI
This is basically a redraft of the documentation to be more complete and
better cover some of the features added since it was written.
2021-01-01 21:18:49 +00:00
Tomas Babej
c4cdfdae64
tests: Simplify quote and escape tests to make them more transparent
Remove excessive escaping of backslashes with usage of raw strings. This
makes it more obvious what is the test input and expected output.

One test is currently failing after editing and was marked as expected
failure.
2020-12-31 18:10:52 -05:00
Tomas Babej
9753e22d0c
tests: Adjust tests enforcing incorrect behaviour
In 1a001cae, double json-decoding of the attribute values was removed,
and as such we need to adjust tests to actually enforce correct
behaviour.
2020-12-31 14:45:46 -05:00
Tomas Babej
1a001caedd
Task: Prevent double json-decoding of attribute values
In bd4a7081, json-decoding of attribute values was introduced as a
workaround to properly handle blackslashes in description and
annotations (see TW-880).

However, this behaviour is no longer present with the new parser and
introduces its own suite of issues (i.e. see #2140).

Closes #2140.
2020-12-31 14:23:55 -05:00
Tomas Babej
942f43d195
tests: Fix TW bug reference number 2020-12-31 14:20:02 -05:00
Dustin J. Mitchell
b29f75a075 fix to tc.yml to only build on pushes to main 2020-12-30 21:46:23 +00:00
Dustin J. Mitchell
d57efbec5d
Merge pull request #136 from djmitche/issue120
Parse reports from config, with defaults
2020-12-30 16:45:05 -05:00
Dustin J. Mitchell
46c3b31208 Parse reports from config, with defaults 2020-12-30 21:18:45 +00:00
Dustin J. Mitchell
2928bab41c
Merge pull request #133 from djmitche/issue121
Use named reports
2020-12-29 20:06:19 -05:00
Dustin J. Mitchell
705edce82b only run CI on pushes to main, not to topic branches 2020-12-30 01:02:00 +00:00
Dustin J. Mitchell
b7c12eec1e Allow filtering by status 2020-12-30 00:52:53 +00:00
Dustin J. Mitchell
83d8fc3b4e Factor out the unnecessary ModArg struct 2020-12-30 00:28:48 +00:00