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
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
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
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
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
oysteikt
9138613267
server: remove dead (moved) code
2025-11-29 00:54:30 +09:00
oysteikt
3eac8ffd94
server: set minimum number of tokio worker threads
2025-11-29 00:54:30 +09:00
oysteikt
fa1d27e09c
server: make use of database connection pool
2025-11-26 19:11:06 +09:00
oysteikt
20331a4429
server: refactor server logic into supervisor + session handler
2025-11-26 19:11:05 +09:00
oysteikt
f5ff50365f
client: fix doccomment for edit-privs
Build and test / check (push) Successful in 1m25s
Build and test / build (push) Successful in 3m0s
Build and test / test (push) Successful in 2m47s
Build and test / check-license (push) Successful in 5m44s
Build and test / docs (push) Successful in 5m54s
2025-11-26 14:10:42 +09:00
oysteikt
7fa6f6aafe
server: add connection counter
Build and test / check (push) Successful in 2m16s
Build and test / build (push) Successful in 2m43s
Build and test / check-license (push) Successful in 5m41s
Build and test / test (push) Successful in 3m37s
Build and test / docs (push) Successful in 5m4s
2025-11-26 13:51:07 +09:00
oysteikt
f9c5f1347e
client: rename <verb>-db-privs -> <verb>-privs
2025-11-26 13:50:43 +09:00
oysteikt
a4acfe91af
Rename project to muscl
2025-11-26 13:50:06 +09:00
oysteikt
805c2d11ff
core/protocol: split commands into separate files
Build and test / check (push) Successful in 2m8s
Build and test / build (push) Successful in 3m3s
Build and test / check-license (push) Successful in 4m58s
Build and test / test (push) Successful in 3m47s
Build and test / docs (push) Successful in 5m47s
2025-11-26 02:51:23 +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
1571f6e2c7
core: split mysql user/db into separate types module
2025-11-26 02:03:18 +09:00
oysteikt
9e39401049
client: split commands into separate files
2025-11-26 01:51:08 +09:00
oysteikt
4fb60f8563
client: rename and merge user/db command modules
2025-11-26 01:25:47 +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
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
c2dcd40442
cargo fmt
Build / check (push) Successful in 11m49s
Build / build (push) Successful in 12m51s
Build / docs (push) Has been cancelled
2025-11-10 23:50:55 +09:00
oysteikt
c6d3bbca6f
Add warning comments for functions running as SUID/SGID
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
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
f90e60d856
server: don't unset NOTIFY_SOCKET on enabling watchdog
2025-11-10 01:06:37 +09:00
oysteikt
46c5d372b2
Deduplicate common username/group prefixes in error msg
Build / check (push) Failing after 5m20s
Build / build (push) Successful in 12m54s
Build / docs (push) Successful in 16m35s
2025-11-10 00:50:36 +09:00
oysteikt
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
oysteikt
bd4791dc17
Check that executable is not SUID/SGID for unrelated subcommands
2025-11-10 00:33:53 +09: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
a0be0d3b92
Wrap database users and database names in newtypes
...
Also, use less cloning where possible
2024-08-20 17:46:43 +02:00
oysteikt
338694a64e
Add more --json flags
2024-08-20 17:46:43 +02: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