diff --git a/app/Actions/Jetstream/DeleteUser.php b/app/Actions/Jetstream/DeleteUser.php index 4b051af..807bf01 100644 --- a/app/Actions/Jetstream/DeleteUser.php +++ b/app/Actions/Jetstream/DeleteUser.php @@ -13,9 +13,7 @@ class DeleteUser implements DeletesUsers /** * Create a new action instance. */ - public function __construct(protected DeletesTeams $deletesTeams) - { - } + public function __construct(protected DeletesTeams $deletesTeams) {} /** * Delete the given user. diff --git a/app/Filament/Resources/ItemResource.php b/app/Filament/Resources/ItemResource.php index c4424cc..f928d4c 100644 --- a/app/Filament/Resources/ItemResource.php +++ b/app/Filament/Resources/ItemResource.php @@ -27,6 +27,7 @@ use Filament\Tables\Actions\RestoreBulkAction; use Filament\Tables\Columns\CheckboxColumn; use Filament\Tables\Columns\TextColumn; +use Filament\Tables\Columns\TextInputColumn; use Filament\Tables\Filters\TrashedFilter; use Filament\Tables\Table; use Illuminate\Database\Eloquent\Builder; @@ -83,8 +84,9 @@ public static function form(Form $form): Form ->required(), Textarea::make('description') - ->label('Item description')->columnSpanFull()->rows(5 - )->autosize(), + ->label('Item description') + ->columnSpanFull() + ->rows(5)->autosize(), // todo: add tags https://filamentphp.com/plugins/filament-spatie-tags @@ -95,10 +97,13 @@ public static function form(Form $form): Form TextInput::make('import_ref'), - TextInput::make('notes'), + Textarea::make('notes')->columnSpanFull()->rows(3)->autosize(), - TextInput::make('quantity') + \LaraZeus\Quantity\Components\Quantity::make('quantity') +// ->heading('Quantity') ->default(1) + ->stacked() + ->label('Quantity') ->required() ->integer(), @@ -175,62 +180,64 @@ public static function table(Table $table): Table { return $table ->columns([ - // TextColumn::make('ulid'), + TextColumn::make('ulid')->toggleable(isToggledHiddenByDefault: true), TextColumn::make('name') ->searchable() ->sortable(), - // TextColumn::make('description')->searchable(), + TextColumn::make('description')->searchable()->toggleable(isToggledHiddenByDefault: true), - // TextColumn::make('import_ref')->searchable(), + TextColumn::make('import_ref')->searchable()->toggleable(isToggledHiddenByDefault: true), - // TextColumn::make('notes')->searchable(), + TextColumn::make('notes')->searchable()->toggleable(isToggledHiddenByDefault: true), - TextColumn::make('quantity')->searchable(), + TextInputColumn::make('quantity')->searchable()->rules(['integer'])->toggleable()->extraAttributes(['class' => 'w-32'])->type('number')->alignCenter(), - CheckboxColumn::make('insured'), + CheckboxColumn::make('insured')->toggleable(), - CheckboxColumn::make('archived'), + CheckboxColumn::make('archived')->toggleable(), TextColumn::make('asset_id') + ->label('Asset ID') ->searchable() ->copyable() ->copyMessage('Asset ID copied') - ->copyMessageDuration(1500), - // - // TextColumn::make('serial_number')->searchable(), - // - // TextColumn::make('model_number')->searchable(), - // - // TextColumn::make('manufacturer')->searchable(), - // - // TextColumn::make('lifetime_warranty'), - // - // TextColumn::make('warranty_expires') - // ->date(), - // - // TextColumn::make('warranty_details'), - // - // TextColumn::make('purchase_time') - // ->date(), - // - // TextColumn::make('purchase_from')->searchable(), - // - // TextColumn::make('purchase_price')->searchable(), - // - // TextColumn::make('sold_time') - // ->date(), - // - // TextColumn::make('sold_to')->searchable(), - // - // TextColumn::make('sold_price')->searchable(), + ->copyMessageDuration(1500) + ->toggleable(), // - // TextColumn::make('sold_notes')->searchable(), + TextColumn::make('serial_number')->searchable()->toggleable(isToggledHiddenByDefault: true), + + TextColumn::make('model_number')->searchable()->toggleable(isToggledHiddenByDefault: true), + + TextColumn::make('manufacturer')->searchable()->toggleable(isToggledHiddenByDefault: true), + + TextColumn::make('lifetime_warranty')->toggleable(isToggledHiddenByDefault: true), + + TextColumn::make('warranty_expires') + ->date()->toggleable(isToggledHiddenByDefault: true), + + TextColumn::make('warranty_details')->toggleable(isToggledHiddenByDefault: true), + + TextColumn::make('purchase_time') + ->date()->toggleable(isToggledHiddenByDefault: true), + + TextColumn::make('purchase_from')->searchable()->toggleable(isToggledHiddenByDefault: true), + + TextColumn::make('purchase_price')->searchable()->toggleable(isToggledHiddenByDefault: true), + + TextColumn::make('sold_time') + ->date()->toggleable(isToggledHiddenByDefault: true), + + TextColumn::make('sold_to')->searchable()->toggleable(isToggledHiddenByDefault: true), + + TextColumn::make('sold_price')->searchable()->toggleable(isToggledHiddenByDefault: true), + + TextColumn::make('sold_notes')->searchable()->toggleable(isToggledHiddenByDefault: true), TextColumn::make('location.name') ->searchable() - ->sortable(), + ->sortable()->toggleable(), ]) ->filters([ TrashedFilter::make(), diff --git a/app/Filament/Widgets/RecentlyAdded.php b/app/Filament/Widgets/RecentlyAdded.php index ec54418..710b270 100644 --- a/app/Filament/Widgets/RecentlyAdded.php +++ b/app/Filament/Widgets/RecentlyAdded.php @@ -5,6 +5,7 @@ use App\Filament\Resources\ItemResource; use App\Models\Item; use Filament\Tables; +use Filament\Tables\Columns\TextInputColumn; use Filament\Tables\Table; use Filament\Widgets\TableWidget as BaseWidget; @@ -22,17 +23,15 @@ public function table(Table $table): Table ->defaultSort('created_at', 'desc') ->columns([ Tables\Columns\TextColumn::make('name') - ->searchable()->sortable(), - Tables\Columns\TextColumn::make('quantity') - ->searchable() - ->sortable(), - Tables\Columns\TextColumn::make('location.name') - ->searchable() - ->sortable(), - Tables\Columns\TextColumn::make('purchase_price') - ->searchable() - ->sortable(), - Tables\Columns\CheckboxColumn::make('insured'), + ->searchable()->sortable()->toggleable(), + + TextInputColumn::make('quantity')->searchable()->rules(['integer'])->toggleable()->extraAttributes(['class' => 'w-32'])->type('number')->alignCenter(), + + Tables\Columns\TextColumn::make('location.name')->searchable()->sortable()->toggleable(), + + Tables\Columns\TextColumn::make('purchase_price')->searchable()->sortable()->toggleable(), + + Tables\Columns\CheckboxColumn::make('insured')->toggleable(), ]) ->actions([ Tables\Actions\Action::make('open') diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 452e6b6..8ad661b 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -2,6 +2,15 @@ namespace App\Providers; +use App\Models\User; +use Filament\Support\Assets\Js; +use Filament\Support\Facades\FilamentAsset; +use Illuminate\Database\Connection; +use Illuminate\Database\Eloquent\Model; +use Illuminate\Database\Events\QueryExecuted; +use Illuminate\Database\QueryException; +use Illuminate\Support\Facades\DB; +use Illuminate\Support\Facades\Gate; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider @@ -19,6 +28,58 @@ public function register(): void */ public function boot(): void { - // + // needed to solve issue https://github.com/livewire/livewire/discussions/5923 - in future should be fixed by Livewire + FilamentAsset::register([ + Js::make('custom-script', __DIR__.'/../../resources/js/custom.filament.js'), + ]); + + // As these are concerned with application correctness, + // leave them enabled all the time. + Model::preventAccessingMissingAttributes(! $this->app->isProduction()); + Model::preventSilentlyDiscardingAttributes(! $this->app->isProduction()); + + Model::preventLazyLoading(! $this->app->isProduction()); + + Model::shouldBeStrict(! $this->app->isProduction()); + + Gate::define('viewPulse', function (User $user) { + return true; // $user->hasRole('super-admin') || app()->isLocal(); + }); + + if ($this->app->isProduction()) { + Model::handleLazyLoadingViolationUsing(function ( + $model, + $relation + ) { + $class = get_class($model); + + info( + "Attempted to lazy load [{$relation}] on model [{$class}]." + ); + }); + } + /*if ($this->app->isProduction()) { + $this->app['request']->server->set('HTTPS', true); + \URL::forceScheme('https'); + }*/ + + if ($this->app->isLocal() && ! $this->app->runningInConsole()) { + DB::listen(function (QueryExecuted $event) { + if ($event->time > 250) { + throw new QueryException( + 'db', + $event->sql, + $event->bindings, + new \Exception('Individual database query exceeded '.$event->time.'ms.') + ); + } + }); + + DB::whenQueryingForLongerThan(2000, function (Connection $connection) { + \Log::warning("Database queries exceeded 2 seconds on {$connection->getName()}"); + }); + + } + } } diff --git a/composer.json b/composer.json index 2e38527..fe04e66 100644 --- a/composer.json +++ b/composer.json @@ -1,12 +1,32 @@ { - "name": "laravel/laravel", + "name": "flatroy/stupid-inventory-laravel", "type": "project", - "description": "The skeleton application for the Laravel framework.", - "keywords": ["laravel", "framework"], + "description": "Simple stupid inventory and organization system built for the Home User.", + "keywords": [ + "laravel", + "inventory", + "inventory-management", + "filament", + "livewire", + "jetstream-laravel" + ], "license": "MIT", + "homepage": "https://github.com/Flatroy/stupid-inventory-laravel", + "support": { + "issues": "https://github.com/Flatroy/stupid-inventory-laravel/issues", + "source": "https://github.com/Flatroy/stupid-inventory-laravel" + }, + "authors": [ + { + "name": "George Daneke", + "email": "stupidinventory@hidemail.app", + "role": "Owner" + } + ], "require": { "php": "^8.2", "filament/filament": "^3.2", + "lara-zeus/quantity": "^1.0", "laravel/framework": "^11.9", "laravel/jetstream": "^5.1", "laravel/octane": "^2.4", @@ -55,7 +75,7 @@ "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"", "@php artisan migrate --graceful --ansi" ], - "pint": "./vendor/bin/pint --dirty" + "pint": "./vendor/bin/pint" }, "extra": { "laravel": { diff --git a/composer.lock b/composer.lock index 23084a0..a5496b0 100644 --- a/composer.lock +++ b/composer.lock @@ -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": "00c4e8f8033e7a93a67d39ae1d227d12", + "content-hash": "b9f0f9530bc400cf7d31c6d0906db26b", "packages": [ { "name": "anourvalar/eloquent-serialize", @@ -730,16 +730,16 @@ }, { "name": "doctrine/dbal", - "version": "3.8.5", + "version": "3.8.6", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "0e3536ba088a749985c8801105b6b3ac6c1280b6" + "reference": "b7411825cf7efb7e51f9791dea19d86e43b399a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/0e3536ba088a749985c8801105b6b3ac6c1280b6", - "reference": "0e3536ba088a749985c8801105b6b3ac6c1280b6", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/b7411825cf7efb7e51f9791dea19d86e43b399a1", + "reference": "b7411825cf7efb7e51f9791dea19d86e43b399a1", "shasum": "" }, "require": { @@ -755,12 +755,12 @@ "doctrine/coding-standard": "12.0.0", "fig/log-test": "^1", "jetbrains/phpstorm-stubs": "2023.1", - "phpstan/phpstan": "1.11.1", + "phpstan/phpstan": "1.11.5", "phpstan/phpstan-strict-rules": "^1.6", "phpunit/phpunit": "9.6.19", "psalm/plugin-phpunit": "0.18.4", "slevomat/coding-standard": "8.13.1", - "squizlabs/php_codesniffer": "3.9.2", + "squizlabs/php_codesniffer": "3.10.1", "symfony/cache": "^5.4|^6.0|^7.0", "symfony/console": "^4.4|^5.4|^6.0|^7.0", "vimeo/psalm": "4.30.0" @@ -823,7 +823,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.8.5" + "source": "https://github.com/doctrine/dbal/tree/3.8.6" }, "funding": [ { @@ -839,7 +839,7 @@ "type": "tidelift" } ], - "time": "2024-06-08T17:49:56+00:00" + "time": "2024-06-19T10:38:17+00:00" }, { "name": "doctrine/deprecations", @@ -1277,16 +1277,16 @@ }, { "name": "filament/actions", - "version": "v3.2.91", + "version": "v3.2.92", "source": { "type": "git", "url": "https://github.com/filamentphp/actions.git", - "reference": "99bf5ed84e3a563250775c223928b185db0d4b7a" + "reference": "c8488bd6c5488818788a41c88c5c1cd0f6f7cb78" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/actions/zipball/99bf5ed84e3a563250775c223928b185db0d4b7a", - "reference": "99bf5ed84e3a563250775c223928b185db0d4b7a", + "url": "https://api.github.com/repos/filamentphp/actions/zipball/c8488bd6c5488818788a41c88c5c1cd0f6f7cb78", + "reference": "c8488bd6c5488818788a41c88c5c1cd0f6f7cb78", "shasum": "" }, "require": { @@ -1326,20 +1326,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-06-14T10:24:05+00:00" + "time": "2024-06-18T06:31:25+00:00" }, { "name": "filament/filament", - "version": "v3.2.91", + "version": "v3.2.92", "source": { "type": "git", "url": "https://github.com/filamentphp/panels.git", - "reference": "4e1a260a78487375dc025acbdd07c3561aabd8e0" + "reference": "04c7626d81180715a9b9e03f566a5ca66e0b4e51" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/panels/zipball/4e1a260a78487375dc025acbdd07c3561aabd8e0", - "reference": "4e1a260a78487375dc025acbdd07c3561aabd8e0", + "url": "https://api.github.com/repos/filamentphp/panels/zipball/04c7626d81180715a9b9e03f566a5ca66e0b4e51", + "reference": "04c7626d81180715a9b9e03f566a5ca66e0b4e51", "shasum": "" }, "require": { @@ -1391,20 +1391,20 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-06-14T10:24:14+00:00" + "time": "2024-06-18T06:31:31+00:00" }, { "name": "filament/forms", - "version": "v3.2.91", + "version": "v3.2.92", "source": { "type": "git", "url": "https://github.com/filamentphp/forms.git", - "reference": "8708f598cf0bc1e747a8f59626d7166c7c94f149" + "reference": "76e8fe7fe8b20f9818aa91d022338575207f03ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filamentphp/forms/zipball/8708f598cf0bc1e747a8f59626d7166c7c94f149", - "reference": "8708f598cf0bc1e747a8f59626d7166c7c94f149", + "url": "https://api.github.com/repos/filamentphp/forms/zipball/76e8fe7fe8b20f9818aa91d022338575207f03ea", + "reference": "76e8fe7fe8b20f9818aa91d022338575207f03ea", "shasum": "" }, "require": { @@ -1447,11 +1447,11 @@ "issues": "https://github.com/filamentphp/filament/issues", "source": "https://github.com/filamentphp/filament" }, - "time": "2024-06-14T10:24:06+00:00" + "time": "2024-06-18T06:31:19+00:00" }, { "name": "filament/infolists", - "version": "v3.2.91", + "version": "v3.2.92", "source": { "type": "git", "url": "https://github.com/filamentphp/infolists.git", @@ -1502,7 +1502,7 @@ }, { "name": "filament/notifications", - "version": "v3.2.91", + "version": "v3.2.92", "source": { "type": "git", "url": "https://github.com/filamentphp/notifications.git", @@ -1554,7 +1554,7 @@ }, { "name": "filament/support", - "version": "v3.2.91", + "version": "v3.2.92", "source": { "type": "git", "url": "https://github.com/filamentphp/support.git", @@ -1612,7 +1612,7 @@ }, { "name": "filament/tables", - "version": "v3.2.91", + "version": "v3.2.92", "source": { "type": "git", "url": "https://github.com/filamentphp/tables.git", @@ -1665,7 +1665,7 @@ }, { "name": "filament/widgets", - "version": "v3.2.91", + "version": "v3.2.92", "source": { "type": "git", "url": "https://github.com/filamentphp/widgets.git", @@ -2398,6 +2398,87 @@ ], "time": "2024-02-16T16:06:16+00:00" }, + { + "name": "lara-zeus/quantity", + "version": "1.0.7", + "source": { + "type": "git", + "url": "https://github.com/lara-zeus/quantity.git", + "reference": "55e1c628a0298c8040f8643e4dfb884983fb35d8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/lara-zeus/quantity/zipball/55e1c628a0298c8040f8643e4dfb884983fb35d8", + "reference": "55e1c628a0298c8040f8643e4dfb884983fb35d8", + "shasum": "" + }, + "require": { + "filament/filament": "^3.0", + "php": "^8.1", + "spatie/laravel-package-tools": "^1.16" + }, + "require-dev": { + "laravel/pint": "^1.0", + "nunomaduro/collision": "^7.0", + "nunomaduro/larastan": "^2.0.1", + "nunomaduro/phpinsights": "^2.8", + "orchestra/testbench": "^8.0", + "phpstan/extension-installer": "^1.1" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "LaraZeus\\Quantity\\QuantityServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "LaraZeus\\Quantity\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "php coder", + "email": "info@larazeus.com", + "role": "Owner" + } + ], + "description": "filamentphp Input Number component, with user-friendly increment and decrement controls", + "homepage": "https://larazeus.com/quantity", + "keywords": [ + "code", + "coulmn", + "design", + "field", + "filamentphp", + "generator", + "input", + "lara-zeus", + "laravel", + "quantity" + ], + "support": { + "issues": "https://github.com/lara-zeus/quantity/issues", + "source": "https://github.com/lara-zeus/quantity" + }, + "funding": [ + { + "url": "https://www.buymeacoffee.com/larazeus", + "type": "custom" + }, + { + "url": "https://github.com/atmonshi", + "type": "github" + } + ], + "time": "2024-05-17T04:07:52+00:00" + }, { "name": "laravel/fortify", "version": "v1.21.3", @@ -2465,16 +2546,16 @@ }, { "name": "laravel/framework", - "version": "v11.10.0", + "version": "v11.11.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "99b4255194912044b75ab72329f8c19e6345720e" + "reference": "c9b52e84bd18f155e5ba59b948c7da3e7f37e87f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/99b4255194912044b75ab72329f8c19e6345720e", - "reference": "99b4255194912044b75ab72329f8c19e6345720e", + "url": "https://api.github.com/repos/laravel/framework/zipball/c9b52e84bd18f155e5ba59b948c7da3e7f37e87f", + "reference": "c9b52e84bd18f155e5ba59b948c7da3e7f37e87f", "shasum": "" }, "require": { @@ -2577,7 +2658,7 @@ "league/flysystem-sftp-v3": "^3.0", "mockery/mockery": "^1.6", "nyholm/psr7": "^1.2", - "orchestra/testbench-core": "^9.0.15", + "orchestra/testbench-core": "^9.1.5", "pda/pheanstalk": "^5.0", "phpstan/phpstan": "^1.4.7", "phpunit/phpunit": "^10.5|^11.0", @@ -2666,7 +2747,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-06-04T13:45:55+00:00" + "time": "2024-06-20T10:54:53+00:00" }, { "name": "laravel/jetstream", @@ -2826,16 +2907,16 @@ }, { "name": "laravel/prompts", - "version": "v0.1.23", + "version": "v0.1.24", "source": { "type": "git", "url": "https://github.com/laravel/prompts.git", - "reference": "9bc4df7c699b0452c6b815e64a2d84b6d7f99400" + "reference": "409b0b4305273472f3754826e68f4edbd0150149" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/9bc4df7c699b0452c6b815e64a2d84b6d7f99400", - "reference": "9bc4df7c699b0452c6b815e64a2d84b6d7f99400", + "url": "https://api.github.com/repos/laravel/prompts/zipball/409b0b4305273472f3754826e68f4edbd0150149", + "reference": "409b0b4305273472f3754826e68f4edbd0150149", "shasum": "" }, "require": { @@ -2878,9 +2959,9 @@ "description": "Add beautiful and user-friendly forms to your command-line applications.", "support": { "issues": "https://github.com/laravel/prompts/issues", - "source": "https://github.com/laravel/prompts/tree/v0.1.23" + "source": "https://github.com/laravel/prompts/tree/v0.1.24" }, - "time": "2024-05-27T13:53:20+00:00" + "time": "2024-06-17T13:58:22+00:00" }, { "name": "laravel/sanctum", @@ -3712,16 +3793,16 @@ }, { "name": "livewire/livewire", - "version": "v3.5.0", + "version": "v3.5.1", "source": { "type": "git", "url": "https://github.com/livewire/livewire.git", - "reference": "72e900825c560f0e4e620185b26c5441a8914435" + "reference": "da044261bb5c5449397f18fda3409f14acf47c0a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/livewire/livewire/zipball/72e900825c560f0e4e620185b26c5441a8914435", - "reference": "72e900825c560f0e4e620185b26c5441a8914435", + "url": "https://api.github.com/repos/livewire/livewire/zipball/da044261bb5c5449397f18fda3409f14acf47c0a", + "reference": "da044261bb5c5449397f18fda3409f14acf47c0a", "shasum": "" }, "require": { @@ -3776,7 +3857,7 @@ "description": "A front-end framework for Laravel.", "support": { "issues": "https://github.com/livewire/livewire/issues", - "source": "https://github.com/livewire/livewire/tree/v3.5.0" + "source": "https://github.com/livewire/livewire/tree/v3.5.1" }, "funding": [ { @@ -3784,7 +3865,7 @@ "type": "github" } ], - "time": "2024-05-21T13:39:04+00:00" + "time": "2024-06-18T11:10:42+00:00" }, { "name": "masterminds/html5", @@ -4095,16 +4176,16 @@ }, { "name": "nesbot/carbon", - "version": "3.5.0", + "version": "3.6.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "415782b7e48223342f1a616c16c45a95b15b2318" + "reference": "39c8ef752db6865717cc3fba63970c16f057982c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/415782b7e48223342f1a616c16c45a95b15b2318", - "reference": "415782b7e48223342f1a616c16c45a95b15b2318", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/39c8ef752db6865717cc3fba63970c16f057982c", + "reference": "39c8ef752db6865717cc3fba63970c16f057982c", "shasum": "" }, "require": { @@ -4197,7 +4278,7 @@ "type": "tidelift" } ], - "time": "2024-06-03T17:25:54+00:00" + "time": "2024-06-20T15:52:59+00:00" }, { "name": "nette/schema", @@ -4495,16 +4576,16 @@ }, { "name": "openspout/openspout", - "version": "v4.24.1", + "version": "v4.24.2", "source": { "type": "git", "url": "https://github.com/openspout/openspout.git", - "reference": "003991abc5cfee93423254774c71766d38cbe340" + "reference": "24272c1f7d073cc64fa3ecc2a863dc5d13be33a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/openspout/openspout/zipball/003991abc5cfee93423254774c71766d38cbe340", - "reference": "003991abc5cfee93423254774c71766d38cbe340", + "url": "https://api.github.com/repos/openspout/openspout/zipball/24272c1f7d073cc64fa3ecc2a863dc5d13be33a8", + "reference": "24272c1f7d073cc64fa3ecc2a863dc5d13be33a8", "shasum": "" }, "require": { @@ -4518,13 +4599,13 @@ }, "require-dev": { "ext-zlib": "*", - "friendsofphp/php-cs-fixer": "^3.57.1", - "infection/infection": "^0.28.1", + "friendsofphp/php-cs-fixer": "^3.59.3", + "infection/infection": "^0.29.5", "phpbench/phpbench": "^1.2.15", - "phpstan/phpstan": "^1.11.1", + "phpstan/phpstan": "^1.11.4", "phpstan/phpstan-phpunit": "^1.4.0", "phpstan/phpstan-strict-rules": "^1.6.0", - "phpunit/phpunit": "^10.5.20" + "phpunit/phpunit": "^10.5.20 || ^11.2.2" }, "suggest": { "ext-iconv": "To handle non UTF-8 CSV files (if \"php-mbstring\" is not already installed or is too limited)", @@ -4572,7 +4653,7 @@ ], "support": { "issues": "https://github.com/openspout/openspout/issues", - "source": "https://github.com/openspout/openspout/tree/v4.24.1" + "source": "https://github.com/openspout/openspout/tree/v4.24.2" }, "funding": [ { @@ -4584,7 +4665,7 @@ "type": "github" } ], - "time": "2024-05-20T09:32:59+00:00" + "time": "2024-06-17T08:53:37+00:00" }, { "name": "paragonie/constant_time_encoding", @@ -5747,16 +5828,16 @@ }, { "name": "spatie/error-solutions", - "version": "1.0.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/spatie/error-solutions.git", - "reference": "202108314a6988ede156fba1b3ea80a784c1734a" + "reference": "d60d4d2ef4b7701c86134ded959667cac6215233" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/error-solutions/zipball/202108314a6988ede156fba1b3ea80a784c1734a", - "reference": "202108314a6988ede156fba1b3ea80a784c1734a", + "url": "https://api.github.com/repos/spatie/error-solutions/zipball/d60d4d2ef4b7701c86134ded959667cac6215233", + "reference": "d60d4d2ef4b7701c86134ded959667cac6215233", "shasum": "" }, "require": { @@ -5809,7 +5890,7 @@ ], "support": { "issues": "https://github.com/spatie/error-solutions/issues", - "source": "https://github.com/spatie/error-solutions/tree/1.0.0" + "source": "https://github.com/spatie/error-solutions/tree/1.0.1" }, "funding": [ { @@ -5817,7 +5898,7 @@ "type": "github" } ], - "time": "2024-06-12T14:49:54+00:00" + "time": "2024-06-21T10:09:00+00:00" }, { "name": "spatie/flare-client-php", @@ -7201,16 +7282,16 @@ }, { "name": "symfony/polyfill-ctype", - "version": "v1.29.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4" + "reference": "0424dff1c58f028c451efff2045f5d92410bd540" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4", - "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/0424dff1c58f028c451efff2045f5d92410bd540", + "reference": "0424dff1c58f028c451efff2045f5d92410bd540", "shasum": "" }, "require": { @@ -7260,7 +7341,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.30.0" }, "funding": [ { @@ -7276,20 +7357,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.29.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f" + "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/32a9da87d7b3245e09ac426c83d334ae9f06f80f", - "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/64647a7c30b2283f5d49b874d84a18fc22054b7a", + "reference": "64647a7c30b2283f5d49b874d84a18fc22054b7a", "shasum": "" }, "require": { @@ -7338,7 +7419,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.30.0" }, "funding": [ { @@ -7354,20 +7435,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.29.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "a287ed7475f85bf6f61890146edbc932c0fff919" + "reference": "a6e83bdeb3c84391d1dfe16f42e40727ce524a5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a287ed7475f85bf6f61890146edbc932c0fff919", - "reference": "a287ed7475f85bf6f61890146edbc932c0fff919", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a6e83bdeb3c84391d1dfe16f42e40727ce524a5c", + "reference": "a6e83bdeb3c84391d1dfe16f42e40727ce524a5c", "shasum": "" }, "require": { @@ -7422,7 +7503,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.30.0" }, "funding": [ { @@ -7438,20 +7519,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.29.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "bc45c394692b948b4d383a08d7753968bed9a83d" + "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/bc45c394692b948b4d383a08d7753968bed9a83d", - "reference": "bc45c394692b948b4d383a08d7753968bed9a83d", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/a95281b0be0d9ab48050ebd988b967875cdb9fdb", + "reference": "a95281b0be0d9ab48050ebd988b967875cdb9fdb", "shasum": "" }, "require": { @@ -7503,7 +7584,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.30.0" }, "funding": [ { @@ -7519,20 +7600,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.29.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec" + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec", - "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fd22ab50000ef01661e2a31d850ebaa297f8e03c", + "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c", "shasum": "" }, "require": { @@ -7583,7 +7664,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0" }, "funding": [ { @@ -7599,20 +7680,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-06-19T12:30:46+00:00" }, { "name": "symfony/polyfill-php72", - "version": "v1.29.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "861391a8da9a04cbad2d232ddd9e4893220d6e25" + "reference": "10112722600777e02d2745716b70c5db4ca70442" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/861391a8da9a04cbad2d232ddd9e4893220d6e25", - "reference": "861391a8da9a04cbad2d232ddd9e4893220d6e25", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/10112722600777e02d2745716b70c5db4ca70442", + "reference": "10112722600777e02d2745716b70c5db4ca70442", "shasum": "" }, "require": { @@ -7656,7 +7737,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-php72/tree/v1.30.0" }, "funding": [ { @@ -7672,20 +7753,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-06-19T12:30:46+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.29.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b" + "reference": "77fa7995ac1b21ab60769b7323d600a991a90433" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", - "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/77fa7995ac1b21ab60769b7323d600a991a90433", + "reference": "77fa7995ac1b21ab60769b7323d600a991a90433", "shasum": "" }, "require": { @@ -7736,7 +7817,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.30.0" }, "funding": [ { @@ -7752,25 +7833,24 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/polyfill-php83", - "version": "v1.29.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php83.git", - "reference": "86fcae159633351e5fd145d1c47de6c528f8caff" + "reference": "dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/86fcae159633351e5fd145d1c47de6c528f8caff", - "reference": "86fcae159633351e5fd145d1c47de6c528f8caff", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9", + "reference": "dbdcdf1a4dcc2743591f1079d0c35ab1e2dcbbc9", "shasum": "" }, "require": { - "php": ">=7.1", - "symfony/polyfill-php80": "^1.14" + "php": ">=7.1" }, "type": "library", "extra": { @@ -7813,7 +7893,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-php83/tree/v1.30.0" }, "funding": [ { @@ -7829,20 +7909,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-06-19T12:35:24+00:00" }, { "name": "symfony/polyfill-uuid", - "version": "v1.29.0", + "version": "v1.30.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-uuid.git", - "reference": "3abdd21b0ceaa3000ee950097bc3cf9efc137853" + "reference": "2ba1f33797470debcda07fe9dce20a0003df18e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/3abdd21b0ceaa3000ee950097bc3cf9efc137853", - "reference": "3abdd21b0ceaa3000ee950097bc3cf9efc137853", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/2ba1f33797470debcda07fe9dce20a0003df18e9", + "reference": "2ba1f33797470debcda07fe9dce20a0003df18e9", "shasum": "" }, "require": { @@ -7892,7 +7972,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.30.0" }, "funding": [ { @@ -7908,7 +7988,7 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-05-31T15:07:36+00:00" }, { "name": "symfony/process", @@ -9176,16 +9256,16 @@ }, { "name": "laravel/pint", - "version": "v1.16.0", + "version": "v1.16.1", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "1b3a3dc5bc6a81ff52828ba7277621f1d49d6d98" + "reference": "9266a47f1b9231b83e0cfd849009547329d871b1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/1b3a3dc5bc6a81ff52828ba7277621f1d49d6d98", - "reference": "1b3a3dc5bc6a81ff52828ba7277621f1d49d6d98", + "url": "https://api.github.com/repos/laravel/pint/zipball/9266a47f1b9231b83e0cfd849009547329d871b1", + "reference": "9266a47f1b9231b83e0cfd849009547329d871b1", "shasum": "" }, "require": { @@ -9196,13 +9276,13 @@ "php": "^8.1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.57.1", - "illuminate/view": "^10.48.10", - "larastan/larastan": "^2.9.6", + "friendsofphp/php-cs-fixer": "^3.59.3", + "illuminate/view": "^10.48.12", + "larastan/larastan": "^2.9.7", "laravel-zero/framework": "^10.4.0", "mockery/mockery": "^1.6.12", "nunomaduro/termwind": "^1.15.1", - "pestphp/pest": "^2.34.7" + "pestphp/pest": "^2.34.8" }, "bin": [ "builds/pint" @@ -9238,20 +9318,20 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2024-05-21T18:08:25+00:00" + "time": "2024-06-18T16:50:05+00:00" }, { "name": "laravel/sail", - "version": "v1.29.2", + "version": "v1.29.3", "source": { "type": "git", "url": "https://github.com/laravel/sail.git", - "reference": "a8e4e749735ba2f091856eafeb3f99db8cd6b621" + "reference": "e35b3ffe1b9ea598246d7e99197ee8799f6dc2e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sail/zipball/a8e4e749735ba2f091856eafeb3f99db8cd6b621", - "reference": "a8e4e749735ba2f091856eafeb3f99db8cd6b621", + "url": "https://api.github.com/repos/laravel/sail/zipball/e35b3ffe1b9ea598246d7e99197ee8799f6dc2e5", + "reference": "e35b3ffe1b9ea598246d7e99197ee8799f6dc2e5", "shasum": "" }, "require": { @@ -9301,7 +9381,7 @@ "issues": "https://github.com/laravel/sail/issues", "source": "https://github.com/laravel/sail" }, - "time": "2024-05-16T21:39:11+00:00" + "time": "2024-06-12T16:24:41+00:00" }, { "name": "maximebf/debugbar", @@ -10054,16 +10134,16 @@ }, { "name": "phpunit/phpunit", - "version": "11.2.2", + "version": "11.2.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3e1843a58adc9c433ee6170bdee7d615f7ccc20b" + "reference": "be9e3ed32a1287a9bfda15936cc86fef4e4cf591" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3e1843a58adc9c433ee6170bdee7d615f7ccc20b", - "reference": "3e1843a58adc9c433ee6170bdee7d615f7ccc20b", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/be9e3ed32a1287a9bfda15936cc86fef4e4cf591", + "reference": "be9e3ed32a1287a9bfda15936cc86fef4e4cf591", "shasum": "" }, "require": { @@ -10087,7 +10167,7 @@ "sebastian/comparator": "^6.0", "sebastian/diff": "^6.0", "sebastian/environment": "^7.0", - "sebastian/exporter": "^6.0", + "sebastian/exporter": "^6.1.2", "sebastian/global-state": "^7.0", "sebastian/object-enumerator": "^6.0", "sebastian/type": "^5.0", @@ -10134,7 +10214,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/11.2.2" + "source": "https://github.com/sebastianbergmann/phpunit/tree/11.2.5" }, "funding": [ { @@ -10150,7 +10230,7 @@ "type": "tidelift" } ], - "time": "2024-06-15T09:14:53+00:00" + "time": "2024-06-20T13:11:31+00:00" }, { "name": "roave/security-advisories", @@ -10158,12 +10238,12 @@ "source": { "type": "git", "url": "https://github.com/Roave/SecurityAdvisories.git", - "reference": "2e530fa2b00d046ceb5660f3139af583170ea7f9" + "reference": "e6e8defa983fbeb0436f36a90d672bd58d8387d1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/2e530fa2b00d046ceb5660f3139af583170ea7f9", - "reference": "2e530fa2b00d046ceb5660f3139af583170ea7f9", + "url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/e6e8defa983fbeb0436f36a90d672bd58d8387d1", + "reference": "e6e8defa983fbeb0436f36a90d672bd58d8387d1", "shasum": "" }, "conflict": { @@ -10172,7 +10252,7 @@ "adodb/adodb-php": "<=5.20.20|>=5.21,<=5.21.3", "aheinze/cockpit": "<2.2", "aimeos/ai-client-html": ">=2020.04.1,<2020.10.27|>=2021.04.1,<2021.10.21|>=2022.04.1,<2022.10.12|>=2023.04.1,<2023.10.14|>=2024.04.1,<2024.04.4", - "aimeos/aimeos-core": "<2024.04.7", + "aimeos/aimeos-core": ">=2022.04.1,<2022.10.17|>=2023.04.1,<2023.10.17|>=2024.04.1,<2024.04.7", "aimeos/aimeos-typo3": "<19.10.12|>=20,<20.10.5", "airesvsg/acf-to-rest-api": "<=3.1", "akaunting/akaunting": "<2.1.13", @@ -10389,7 +10469,7 @@ "gos/web-socket-bundle": "<1.10.4|>=2,<2.6.1|>=3,<3.3", "gree/jose": "<2.2.1", "gregwar/rst": "<1.0.3", - "grumpydictator/firefly-iii": "<6.1.7", + "grumpydictator/firefly-iii": "<6.1.17", "gugoan/economizzer": "<=0.9.0.0-beta1", "guzzlehttp/guzzle": "<6.5.8|>=7,<7.4.5", "guzzlehttp/psr7": "<1.9.1|>=2,<2.4.5", @@ -10516,7 +10596,7 @@ "mojo42/jirafeau": "<4.4", "mongodb/mongodb": ">=1,<1.9.2", "monolog/monolog": ">=1.8,<1.12", - "moodle/moodle": "<4.3.4", + "moodle/moodle": "<4.3.5|>=4.4.0.0-beta,<4.4.1", "mos/cimage": "<0.7.19", "movim/moxl": ">=0.8,<=0.10", "movingbytes/social-network": "<=1.2.1", @@ -10709,7 +10789,7 @@ "slim/slim": "<2.6", "slub/slub-events": "<3.0.3", "smarty/smarty": "<4.5.3|>=5,<5.1.1", - "snipe/snipe-it": "<=6.2.2", + "snipe/snipe-it": "<6.4.2", "socalnick/scn-social-auth": "<1.15.2", "socialiteproviders/steam": "<1.1", "spatie/browsershot": "<3.57.4", @@ -10788,7 +10868,7 @@ "thorsten/phpmyfaq": "<3.2.2", "tikiwiki/tiki-manager": "<=17.1", "timber/timber": ">=0.16.6,<1.23.1|>=1.24,<1.24.1|>=2,<2.1", - "tinymce/tinymce": "<7", + "tinymce/tinymce": "<7.2", "tinymighty/wiki-seo": "<1.2.2", "titon/framework": "<9.9.99", "tobiasbg/tablepress": "<=2.0.0.0-RC1", @@ -10953,7 +11033,7 @@ "type": "tidelift" } ], - "time": "2024-06-13T20:04:44+00:00" + "time": "2024-06-20T17:04:48+00:00" }, { "name": "sebastian/cli-parser", @@ -11393,16 +11473,16 @@ }, { "name": "sebastian/exporter", - "version": "6.0.3", + "version": "6.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "1d978d75456094ec0c67692bca1d4662d5ce9c9f" + "reference": "507d2333cbc4e6ea248fbda2d45ee1511e03da13" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/1d978d75456094ec0c67692bca1d4662d5ce9c9f", - "reference": "1d978d75456094ec0c67692bca1d4662d5ce9c9f", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/507d2333cbc4e6ea248fbda2d45ee1511e03da13", + "reference": "507d2333cbc4e6ea248fbda2d45ee1511e03da13", "shasum": "" }, "require": { @@ -11459,7 +11539,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", "security": "https://github.com/sebastianbergmann/exporter/security/policy", - "source": "https://github.com/sebastianbergmann/exporter/tree/6.0.3" + "source": "https://github.com/sebastianbergmann/exporter/tree/6.1.2" }, "funding": [ { @@ -11467,7 +11547,7 @@ "type": "github" } ], - "time": "2024-06-17T07:48:18+00:00" + "time": "2024-06-18T11:19:56+00:00" }, { "name": "sebastian/global-state", diff --git a/docker-compose.yml b/docker-compose.yml index 0dbf2a7..58b3080 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,3 +9,4 @@ services: - "801:80" volumes: - .:/app + restart: unless-stopped diff --git a/resources/js/custom.filament.js b/resources/js/custom.filament.js new file mode 100644 index 0000000..2d6762c --- /dev/null +++ b/resources/js/custom.filament.js @@ -0,0 +1,30 @@ +const original = window.history.replaceState; +let timer = Date.now(); + +let timeout = null; +let lastArgs = null; + +window.history.replaceState = function (...args) { + const time = Date.now(); + + if (time - timer < 300) { + lastArgs = args; + + if (timeout) { + clearTimeout(timeout); + } + + timeout = setTimeout(() => { + original.apply(this, lastArgs); + + timeout = null; + lastArgs = null; + }, 100); + + return; + } + + timer = time; + + original.apply(this, args); +};