24 Commits

Author SHA1 Message Date
270dab8299 Refactor Docker build commands in README
Updated Docker build commands for SQLite and Postgres to include Dockerfile specifications.

Fixes #156.
2025-10-16 18:19:39 -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
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
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
60436a5524 Add mdbook documentation for the sync server 2025-07-13 17:39:19 -04:00
67576fe382 suggestion from @ryneeverett 2025-07-12 09:48:15 -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
a9b9921833 v0.6.1 2025-03-03 22:41:40 +00:00
a7dc9e84b4 Allow specifying client ID when running docker-compose (#101)
This also fixes up some handling of default values in the entrypoint.
2025-03-03 17:39:59 -05:00
5c3455a38a v0.6.0 2025-03-01 18:16:48 +00:00
5c42107006 Add an MSRV (#89)
This just copies TaskChampion's MSRV for the moment.
2025-02-16 16:48:12 -05:00
7f51d2fa1f Allow specifying configuration params in env vars (#83) 2025-02-02 22:39:45 -05:00
5ffd179dcc Use version-specific references for docker-compose (#85) 2025-02-02 22:30:24 -05:00
d5e7c88608 Customize Listen Address (#81)
Replace --port with --listen to allow specifying the interface as well

Also fix the docker-compose file and adjust tests to this change
2025-01-24 19:58:56 -05:00
65a3d806d7 Followup to the 0.5.0 release (#76)
* Document RELEASING.md process
* Bump version numbers
* Do not automatically produce GH releases, and do not build binaries to attach to them
* Only build docker images on tags
* Use the `latest` Docker image tag in the Docker-compose config
2024-12-15 22:51:57 -05:00
a364791fcc Provide a docker-compose.yml that will run a server, with TLS (#68)
This is intended to support the user journey of someone with a VPS who
wants to set up the sync server, but does not have the knowledge and
skills to set up a reverse proxy and TLS certificate themselves.
2024-12-15 18:46:54 -05:00
895bb433e0 add notes about logging levels to README (#66) 2024-11-24 21:09:04 -05:00
50d028f45e Support a client-id allowlist (#62)
This will support setting up publicly-accessible personal servers,
without also allowing anyone to create a new client.
2024-11-21 21:27:52 -05:00
c876af0a25 Remove references to release binaries (#58)
These don't exist, and the remainder of the README instructions are
sufficient.
2024-11-17 16:52:56 -05:00
47ce4c1e3b Split the server into three crates (#56)
This will make it easier to build variations on the server, or embed it
into larger projects.
2024-11-17 15:12:42 -05:00
39366f1ee6 Adds some documentation about building project 2024-05-17 12:09:22 +02:00
e68e932263 typo: refernce -> reference 2024-04-30 14:50:24 +01:00
31cb732f06 Import from https://github.com/GothenburgBitFactory/taskwarrior
Specifically, from f89cc35a4aa8b928cc63502f3dde4d47447b5551, with
addition of README.md, CONTRIBUTING.md, and a few other ancillary files.
2024-04-07 21:43:46 -04:00