Nathan Luong
76b21f49e8
Implement due dates related methods for Task and TaskMut ( #3145 )
...
* Implement due dates related methods for Task and TaskMut
* Merge add_due and remove_due into the single method called set_due
* reformat the file
2023-07-25 09:09:25 -04:00
Dustin J. Mitchell
7f68441916
Change "client key" to "client id" ( #3130 )
...
In #3118 @ryneeverett mentioned that "key" suggests that this is a
secret, when in truth it's just a user identifier. So "ID" is a better
word for it than "key".
2023-07-11 22:13:53 -04:00
Dustin J. Mitchell
48543b7fcb
Put Rust deps at the root of the workspace
...
This allows us to be consistent about the required versions for each of
the member packages.
Fixes #3088 .
2023-06-21 12:01:06 -04:00
Dustin J. Mitchell
7a310fbfc1
Remove redundant comments
...
There's no need to repeat comments on the fields of a struct within
taskchampion-lib.
2023-06-21 12:00:23 -04:00
dependabot[bot]
1930ea0ad0
Bump strum_macros from 0.24.3 to 0.25.0
...
Bumps [strum_macros](https://github.com/Peternator7/strum ) from 0.24.3 to 0.25.0.
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum_macros
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 16:29:57 -04:00
dependabot[bot]
790a50f7e0
Bump strum from 0.24.1 to 0.25.0
...
Bumps [strum](https://github.com/Peternator7/strum ) from 0.24.1 to 0.25.0.
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 13:36:25 -04:00
Dustin J. Mitchell
efc2531a7f
fix a spot where C code looked like a doctest
2023-06-19 13:36:17 -04:00
Dustin J. Mitchell
75e10676ce
Use ffizz_header to generate taskchampion.h
2023-06-19 13:36:17 -04:00
dependabot[bot]
989a330e46
Bump ureq from 2.6.1 to 2.7.0
...
Bumps [ureq](https://github.com/algesten/ureq ) from 2.6.1 to 2.7.0.
- [Changelog](https://github.com/algesten/ureq/blob/main/CHANGELOG.md )
- [Commits](https://github.com/algesten/ureq/compare/2.6.1...2.7.0 )
---
updated-dependencies:
- dependency-name: ureq
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-06-15 19:54:42 -04:00
dependabot[bot]
d28cdc39fa
Bump proptest from 1.1.0 to 1.2.0
...
Bumps [proptest](https://github.com/proptest-rs/proptest ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/v1.1.0...v1.2.0 )
---
updated-dependencies:
- dependency-name: proptest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 10:55:10 -04:00
dependabot[bot]
66b2db52f4
Bump clap from 4.2.1 to 4.3.0
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.2.1 to 4.3.0.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.2.1...clap_complete-v4.3.0 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 19:09:04 -04:00
Dustin J. Mitchell
f0ced5287b
bump MSRV
2023-04-09 16:17:16 -04:00
Dustin J. Mitchell
645c6bf13f
update clap used in sync-server
2023-04-09 16:17:16 -04:00
Dustin J. Mitchell
5f2d82dc72
update MSRV
2023-04-09 15:44:26 -04:00
Dustin J. Mitchell
ae028983b6
clippy fixes
2023-04-09 15:44:26 -04:00
Dustin J. Mitchell
52fdc6a877
Update Actix crates to latest versions
...
This avoids a vulnerability in tokio (#3085 ). The major version updates
of both actix-web and actix-rt required some signficant changes. Chief
among those, it turns out we were relying on actix-rt to run the
HttpServer in a different thread from the rest of the test, so that we
could talk to it from sync code in the test thread. This no longer
works, so the sync code is now run in a dedicated thread with
`actix_rt::task::spawn_blocking`.
2023-04-09 15:44:26 -04:00
dependabot[bot]
77e1773b04
Bump rusqlite from 0.28.0 to 0.29.0
...
Bumps [rusqlite](https://github.com/rusqlite/rusqlite ) from 0.28.0 to 0.29.0.
- [Release notes](https://github.com/rusqlite/rusqlite/releases )
- [Changelog](https://github.com/rusqlite/rusqlite/blob/master/Changelog.md )
- [Commits](https://github.com/rusqlite/rusqlite/compare/v0.28.0...v0.29.0 )
---
updated-dependencies:
- dependency-name: rusqlite
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-27 17:37:40 -04:00
dependabot[bot]
d2f2e2b4a4
Bump rstest from 0.16.0 to 0.17.0
...
Bumps [rstest](https://github.com/la10736/rstest ) from 0.16.0 to 0.17.0.
- [Release notes](https://github.com/la10736/rstest/releases )
- [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/la10736/rstest/compare/0.16.0...0.17.0 )
---
updated-dependencies:
- dependency-name: rstest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-03-21 15:23:16 -04:00
ryneeverett
1c4e103904
taskchampion: Add time.utc_timestamp function.
...
Add a function that returns a Timestamp from an i64. One advantage is
improved readability since this function is guaranteed to return a
`LocalResult::Single`. Anther advantage is that it will panic if
something other than a LocalResult::Single is returned by chrono, which
shouldn't be possible for UTC timestamps which can't have DST ambiguity.
2023-02-06 08:23:27 -05:00
dependabot[bot]
5a4b981b6c
Bump proptest from 1.0.0 to 1.1.0
...
Bumps [proptest](https://github.com/proptest-rs/proptest ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/1.0.0...v1.1.0 )
---
updated-dependencies:
- dependency-name: proptest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 08:04:06 -05:00
Dustin J. Mitchell
d6475cc096
explicit type for cache value
2023-02-03 20:25:51 -05:00
Dustin J. Mitchell
c701a81699
make calculation of DependencyMap easier to read
2023-02-03 20:25:51 -05:00
Dustin J. Mitchell
7b0104e177
Only consider tasks dependent if both are pending
...
More specifically, consider them dependent if a task in the working set
(regardless of status) depends on a task with status "pending"
(regardless of presence in the working set). This has the desired
user-visible effect of making a task no longer +BLOCKED when the task it
depends on is marked as done, without requiring a working-set rebuild in
the intervening time.
2023-02-03 20:25:51 -05:00
Dustin J. Mitchell
05c7f36b17
fix typo
2023-02-03 20:02:48 -05:00
Dustin J. Mitchell
f94df28226
Do not further update 'modified' if it's explicitly set
2023-02-03 20:02:48 -05:00
Dustin J. Mitchell
b963af9b4b
use non-deprecated chrono functions
2023-02-02 20:00:15 -05:00
dependabot[bot]
6fc78209da
Bump uuid from 1.2.1 to 1.3.0
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/1.2.1...1.3.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 19:42:39 -05:00
ryneeverett
725dab681f
fixup
2023-01-16 16:56:09 -05:00
ryneeverett
2f7196dbfc
Don't expose third-party errors in public API.
2023-01-16 16:56:09 -05:00
ryneeverett
f56296ea93
Address inline review comments.
2023-01-16 16:56:09 -05:00
ryneeverett
c061d926bb
taskchampion: use taskchampion::Error
...
Resolve #2878
2023-01-16 16:56:09 -05:00
ryneeverett
5c4fb01abf
taskchampion: update docs
...
- update CI branch filters so workflows actually run on merge
- update CI docs deployment target
- update links
- fix typos
- remove references to `ta` cli which was removed
- remove build-docs.sh script which duplicates publish-docs.yml workflow
2023-01-14 11:25:46 -05:00
dependabot[bot]
226df73c58
Bump ureq from 2.5.0 to 2.6.1
...
Bumps [ureq](https://github.com/algesten/ureq ) from 2.5.0 to 2.6.1.
- [Release notes](https://github.com/algesten/ureq/releases )
- [Changelog](https://github.com/algesten/ureq/blob/main/CHANGELOG.md )
- [Commits](https://github.com/algesten/ureq/commits )
---
updated-dependencies:
- dependency-name: ureq
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 23:55:51 -05:00
Dustin J. Mitchell
f1e1095c0a
apply clippy fixes
2022-12-26 17:49:04 -05:00
Dustin J. Mitchell
88333ac785
Expose is_* methods on tasks.
2022-12-21 16:36:23 -05:00
Dustin J. Mitchell
7c27f116ad
Minor fixes to status in tc-lib
2022-12-19 20:01:38 -05:00
Dustin J. Mitchell
e6f28bb7e6
include recurring tasks in working-set, but not +PENDING
2022-12-18 14:56:00 -05:00
Dustin J. Mitchell
9add31104b
Add a Recurring status to TaskChampion
2022-12-18 14:56:00 -05:00
Dustin J. Mitchell
e4987ea7e0
use OpenFlags::default to avoid maintaining explicit defaults
2022-12-18 13:01:32 -05:00
Dustin J. Mitchell
67fc422311
Add support for _not_ creating a DB if one does not exist
2022-12-18 13:01:32 -05:00
dependabot[bot]
bfc220058f
Bump rstest from 0.15.0 to 0.16.0
...
Bumps [rstest](https://github.com/la10736/rstest ) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/la10736/rstest/releases )
- [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/la10736/rstest/compare/0.15.0...0.16.0 )
---
updated-dependencies:
- dependency-name: rstest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 18:40:29 -05:00
dependabot[bot]
06c3fbefd7
Bump env_logger from 0.9.1 to 0.10.0
...
Bumps [env_logger](https://github.com/rust-cli/env_logger ) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/rust-cli/env_logger/releases )
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.1...v0.10.0 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-27 12:08:44 -05:00
dependabot[bot]
4af27903f9
Bump serde from 1.0.145 to 1.0.147
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.145 to 1.0.147.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.145...v1.0.147 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 14:42:44 -04:00
dependabot[bot]
c93039f1fd
Bump libc from 0.2.135 to 0.2.136
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.135 to 0.2.136.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.135...0.2.136 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 14:42:33 -04:00
dependabot[bot]
5b14f63dee
Bump clap from 4.0.17 to 4.0.18
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.17 to 4.0.18.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.0.17...v4.0.18 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-22 15:47:43 -04:00
dependabot[bot]
6e5513d6f4
Bump futures from 0.3.24 to 0.3.25
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.24 to 0.3.25.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.24...0.3.25 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-22 15:47:35 -04:00
dependabot[bot]
c6b13de344
Bump clap from 4.0.15 to 4.0.17
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.15 to 4.0.17.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.0.15...v4.0.17 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 18:35:46 -04:00
dependabot[bot]
1af43d505d
Bump clap from 4.0.14 to 4.0.15
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.14 to 4.0.15.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.0.14...v4.0.15 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 18:55:33 -04:00
dependabot[bot]
be3fea8cd2
Bump clap from 4.0.13 to 4.0.14
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.13 to 4.0.14.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.0.13...v4.0.14 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 18:48:12 -04:00
dependabot[bot]
5588bcc2e8
Bump clap from 4.0.11 to 4.0.13
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.11 to 4.0.13.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.0.11...v4.0.13 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-12 20:09:45 -04:00