Commit graph

329 commits

Author SHA1 Message Date
dbr
00089639fe Include git HEAD rev in version output
Closes #241
2021-05-21 16:31:25 +10:00
Dustin J. Mitchell
2345a57940 fix clippy warning 2021-05-18 18:57:29 +00:00
Dustin J. Mitchell
023e638335
Merge pull request #231 from taskchampion/working_set_rebuild_bug
Fix a working set rebuild bug
2021-05-17 21:36:56 -04:00
Dustin J. Mitchell
fd4b35f3fe
Merge pull request #228 from taskchampion/issue164-edit
Support editing config file from the command line
2021-05-17 21:35:54 -04:00
Dustin J. Mitchell
47b3148a38
Merge pull request #239 from taskchampion/fix-new-clippy
fix new clippy warnings
2021-05-17 21:34:03 -04:00
Dustin J. Mitchell
3bb198425c Use ta config set in documentation 2021-05-16 09:53:41 -04: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
a778423cbc store the filename of the loaded config file 2021-05-16 09:53:41 -04:00
Dustin J. Mitchell
09efb33073 move Settings to its own module
..and add some tests for it
2021-05-16 09:53:40 -04:00
Dustin J. Mitchell
73b6648d06 assert that working-set element 0 is None 2021-05-16 09:42:18 -04:00
Dustin J. Mitchell
5f6918fbc7 Skip element 0 when rebuilding the working set
The existing code was correct, assuming that element 0 is always None,
but this is clearer.
2021-05-16 09:42:17 -04:00
Dustin J. Mitchell
fa7623ebe7 Handle setting a working set item to None twice
Without this, setting an item to None that did not already exist failed,
because the kv delete operation did not find the referenced key.

This also checks that the index is not 0, which is not allowed as the
working set is 1-indexed.
2021-05-16 09:40:35 -04:00
Dustin J. Mitchell
3a2450cb23 provide context for errors to help debugging 2021-05-16 09:40:35 -04:00
Dustin J. Mitchell
fa9e6ddcd5 Don't unwrap in production code 2021-05-16 09:40:35 -04:00
Dustin J. Mitchell
cbe11a1d3d fix new clippy warnings 2021-05-16 09:38:40 -04:00
Dustin J. Mitchell
cea5ae87c7
Merge pull request #237 from taskchampion/issue151
[breaking] Include /v1/ in the sync-server paths
2021-05-16 09:18:19 -04:00
Dustin J. Mitchell
373cef9d33 [breaking] Include /v1/ in the sync-server paths
This is an incompatible change to the sync-server protocol.
2021-05-14 12:51:24 -04:00
Dustin J. Mitchell
febe6d8b68 sort the 'next' repot by id 2021-05-11 14:58:57 -04:00
Dustin J. Mitchell
ac53383aea remove debugging prints 2021-05-09 21:30:58 -04:00
Dustin J. Mitchell
3f1453b70b
Merge pull request #230 from taskchampion/issue100
Document environment variables all in one place
2021-05-08 09:56:57 -04:00
Dustin J. Mitchell
7aea34c7a3 Document environment variables all in one place 2021-05-07 11:16:10 -04:00
Dustin J. Mitchell
1d0ed132df remove spurious dependency from mdbook-deploy workflow
Fixes #227.
2021-05-05 16:55:21 +00:00
Dustin J. Mitchell
f30264b77f
Merge pull request #223 from taskchampion/issue222
rename CLI to `ta`
2021-05-04 17:19:42 -04:00
Dustin J. Mitchell
0f0f2b0e75 rename CLI to ta 2021-05-04 17:09:47 -04:00
Dustin J. Mitchell
73ad035bed
Merge pull request #220 from taskchampion/issue120
Fix doc links
2021-05-03 09:41:11 -04:00
Dustin J. Mitchell
5d8a1f50d4
Merge pull request #224 from taskchampion/issue164
Switch to TOML for configuration
2021-05-03 09:36:37 -04:00
Dustin J. Mitchell
94d1217d81 Switch to TOML for configuration 2021-05-02 17:04:26 -04:00
Dustin J. Mitchell
c696bf35d4 Fix doc links
`installation.md` was not being included due to using `-` instead of `*`
in `SUMMARY.md`.  The usage link was just incorrect.
2021-05-01 12:25:19 -04:00
Dustin J. Mitchell
b4a8b150a8
Merge pull request #218 from taskchampion/graphics
Add CGI assets
2021-05-01 10:43:03 -04:00
Dustin J. Mitchell
24011b5e8d
Merge pull request #212 from savchenko/main
Compatibility, deprecation and security policies
2021-04-28 13:55:27 -04:00
Andrew Savchenko
aad0496620
Add CGI assets
- Closes https://github.com/taskchampion/taskchampion/issues/207
2021-04-28 14:02:08 +09:30
Andrew Savchenko
8f0f8bf31b Add CGI assets
- Closes https://github.com/taskchampion/taskchampion/issues/207
2021-04-28 13:56:29 +09:30
Andrew Savchenko
db9d5483e8
Update Policy
- Closes https://github.com/taskchampion/taskchampion/pull/212
2021-04-28 13:43:06 +09:30
Andrew Savchenko
990c540563
Update Policy
- https://github.com/taskchampion/taskchampion/pull/212#discussion_r621457029
2021-04-28 13:37:11 +09:30
Andrew Savchenko
62f3dab049 Update Policy
- https://github.com/taskchampion/taskchampion/pull/212#discussion_r621458637
2021-04-28 12:20:34 +09:30
Andrew Savchenko
215fda0539 [ABI] Add notice about backend upgrade 2021-04-27 16:00:22 +09:30
Andrew Savchenko
c81d61dfa6
Removed SECURITY.md in favour of POLICY.md 2021-04-27 15:41:29 +09:30
Andrew Savchenko
8aa6b50969 Add POLICY.md
- https://github.com/taskchampion/taskchampion/issues/210
- https://github.com/taskchampion/taskchampion/milestone/1
2021-04-27 15:40:11 +09:30
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
f6550233e6
Merge pull request #204 from taskchampion/audit-fix-2021-04-16
run 'git audit fix'
2021-04-17 09:09:47 -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
9c54985fac
Merge pull request #203 from taskchampion/issue198
Use `dirs-next` instead of `dirs`
2021-04-16 13:26:45 -04:00
Dustin J. Mitchell
6c0f7a736f Use dirs-next instead of dirs 2021-04-16 09:21:59 -04:00
Dustin J. Mitchell
10536f024d use audit action from the README 2021-04-15 16:45:22 -04:00
Dustin J. Mitchell
8d15ce896f try cargo audit at main 2021-04-12 11:16:24 -04:00
Dustin J. Mitchell
1b8672ffc9 fix audit cron 2021-04-11 19:55:35 +00:00
Dustin J. Mitchell
6bfa77e29d
Merge pull request #195 from taskchampion/issue174-actions
add taskchampion-tests action
2021-04-03 20:17:57 -04:00
Dustin J. Mitchell
d20884281b add security audit 2021-04-03 20:16:12 -04:00
Dustin J. Mitchell
e4e40b3e5e Add actions
These will be more easily maintained by others than a Taskcluster
configuration.
2021-04-03 20:11:08 -04:00