composer + filament upgrade

This commit is contained in:
notCharles 2025-07-19 16:58:13 -04:00
parent 4835192acd
commit 91fcaf4b45
6 changed files with 80 additions and 79 deletions

View File

@ -2,6 +2,7 @@
namespace App\Filament\App\Resources\ServerResource\Pages;
use Filament\Support\Enums\TextSize;
use App\Enums\ServerResourceType;
use App\Filament\App\Resources\ServerResource;
use App\Filament\Components\Tables\Columns\ServerEntryColumn;
@ -14,7 +15,6 @@ use App\Traits\Filament\CanCustomizeHeaderWidgets;
use Exception;
use Filament\Actions\Action;
use Filament\Actions\ActionGroup;
use Filament\Infolists\Components\TextEntry\TextEntrySize;
use Filament\Notifications\Notification;
use Filament\Resources\Pages\ListRecords;
use Filament\Schemas\Components\Tabs\Tab;
@ -71,7 +71,7 @@ class ListServers extends ListRecords
->alignCenter()
->default('unknown')
->wrap()
->size(TextEntrySize::Medium)
->size(TextSize::Medium)
->badge()
->tooltip(fn (Server $server) => $server->formatResource('uptime', type: ServerResourceType::Time))
->icon(fn (Server $server) => $server->condition->getIcon())
@ -80,7 +80,7 @@ class ListServers extends ListRecords
->label('Server')
->description(fn (Server $server) => $server->description)
->grow()
->size(TextEntrySize::Medium)
->size(TextSize::Medium)
->searchable(),
TextColumn::make('allocation.address')
->label('')
@ -90,7 +90,7 @@ class ListServers extends ListRecords
->state(fn (Server $server) => $server->allocation->address ?? 'None'),
TextColumn::make('cpuUsage')
->label('Resources')
->size(TextEntrySize::Medium)
->size(TextSize::Medium)
->icon('tabler-cpu')
->tooltip(fn (Server $server) => 'Usage Limit: ' . $server->formatResource('cpu', limit: true, type: ServerResourceType::Percentage, precision: 0))
->state(fn (Server $server) => $server->formatResource('cpu_absolute', type: ServerResourceType::Percentage))
@ -98,14 +98,14 @@ class ListServers extends ListRecords
TextColumn::make('memoryUsage')
->label('')
->icon('tabler-device-desktop-analytics')
->size(TextEntrySize::Medium)
->size(TextSize::Medium)
->tooltip(fn (Server $server) => 'Usage Limit: ' . $server->formatResource('memory', limit: true))
->state(fn (Server $server) => $server->formatResource('memory_bytes'))
->color(fn (Server $server) => $this->getResourceColor($server, 'memory')),
TextColumn::make('diskUsage')
->label('')
->icon('tabler-device-sd-card')
->size(TextEntrySize::Medium)
->size(TextSize::Medium)
->tooltip(fn (Server $server) => 'Usage Limit: ' . $server->formatResource('disk', limit: true))
->state(fn (Server $server) => $server->formatResource('disk_bytes'))
->color(fn (Server $server) => $this->getResourceColor($server, 'disk')),

View File

@ -2,6 +2,7 @@
namespace App\Services\Schedules\Sharing;
use JsonException;
use App\Exceptions\Service\InvalidFileUploadException;
use App\Helpers\Utilities;
use Illuminate\Support\Arr;
@ -24,7 +25,7 @@ class ScheduleImporterService
try {
$parsed = json_decode($file->getContent(), true, 512, JSON_THROW_ON_ERROR);
} catch (\JsonException $exception) {
} catch (JsonException $exception) {
throw new InvalidFileUploadException('Could not read JSON file: ' . $exception->getMessage());
}

