daf6855f14
Bump slab from 0.4.10 to 0.4.11 ( #147 )
...
Bumps [slab](https://github.com/tokio-rs/slab ) from 0.4.10 to 0.4.11.
- [Release notes](https://github.com/tokio-rs/slab/releases )
- [Changelog](https://github.com/tokio-rs/slab/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/slab/compare/v0.4.10...v0.4.11 )
---
updated-dependencies:
- dependency-name: slab
dependency-version: 0.4.11
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 22:09:38 -04:00
dbc9a6909b
Bump actions/checkout from 4 to 5 ( #145 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 19:55:19 -04:00
1ad9e344c7
Bump uuid from 1.17.0 to 1.18.0 ( #146 )
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.17.0...v1.18.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-version: 1.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 19:55:00 -04:00
3820a8deea
Document the different sslmodes recognized by the postgres crate ( #144 )
...
LibPQ will happily accept invalid certificates or hostnames, while the
Rust client will not. This can cause some confusion, so draw attention
to it here.
2025-08-04 07:24:59 -04:00
2de70ac336
Capture and log errors from bb8 ( #143 )
2025-08-03 11:13:58 -04:00
c2b4c94fb5
Merge remote-tracking branch 'origin/main'
2025-08-02 21:01:41 -04:00
0a317cd86d
Only publish docs on tags ( #136 )
2025-08-01 17:48:34 -04:00
1b80398365
Merge post-0.7.0-release updates into main
2025-07-30 22:41:25 -04:00
5a2bd4cde7
Use git context for building docker images
v0.7.0
2025-07-30 21:50:30 -04:00
e5b35210af
include dockerfiles in context
2025-07-30 21:38:58 -04:00
3bbfcb9f88
Fix Dockerfile reference
2025-07-30 21:35:21 -04:00
8752531e2c
Use correct option to docker/build-push-action for Dockerfiles
2025-07-30 21:33:46 -04:00
a94be2649e
Use correct option to docker/build-push-action for Dockerfiles
2025-07-30 21:32:27 -04:00
624efa8b0d
stop excluding the postgres crate
2025-07-30 21:23:53 -04:00
ae9adf1572
Bump to -pre version
2025-07-30 21:23:03 -04:00
547621950f
v0.7.0
2025-07-30 21:20:25 -04:00
ab6df362bf
Finish building Postgres support ( #133 )
...
This includes:
- Building a Docker image for Postgres as well as SQLite
- Fuller instructions for usage of the package, including the Postgres builds.
A few related things changed here:
- `.env` is not used anymore -- the defaults in the Dockerfiles are
sufficient
- The Rust version in the Dockerfiles is increased to match the MSRV,
and with it the Alpine version bumped to one built with that Rust
version.
- Cargo dependencies on native-tls and openssl updated to include only
the `vendored` feature, so as not to require a system openssl
installation.
- Two GitHub jobs are set up, to build the two different Docker images
- The documentation incorrectly suggested using `DELETE .. CASCADE` to
delete clients. This syntax does not exist, as the cascading delete
is configured in the schema.
2025-07-29 21:52:33 -04:00
820aaf363c
Merge pull request #134 from GothenburgBitFactory/dependabot/cargo/tokio-1.47.0
...
Bump tokio from 1.46.1 to 1.47.0
2025-07-29 20:50:47 -04:00
535db07153
Bump tokio from 1.46.1 to 1.47.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.46.1 to 1.47.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.46.1...tokio-1.47.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.47.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-30 00:06:38 +00:00
4bc4856ff1
Merge pull request #132 from djmitche/postgres-bin
...
Add a binary that uses a Postgres backend
2025-07-28 22:20:57 -04:00
c445ac475a
Add a binary that uses a Postgres backend
...
Building of this binary is controlled with features, allowing downstream
users to build just the SQLite version and not be concerned with the
tokio-postgres dependency tree (which includes links to OpenSSL and
other details). The Postgres version is disabled by default.
This does not change the binary name for the SQLite build, just to avoid
confusion for people upgrading to the new version.
2025-07-25 22:01:14 -04:00
6e8c72b543
Merge pull request #129 from djmitche/postgres
...
Add `taskchampion-sync-server-storage-postgres`
2025-07-17 12:35:19 -04:00
609660b01f
remove irrelevant assertions from test
2025-07-17 12:01:52 -04:00
8b1f7e2b30
Apply suggestions from code review
...
Co-authored-by: ryneeverett <ryneeverett@gmail.com >
2025-07-17 12:00:22 -04:00
309abce339
Add taskchampion-sync-server-storage-postgres
...
This is built to be more robust than the SQLite storage, and to
integrate with other applications. The idea is that for example a web
application might interact with the same DB to create and delete clients
as customers come and go.
2025-07-14 12:37:50 -04:00
816c9a3c80
Merge pull request #130 from djmitche/add_version_checks_latest
...
More explicit requirements regarding `add_version`
2025-07-14 12:34:16 -04:00
b858febbca
Apply fixes from @ryneeverett
...
Co-authored-by: ryneeverett <ryneeverett@gmail.com >
2025-07-14 12:30:01 -04:00
48b3aebee2
Merge pull request #131 from djmitche/issue124
...
Add mdbook documentation for the sync server
2025-07-13 17:40:30 -04:00
60436a5524
Add mdbook documentation for the sync server
2025-07-13 17:39:19 -04:00
25911b44a6
More explicit requirements regarding add_version
...
The core crate calls `get_client` and verifies the `latest_version_id`
before it invokes `add_version`. With the SQLite backend, transactions
lock the entire database, so these two queries cannot be interleaved
with any changes to the `latest_version_id` and there's no possibility
of incorrect updates. With Postgres (#129 ) the effect is similar: the
read performed by `get_client` locks that row and prevents other
transactions from writing to it.
However, the storage trait should not rely on this behavior --
`add_version` should verify that it is adding a new version on top of
the correct parent version.
2025-07-13 13:04:38 -04:00
c539e604d9
Merge pull request #126 from djmitche/async
...
Make Storage methods async
2025-07-13 09:25:43 -04:00
57bbac8fea
assert as suggested, remove outcommented code
2025-07-12 22:58:59 -04:00
093446e5fb
bump major version
2025-07-12 15:24:13 -04:00
87d1d026b3
Merge pull request #125 from djmitche/issue121
...
Allow disabling automatic creation of clients
2025-07-12 09:48:44 -04:00
67576fe382
suggestion from @ryneeverett
2025-07-12 09:48:15 -04:00
7559364017
Make Storage methods async
...
This will better support concurrent requests.
2025-07-11 17:37:14 -04:00
61b9293287
Merge pull request #119 from djmitche/issue118
...
Default DATA_DIR in entrypoint to match VOLUME in the Dockerfile
2025-07-11 12:49:09 -04:00
0a71cce2d1
use a struct for arguments to WebServer::new
2025-07-10 22:10:50 -04:00
3a794341ce
Allow disabling automatic creation of clients
...
This may be useful in multi-user deployment scenarios where some
external administrative tools are used to create new clients.
2025-07-10 21:49:57 -04:00
4de5c9a345
Merge pull request #122 from djmitche/update
...
Update crates and bump MSRV to 1.82.0
2025-07-10 17:40:32 -04:00
d049618a59
Clippy fixes
2025-07-10 17:33:52 -04:00
cd874bc56a
Update crates and bump MSRV to 1.82.0
2025-07-10 17:29:28 -04:00
240d1b4df5
Default DATA_DIR in entrypoint to match VOLUME in the Dockerfile
...
Details are included in RELEASING.md for inclusion in the next set of
release notes.
2025-07-09 14:58:11 +00:00
953411bff8
Merge pull request #117 from djmitche/security-scan-weekly
...
run the security scan weekly, not daily
2025-06-01 20:44:27 -04:00
91763641c6
run the security scan weekly, not daily
2025-06-01 20:41:21 -04:00
721957d7c7
Merge pull request #116 from GothenburgBitFactory/dependabot/cargo/uuid-1.17.0
...
Bump uuid from 1.16.0 to 1.17.0
2025-05-23 20:42:56 -04:00
35a4eefda3
Bump uuid from 1.16.0 to 1.17.0
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.16.0...v1.17.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-version: 1.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-24 00:01:02 +00:00
ad01f28a40
Merge pull request #115 from GothenburgBitFactory/dependabot/cargo/actix-web-4.11.0
...
Bump actix-web from 4.10.2 to 4.11.0
2025-05-12 21:46:44 -04:00
29a4214117
Merge pull request #114 from GothenburgBitFactory/dependabot/cargo/tempfile-3.20.0
...
Bump tempfile from 3.19.1 to 3.20.0
2025-05-12 21:46:02 -04:00
b9cdae975b
Bump actix-web from 4.10.2 to 4.11.0
...
Bumps [actix-web](https://github.com/actix/actix-web ) from 4.10.2 to 4.11.0.
- [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-v4.10.2...web-v4.11.0 )
---
updated-dependencies:
- dependency-name: actix-web
dependency-version: 4.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-05-12 23:59:38 +00:00