69870147f5
Add a few more status prints to the commands
2024-08-08 00:56:30 +02:00
f78c88517f
Add lock-user
and unlock-user
2024-08-08 00:53:26 +02:00
7e71b5071f
Report back more detailed results from commands
2024-08-07 23:33:07 +02:00
21c1f8cc87
Fix clippy warnings
2024-08-07 23:10:37 +02:00
1bb1c133e8
Consistently name db connection connection
2024-08-07 21:54:13 +02:00
71c712dce0
treewide: move some code around, spring cleaning
2024-08-07 21:17:27 +02:00
833251a1a2
show-user: add databases field, report when no users
2024-08-07 20:31:05 +02:00
3d7d001f65
show-user: add --json
flag
2024-08-07 17:22:23 +02:00
a9b8f7cee7
user_operations: don't fetch auth_string/password, only check existence
2024-08-07 17:20:13 +02:00
d0b750cd33
cargo clippy + fmt
2024-08-07 16:55:51 +02:00
d1c42dac8b
Wrap all operations in database transactions
2024-08-07 16:54:26 +02:00
dadfa786ef
create-user: ask for password by default
2024-08-07 16:43:55 +02:00
f75d2fee7a
replace deps edit
and rpassword
with dialoguer
2024-08-07 16:43:26 +02:00
05c15da59d
Remove already fixed TODOs
2024-08-07 16:18:48 +02:00
01d502337d
Don't fail on erroneus db connection closure
2024-08-07 16:16:46 +02:00
4353689a03
create compatibility layer for mysql-admutils commands
2024-08-06 23:31:47 +02:00
eddc0ad5e9
Fix issue where groupless users own all users/dbs
2024-08-04 17:51:49 +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
3deeeb45c2
Let mysql connection shut down gracefully
2024-04-26 00:29:39 +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