Dustin J. Mitchell
18a8bd2997
Use corrosion instead of CMakeRust ( #3273 )
...
* Use corrosion instead of CMakeRust
* use OpenSUSE tumbleweed (latest) to get newer CMake
2024-03-02 16:21:34 -05:00
ryneeverett
34c0e67469
show undo diff ( #3213 )
...
Exposes undo operations via the C API, and uses those to show a (new, differently formatted) diff before committing the undo.
2024-02-09 22:11:14 -05:00
Akash Shanmugaraj
aeb6acf640
added BYOS (Bring Your Own SERVICE_ACCOUNT) for GCS authentication ( #3262 )
2024-01-27 07:57:12 -05:00
Dustin J. Mitchell
323bd23251
Removed unused import ( #3245 )
...
Co-authored-by: Akash Shanmugaraj <65720968+akashShanmugraj@users.noreply.github.com>
2024-01-21 13:14:02 -05:00
Dustin J. Mitchell
9566c929e2
Add support for cloud sync, specifically GCP ( #3223 )
...
* Add support for cloud sync, specifically GCP
This adds generic support for sync to cloud services, with specific
spuport for GCP. Adding others -- so long as they support a
compare-and-set operation -- should be comparatively straightforward.
The cloud support includes cleanup of unnecessary data, and should keep
total space usage roughly proportional to the number of tasks.
Co-authored-by: ryneeverett <ryneeverett@gmail.com>
2024-01-21 12:36:37 -05:00
Dustin J. Mitchell
e29925155d
Fix formatting of comments in taskchampion.h ( #3228 )
2023-12-27 20:02:23 -05:00
Dustin J. Mitchell
1380d79148
Update to 2021 edition ( #3217 )
...
..and also include the rust-version property in the taskchampion crate.
2023-12-24 08:58:04 -05: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
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
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
Dustin J. Mitchell
b963af9b4b
use non-deprecated chrono functions
2023-02-02 20:00:15 -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
9add31104b
Add a Recurring status to TaskChampion
2022-12-18 14:56:00 -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]
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]
b1d24e455b
Bump libc from 0.2.134 to 0.2.135
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.134 to 0.2.135.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.134...0.2.135 )
---
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-12 20:09:35 -04:00
Dustin J. Mitchell
41625f8b11
fix clippy warnings
2022-10-05 07:31:56 -04:00
Dustin J. Mitchell
1b55e5b265
fix clippy lints
2022-10-02 15:27:25 -04:00
dependabot[bot]
b59581b6cc
Bump libc from 0.2.133 to 0.2.134
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.133 to 0.2.134.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.133...0.2.134 )
---
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-01 09:11:26 -04:00
dependabot[bot]
78555c3014
Bump libc from 0.2.132 to 0.2.133
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.132 to 0.2.133.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.132...0.2.133 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-20 15:23:20 -04:00
Dustin J. Mitchell
4fdb46fd47
ffi for tc_task_get/set_value
2022-08-21 17:22:50 -04:00
dependabot[bot]
5c33e6c93c
Bump libc from 0.2.131 to 0.2.132
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.131 to 0.2.132.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.131...0.2.132 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-20 21:16:48 -04:00
Dustin J. Mitchell
4a1556ccb9
Add Replica::num_undo_points and exclude undo points from num_operations
2022-08-20 21:12:44 -04:00
dependabot[bot]
4651bd1bdb
Bump libc from 0.2.129 to 0.2.131
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.129 to 0.2.131.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/commits )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-13 08:57:10 -04:00
dependabot[bot]
d69359b63c
Bump libc from 0.2.127 to 0.2.129
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.127 to 0.2.129.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.127...0.2.129 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-10 18:02:42 -04:00
dependabot[bot]
005aa817c6
Bump libc from 0.2.126 to 0.2.127
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.126 to 0.2.127.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.126...0.2.127 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 21:59:55 -04:00
Dustin J. Mitchell
12ecfa2b1e
rename rust/ to taskchampion/
2022-07-29 21:41:41 -04:00