Commit Graph

42 Commits

Author SHA1 Message Date
6e914dec34 Misc. clap improvements, , more accurate value names, ... 2025-12-15 00:46:56 +09:00
222941509d core: check suid/sgid dynamically instead of checking file
All checks were successful
Build and test / check (push) Successful in 1m41s
Build and test / test (push) Successful in 3m5s
Build and test / check-license (push) Successful in 5m56s
Build and test / docs (push) Successful in 5m29s
Build and test / build (push) Successful in 3m9s
2025-12-04 20:29:44 +09:00
7bdecf78ff Remove old completion generator logic
All checks were successful
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
3ac90dcb26 Embed extra build time information in --version
All checks were successful
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
7df04ec413 Fix verbosity flag and default logging level
Some checks failed
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
3e46d6f541 Add ASCII banner + regards trailer to long help
All checks were successful
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
f348e67622 Add dynamic completion for users and databases
All checks were successful
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
cb3f3f3e1d Add value hints for args
All checks were successful
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
79f2a2b497 Add misc command help messages 2025-12-01 12:59:53 +09:00
a6db254c20 server: disable landlock in systemd daemon
This ensures that reloads work correctly
2025-12-01 12:59:53 +09:00
152c3ddbcc Add landlock rulesets 2025-12-01 12:59:53 +09:00
3eac8ffd94 server: set minimum number of tokio worker threads 2025-11-29 00:54:30 +09:00
20331a4429 server: refactor server logic into supervisor + session handler 2025-11-26 19:11:05 +09:00
a4acfe91af Rename project to muscl 2025-11-26 13:50:06 +09:00
c9815fe7de Remove tui stub
This should just be added later when (if) it is ever implemented
2025-11-26 02:08:31 +09:00
9e39401049 client: split commands into separate files 2025-11-26 01:51:08 +09:00
4fb60f8563 client: rename and merge user/db command modules 2025-11-26 01:25:47 +09:00
7760b001d8 Get rid of dependency on 'futures'
All checks were successful
Build / check (push) Successful in 1m32s
Build / build (push) Successful in 4m11s
Build / docs (push) Successful in 7m2s
2025-11-20 19:34:24 +09:00
c6d3bbca6f Add warning comments for functions running as SUID/SGID
Some checks failed
Build / check (push) Failing after 5m22s
Build / build (push) Successful in 14m47s
Build / docs (push) Successful in 15m41s
2025-11-10 12:11:24 +09:00
d932b57aaa Use multithreaded tokio runtime for external server
Some checks failed
Build / check (push) Failing after 5m19s
Build / build (push) Successful in 13m21s
Build / docs (push) Successful in 18m22s
2025-11-10 01:28:01 +09:00
9e23f03ca2 Use non-templated systemd service
The previous setup was broken

This commit also adds some code to check that the database connection is
valid before it starts, as well as refactors the code that splits
between starting and external or internal server.
2025-11-10 00:38:26 +09:00
bd4791dc17 Check that executable is not SUID/SGID for unrelated subcommands 2025-11-10 00:33:53 +09:00
c2d22ee7f8 flake.lock: bump, Cargo.lock: bump, Cargo.toml: update inputs, format, etc
Some checks failed
Build / build (push) Has been cancelled
Build / check (push) Has been cancelled
Build / docs (push) Has been cancelled
2025-05-07 10:39:10 +02:00
a0be0d3b92 Wrap database users and database names in newtypes
Also, use less cloning where possible
2024-08-20 17:46:43 +02:00
cdb1fb4181 Integrate better with systemd + better logs and protocol usage
This commits adds the following:

- Better systemd integration and usage:
  - More hardening
  - A watchdog thread
  - Journald native logging

as well as

- Better logs
- Some protocol usage fixes
2024-08-20 17:46:40 +02:00
d1d06514a9 cargo fmt + clippy 2024-08-19 17:52:16 +02:00
3556eb37ea Dont drop privs as server 2024-08-19 17:46:08 +02:00
48240489a7 Have server notify the client about db connection errors 2024-08-19 16:57:24 +02:00
807017ea70 add shell completion 2024-08-19 02:23:31 +02:00
af86893acf Rewrite entire codebase to split into client and server 2024-08-17 20:21:05 +02:00
20e60ca5c7 Add protocol for authenticating a unix socket 2024-08-09 19:09:04 +02:00
e2193f47c1 Only pass the mysql config portion when connecting 2024-08-08 19:40:57 +02:00
7e71b5071f Report back more detailed results from commands 2024-08-07 23:33:07 +02:00
d1c42dac8b Wrap all operations in database transactions 2024-08-07 16:54:26 +02:00
cb83942cc8 tokio: use single thread 2024-08-07 16:45:24 +02:00
4353689a03 create compatibility layer for mysql-admutils commands 2024-08-06 23:31:47 +02:00
4dedde5edb flatten subcommands and add better doc comments 2024-07-09 19:54:27 +02:00
b0bffc45ee Add large parts of the permission editor 2024-07-09 19:51:59 +02:00
2f039c0b1d Add TUI stub 2024-04-23 00:47:58 +02:00
ccf1b78ce8 Reimplement most of the tool:
Most of the tool has been reimplemented, with the exception of the
permission editing feature, which is currently half implemented. There
are also several TODOs spread around that would benefit from some action
2024-04-23 00:47:58 +02:00
77f7085d2b WIP: Create command structure 2024-04-20 04:17:16 +02:00
094970fb75 Initial commit 2024-04-20 03:38:29 +02:00