289 Commits

Author SHA1 Message Date
9f45c2e5da client: error out on non-tty interactivity
All checks were successful
Build and test / build (push) Successful in 3m25s
Build and test / test (push) Successful in 3m41s
Build and test / docs (push) Successful in 5m34s
Build and test / check-license (push) Successful in 1m0s
Build and test / check (push) Successful in 1m53s
2025-12-23 17:40:07 +09:00
107333208c client: add subcommand aliases
All checks were successful
Build and test / check-license (push) Successful in 1m37s
Build and test / check (push) Successful in 1m56s
Build and test / build (push) Successful in 3m12s
Build and test / test (push) Successful in 4m39s
Build and test / docs (push) Successful in 5m45s
2025-12-23 15:45:53 +09:00
6cbf719cfb flake.lock: bump, Cargo.{toml,lock}: update inputs
All checks were successful
Build and test / check-license (push) Successful in 1m46s
Build and test / test (push) Successful in 3m40s
Build and test / docs (push) Successful in 6m40s
Build and test / check (push) Successful in 2m38s
Build and test / build (push) Successful in 3m14s
2025-12-23 14:25:28 +09:00
4c3677d6d3 clippy pedantic fix + get rid of a few unwraps
All checks were successful
Build and test / docs (push) Successful in 7m1s
Build and test / check-license (push) Successful in 57s
Build and test / check (push) Successful in 2m46s
Build and test / build (push) Successful in 3m12s
Build and test / test (push) Successful in 3m25s
2025-12-23 14:12:39 +09:00
c866400b4a server/session_handler: remove response clone for tracing
All checks were successful
Build and test / check (push) Successful in 1m51s
Build and test / build (push) Successful in 3m41s
Build and test / test (push) Successful in 3m49s
Build and test / docs (push) Successful in 5m42s
Build and test / check-license (push) Successful in 1m14s
2025-12-23 12:35:09 +09:00
c75fbebd31 core/protocol: subtype ModifyDatabasePrivilegesError validation errors 2025-12-23 12:32:56 +09:00
b03338bdf6 server: fix doccomment link
Some checks failed
Build and test / docs (push) Has been cancelled
Build and test / check (push) Successful in 1m52s
Build and test / check-license (push) Successful in 1m2s
Build and test / build (push) Successful in 3m8s
Build and test / test (push) Successful in 3m28s
2025-12-23 12:28:07 +09:00
42bd28fe36 client: fix compile-time conditional imports 2025-12-23 12:28:06 +09:00
ba8ffd0e78 client: embed dependency list in long --version output
Some checks failed
Build and test / check-license (push) Successful in 1m16s
Build and test / check (push) Successful in 2m47s
Build and test / build (push) Failing after 2m48s
Build and test / test (push) Successful in 4m6s
Build and test / docs (push) Failing after 7m11s
2025-12-23 11:59:26 +09:00
e28da90e00 client: remove --config flag when not compile with suid/sgid support 2025-12-23 11:20:05 +09:00
82bfead593 Split client and server into separate binaries 2025-12-23 11:14:24 +09:00
a15eac607d core/privileges/editor: fix table formatting
All checks were successful
Build and test / check (push) Successful in 1m45s
Build and test / check-license (push) Successful in 2m15s
Build and test / build (push) Successful in 2m55s
Build and test / test (push) Successful in 3m28s
Build and test / docs (push) Successful in 7m7s
2025-12-23 04:51:54 +09:00
eefd9e1a98 Cargo.toml: add pretty assertions 2025-12-23 04:51:37 +09:00
6de83d122e README: replace list of admin actions with examples
All checks were successful
Build and test / check (push) Successful in 2m5s
Build and test / check-license (push) Successful in 1m13s
Build and test / build (push) Successful in 3m42s
Build and test / test (push) Successful in 3m26s
Build and test / docs (push) Successful in 7m18s
2025-12-18 18:33:41 +09:00
186adefc22 Improve documentation
All checks were successful
Build and test / build (push) Successful in 2m41s
Build and test / check (push) Successful in 1m46s
Build and test / check-license (push) Successful in 58s
Build and test / test (push) Successful in 3m7s
Build and test / docs (push) Successful in 5m40s
2025-12-18 02:08:20 +09:00
1f78ca0e25 Don't unwrap without message on failure to start SUID/SGID tokio
All checks were successful
Build and test / check-license (push) Successful in 55s
Build and test / check (push) Successful in 2m39s
Build and test / build (push) Successful in 2m54s
Build and test / test (push) Successful in 3m5s
Build and test / docs (push) Successful in 6m29s
2025-12-17 05:46:05 +09:00
340428c158 client: bold --help ascii banner
All checks were successful
Build and test / check (push) Successful in 1m43s
Build and test / check-license (push) Successful in 1m47s
Build and test / build (push) Successful in 2m53s
Build and test / test (push) Successful in 3m5s
Build and test / docs (push) Successful in 6m43s
2025-12-16 20:28:24 +09:00
dfe20826c1 Add misc. doccomments
All checks were successful
Build and test / check-license (push) Successful in 1m42s
Build and test / check (push) Successful in 1m50s
Build and test / build (push) Successful in 2m38s
Build and test / test (push) Successful in 4m44s
Build and test / docs (push) Successful in 6m1s
2025-12-16 19:36:17 +09:00
97908ce887 core/protocol: set request/response max size 2025-12-16 19:36:17 +09:00
10ef171c91 client: print errors and warnings to stderr
All checks were successful
Build and test / check (push) Successful in 1m55s
Build and test / build (push) Successful in 2m37s
Build and test / check-license (push) Successful in 1m3s
Build and test / test (push) Successful in 3m6s
Build and test / docs (push) Successful in 5m56s
2025-12-16 17:21:58 +09:00
043a1a7a7a move example-config.toml to assets, sync with debian variant
All checks were successful
Build and test / check-license (push) Successful in 59s
Build and test / check (push) Successful in 1m42s
Build and test / build (push) Successful in 3m10s
Build and test / test (push) Successful in 3m26s
Build and test / docs (push) Successful in 5m16s
2025-12-16 16:54:55 +09:00
072bf6a090 assets/debian/group_denylist: remove groups postgres,sync
Some checks failed
Build and test / check (push) Successful in 1m55s
Build and test / test (push) Has been cancelled
Build and test / docs (push) Has been cancelled
Build and test / check-license (push) Has been cancelled
Build and test / build (push) Has been cancelled
2025-12-16 16:52:44 +09:00
21bb5b62ff create-deb.sh: move to scripts, add download-and-upload-debs.sh
Some checks failed
Build and test / check (push) Successful in 1m42s
Build and test / build (push) Successful in 2m55s
Build and test / check-license (push) Successful in 1m30s
Build and test / test (push) Successful in 3m5s
Build and test / docs (push) Has been cancelled
2025-12-16 16:41:59 +09:00
62b2b30f94 server: don't fail on invalid entries in denylist
Some checks failed
Build and test / check-license (push) Successful in 1m7s
Build and test / check (push) Successful in 2m37s
Build and test / build (push) Successful in 2m38s
Build and test / docs (push) Has been cancelled
Build and test / test (push) Has been cancelled
2025-12-16 16:37:27 +09:00
05b5b5dac0 client: add prefix completer for create-{db,user}
All checks were successful
Build and test / check-license (push) Successful in 54s
Build and test / check (push) Successful in 2m23s
Build and test / build (push) Successful in 2m55s
Build and test / test (push) Successful in 3m7s
Build and test / docs (push) Successful in 6m31s
2025-12-16 15:27:36 +09:00
d814008006 docs/installation: document systemd-less creds
All checks were successful
Build and test / check-license (push) Successful in 1m25s
Build and test / check (push) Successful in 1m40s
Build and test / build (push) Successful in 2m54s
Build and test / test (push) Successful in 4m6s
Build and test / docs (push) Successful in 5m20s
2025-12-16 15:03:10 +09:00
67c8e3330c docs/compiling: init
Some checks failed
Build and test / check-license (push) Successful in 1m30s
Build and test / check (push) Successful in 1m40s
Build and test / build (push) Successful in 2m51s
Build and test / docs (push) Has been cancelled
Build and test / test (push) Has been cancelled
2025-12-16 14:58:19 +09:00
57ac26b120 client: display show-db output with human readable sizes
All checks were successful
Build and test / check-license (push) Successful in 55s
Build and test / check (push) Successful in 1m55s
Build and test / build (push) Successful in 3m25s
Build and test / test (push) Successful in 3m4s
Build and test / docs (push) Successful in 5m54s
2025-12-16 14:36:53 +09:00
256c1d1176 client: add example for display subcommand help
All checks were successful
Build and test / check-license (push) Successful in 59s
Build and test / build (push) Successful in 2m37s
Build and test / check (push) Successful in 2m46s
Build and test / test (push) Successful in 3m31s
Build and test / docs (push) Successful in 5m15s
2025-12-16 14:28:30 +09:00
15c8d82373 docs/installation: document denylists
All checks were successful
Build and test / check-license (push) Successful in 53s
Build and test / check (push) Successful in 2m21s
Build and test / build (push) Successful in 2m52s
Build and test / test (push) Successful in 3m5s
Build and test / docs (push) Successful in 6m38s
2025-12-16 14:16:45 +09:00
e6bcac8079 docs/installation: reword not to suggest adding plaintext password to config file
Some checks failed
Build and test / check-license (push) Successful in 1m5s
Build and test / check (push) Successful in 1m48s
Build and test / build (push) Successful in 3m16s
Build and test / test (push) Successful in 3m26s
Build and test / docs (push) Has been cancelled
2025-12-16 14:10:57 +09:00
146421dd79 client/edit-privs: report actual errors instead of non-existence
Some checks failed
Build and test / check-license (push) Successful in 54s
Build and test / check (push) Successful in 1m55s
Build and test / build (push) Successful in 3m26s
Build and test / docs (push) Has been cancelled
Build and test / test (push) Has been cancelled
2025-12-16 14:07:28 +09:00
795c6d3c9d client: exit with error on errors
All checks were successful
Build and test / check (push) Successful in 1m44s
Build and test / check-license (push) Successful in 2m0s
Build and test / build (push) Successful in 2m55s
Build and test / test (push) Successful in 3m4s
Build and test / docs (push) Successful in 6m54s
2025-12-16 13:46:17 +09:00
40ce292083 edit-privs: move examples to different section
Some checks failed
Build and test / check (push) Successful in 1m53s
Build and test / check-license (push) Successful in 2m13s
Build and test / build (push) Successful in 2m37s
Build and test / test (push) Successful in 3m25s
Build and test / docs (push) Has been cancelled
2025-12-16 13:39:12 +09:00
ca6ae43bbc Add a few usage examples to --help 2025-12-16 13:32:14 +09:00
996c9e50c7 docs/installation: limit apt repo architecture 2025-12-16 13:21:04 +09:00
d0e226bff3 assets/systemd: add service dependency on mysql/mariadb
All checks were successful
Build and test / check-license (push) Successful in 1m0s
Build and test / check (push) Successful in 1m43s
Build and test / build (push) Successful in 4m20s
Build and test / test (push) Successful in 3m27s
Build and test / docs (push) Successful in 5m11s
2025-12-16 13:04:49 +09:00
cc1d8b0cf1 Fix protocol error struct name for List(All)PrivilegesError
Some checks failed
Build and test / check (push) Successful in 2m42s
Build and test / check-license (push) Successful in 56s
Build and test / docs (push) Successful in 5m19s
Build and test / test (push) Failing after 11m43s
Build and test / build (push) Failing after 20m23s
2025-12-16 12:41:19 +09:00
8b4d549e18 Implement denylists
All checks were successful
Build and test / check-license (push) Successful in 1m38s
Build and test / check (push) Successful in 1m51s
Build and test / build (push) Successful in 2m40s
Build and test / test (push) Successful in 4m25s
Build and test / docs (push) Successful in 6m1s
2025-12-16 12:21:35 +09:00
45cefb8af4 client/edit-privs: use a more human-friendly interface
All checks were successful
Build and test / check-license (push) Successful in 1m39s
Build and test / check (push) Successful in 1m53s
Build and test / build (push) Successful in 2m43s
Build and test / test (push) Successful in 4m23s
Build and test / docs (push) Successful in 6m3s
2025-12-16 11:00:59 +09:00
891963f4bc Add ListValidNamePrefixes command to protocol
Some checks failed
Build and test / check (push) Has been cancelled
Build and test / test (push) Has been cancelled
Build and test / docs (push) Has been cancelled
Build and test / build (push) Has been cancelled
Build and test / check-license (push) Has been cancelled
2025-12-16 10:13:28 +09:00
912f0e8971 server: hide systemd stuff behind compiletime cond
All checks were successful
Build and test / check (push) Successful in 1m49s
Build and test / check-license (push) Successful in 1m49s
Build and test / build (push) Successful in 2m36s
Build and test / test (push) Successful in 3m25s
Build and test / docs (push) Successful in 6m35s
2025-12-15 17:02:53 +09:00
73f5cd9fd4 .gitea/workflows: actions-rs/toolchain -> dtolnay/rust-toolchain
All checks were successful
Build and test / check-license (push) Successful in 59s
Build and test / check (push) Successful in 1m42s
Build and test / build (push) Successful in 3m2s
Build and test / test (push) Successful in 3m27s
Build and test / docs (push) Successful in 5m7s
2025-12-15 16:22:15 +09:00
caf16c7a21 .gitea/workflows: use cargo-binstall everywhere, disable telemetry
Some checks failed
Build and test / check (push) Successful in 1m44s
Build and test / check-license (push) Successful in 1m48s
Build and test / build (push) Successful in 2m52s
Build and test / test (push) Successful in 3m1s
Build and test / docs (push) Has been cancelled
2025-12-15 16:15:06 +09:00
aac7315fd9 .gitea/workflows: name artifact zips with commit hash
All checks were successful
Build and test / check (push) Successful in 1m40s
Build and test / build (push) Successful in 2m52s
Build and test / test (push) Successful in 3m4s
Build and test / check-license (push) Successful in 6m18s
Build and test / docs (push) Successful in 5m59s
2025-12-15 16:06:22 +09:00
aa96587a35 assets/debian/config.toml: leave link to installation instructions
Some checks failed
Build and test / build (push) Successful in 2m37s
Build and test / check (push) Successful in 2m51s
Build and test / docs (push) Has been cancelled
Build and test / test (push) Has been cancelled
Build and test / check-license (push) Has been cancelled
2025-12-15 16:00:52 +09:00
15ebc5df5b Cargo.toml: (deb) install documentation 2025-12-15 16:00:27 +09:00
3f014f073e Rename AuthorizationError to ValidationError, rename suberrors
All checks were successful
Build and test / build (push) Successful in 2m55s
Build and test / check (push) Successful in 3m4s
Build and test / test (push) Successful in 4m33s
Build and test / check-license (push) Successful in 5m35s
Build and test / docs (push) Successful in 8m23s
2025-12-15 14:56:53 +09:00
5f03b55eb5 Move name validation code to core 2025-12-15 14:45:45 +09:00
bf6027f507 core/protocol: use thiserror, use common authorization error struct 2025-12-15 14:25:22 +09:00