Commit Graph

195 Commits

Author SHA1 Message Date
oysteikt 3d7cf66648 client: add dynamic completions for mysql-admutils commands 2025-12-03 15:56:54 +09:00
oysteikt 829a91705b flake.nix: add jq to test vm packages
Build and test / check (push) Successful in 1m53s
Build and test / build (push) Successful in 3m4s
Build and test / test (push) Successful in 3m29s
Build and test / check-license (push) Successful in 5m47s
Build and test / docs (push) Successful in 4m45s
2025-12-03 15:49:50 +09:00
oysteikt afbba78e39 client: add error type field for --json outputs
Build and test / test (push) Has been cancelled
Build and test / check (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-03 15:44:18 +09:00
oysteikt 32b70c44c6 client: print only json for show-db/show-user/show-privs --json
Build and test / check (push) Successful in 1m52s
Build and test / build (push) Successful in 3m4s
Build and test / test (push) Successful in 3m28s
Build and test / check-license (push) Successful in 5m47s
Build and test / docs (push) Successful in 4m45s
The earlier version would print out human readable errors before
printing the json, which was not ideal. This version prints out the
errors inside the json.
2025-12-03 15:28:15 +09:00
oysteikt 6a4a83367e Add --yes flag for drop operations
Build and test / check (push) Successful in 2m23s
Build and test / build (push) Successful in 3m5s
Build and test / check-license (push) Successful in 5m31s
Build and test / test (push) Successful in 4m0s
Build and test / docs (push) Successful in 4m46s
2025-12-03 14:21:09 +09:00
oysteikt 6aceda6f3d Remove empty file
Build and test / check (push) Successful in 1m43s
Build and test / build (push) Successful in 3m54s
Build and test / test (push) Successful in 3m5s
Build and test / check-license (push) Successful in 5m29s
Build and test / docs (push) Successful in 6m13s
2025-12-03 13:52:28 +09:00
oysteikt 7bdecf78ff Remove old completion generator logic
Build and test / check (push) Successful in 1m44s
Build and test / build (push) Successful in 3m23s
Build and test / test (push) Successful in 3m6s
Build and test / check-license (push) Successful in 6m8s
Build and test / docs (push) Successful in 5m32s
2025-12-03 13:07:26 +09:00
oysteikt 3ac90dcb26 Embed extra build time information in --version
Build and test / check (push) Successful in 2m38s
Build and test / build (push) Successful in 3m30s
Build and test / check-license (push) Successful in 4m49s
Build and test / test (push) Successful in 4m20s
Build and test / docs (push) Successful in 5m40s
2025-12-03 12:32:09 +09:00
oysteikt 7df04ec413 Fix verbosity flag and default logging level
Build and test / check (push) Failing after 40s
Build and test / build (push) Successful in 3m9s
Build and test / test (push) Successful in 3m24s
Build and test / check-license (push) Successful in 5m48s
Build and test / docs (push) Successful in 5m18s
2025-12-03 11:39:39 +09:00
oysteikt ed71524e85 create-deb.sh: fix completion generation (again)
Build and test / check (push) Successful in 1m38s
Build and test / build (push) Successful in 2m47s
Build and test / test (push) Successful in 3m7s
Build and test / check-license (push) Successful in 5m44s
Build and test / docs (push) Successful in 4m42s
2025-12-02 17:25:42 +09:00
oysteikt 54f794acb6 README: split up into docs
Build and test / check (push) Successful in 1m25s
Build and test / build (push) Successful in 3m38s
Build and test / test (push) Successful in 2m52s
Build and test / check-license (push) Successful in 5m33s
Build and test / docs (push) Has been cancelled
2025-12-02 17:18:54 +09:00
oysteikt 32cbf215a8 .gitea/workflows: rename artifact archive to avoid confusion
Build and test / check (push) Successful in 1m24s
Build and test / build (push) Successful in 3m36s
Build and test / test (push) Successful in 2m49s
Build and test / check-license (push) Successful in 5m35s
Build and test / docs (push) Successful in 5m56s
2025-12-02 15:48:57 +09:00
oysteikt 25c4c6f3e9 server: read mysql password from file
Build and test / check (push) Successful in 1m33s
Build and test / build (push) Successful in 2m46s
Build and test / test (push) Successful in 3m11s
Build and test / check-license (push) Successful in 5m50s
Build and test / docs (push) Successful in 4m39s
2025-12-02 15:40:54 +09:00
oysteikt 7e1383609d README: fix section about systemd creds 2025-12-02 15:40:24 +09:00
oysteikt da4a256124 create-deb.sh: fix completion generation
Build and test / check (push) Successful in 1m26s
Build and test / build (push) Successful in 3m31s
Build and test / test (push) Successful in 2m50s
Build and test / check-license (push) Successful in 5m29s
Build and test / docs (push) Successful in 5m59s
2025-12-02 15:19:35 +09:00
oysteikt fae1c2c1c8 Add default config for debian, use systemd-creds by default 2025-12-02 15:19:35 +09:00
oysteikt 999d6cbc71 example-config.toml: fix typo 2025-12-02 15:05:30 +09:00
oysteikt cd58d4507e README: add instructions for creating mysql admin user 2025-12-02 13:50:04 +09:00
oysteikt 9f9e1ce504 assets/systemd: remove landlock instructions from seccomp filter by default 2025-12-02 13:49:36 +09:00
oysteikt 3e46d6f541 Add ASCII banner + regards trailer to long help
Build and test / check (push) Successful in 1m37s
Build and test / build (push) Successful in 2m45s
Build and test / test (push) Successful in 3m8s
Build and test / check-license (push) Successful in 5m56s
Build and test / docs (push) Successful in 4m35s
2025-12-01 20:31:44 +09:00
oysteikt 526819d374 .gitea/workflows: fix deb name
Build and test / check (push) Successful in 1m36s
Build and test / build (push) Successful in 2m46s
Build and test / test (push) Successful in 3m7s
Build and test / check-license (push) Successful in 5m58s
Build and test / docs (push) Successful in 4m39s
2025-12-01 17:46:31 +09:00
oysteikt f348e67622 Add dynamic completion for users and databases
Build and test / check (push) Successful in 1m35s
Build and test / build (push) Successful in 2m46s
Build and test / test (push) Successful in 3m10s
Build and test / check-license (push) Successful in 6m12s
Build and test / docs (push) Successful in 4m39s
2025-12-01 17:26:17 +09:00
oysteikt cb3f3f3e1d Add value hints for args
Build and test / check (push) Successful in 1m33s
Build and test / build (push) Successful in 2m44s
Build and test / test (push) Successful in 2m50s
Build and test / check-license (push) Successful in 5m28s
Build and test / docs (push) Successful in 4m40s
2025-12-01 15:46:38 +09:00
oysteikt 1af9748530 client: add --fail flag for show-* commands 2025-12-01 15:19:42 +09:00
oysteikt e05a72894f client: take password from stdin for passwd-user 2025-12-01 14:32:35 +09:00
oysteikt 16db753f3f client: add missing doccomments to command args 2025-12-01 14:26:47 +09:00
oysteikt d7b8167fd3 README: misc updates 2025-12-01 14:09:44 +09:00
oysteikt 67b820c1ad README: add note about log filtering 2025-12-01 13:47:07 +09:00
oysteikt e5627b2649 server: add tracing span to user session 2025-12-01 13:45:39 +09:00
oysteikt ff858de178 server: misc changes for traces 2025-12-01 13:26:44 +09:00
oysteikt 025df3490c server: add prelude print 2025-12-01 12:59:53 +09:00
oysteikt 79f2a2b497 Add misc command help messages 2025-12-01 12:59:53 +09:00
oysteikt a6db254c20 server: disable landlock in systemd daemon
This ensures that reloads work correctly
2025-12-01 12:59:53 +09:00
oysteikt 152c3ddbcc Add landlock rulesets 2025-12-01 12:59:53 +09:00
oysteikt 2472936857 Switch from log to tracing 2025-11-30 20:42:10 +09:00
oysteikt 7f5c3310db flake.nix: fix coverage app 2025-11-30 15:30:00 +09:00
oysteikt fd3fd30df9 module.nix: load mysql.passwordFile via LoadCredential 2025-11-30 04:08:02 +09:00
oysteikt 0e10e6dde9 assets/system: use shorter description 2025-11-30 04:08:02 +09:00
oysteikt de57860395 module.nix: apply chroot 2025-11-30 04:08:01 +09:00
oysteikt 1fe08b59a3 server: implement graceful shutdown and reloads 2025-11-30 04:08:01 +09:00
oysteikt 4a6e49110a server: remove config args, store config path in supervisor 2025-11-29 20:38:32 +09:00
oysteikt b4db2daac7 server: note implementation overview for graceful restarts/shutdown 2025-11-29 19:58:23 +09:00
oysteikt 865b24884e Add command check-auth 2025-11-29 19:37:54 +09:00
oysteikt 03ddf0ac8a core: move DbOrUser to types, wrap item name in struct 2025-11-29 19:34:14 +09:00
oysteikt 877f45c103 nix: vendor systemd units 2025-11-29 15:20:15 +09:00
oysteikt fe87f72b00 core: derive Debug + Clone for UnixUser 2025-11-29 00:56:43 +09:00
oysteikt dac1c147dd server: fix connection counter 2025-11-29 00:56:43 +09:00
oysteikt bc4f2bc71c server: move peer cred checking to connection task
This commit also gets rid of the database connection closing helper
2025-11-29 00:56:43 +09:00
oysteikt 7ce81ddc55 server: log connection pool options 2025-11-29 00:54:31 +09:00
oysteikt 898a5e6ab0 server: set nonblocking option on systemd socket 2025-11-29 00:54:31 +09:00