* add back network chart
* don't show timestamp
* convert "total" to "real time"
* fix typo
* set min to 0
* sort data to make sure we actually get the previous value
* Fix `ServerNetworkChart`
* Many changes...
* small cleanup
---------
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
Co-authored-by: notCharles <charles@pelican.dev>
* Remove open in new tab since both are on filament now.
Removing the open in new tab since both are on filament now. And the tenant: null was function default so not needed aswell
* Rework permission tab loading
Reworked permission tab loading to make it easier to expand on it in the future. This is way more friendly if extensions are planned in the future.
* Rework permission tab loading
Reworked permission tab loading to make it easier to expand on it in the future. This is way more friendly if extensions are planned in the future.
* Rework permission tab loading
Reworked permission tab loading to make it easier to expand on it in the future. This is way more friendly if extensions are planned in the future.
* Update UserResource.php
Used wrong name. It's not the name, the label has to be checked there.
* Fix: wrong name used
Used wrong name. It's not the name, the label has to be checked there.
* Update permission loading
Moved permission list to app/Models/Permission.php and made UserResource.php and ListUsers.php use it.
* Fix Pint and PHPStan error
Added comments
* Update array key
Updated array key using the lowercase name. Suggested by https://github.com/Boy132
* Correct array key
Updated array key using the lowercase. Suggested by https://github.com/Boy132
* Revert/correct array key
Updated array key using the lowercase and the correct label.
* Add 'user' key
In the old $permission array was user an entry witch is missing in permissionTabs()
* Style and return
Added @return and removed empty lines
* pin
fix pint
* fix pint
remove @return
* fix pint
add () since pint is still not happy
* remove mb_strtolower
mb_strtolower is not necessary
* remove schema for control
remove ->schema for control tab.
* Remove import
Remove unused import
* correct translation key
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
* make columns optional,
checkboxList => columns is now optional and default to 2
* move user and control registration
removed control registration since it was duplicate and move user registration to permissionTabs
* update @return on permissionTabs()
* Fix array key warning
* simplify permissions data
* revert this
* fix edit modal
* update icons
---------
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
Co-authored-by: Boy132 <mail@boy132.de>
* Revert "Remove `NavigationGroups` for Admin Navbar (#1248)"
This reverts commit a1869002629b18500b346e5c505869bc45d43456.
* make navigation groups conditional
* add some refreshs & notifications to EditServer action buttons
* reinstall server when trying to toggle failed state
* don't show modal on normal toggle install
* don't print raw exception on reinstall & suspension
* refactor captcha
* add default error message
* prevent rule from being called multiple times
* fixes
* use config
* Update this to latest
* Remove this
---------
Co-authored-by: Lance Pioch <git@lance.sh>
* Add url `Repeater` to `ImportEggAction`
* Addtranslation
* Requested changes
* Only allow `multiple` when not editing `Egg`
* Only `deletable` & `grid` if `multiple`
* Fix `FileUpload` & Make sure its a json file
* Add address field to display `host:port` to enduser on `ListDatabases` & `EditServer`
* Add `CopyAction` to `EditServer`
* Update databaseHost `display_name_help`
* Convert route options to fluent methods
Laravel 8 adopts the tuple syntax for controller actions. Since the old options array is incompatible with this syntax, Shift converted them to use modern, fluent methods.
* Slim `lang` files
* Shift core files
* Validate via object directly within Controllers
* Use `Gate` facade for controller authorization
* Dispatch jobs directly
* Remove base controller inheritance
* Default config files
In an effort to make upgrading the constantly changing config files easier, Shift defaulted them and merged your true customizations - where ENV variables may not be used.
* Set new `ENV` variables
* Add new Laravel `composer run dev` script
* Add `storage/app/private` folder
* Bump Composer dependencies
* Convert `$casts` property to method
* Adopt Laravel type hints
* Shift cleanup
* Apply suggestions from code review
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
* Add old key as backup
* Update composer
* Remove extra line
* Update this
---------
Co-authored-by: Shift <shift@laravelshift.com>
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
* Fix copy paste AllocationsRelationManager
* We shouldn't let the user know if the user is correct but the password isn't
* Add missing `trans()` `EditServer`
* Add missing `trans()` User `ServersRelationManager`
* Replace every `__()` with `trans()` helper
* Fix `exceptions` `User` Model
* Replace `Translator->get()` with `trans()` helper
* Revert "We shouldn't let the user know if the user is correct but the password isn't"
This reverts commit e156ee4b38e9e969662a532648c78fdc1e9b0166.
that's stock laravel, therefore it needs to stay