Commit graph

10 commits

Author SHA1 Message Date
Dustin J. Mitchell
0a71cce2d1
use a struct for arguments to WebServer::new 2025-07-10 22:10:50 -04:00
Dustin J. Mitchell
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
Dustin J. Mitchell
d049618a59
Clippy fixes 2025-07-10 17:33:52 -04:00
Dustin J. Mitchell
e2600dadc5
Fix and test for clap errors (#92)
* fix clap error

Signed-off-by: Cameron Wong <cam@camdar.io>

* Refactor to test more arg-parsing

---------

Signed-off-by: Cameron Wong <cam@camdar.io>
Co-authored-by: Cameron Wong <cam@camdar.io>
2025-02-15 10:34:10 -05:00
Dustin J. Mitchell
7f51d2fa1f
Allow specifying configuration params in env vars (#83) 2025-02-02 22:39:45 -05:00
Marcel Röthke
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
Dustin J. Mitchell
75f384d4ec
Log Errors causing ISE's at the error level (#65)
This will cause these to be displayed even without $RUST_LOG set. If
RUST_LOG=debug, the message is printed twice (once at the debug level by
the built-in `Logger` middleware), but this is better than not at all.
2024-11-24 22:29:01 -05:00
Dustin J. Mitchell
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
Dustin J. Mitchell
5ad3b8e8bf
Reorganize the core API (#60) 2024-11-19 18:22:42 -05:00
Dustin J. Mitchell
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
Renamed from src/bin/taskchampion-sync-server.rs (Browse further)