* use user for subject
* add permissions to properties
* always add websocket.connect permission (because it's default)
* small cleanup
* also update editing
* Add address field to display `host:port` to enduser on `ListDatabases` & `EditServer`
* Add `CopyAction` to `EditServer`
* Update databaseHost `display_name_help`
* Replace `string` with `enum`
* Add title
* Allow sendCommand on `Starting` or `Running` servers
* refactor: Use Filament interfaces
* Use `getLabel` instead of `str->headline`
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
---------
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
* Not found property rule
* Make these “better”
* Day 1
* Day 2
* Day 3
* Dat 4
* Remove disabled check
* Day 4 continued
* Run pint
* Final changes hopefully
* Pint fixes
* Fix again
* Reset these
* Update app/Filament/Admin/Pages/Health.php
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
* Update app/Traits/CheckMigrationsTrait.php
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
---------
Co-authored-by: MartinOscar <40749467+rmartinoscar@users.noreply.github.com>
* add custom statblock
* add custom datablock
* Use real values, not placeholders
* More Changes
* remove unused var
* Remove old code
* Remove more
* Updates
* Add LineHeight
Changing the font size cut off the j/g and _
* Fix invisible console selection
Closes#874
* Add Missing to `offline` detection
* Use helper
* Update
* Removals
* Move to `SmallStatBlock`
* 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
* Add front end badges
* I identify as a `string`
* Display even if there's no limit
* use `const`'s
---------
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
* Fix & Add to Server Settings page
* Add `request()->isSecure()`
CopyAction only works on SSL, no point in showing it when its not SSL
---------
Co-authored-by: notCharles <charles@pelican.dev>
* Fix schedules
* Only explode when payload isn't a power action
* Run only on first day of the month
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
---------
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
* handle "server:crashed" log
* update activity log list
* add event filter
* add email to user column
* fix phpstan
* only show the email if the actor is the server owner/ a subuser or if the viewing user is an admin
* Apply same logic from ViewAction & make sure user is admi for url
* Add pagination to avoid showing 2000 records at once
* update can check & pagination
---------
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
* add separate button for "save & close"
* make language selection for editor work
* fix download url
* add info banner for .pelicanignore files
* small cleanup
* fix import
* Move File Lang
* add `ctrl+shift+s` for save & close
* fix keybind
* cleanup and fix default value for edit
* remove unnecessary File::get & trait
* More EditorLanguages not matching their names
* mdx has its own highlighter
---------
Co-authored-by: notCharles <charles@pelican.dev>
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
* - Temporary fix for token refresh issue.
More testing is needed.
* Update server-console.blade.php
Removal of final old token var (no longer needed as livewire will handle it through piping)
* fix translations for activity logs
* add backwards compatibility for old logs
* update lang file
* small cleanup
* fix singular/ plural for "file"
* fix for "rename" + disable bulk move (because it's not working)
* fix websocket error always displaying
* use livewire component with polling for alert banner container
* add id to alert banner
* cleanup blade file and add "closeable" property
* Fix these
* Update phpstan
* Transform these into their identifiers instead
* Fix custom rule
* License is wrong
* Update these
* Pint fixes
* Fix this
* Consolidate these
* Never supported PHP 7
* Better evaluation
* Fixes
* Don’t need ignore
* Replace trait with service
* Subusers are simply the many to many relationship between Servers and Users
* Adjust to remove ignores
* Use new query builder instead!
* wip
* Update composer
* Quick fixes
* Use realtime facade
* Small fixes
* Convert to static to avoid new
* Update to statics
* Don’t modify protected properties directly
* Run pint
* Change to correct method
* Give up and use the facade
* Make sure this route is available
* Filament hasn’t been loaded yet
* This can be readonly
* Typehint
* These are no longer used
* Quick fixes
* Need doc block help
* Always true
* We use caddy with docker
* Pint
* Fix phpstan issues
* Remove unused import
---------
Co-authored-by: MartinOscar <40749467+RMartinOscar@users.noreply.github.com>
* add alert banner
* replace old server conflict banner with alert banner
* improve color and icon size
* add alert for websocket errors
* update file loading error to alert banner
* remove old events
* add back `console-status` event
* move @php block under @isset
* remove phpstan ignore
so I'm not getting force choked
* Update Server Listing
* Update Edit/Create Server Pages
Re-arrange limits, CPU->Memory->Disk
* Remove auto focus
its cancer on mobile...
* Hide Title, Quick yaml fix
* Hide columns on mobile
* Hide backup locked on mobile
* Fix schedules for mobile
* Hide Notes on mobile
* Consolidate and clean these up
* Simplify
* Remove unused imports
* Replace tabler icon package
* Update app/Filament/Server/Resources/FileResource/Pages/EditFiles.php
Co-authored-by: Lance Pioch <git@lance.sh>
* Allow the unit to be changed
* Use existing method
* Update composer and pint
* Update resources/views/tables/columns/server-entry-column.blade.php
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
* Simplify html and add small margin
* Unused
* Add enum
---------
Co-authored-by: Lance Pioch <git@lance.sh>
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>