Commit Graph

72 Commits

Author SHA1 Message Date
Oystein Kristoffer Tveit dadfa786ef
create-user: ask for password by default 2024-08-07 16:43:55 +02:00
Oystein Kristoffer Tveit f75d2fee7a
replace deps `edit` and `rpassword` with `dialoguer` 2024-08-07 16:43:26 +02:00
Oystein Kristoffer Tveit 05c15da59d
Remove already fixed TODOs 2024-08-07 16:18:48 +02:00
Oystein Kristoffer Tveit 9d0b632e9c
Inline database quotation functions 2024-08-07 16:17:14 +02:00
Oystein Kristoffer Tveit 01d502337d
Don't fail on erroneus db connection closure 2024-08-07 16:16:46 +02:00
Oystein Kristoffer Tveit 460a8d6abb
core/user_operations: add a few docstrings 2024-08-07 00:02:14 +02:00
Oystein Kristoffer Tveit 21c2fc2e8b
cargo fmt + clippy 2024-08-06 23:48:31 +02:00
Oystein Kristoffer Tveit fb7391a29c
edit-db-perm: ensure user exists before applying changes 2024-08-06 23:41:11 +02:00
Oystein Kristoffer Tveit 4353689a03 create compatibility layer for mysql-admutils commands 2024-08-06 23:31:47 +02:00
Oystein Kristoffer Tveit eddc0ad5e9 Fix issue where groupless users own all users/dbs 2024-08-04 17:51:49 +02:00
Felix Albrigtsen 44e23413ff Align privilege tables in edit-db-perm and show-db-perm, fixes #5 2024-07-12 23:35:57 +02:00
Felix Albrigtsen 4a94265eae Remove randomly generated example, run clippy. Fixes #6 2024-07-12 21:59:44 +02:00
Felix Albrigtsen 34dfc562a9 Remove group support on macOS, fixes #10 2024-07-12 20:53:03 +02:00
Oystein Kristoffer Tveit 2b056942eb
make database connection timeout configurable 2024-07-09 21:36:12 +02:00
Oystein Kristoffer Tveit 4dedde5edb
flatten subcommands and add better doc comments 2024-07-09 19:54:27 +02:00
Oystein Kristoffer Tveit b0bffc45ee
Add large parts of the permission editor 2024-07-09 19:51:59 +02:00
Oystein Kristoffer Tveit 3deeeb45c2
Let mysql connection shut down gracefully 2024-04-26 00:29:39 +02:00
Oystein Kristoffer Tveit 561241d589
Add timeout to mysql connection 2024-04-26 00:23:59 +02:00
Oystein Kristoffer Tveit 2f039c0b1d
Add TUI stub 2024-04-23 00:47:58 +02:00
Oystein Kristoffer Tveit 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
Oystein Kristoffer Tveit 77f7085d2b
WIP: Create command structure 2024-04-20 04:17:16 +02:00
Oystein Kristoffer Tveit 094970fb75
Initial commit 2024-04-20 03:38:29 +02:00