Commit Graph

46 Commits

Author SHA1 Message Date
oysteikt a4084e2ecc Cargo.{toml,lock}: bump deps 2025-12-04 14:05:27 +09:00
oysteikt 162c8cd422 Cargo.toml: (deb) fix metadata
Build and test / check (push) Failing after 2m39s
Build and test / build (push) Successful in 3m5s
Build and test / check-license (push) Successful in 5m31s
Build and test / test (push) Successful in 4m5s
Build and test / docs (push) Successful in 4m58s
2025-12-04 13:39:31 +09:00
oysteikt 4c21d083df Cargo.toml: (deb) mark /etc/muscl/config.toml as config file 2025-12-04 09:27:41 +09:00
oysteikt c5c6236e50 Cargo.toml: (deb) preserve symlinks 2025-12-04 09:27:03 +09:00
oysteikt a5a5522ad0 Cargo.toml: (deb) install changelog 2025-12-04 09:26:55 +09:00
oysteikt 6194fcef26 Cargo.toml: (deb) let systemd-units install units instead of assets 2025-12-04 09:26:33 +09:00
oysteikt acde3a9d5d Cargo.toml: add mysql-admutils symlinks to deb
Build and test / check (push) Successful in 1m55s
Build and test / build (push) Successful in 3m5s
Build and test / test (push) Successful in 3m29s
Build and test / check-license (push) Successful in 5m47s
Build and test / docs (push) Successful in 4m43s
2025-12-03 17:31:58 +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 fae1c2c1c8 Add default config for debian, use systemd-creds by default 2025-12-02 15:19:35 +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 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 1fe08b59a3 server: implement graceful shutdown and reloads 2025-11-30 04:08:01 +09:00
oysteikt 3eac8ffd94 server: set minimum number of tokio worker threads 2025-11-29 00:54:30 +09:00
oysteikt 20331a4429 server: refactor server logic into supervisor + session handler 2025-11-26 19:11:05 +09:00
oysteikt a4acfe91af Rename project to muscl 2025-11-26 13:50:06 +09:00
oysteikt c9815fe7de Remove tui stub
This should just be added later when (if) it is ever implemented
2025-11-26 02:08:31 +09:00
oysteikt 412e5c1604 Cargo.toml: bump deps
Build and test / check (push) Successful in 1m42s
Build and test / build (push) Successful in 2m47s
Build and test / test (push) Successful in 3m17s
Build and test / check-license (push) Successful in 6m4s
Build and test / docs (push) Successful in 5m36s
2025-11-25 19:38:05 +09:00
oysteikt 03a761a0ff Refactor privilege handling
Build / check (push) Successful in 2m41s
Build / build (push) Successful in 3m5s
Build / docs (push) Successful in 5m37s
2025-11-25 19:20:46 +09:00
oysteikt 7760b001d8 Get rid of dependency on 'futures'
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
oysteikt 6a7e8db162 Add script to create deb package
Build / check (push) Successful in 1m38s
Build / build (push) Successful in 3m47s
Build / docs (push) Successful in 5m41s
2025-11-11 01:29:34 +09:00
oysteikt 30d02775c2 Make compile-time feature for SUID/SGID mode
Build / check (push) Successful in 1m27s
Build / build (push) Successful in 2m46s
Build / docs (push) Successful in 6m33s
2025-11-11 00:28:34 +09:00
oysteikt d932b57aaa Use multithreaded tokio runtime for external server
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
oysteikt 44c2fe3eca Cargo.toml: add additional metadata
Build / check (push) Successful in 11m32s
Build / build (push) Successful in 14m50s
Build / docs (push) Successful in 15m40s
2025-11-09 19:26:07 +09:00
oysteikt 1ee79a5b47 flake.lock: bump, Cargo.toml: update inputs 2025-11-09 16:06:08 +09:00
oysteikt f212ef1bfb Cargo.toml: update deps, flake.nix: add cargo-edit, bump nixpkgs
Build / build (push) Failing after 1m25s
Build / check (push) Failing after 6m32s
Build / docs (push) Failing after 7m37s
2025-07-11 19:09:43 +02:00
oysteikt c2d22ee7f8 flake.lock: bump, Cargo.lock: bump, Cargo.toml: update inputs, format, etc
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
oysteikt d9b11f6e38 Update rust dependencies
Build / check (push) Successful in 12m25s
Build / build (push) Successful in 14m3s
Build / docs (push) Successful in 18m5s
2025-01-18 20:44:53 +01:00
oysteikt 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
oysteikt b21aa0eece Fix sql regex to work like ownership validation 2024-08-19 17:59:13 +02:00
oysteikt 807017ea70 add shell completion 2024-08-19 02:23:31 +02:00
oysteikt 9d88c95f33 Fix systemd socket activation 2024-08-18 22:24:28 +02:00
oysteikt 53f19b3d05 Replace socket authentication mechanism with SO_PEERCRED 2024-08-18 22:22:58 +02:00
oysteikt 94c9a54c14 Bump all deps, fix db connection closing issues 2024-08-18 01:33:55 +02:00
oysteikt af86893acf Rewrite entire codebase to split into client and server 2024-08-17 20:21:05 +02:00
oysteikt 20e60ca5c7 Add protocol for authenticating a unix socket 2024-08-09 19:09:04 +02:00
oysteikt 833251a1a2 show-user: add databases field, report when no users 2024-08-07 20:31:05 +02:00
oysteikt cb83942cc8 tokio: use single thread 2024-08-07 16:45:24 +02:00
oysteikt f75d2fee7a replace deps edit and rpassword with dialoguer 2024-08-07 16:43:26 +02:00
oysteikt 4353689a03 create compatibility layer for mysql-admutils commands 2024-08-06 23:31:47 +02:00
felixalb 4a94265eae Remove randomly generated example, run clippy. Fixes #6 2024-07-12 21:59:44 +02:00
oysteikt b0bffc45ee Add large parts of the permission editor 2024-07-09 19:51:59 +02:00
oysteikt 2f039c0b1d Add TUI stub 2024-04-23 00:47:58 +02:00
oysteikt 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
oysteikt 77f7085d2b WIP: Create command structure 2024-04-20 04:17:16 +02:00
oysteikt 094970fb75 Initial commit 2024-04-20 03:38:29 +02:00