4fb60f8563
client: rename and merge user/db command modules
2025-11-26 01:25:47 +09:00
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
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
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
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
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