Commit Graph

  • cd58d4507e README: add instructions for creating mysql admin user h7x4 2025-12-02 13:50:04 +09:00
  • 9f9e1ce504 assets/systemd: remove landlock instructions from seccomp filter by default h7x4 2025-12-02 13:49:36 +09:00
  • 3e46d6f541 Add ASCII banner + regards trailer to long help h7x4 2025-12-01 20:28:03 +09:00
  • 526819d374 .gitea/workflows: fix deb name h7x4 2025-12-01 17:46:31 +09:00
  • f348e67622 Add dynamic completion for users and databases h7x4 2025-12-01 17:26:17 +09:00
  • cb3f3f3e1d Add value hints for args h7x4 2025-12-01 15:46:38 +09:00
  • 1af9748530 client: add --fail flag for show-* commands h7x4 2025-12-01 15:19:42 +09:00
  • e05a72894f client: take password from stdin for passwd-user h7x4 2025-12-01 14:32:35 +09:00
  • 16db753f3f client: add missing doccomments to command args h7x4 2025-12-01 14:26:47 +09:00
  • d7b8167fd3 README: misc updates h7x4 2025-11-09 20:40:10 +09:00
  • 67b820c1ad README: add note about log filtering h7x4 2025-12-01 13:47:07 +09:00
  • e5627b2649 server: add tracing span to user session h7x4 2025-12-01 13:45:39 +09:00
  • ff858de178 server: misc changes for traces h7x4 2025-12-01 13:26:44 +09:00
  • 025df3490c server: add prelude print h7x4 2025-12-01 12:59:30 +09:00
  • 79f2a2b497 Add misc command help messages h7x4 2025-12-01 12:29:18 +09:00
  • a6db254c20 server: disable landlock in systemd daemon h7x4 2025-12-01 12:07:19 +09:00
  • 152c3ddbcc Add landlock rulesets h7x4 2025-12-01 11:15:29 +09:00
  • 2472936857 Switch from log to tracing h7x4 2025-11-30 20:42:10 +09:00
  • 7f5c3310db flake.nix: fix coverage app h7x4 2025-11-30 15:30:00 +09:00
  • fd3fd30df9 module.nix: load mysql.passwordFile via LoadCredential h7x4 2025-11-09 20:39:05 +09:00
  • 0e10e6dde9 assets/system: use shorter description h7x4 2025-11-30 03:39:05 +09:00
  • de57860395 module.nix: apply chroot h7x4 2025-11-30 03:32:41 +09:00
  • 1fe08b59a3 server: implement graceful shutdown and reloads h7x4 2025-11-29 21:57:25 +09:00
  • 4a6e49110a server: remove config args, store config path in supervisor h7x4 2025-11-29 20:38:32 +09:00
  • b4db2daac7 server: note implementation overview for graceful restarts/shutdown h7x4 2025-11-29 19:58:23 +09:00
  • 865b24884e Add command check-auth h7x4 2025-11-29 19:25:33 +09:00
  • 03ddf0ac8a core: move DbOrUser to types, wrap item name in struct h7x4 2025-11-29 18:59:11 +09:00
  • 877f45c103 nix: vendor systemd units h7x4 2025-11-29 15:20:15 +09:00
  • fe87f72b00 core: derive Debug + Clone for UnixUser h7x4 2025-11-29 00:54:13 +09:00
  • dac1c147dd server: fix connection counter h7x4 2025-11-29 00:53:47 +09:00
  • bc4f2bc71c server: move peer cred checking to connection task h7x4 2025-11-29 00:52:35 +09:00
  • 7ce81ddc55 server: log connection pool options h7x4 2025-11-29 00:50:10 +09:00
  • 898a5e6ab0 server: set nonblocking option on systemd socket h7x4 2025-11-29 00:49:00 +09:00
  • 9138613267 server: remove dead (moved) code h7x4 2025-11-29 00:47:32 +09:00
  • 3eac8ffd94 server: set minimum number of tokio worker threads h7x4 2025-11-27 16:17:20 +09:00
  • e51e8fe408 flake.nix: fix loglevel setting, module.nix: use default loglevel 'info' h7x4 2025-11-26 19:00:21 +09:00
  • fa1d27e09c server: make use of database connection pool h7x4 2025-11-26 18:52:07 +09:00
  • 20331a4429 server: refactor server logic into supervisor + session handler h7x4 2025-11-26 15:51:54 +09:00
  • f5ff50365f client: fix doccomment for edit-privs h7x4 2025-11-26 14:10:42 +09:00
  • 7fa6f6aafe server: add connection counter h7x4 2025-11-26 13:42:42 +09:00
  • 77667e546c README: improve joke h7x4 2025-11-26 03:51:32 +09:00
  • f9c5f1347e client: rename <verb>-db-privs -> <verb>-privs h7x4 2025-11-26 03:48:30 +09:00
  • a4acfe91af Rename project to muscl h7x4 2025-11-26 03:38:31 +09:00
  • 805c2d11ff core/protocol: split commands into separate files h7x4 2025-11-26 02:41:28 +09:00
  • c9815fe7de Remove tui stub h7x4 2025-11-26 02:07:44 +09:00
  • 1571f6e2c7 core: split mysql user/db into separate types module h7x4 2025-11-26 02:03:18 +09:00
  • 9e39401049 client: split commands into separate files h7x4 2025-11-26 01:51:08 +09:00
  • 4fb60f8563 client: rename and merge user/db command modules h7x4 2025-11-26 01:25:47 +09:00
  • 39fa228d1c flake.nix: build with crane for vm h7x4 2025-11-26 01:10:01 +09:00
  • 412e5c1604 Cargo.toml: bump deps h7x4 2025-11-25 19:36:07 +09:00
  • d350438176 cargo-deny: fix license list h7x4 2025-11-25 19:35:21 +09:00
  • d1de7b71bb .gitea/workflows: check licenses h7x4 2025-11-25 19:35:06 +09:00
  • 8b893db898 .gitea/workflows: test and push coverage h7x4 2025-11-25 19:26:38 +09:00
  • 03a761a0ff Refactor privilege handling h7x4 2025-11-14 00:49:29 +09:00
  • 7760b001d8 Get rid of dependency on 'futures' h7x4 2025-11-20 19:34:24 +09:00
  • 9d3b543998 Add pipeline for publishing debs h7x4 2025-05-12 13:21:27 +02:00
  • 6a7e8db162 Add script to create deb package h7x4 2024-04-26 00:31:23 +02:00
  • 4ea960edbf WIP status-subcommand h7x4 2025-11-11 01:06:57 +09:00
  • 30d02775c2 Make compile-time feature for SUID/SGID mode h7x4 2025-11-11 00:27:27 +09:00
  • 0feb959199 .gitea/workflows: remove rust cache step h7x4 2025-11-11 00:06:23 +09:00
  • c2dcd40442 cargo fmt h7x4 2025-11-10 23:50:55 +09:00
  • 7514d5e738 flake.nix: set vim as default editor in test vm h7x4 2025-11-10 22:56:37 +09:00
  • c6d3bbca6f Add warning comments for functions running as SUID/SGID h7x4 2025-11-10 12:11:24 +09:00
  • d932b57aaa Use multithreaded tokio runtime for external server h7x4 2025-11-10 01:27:52 +09:00
  • f90e60d856 server: don't unset NOTIFY_SOCKET on enabling watchdog h7x4 2025-11-10 01:06:37 +09:00
  • 46c5d372b2 Deduplicate common username/group prefixes in error msg h7x4 2025-11-10 00:50:36 +09:00
  • e8b28f5116 flake.nix: misc fixes to test vm h7x4 2025-11-10 00:40:01 +09:00
  • 9e23f03ca2 Use non-templated systemd service h7x4 2025-11-10 00:38:26 +09:00
  • bd4791dc17 Check that executable is not SUID/SGID for unrelated subcommands h7x4 2025-11-10 00:33:53 +09:00
  • 05a4f9ad1d module.nix: don't run with debug logging by default (move to test vm) h7x4 2025-11-09 20:28:19 +09:00
  • a57eefa5be module.nix: render config to /etc h7x4 2025-11-09 20:27:36 +09:00
  • 45fbec1ad4 module.nix: default runtimedir to /run, improve systemd unit h7x4 2025-11-09 20:14:48 +09:00
  • 968c71ba79 example-config.toml: improve comments, default runtimedir to /run h7x4 2025-11-09 20:14:10 +09:00
  • 44c2fe3eca Cargo.toml: add additional metadata h7x4 2025-11-09 19:23:03 +09:00
  • 3405010508 README: add note about nixos vm h7x4 2025-11-09 18:49:48 +09:00
  • 0294381804 module.nix: explicitly disable PrivateIPC h7x4 2025-11-09 16:07:19 +09:00
  • 0457a2317d flake.nix: add runnable vm configuration h7x4 2025-11-09 16:06:55 +09:00
  • 1ee79a5b47 flake.lock: bump, Cargo.toml: update inputs h7x4 2025-11-09 16:06:08 +09:00
  • 92f6561190 .gitea/workflows: update gitea-web target host h7x4 2025-08-03 04:53:25 +02:00
  • f212ef1bfb Cargo.toml: update deps, flake.nix: add cargo-edit, bump nixpkgs h7x4 2025-07-11 19:09:43 +02:00
  • c2d22ee7f8 flake.lock: bump, Cargo.lock: bump, Cargo.toml: update inputs, format, etc h7x4 2025-05-07 10:39:10 +02:00
  • 8ba946976d README: add better description h7x4 2025-03-18 12:38:17 +01:00
  • 1cfe9ab350 LICENSE: change from GPLv2-only to BSD3 h7x4 2025-01-18 22:40:48 +01:00
  • 7aadb016a2 README.md: add badge for rust docs h7x4 2025-01-18 21:51:57 +01:00
  • d9b11f6e38 Update rust dependencies h7x4 2025-01-18 20:44:53 +01:00
  • 3fb7c143fb flake.nix: update to nixpkgs-unstable h7x4 2025-01-18 20:36:35 +01:00
  • c1cf591492 .envrc: init h7x4 2024-12-10 00:36:22 +01:00
  • d24be4eee6 .gitea/build: init h7x4 2024-12-10 00:35:45 +01:00
  • a0be0d3b92 Wrap database users and database names in newtypes h7x4 2024-08-20 17:46:43 +02:00
  • 8c2754c9d7 cargo-deny: init h7x4 2024-08-20 17:46:43 +02:00
  • 338694a64e Add more --json flags h7x4 2024-08-20 17:46:43 +02:00
  • cdb1fb4181 Integrate better with systemd + better logs and protocol usage h7x4 2024-08-20 17:46:40 +02:00
  • a4067975b6 flake.nix: add rust-src to rust toolchain for devshell h7x4 2024-08-19 19:34:55 +02:00
  • e993644844 core/database_privileges: test edit-db-privs -p parser h7x4 2024-08-19 19:26:27 +02:00
  • fe60441c89 README: fix outdated command names h7x4 2024-08-19 19:03:04 +02:00
  • 0ce90ab42a list-db -> show-db h7x4 2024-08-19 18:58:26 +02:00
  • 51302d75f0 create-users: default to setting no password in prompt h7x4 2024-08-19 18:06:47 +02:00
  • b9a1d91630 Add nixos module h7x4 2024-08-19 18:00:57 +02:00
  • b21aa0eece Fix sql regex to work like ownership validation h7x4 2024-08-19 17:57:35 +02:00
  • d1d06514a9 cargo fmt + clippy h7x4 2024-08-19 17:52:16 +02:00