feat(linux): aaPanel-style site config dialog & MySQL root password fixes - #8
Closed
plusemon wants to merge 3 commits into
Closed
feat(linux): aaPanel-style site config dialog & MySQL root password fixes#8plusemon wants to merge 3 commits into
plusemon wants to merge 3 commits into
Conversation
…t password when set
…t of argv
- db_root_passwd no longer persists root_password to bhserve.json (all 5 paths
dropped); the GUI re-prompts for the current password instead, so nothing is
stored and nothing needs json_esc/round-trip handling.
- Remove the now-dead saved_pw config fallback from mysql_run (both engines).
- pkexec/sudo fallbacks pipe the SQL on stdin (printf '%s\n' "" | ${SUDO-sudo}
"$cli") instead of -e "$sql", keeping the ALTER out of ps + the polkit/sudo
audit log; ${SUDO-sudo} also fixes the set -u unbound-variable abort on macOS
while honoring the Linux SUDO="" = already-root convention.
- config show/cmd_api/cmd_status now redact any legacy root_password (config_dump)
and fix the trailing comma a pre-fix build left, so the 4s GUI poll stays clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
1. aaPanel-style Site Configuration Dialog
SiteConfigDialog).~/.bhserve/nginx/sites/<name>.conf(or Apache/OLS) with reload and external editor integration.style.css.2. MySQL Root Password Handling
BHSERVE_DB_PASSWORD,BHSERVE_OLD_DB_PASSWORD).Verification
linux/build.sh.dpkg.