* 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>
* Better readability
* Force refresh the server instance
* Use kebab case for these
* Fix phpstan
* Retry a little longer
* Updates
* Add pint
* Don’t need this
* Pint fix
* More console changes
* Update Console Page
* Edit console input
* oops
* Remove failed attempt of clearing input when server offline
* Update File Editor to match console
* a touch more style
* Show not-allowed on read-only input
* round bottom corners of command input
* Move custom css to file
* Update Console
Updates console to be more better <3.
Light Mode still needs some love, haven't figured that out with filaments light/dark options yet as it does not use the "bright<color>" colors...
* Add overflow to... Everything?
* Oops, Add Name label back
* Actually handle Transfer Status & remove useless switch
* Use switch case
* Readonly command input if server can't receive one
* lint
* Update app/Filament/Server/Widgets/ServerConsole.php
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
* Use filament::icon instead of raw svg
* Update resources/views/filament/components/server-console.blade.php
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>
---------
Co-authored-by: RMartinOscar <40749467+RMartinOscar@users.noreply.github.com>
Co-authored-by: Boy132 <Boy132@users.noreply.github.com>