Skip to content

rework dbs & fix names everywhere - #7

Merged
InvalidJoker merged 5 commits into
devfrom
refactor/dbs
Nov 6, 2026
Merged

InvalidJoker merged 5 commits into
devfrom
refactor/dbs

Conversation

@InvalidJoker

Copy link
Copy Markdown
Member
  • don't allow blank names
  • dont show instances to users

Users created a new instance for every database. Add a
/project/{id}/database service that lists databases across all
instances and creates a database together with an owning user on the
project's single instance per engine, provisioning and starting that
instance on demand. Redis gets one instance per project.

Instance creation and deletion move into shared helpers so the
existing instance routes keep working unchanged.
The databases page now creates databases by name and engine and shows
each one's connection string directly. Instance details stay reachable
under "Users and settings". Regenerates the API client.
Servers, database instances and hosts, nodes, API keys and SSH keys
accepted empty or invisible names. Add a shared display_name validator
that trims whitespace, control and invisible characters, requires 1-64
characters and stores the trimmed name. Projects use it too.
@InvalidJoker
InvalidJoker marked this pull request as ready for review November 6, 2026 14:58
@InvalidJoker
InvalidJoker merged commit 76ec3dc into dev Nov 6, 2026
5 checks passed
@InvalidJoker
InvalidJoker deleted the refactor/dbs branch November 6, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant