* Add Create Database btn on admin side
* Remove unused function
* readd function
* replace refreshform function
* add authorize, remove database limit check
* add random words, use proper name function, catch exceptions on creation
* add validation, match old client area more
* Add more authorize to Database tab
* Add confirmation to delete
* make password hidden / revealable
* better clarification
* Set default and remove placeholder.
* Remove server import, add database model to auth
* Make same changes for the database host page
* Update app/Filament/Resources/ServerResource/Pages/EditServer.php
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
* Update app/Filament/Resources/DatabaseHostResource/RelationManagers/DatabasesRelationManager.php
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
* Update app/Filament/Resources/DatabaseHostResource/RelationManagers/DatabasesRelationManager.php
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
* Remove each hidden
* Return nothing if user has no perms
* This is the way... Im done messing with it...
* Fix view permission for relationship manager
* Update app/Filament/Resources/DatabaseHostResource/RelationManagers/DatabasesRelationManager.php
* Pint
---------
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
Co-authored-by: MartinOscar <40749467+RMartinOscar@users.noreply.github.com>
* use RESOURCE_NAME for requests
* use RESOURCE_NAME for transformers
* add permissions field to api key
* add migration for new permissions field
* update tests
* remove debug log
* set column type to "json"
* remove default attribute to fix tests
* fix default value for permissions
* fix after merge
* fix after merge
* allow to "register" custom permissions
* add "role" to default resource names
* fix after merge
* fix phpstan
* fix migrations
* enable tags for nodes
* update icon for cpu column
* disable inline for "force outgoing ip" label
* change label for database hosts resource
* add custom empty state for database hosts & api keys
* add icons to egg tabs
* fix typo
* rename node "Automatic Allocation" to avoid confusion
* run code cleanup
* remove regex for node name
* only check count for application api keys
* replace "New" with "Create"
* change sidebar width to fit "Database Hosts"
* add node cpu limit to backend
* update makenodecommand
* add node cpu limit to frontend
* add migration and update mysql schema
* run pint
* fix typo in mysql schema
* forgot this assert
* forgot to setCpu here
* run pint
* adjust migration
* Fix db migration
* make cpu optional
* set default value for cpu in node deployment
* update mysql schema
---------
Co-authored-by: notCharles <charles@pelican.dev>