Backend:
- routes/databases.rs: full CRUD for MariaDB databases + users
- mysql -u root via stdin pipe (unix socket auth, API runs as root)
- cPanel-style naming: username_dbname / username_dbuser
- Identifier validation (alphanumeric + underscore only)
- Password escaping for mysql string literals
- Safety guard: refuses to drop DBs without account prefix
- GET /api/databases (admin all), GET /api/databases/:username (per-account)
- POST /api/databases (create DB + user + GRANT ALL + nixpanel record)
- DELETE /api/databases/name/:db_name (drop DB + user + nixpanel record)
- routes/mod.rs: add databases module
- main.rs: register database routes
NixServer:
- DatabaseManager page: table across all accounts, create form with
account selector + live name preview, drop with confirmation modal
NixClient:
- MySQLDatabases page: per-account view, create form with password
confirm + connection-details card, drop with confirmation modal
- api.ts: listMyDatabases, createDatabase, deleteDatabase
CHANGELOG.md: v0.4.0-alpha entry
Cargo.toml: version bump 0.3.0-alpha -> 0.4.0-alpha
- nixpanel-accounts: creates Apache vhost, PHP-FPM pool, PowerDNS
zone (A/MX/SPF records), home dir structure, default index.html
- nixpanel-api: create_account now calls provisioner after DB insert
- NixClient: replace fake setTimeout login with real JWT API call;
admin accounts blocked with redirect message; logout clears token
- CHANGELOG updated
- README: add shields.io badges, fix stack (Rust, not Node.js),
add licensing plan table, improve structure throughout
- CHANGELOG: proper Keep a Changelog format, document v0.1.0-alpha
- LICENSE: expand source-available terms with clearer restrictions
- install.sh: strip licensing/website-api build steps (those run on
nixpanel.io/license.nixpanel.io, not on customer servers); add
license key prompt + activation against license.nixpanel.io; keep
only the panel DB; fix Apache to only expose ports 2083/2087