Commit Graph

189 Commits

Author SHA1 Message Date
oysteikt 4132fb58e8 client/various: sort output
Build and test / check (push) Successful in 1m54s
Build and test / check-license (push) Successful in 2m11s
Build and test / build (push) Successful in 2m47s
Build and test / test (push) Successful in 3m13s
Build and test / docs (push) Successful in 6m12s
2026-04-28 17:58:17 +09:00
oysteikt 5aca2314c4 core/protocol: make ModifyPrivileges response serializable
Build and test / check-license (push) Successful in 46s
Build and test / check (push) Successful in 2m25s
Build and test / build (push) Successful in 3m0s
Build and test / test (push) Successful in 3m34s
Build and test / docs (push) Successful in 5m55s
2026-04-28 17:27:40 +09:00
oysteikt 7a9b233611 core/types: add custom de/serialization for DbOrUser
Build and test / check (push) Successful in 1m46s
Build and test / check-license (push) Successful in 2m5s
Build and test / test (push) Failing after 2m54s
Build and test / build (push) Successful in 3m0s
Build and test / docs (push) Successful in 5m20s
2026-04-28 07:45:46 +09:00
oysteikt 5444ab46ca core/protocol: test de/serialization of all protocol messages
Build and test / check (push) Successful in 1m42s
Build and test / check-license (push) Successful in 57s
Build and test / build (push) Successful in 2m40s
Build and test / test (push) Failing after 3m45s
Build and test / docs (push) Successful in 5m23s
2026-04-28 07:30:08 +09:00
oysteikt 8e2aace9d4 server: specify Host for all relevant sql queries 2026-04-28 07:14:06 +09:00
oysteikt 1d4a19c299 core/types: better fmt::Display implementation for newtypes
Build and test / check-license (push) Successful in 58s
Build and test / check (push) Successful in 2m0s
Build and test / build (push) Successful in 2m50s
Build and test / test (push) Successful in 3m24s
Build and test / docs (push) Successful in 6m53s
2026-04-15 05:09:49 +09:00
oysteikt 9b279a4956 flake.lock: bump, Cargo.{toml,lock}: update inputs
Build and test / check-license (push) Successful in 1m7s
Build and test / check (push) Successful in 1m47s
Build and test / build (push) Successful in 2m48s
Build and test / test (push) Successful in 3m48s
Build and test / docs (push) Successful in 6m46s
2026-04-02 14:00:30 +09:00
oysteikt ce75aa509d client: add better error messages on failed server connection
Build and test / check-license (push) Successful in 53s
Build and test / check (push) Successful in 2m28s
Build and test / build (push) Successful in 3m11s
Build and test / test (push) Successful in 3m18s
Build and test / docs (push) Successful in 8m0s
2026-01-12 21:12:18 +09:00
oysteikt f75b34f40c server: don't warn on empty/comment only lines in group denylists
Build and test / check-license (push) Successful in 57s
Build and test / docs (push) Has been cancelled
Build and test / build (push) Has been cancelled
Build and test / check (push) Has been cancelled
Build and test / test (push) Has been cancelled
2026-01-12 16:48:58 +09:00
oysteikt 902970f271 server: fix systemd reload notifs
Build and test / check-license (push) Successful in 1m0s
Build and test / check (push) Successful in 1m52s
Build and test / build (push) Successful in 3m32s
Build and test / test (push) Successful in 3m41s
Build and test / docs (push) Successful in 5m31s
2026-01-12 16:26:20 +09:00
oysteikt 09e7a22f24 Fix a few typos
Build and test / check-license (push) Successful in 1m4s
Build and test / check (push) Successful in 2m51s
Build and test / build (push) Successful in 2m54s
Build and test / test (push) Successful in 3m45s
Build and test / docs (push) Successful in 8m58s
2026-01-12 15:35:21 +09:00
oysteikt ee33c96120 Rename entrypoints dir to bin
Build and test / check-license (push) Successful in 57s
Build and test / check (push) Successful in 2m7s
Build and test / build (push) Successful in 3m32s
Build and test / test (push) Successful in 3m19s
Build and test / docs (push) Successful in 6m21s
2026-01-09 19:14:20 +09:00
oysteikt beb08e1b35 server/auth: allow inline comments for denylist, add test for parser 2026-01-09 18:40:42 +09:00
oysteikt 3ce2a13711 server: demote a few debug log messages to trace
Build and test / check (push) Successful in 2m0s
Build and test / build (push) Successful in 2m52s
Build and test / check-license (push) Successful in 1m7s
Build and test / test (push) Successful in 3m20s
Build and test / docs (push) Successful in 6m59s
2026-01-09 17:36:04 +09:00
oysteikt fbe594d486 server: log once per request, add session ids 2026-01-09 17:06:28 +09:00
oysteikt 2ec31cd146 server: add request tracing span, log affected users/databases 2026-01-09 15:50:19 +09:00
oysteikt cb4b8a78dc session_handler: don't clone request before tracing
Build and test / check-license (push) Successful in 58s
Build and test / check (push) Successful in 2m5s
Build and test / build (push) Successful in 3m45s
Build and test / test (push) Successful in 3m28s
Build and test / docs (push) Successful in 6m43s
2026-01-03 23:04:04 +09:00
oysteikt 9f45c2e5da client: error out on non-tty interactivity
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
oysteikt 107333208c client: add subcommand aliases
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
oysteikt 4c3677d6d3 clippy pedantic fix + get rid of a few unwraps
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
oysteikt c866400b4a server/session_handler: remove response clone for tracing
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
oysteikt c75fbebd31 core/protocol: subtype ModifyDatabasePrivilegesError validation errors 2025-12-23 12:32:56 +09:00
oysteikt b03338bdf6 server: fix doccomment link
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
oysteikt 42bd28fe36 client: fix compile-time conditional imports 2025-12-23 12:28:06 +09:00
oysteikt ba8ffd0e78 client: embed dependency list in long --version output
Build and test / check-license (push) Successful in 1m16s
Build and test / check (push) Successful in 2m47s
Build and test / test (push) Successful in 4m6s
Build and test / docs (push) Failing after 7m11s
Build and test / build (push) Failing after 3m5s
2025-12-23 11:59:26 +09:00
oysteikt e28da90e00 client: remove --config flag when not compile with suid/sgid support 2025-12-23 11:20:05 +09:00
oysteikt 82bfead593 Split client and server into separate binaries 2025-12-23 11:14:24 +09:00
oysteikt a15eac607d core/privileges/editor: fix table formatting
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
oysteikt 1f78ca0e25 Don't unwrap without message on failure to start SUID/SGID tokio
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
oysteikt 340428c158 client: bold --help ascii banner
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
oysteikt dfe20826c1 Add misc. doccomments
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
oysteikt 97908ce887 core/protocol: set request/response max size 2025-12-16 19:36:17 +09:00
oysteikt 10ef171c91 client: print errors and warnings to stderr
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
oysteikt 62b2b30f94 server: don't fail on invalid entries in denylist
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
oysteikt 05b5b5dac0 client: add prefix completer for create-{db,user}
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
oysteikt 57ac26b120 client: display show-db output with human readable sizes
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
oysteikt 256c1d1176 client: add example for display subcommand help
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
oysteikt 146421dd79 client/edit-privs: report actual errors instead of non-existence
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
oysteikt 795c6d3c9d client: exit with error on errors
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
oysteikt 40ce292083 edit-privs: move examples to different section
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
oysteikt ca6ae43bbc Add a few usage examples to --help 2025-12-16 13:32:14 +09:00
oysteikt cc1d8b0cf1 Fix protocol error struct name for List(All)PrivilegesError
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
oysteikt 8b4d549e18 Implement denylists
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
oysteikt 45cefb8af4 client/edit-privs: use a more human-friendly interface
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
oysteikt 891963f4bc Add ListValidNamePrefixes command to protocol
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
oysteikt 912f0e8971 server: hide systemd stuff behind compiletime cond
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
oysteikt 3f014f073e Rename AuthorizationError to ValidationError, rename suberrors
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
oysteikt 5f03b55eb5 Move name validation code to core 2025-12-15 14:45:45 +09:00
oysteikt bf6027f507 core/protocol: use thiserror, use common authorization error struct 2025-12-15 14:25:22 +09:00
oysteikt 1991e7bfd8 Show more data on show-db
Build and test / build (push) Successful in 2m42s
Build and test / check (push) Successful in 2m42s
Build and test / check-license (push) Successful in 5m31s
Build and test / test (push) Successful in 3m6s
Build and test / docs (push) Successful in 6m58s
2025-12-15 11:44:18 +09:00