126
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "44ca5408a3688f615e50e54e06a703d6",
"content-hash": "23f1c6781490458e7a2cc9348b923df4",
"packages": [
{
"name": "amphp/amp",
@ -936,16 +936,16 @@
},
{
"name": "aws/aws-sdk-php",
"version": "3.351.0",
"version": "3.351.2",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
"reference": "a7b6ed6936317dc112531ec6f6119418e0575464"
"reference": "b418b41ceee47103f364e709c5f3a58a4bcf0894"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/a7b6ed6936317dc112531ec6f6119418e0575464",
"reference": "a7b6ed6936317dc112531ec6f6119418e0575464",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/b418b41ceee47103f364e709c5f3a58a4bcf0894",
"reference": "b418b41ceee47103f364e709c5f3a58a4bcf0894",
"shasum": ""
},
"require": {
@ -1027,9 +1027,9 @@
"support": {
"forum": "https://github.com/aws/aws-sdk-php/discussions",
"issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.351.0"
"source": "https://github.com/aws/aws-sdk-php/tree/3.351.2"
},
"time": "2025-07-16T15:14:44+00:00"
"time": "2025-07-18T18:06:44+00:00"
},
{
"name": "blade-ui-kit/blade-heroicons",
@ -2474,16 +2474,16 @@
},
{
"name": "filament/actions",
"version": "v4.0.0-beta16",
"version": "v4.0.0-beta17",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/actions.git",
"reference": "e4a245e26fc0fc4edcd607b9c37afe2394215190"
"reference": "0c38682e1f7b3a28aa8ac4f7c711ef49b46eac98"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/actions/zipball/e4a245e26fc0fc4edcd607b9c37afe2394215190",
"reference": "e4a245e26fc0fc4edcd607b9c37afe2394215190",
"url": "https://api.github.com/repos/filamentphp/actions/zipball/0c38682e1f7b3a28aa8ac4f7c711ef49b46eac98",
"reference": "0c38682e1f7b3a28aa8ac4f7c711ef49b46eac98",
"shasum": ""
},
"require": {
@ -2519,20 +2519,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2025-07-16T13:41:19+00:00"
"time": "2025-07-18T11:16:05+00:00"
},
{
"name": "filament/filament",
"version": "v4.0.0-beta16",
"version": "v4.0.0-beta17",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/panels.git",
"reference": "9d7dc825da982619cea67213a1d3bcd428fe1b07"
"reference": "02f26fb4d0ae83b0f030879061ca6f365b7406c4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/panels/zipball/9d7dc825da982619cea67213a1d3bcd428fe1b07",
"reference": "9d7dc825da982619cea67213a1d3bcd428fe1b07",
"url": "https://api.github.com/repos/filamentphp/panels/zipball/02f26fb4d0ae83b0f030879061ca6f365b7406c4",
"reference": "02f26fb4d0ae83b0f030879061ca6f365b7406c4",
"shasum": ""
},
"require": {
@ -2576,20 +2576,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2025-07-16T13:41:41+00:00"
"time": "2025-07-18T11:16:04+00:00"
},
{
"name": "filament/forms",
"version": "v4.0.0-beta16",
"version": "v4.0.0-beta17",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/forms.git",
"reference": "d77cbddb6c42e92045e40505f6f8ffc0af46b5da"
"reference": "54cdbcef73ff6c71f9fcc5670f167f8fff77cd39"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/forms/zipball/d77cbddb6c42e92045e40505f6f8ffc0af46b5da",
"reference": "d77cbddb6c42e92045e40505f6f8ffc0af46b5da",
"url": "https://api.github.com/repos/filamentphp/forms/zipball/54cdbcef73ff6c71f9fcc5670f167f8fff77cd39",
"reference": "54cdbcef73ff6c71f9fcc5670f167f8fff77cd39",
"shasum": ""
},
"require": {
@ -2626,20 +2626,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2025-07-16T13:41:20+00:00"
"time": "2025-07-18T11:16:18+00:00"
},
{
"name": "filament/infolists",
"version": "v4.0.0-beta16",
"version": "v4.0.0-beta17",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/infolists.git",
"reference": "f033f94ebf9259cf10ea8c680309d9c6a806fffd"
"reference": "2a2691606e9409f69f91bff8c5ed26f1a53dc454"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/infolists/zipball/f033f94ebf9259cf10ea8c680309d9c6a806fffd",
"reference": "f033f94ebf9259cf10ea8c680309d9c6a806fffd",
"url": "https://api.github.com/repos/filamentphp/infolists/zipball/2a2691606e9409f69f91bff8c5ed26f1a53dc454",
"reference": "2a2691606e9409f69f91bff8c5ed26f1a53dc454",
"shasum": ""
},
"require": {
@ -2672,11 +2672,11 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2025-07-16T13:41:17+00:00"
"time": "2025-07-18T11:16:10+00:00"
},
{
"name": "filament/notifications",
"version": "v4.0.0-beta16",
"version": "v4.0.0-beta17",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/notifications.git",
@ -2723,7 +2723,7 @@
},
{
"name": "filament/schemas",
"version": "v4.0.0-beta16",
"version": "v4.0.0-beta17",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/schemas.git",
@ -2768,16 +2768,16 @@
},
{
"name": "filament/support",
"version": "v4.0.0-beta16",
"version": "v4.0.0-beta17",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/support.git",
"reference": "42f7f9f3d334b63142393198c6604787c0618fde"
"reference": "c3261b38ff9322c4ff622307682d50760fcc85e3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/support/zipball/42f7f9f3d334b63142393198c6604787c0618fde",
"reference": "42f7f9f3d334b63142393198c6604787c0618fde",
"url": "https://api.github.com/repos/filamentphp/support/zipball/c3261b38ff9322c4ff622307682d50760fcc85e3",
"reference": "c3261b38ff9322c4ff622307682d50760fcc85e3",
"shasum": ""
},
"require": {
@ -2822,20 +2822,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2025-07-16T13:41:18+00:00"
"time": "2025-07-18T11:15:59+00:00"
},
{
"name": "filament/tables",
"version": "v4.0.0-beta16",
"version": "v4.0.0-beta17",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/tables.git",
"reference": "12ac31006652f59832a98939bc9a68e0997990f4"
"reference": "1b1164c898432825a4a8fba42a2249ee02cc2559"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/tables/zipball/12ac31006652f59832a98939bc9a68e0997990f4",
"reference": "12ac31006652f59832a98939bc9a68e0997990f4",
"url": "https://api.github.com/repos/filamentphp/tables/zipball/1b1164c898432825a4a8fba42a2249ee02cc2559",
"reference": "1b1164c898432825a4a8fba42a2249ee02cc2559",
"shasum": ""
},
"require": {
@ -2867,20 +2867,20 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2025-07-16T13:41:19+00:00"
"time": "2025-07-18T11:16:15+00:00"
},
{
"name": "filament/widgets",
"version": "v4.0.0-beta16",
"version": "v4.0.0-beta17",
"source": {
"type": "git",
"url": "https://github.com/filamentphp/widgets.git",
"reference": "6387ca79404450712fede8d80eccc4e70a45fea7"
"reference": "0f11eac13cf52da43e076791c7538ed790a2e3d3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/filamentphp/widgets/zipball/6387ca79404450712fede8d80eccc4e70a45fea7",
"reference": "6387ca79404450712fede8d80eccc4e70a45fea7",
"url": "https://api.github.com/repos/filamentphp/widgets/zipball/0f11eac13cf52da43e076791c7538ed790a2e3d3",
"reference": "0f11eac13cf52da43e076791c7538ed790a2e3d3",
"shasum": ""
},
"require": {
@ -2911,7 +2911,7 @@
"issues": "https://github.com/filamentphp/filament/issues",
"source": "https://github.com/filamentphp/filament"
},
"time": "2025-07-16T13:41:17+00:00"
"time": "2025-07-18T11:16:22+00:00"
},
{
"name": "firebase/php-jwt",
@ -8932,16 +8932,16 @@
},
{
"name": "spatie/laravel-package-tools",
"version": "1.92.6",
"version": "1.92.7",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-package-tools.git",
"reference": "afa90e37741a953d33728e7106a1f24a13fdd808"
"reference": "f09a799850b1ed765103a4f0b4355006360c49a5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/afa90e37741a953d33728e7106a1f24a13fdd808",
"reference": "afa90e37741a953d33728e7106a1f24a13fdd808",
"url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/f09a799850b1ed765103a4f0b4355006360c49a5",
"reference": "f09a799850b1ed765103a4f0b4355006360c49a5",
"shasum": ""
},
"require": {
@ -8981,7 +8981,7 @@
],
"support": {
"issues": "https://github.com/spatie/laravel-package-tools/issues",
"source": "https://github.com/spatie/laravel-package-tools/tree/1.92.6"
"source": "https://github.com/spatie/laravel-package-tools/tree/1.92.7"
},
"funding": [
{
@ -8989,7 +8989,7 @@
"type": "github"
}
],
"time": "2025-07-14T08:02:47+00:00"
"time": "2025-07-17T15:46:43+00:00"
},
{
"name": "spatie/laravel-permission",
@ -12448,20 +12448,20 @@
"packages-dev": [
{
"name": "barryvdh/laravel-ide-helper",
"version": "v3.5.5",
"version": "v3.6.0",
"source": {
"type": "git",
"url": "https://github.com/barryvdh/laravel-ide-helper.git",
"reference": "8d441ec99f8612b942b55f5183151d91591b618a"
"reference": "8d00250cba25728373e92c1d8dcebcbf64623d29"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/8d441ec99f8612b942b55f5183151d91591b618a",
"reference": "8d441ec99f8612b942b55f5183151d91591b618a",
"url": "https://api.github.com/repos/barryvdh/laravel-ide-helper/zipball/8d00250cba25728373e92c1d8dcebcbf64623d29",
"reference": "8d00250cba25728373e92c1d8dcebcbf64623d29",
"shasum": ""
},
"require": {
"barryvdh/reflection-docblock": "^2.3",
"barryvdh/reflection-docblock": "^2.4",
"composer/class-map-generator": "^1.0",
"ext-json": "*",
"illuminate/console": "^11.15 || ^12",
@ -12526,7 +12526,7 @@
],
"support": {
"issues": "https://github.com/barryvdh/laravel-ide-helper/issues",
"source": "https://github.com/barryvdh/laravel-ide-helper/tree/v3.5.5"
"source": "https://github.com/barryvdh/laravel-ide-helper/tree/v3.6.0"
},
"funding": [
{
@ -12538,7 +12538,7 @@
"type": "github"
}
],
"time": "2025-02-11T13:59:46+00:00"
"time": "2025-07-17T20:11:57+00:00"
},
{
"name": "barryvdh/reflection-docblock",
@ -13186,16 +13186,16 @@
},
{
"name": "larastan/larastan",
"version": "v3.5.0",
"version": "v3.6.0",
"source": {
"type": "git",
"url": "https://github.com/larastan/larastan.git",
"reference": "e8ccd73008487ba91da9877b373f8c447743f1ce"
"reference": "6431d010dd383a9279eb8874a76ddb571738564a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/larastan/larastan/zipball/e8ccd73008487ba91da9877b373f8c447743f1ce",
"reference": "e8ccd73008487ba91da9877b373f8c447743f1ce",
"url": "https://api.github.com/repos/larastan/larastan/zipball/6431d010dd383a9279eb8874a76ddb571738564a",
"reference": "6431d010dd383a9279eb8874a76ddb571738564a",
"shasum": ""
},
"require": {
@ -13263,7 +13263,7 @@
],
"support": {
"issues": "https://github.com/larastan/larastan/issues",
"source": "https://github.com/larastan/larastan/tree/v3.5.0"
"source": "https://github.com/larastan/larastan/tree/v3.6.0"
},
"funding": [
{
@ -13271,7 +13271,7 @@
"type": "github"
}
],
"time": "2025-06-19T22:41:50+00:00"
"time": "2025-07-11T06:52:52+00:00"
},
{
"name": "laravel/pail",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long