moar updates <3

This commit is contained in:
notCharles 2025-06-27 20:12:29 -04:00
parent ac9ca7a3f5
commit 2a37eb1ea3
8 changed files with 25 additions and 2503 deletions

View File

@ -113,7 +113,7 @@ class ApiKeyResource extends Resource
public static function defaultForm(Schema $schema): Schema public static function defaultForm(Schema $schema): Schema
{ {
return $schema return $schema
->schema([ ->components([
Fieldset::make('Permissions') Fieldset::make('Permissions')
->columnSpanFull() ->columnSpanFull()
->schema( ->schema(

View File

@ -24,7 +24,7 @@ class DatabasesRelationManager extends RelationManager
public function form(Schema $schema): Schema public function form(Schema $schema): Schema
{ {
return $schema return $schema
->schema([ ->components([
TextInput::make('database') TextInput::make('database')
->columnSpanFull(), ->columnSpanFull(),
TextInput::make('username') TextInput::make('username')

View File

@ -23,7 +23,6 @@ use Filament\Actions\ReplicateAction;
use Filament\Resources\Pages\ListRecords; use Filament\Resources\Pages\ListRecords;
use Filament\Tables\Columns\TextColumn; use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Table; use Filament\Tables\Table;
use Illuminate\Database\Eloquent\Collection;
use Illuminate\Support\Str; use Illuminate\Support\Str;
class ListEggs extends ListRecords class ListEggs extends ListRecords
@ -82,12 +81,12 @@ class ListEggs extends ListRecords
]) ])
->groupedBulkActions([ ->groupedBulkActions([
DeleteBulkAction::make() DeleteBulkAction::make()
->before(fn (Collection &$records) => $records = $records->filter(function ($egg) { ->before(fn (&$records) => $records = $records->filter(function ($egg) {
/** @var Egg $egg */ /** @var Egg $egg */
return $egg->servers_count <= 0; return $egg->servers_count <= 0;
})), })),
UpdateEggBulkAction::make() UpdateEggBulkAction::make()
->before(fn (Collection &$records) => $records = $records->filter(function ($egg) { ->before(fn (&$records) => $records = $records->filter(function ($egg) {
/** @var Egg $egg */ /** @var Egg $egg */
return cache()->get("eggs.$egg->uuid.update", false); return cache()->get("eggs.$egg->uuid.update", false);
})), })),

View File

@ -78,7 +78,7 @@ class BackupResource extends Resource
public static function defaultForm(Schema $schema): Schema public static function defaultForm(Schema $schema): Schema
{ {
return $schema return $schema
->schema([ ->components([
TextInput::make('name') TextInput::make('name')
->label('Name') ->label('Name')
->columnSpanFull(), ->columnSpanFull(),

View File

@ -52,7 +52,7 @@ class ServerTransferController extends Controller
} }
$data = []; $data = [];
/** @var \App\Models\Server $server */ /** @var Server $server */
$server = $this->connection->transaction(function () use ($server, $transfer, $data) { $server = $this->connection->transaction(function () use ($server, $transfer, $data) {
if ($transfer->old_allocation || $transfer->old_additional_allocations) { if ($transfer->old_allocation || $transfer->old_additional_allocations) {
$allocations = array_merge([$transfer->old_allocation], $transfer->old_additional_allocations); $allocations = array_merge([$transfer->old_allocation], $transfer->old_additional_allocations);

View File

@ -14,7 +14,7 @@
"chillerlan/php-qrcode": "^5.0.2", "chillerlan/php-qrcode": "^5.0.2",
"dedoc/scramble": "^0.12.10", "dedoc/scramble": "^0.12.10",
"doctrine/dbal": "~3.6.0", "doctrine/dbal": "~3.6.0",
"filament/filament": "v4.0.0-beta10", "filament/filament": "~4.0",
"guzzlehttp/guzzle": "^7.9", "guzzlehttp/guzzle": "^7.9",
"laravel/framework": "^12.19", "laravel/framework": "^12.19",
"laravel/helpers": "^1.7", "laravel/helpers": "^1.7",

36
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "7fc37aeb806d2ad571dc70cb86c2d223", "content-hash": "44ca5408a3688f615e50e54e06a703d6",
"packages": [ "packages": [
{ {
"name": "amphp/amp", "name": "amphp/amp",
@ -936,16 +936,16 @@
}, },
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
"version": "3.347.0", "version": "3.348.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aws/aws-sdk-php.git", "url": "https://github.com/aws/aws-sdk-php.git",
"reference": "c66a35e650f077caddd7db8d3a1f58b2c2b8c78b" "reference": "c384263bebbfcdd0f59b459e630851f59080955f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/c66a35e650f077caddd7db8d3a1f58b2c2b8c78b", "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/c384263bebbfcdd0f59b459e630851f59080955f",
"reference": "c66a35e650f077caddd7db8d3a1f58b2c2b8c78b", "reference": "c384263bebbfcdd0f59b459e630851f59080955f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1027,9 +1027,9 @@
"support": { "support": {
"forum": "https://github.com/aws/aws-sdk-php/discussions", "forum": "https://github.com/aws/aws-sdk-php/discussions",
"issues": "https://github.com/aws/aws-sdk-php/issues", "issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.347.0" "source": "https://github.com/aws/aws-sdk-php/tree/3.348.1"
}, },
"time": "2025-06-23T18:12:15+00:00" "time": "2025-06-27T19:02:10+00:00"
}, },
{ {
"name": "blade-ui-kit/blade-heroicons", "name": "blade-ui-kit/blade-heroicons",
@ -8675,16 +8675,16 @@
}, },
{ {
"name": "spatie/laravel-data", "name": "spatie/laravel-data",
"version": "4.16.1", "version": "4.17.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/laravel-data.git", "url": "https://github.com/spatie/laravel-data.git",
"reference": "e652b52bdaca4774abb4a6024736850a1c4ab50b" "reference": "6b110d25ad4219774241b083d09695b20a7fb472"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-data/zipball/e652b52bdaca4774abb4a6024736850a1c4ab50b", "url": "https://api.github.com/repos/spatie/laravel-data/zipball/6b110d25ad4219774241b083d09695b20a7fb472",
"reference": "e652b52bdaca4774abb4a6024736850a1c4ab50b", "reference": "6b110d25ad4219774241b083d09695b20a7fb472",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -8746,7 +8746,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/spatie/laravel-data/issues", "issues": "https://github.com/spatie/laravel-data/issues",
"source": "https://github.com/spatie/laravel-data/tree/4.16.1" "source": "https://github.com/spatie/laravel-data/tree/4.17.0"
}, },
"funding": [ "funding": [
{ {
@ -8754,7 +8754,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2025-06-24T08:19:42+00:00" "time": "2025-06-25T11:36:37+00:00"
}, },
{ {
"name": "spatie/laravel-fractal", "name": "spatie/laravel-fractal",
@ -13565,16 +13565,16 @@
}, },
{ {
"name": "nunomaduro/collision", "name": "nunomaduro/collision",
"version": "v8.8.1", "version": "v8.8.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nunomaduro/collision.git", "url": "https://github.com/nunomaduro/collision.git",
"reference": "44ccb82e3e21efb5446748d2a3c81a030ac22bd5" "reference": "60207965f9b7b7a4ce15a0f75d57f9dadb105bdb"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nunomaduro/collision/zipball/44ccb82e3e21efb5446748d2a3c81a030ac22bd5", "url": "https://api.github.com/repos/nunomaduro/collision/zipball/60207965f9b7b7a4ce15a0f75d57f9dadb105bdb",
"reference": "44ccb82e3e21efb5446748d2a3c81a030ac22bd5", "reference": "60207965f9b7b7a4ce15a0f75d57f9dadb105bdb",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -13660,7 +13660,7 @@
"type": "patreon" "type": "patreon"
} }
], ],
"time": "2025-06-11T01:04:21+00:00" "time": "2025-06-25T02:12:12+00:00"
}, },
{ {
"name": "pestphp/pest", "name": "pestphp/pest",

2477
package-lock.json generated

File diff suppressed because it is too large Load Diff