Removed telescope package and changes for mysql/mariadb.

main
Giò 2024-04-13 22:26:31 +02:00
parent 585f3c2623
commit 63ae112e40
8 changed files with 145 additions and 350 deletions

View File

@ -3,6 +3,7 @@
namespace App\Providers; namespace App\Providers;
use Illuminate\Support\ServiceProvider; use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;
class AppServiceProvider extends ServiceProvider class AppServiceProvider extends ServiceProvider
{ {
@ -11,10 +12,6 @@ class AppServiceProvider extends ServiceProvider
*/ */
public function register(): void public function register(): void
{ {
if ($this->app->environment('local')) {
$this->app->register(\Laravel\Telescope\TelescopeServiceProvider::class);
$this->app->register(TelescopeServiceProvider::class);
}
} }
/** /**
@ -22,6 +19,6 @@ class AppServiceProvider extends ServiceProvider
*/ */
public function boot(): void public function boot(): void
{ {
// Schema::defaultStringLength(191);
} }
} }

View File

@ -1,64 +0,0 @@
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Gate;
use Laravel\Telescope\IncomingEntry;
use Laravel\Telescope\Telescope;
use Laravel\Telescope\TelescopeApplicationServiceProvider;
class TelescopeServiceProvider extends TelescopeApplicationServiceProvider
{
/**
* Register any application services.
*/
public function register(): void
{
// Telescope::night();
$this->hideSensitiveRequestDetails();
$isLocal = $this->app->environment('local');
Telescope::filter(function (IncomingEntry $entry) use ($isLocal) {
return $isLocal ||
$entry->isReportableException() ||
$entry->isFailedRequest() ||
$entry->isFailedJob() ||
$entry->isScheduledTask() ||
$entry->hasMonitoredTag();
});
}
/**
* Prevent sensitive request details from being logged by Telescope.
*/
protected function hideSensitiveRequestDetails(): void
{
if ($this->app->environment('local')) {
return;
}
Telescope::hideRequestParameters(['_token']);
Telescope::hideRequestHeaders([
'cookie',
'x-csrf-token',
'x-xsrf-token',
]);
}
/**
* Register the Telescope gate.
*
* This gate determines who can access Telescope in non-local environments.
*/
protected function gate(): void
{
Gate::define('viewTelescope', function ($user) {
return in_array($user->email, [
//
]);
});
}
}

View File

@ -13,7 +13,6 @@
"fakerphp/faker": "^1.23", "fakerphp/faker": "^1.23",
"laravel/pint": "^1.13", "laravel/pint": "^1.13",
"laravel/sail": "^1.26", "laravel/sail": "^1.26",
"laravel/telescope": "^5.0",
"mockery/mockery": "^1.6", "mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.0", "nunomaduro/collision": "^8.0",
"phpunit/phpunit": "^10.5", "phpunit/phpunit": "^10.5",

343
scraper/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": "ca35f12b69f5e2117186d9408e661df9", "content-hash": "72f9cb33391037e10f31f93eae361f26",
"packages": [ "packages": [
{ {
"name": "brick/math", "name": "brick/math",
@ -1047,16 +1047,16 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v11.0.8", "version": "v11.3.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "0379a7ccb77e2029c43ce508fa76e251a0d68fce" "reference": "3b87d0767e9cbddec46480d883010ba720e50dea"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/0379a7ccb77e2029c43ce508fa76e251a0d68fce", "url": "https://api.github.com/repos/laravel/framework/zipball/3b87d0767e9cbddec46480d883010ba720e50dea",
"reference": "0379a7ccb77e2029c43ce508fa76e251a0d68fce", "reference": "3b87d0767e9cbddec46480d883010ba720e50dea",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1248,20 +1248,20 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2024-03-21T14:15:49+00:00" "time": "2024-04-10T15:13:49+00:00"
}, },
{ {
"name": "laravel/prompts", "name": "laravel/prompts",
"version": "v0.1.16", "version": "v0.1.18",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/prompts.git", "url": "https://github.com/laravel/prompts.git",
"reference": "ca6872ab6aec3ab61db3a61f83a6caf764ec7781" "reference": "3b5e6b03f1f1175574b5a32331d99c9819da9848"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/prompts/zipball/ca6872ab6aec3ab61db3a61f83a6caf764ec7781", "url": "https://api.github.com/repos/laravel/prompts/zipball/3b5e6b03f1f1175574b5a32331d99c9819da9848",
"reference": "ca6872ab6aec3ab61db3a61f83a6caf764ec7781", "reference": "3b5e6b03f1f1175574b5a32331d99c9819da9848",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1303,9 +1303,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/laravel/prompts/issues", "issues": "https://github.com/laravel/prompts/issues",
"source": "https://github.com/laravel/prompts/tree/v0.1.16" "source": "https://github.com/laravel/prompts/tree/v0.1.18"
}, },
"time": "2024-02-21T19:25:27+00:00" "time": "2024-04-04T17:41:50+00:00"
}, },
{ {
"name": "laravel/serializable-closure", "name": "laravel/serializable-closure",
@ -1623,16 +1623,16 @@
}, },
{ {
"name": "league/flysystem", "name": "league/flysystem",
"version": "3.25.1", "version": "3.27.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/flysystem.git", "url": "https://github.com/thephpleague/flysystem.git",
"reference": "abbd664eb4381102c559d358420989f835208f18" "reference": "4729745b1ab737908c7d055148c9a6b3e959832f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/abbd664eb4381102c559d358420989f835208f18", "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/4729745b1ab737908c7d055148c9a6b3e959832f",
"reference": "abbd664eb4381102c559d358420989f835208f18", "reference": "4729745b1ab737908c7d055148c9a6b3e959832f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1697,7 +1697,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/thephpleague/flysystem/issues", "issues": "https://github.com/thephpleague/flysystem/issues",
"source": "https://github.com/thephpleague/flysystem/tree/3.25.1" "source": "https://github.com/thephpleague/flysystem/tree/3.27.0"
}, },
"funding": [ "funding": [
{ {
@ -1709,7 +1709,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2024-03-16T12:53:19+00:00" "time": "2024-04-07T19:17:50+00:00"
}, },
{ {
"name": "league/flysystem-local", "name": "league/flysystem-local",
@ -1828,16 +1828,16 @@
}, },
{ {
"name": "monolog/monolog", "name": "monolog/monolog",
"version": "3.5.0", "version": "3.6.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Seldaek/monolog.git", "url": "https://github.com/Seldaek/monolog.git",
"reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448" "reference": "4b18b21a5527a3d5ffdac2fd35d3ab25a9597654"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/c915e2634718dbc8a4a15c61b0e62e7a44e14448", "url": "https://api.github.com/repos/Seldaek/monolog/zipball/4b18b21a5527a3d5ffdac2fd35d3ab25a9597654",
"reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448", "reference": "4b18b21a5527a3d5ffdac2fd35d3ab25a9597654",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1860,7 +1860,7 @@
"phpstan/phpstan": "^1.9", "phpstan/phpstan": "^1.9",
"phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-strict-rules": "^1.4", "phpstan/phpstan-strict-rules": "^1.4",
"phpunit/phpunit": "^10.1", "phpunit/phpunit": "^10.5.17",
"predis/predis": "^1.1 || ^2", "predis/predis": "^1.1 || ^2",
"ruflin/elastica": "^7", "ruflin/elastica": "^7",
"symfony/mailer": "^5.4 || ^6", "symfony/mailer": "^5.4 || ^6",
@ -1913,7 +1913,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/Seldaek/monolog/issues", "issues": "https://github.com/Seldaek/monolog/issues",
"source": "https://github.com/Seldaek/monolog/tree/3.5.0" "source": "https://github.com/Seldaek/monolog/tree/3.6.0"
}, },
"funding": [ "funding": [
{ {
@ -1925,20 +1925,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-10-27T15:32:31+00:00" "time": "2024-04-12T21:02:21+00:00"
}, },
{ {
"name": "nesbot/carbon", "name": "nesbot/carbon",
"version": "3.1.1", "version": "3.2.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/briannesbitt/Carbon.git", "url": "https://github.com/briannesbitt/Carbon.git",
"reference": "34ccf6f6b49c915421c7886c88c0cb77f3ebbfd2" "reference": "82c28278c1c8f7b82dcdab25692237f052ffc8d8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/34ccf6f6b49c915421c7886c88c0cb77f3ebbfd2", "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/82c28278c1c8f7b82dcdab25692237f052ffc8d8",
"reference": "34ccf6f6b49c915421c7886c88c0cb77f3ebbfd2", "reference": "82c28278c1c8f7b82dcdab25692237f052ffc8d8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -1956,14 +1956,14 @@
"require-dev": { "require-dev": {
"doctrine/dbal": "^3.6.3 || ^4.0", "doctrine/dbal": "^3.6.3 || ^4.0",
"doctrine/orm": "^2.15.2 || ^3.0", "doctrine/orm": "^2.15.2 || ^3.0",
"friendsofphp/php-cs-fixer": "^3.18.0", "friendsofphp/php-cs-fixer": "^3.52.1",
"kylekatarnls/multi-tester": "^2.2.0", "kylekatarnls/multi-tester": "^2.5.3",
"ondrejmirtes/better-reflection": "^6.11.0.0", "ondrejmirtes/better-reflection": "^6.25.0.4",
"phpmd/phpmd": "^2.13.0", "phpmd/phpmd": "^2.15.0",
"phpstan/extension-installer": "^1.3.0", "phpstan/extension-installer": "^1.3.1",
"phpstan/phpstan": "^1.10.20", "phpstan/phpstan": "^1.10.65",
"phpunit/phpunit": "^10.2.2", "phpunit/phpunit": "^10.5.15",
"squizlabs/php_codesniffer": "^3.7.2" "squizlabs/php_codesniffer": "^3.9.0"
}, },
"bin": [ "bin": [
"bin/carbon" "bin/carbon"
@ -2031,7 +2031,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-03-13T12:42:37+00:00" "time": "2024-04-05T09:58:10+00:00"
}, },
{ {
"name": "nette/schema", "name": "nette/schema",
@ -2816,16 +2816,16 @@
}, },
{ {
"name": "psy/psysh", "name": "psy/psysh",
"version": "v0.12.2", "version": "v0.12.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/bobthecow/psysh.git", "url": "https://github.com/bobthecow/psysh.git",
"reference": "9185c66c2165bbf4d71de78a69dccf4974f9538d" "reference": "b6b6cce7d3ee8fbf31843edce5e8f5a72eff4a73"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/9185c66c2165bbf4d71de78a69dccf4974f9538d", "url": "https://api.github.com/repos/bobthecow/psysh/zipball/b6b6cce7d3ee8fbf31843edce5e8f5a72eff4a73",
"reference": "9185c66c2165bbf4d71de78a69dccf4974f9538d", "reference": "b6b6cce7d3ee8fbf31843edce5e8f5a72eff4a73",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -2889,9 +2889,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/bobthecow/psysh/issues", "issues": "https://github.com/bobthecow/psysh/issues",
"source": "https://github.com/bobthecow/psysh/tree/v0.12.2" "source": "https://github.com/bobthecow/psysh/tree/v0.12.3"
}, },
"time": "2024-03-17T01:53:00+00:00" "time": "2024-04-02T15:57:53+00:00"
}, },
{ {
"name": "ralouphie/getallheaders", "name": "ralouphie/getallheaders",
@ -3194,16 +3194,16 @@
}, },
{ {
"name": "symfony/console", "name": "symfony/console",
"version": "v7.0.4", "version": "v7.0.6",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/console.git", "url": "https://github.com/symfony/console.git",
"reference": "6b099f3306f7c9c2d2786ed736d0026b2903205f" "reference": "fde915cd8e7eb99b3d531d3d5c09531429c3f9e5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/6b099f3306f7c9c2d2786ed736d0026b2903205f", "url": "https://api.github.com/repos/symfony/console/zipball/fde915cd8e7eb99b3d531d3d5c09531429c3f9e5",
"reference": "6b099f3306f7c9c2d2786ed736d0026b2903205f", "reference": "fde915cd8e7eb99b3d531d3d5c09531429c3f9e5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3267,7 +3267,7 @@
"terminal" "terminal"
], ],
"support": { "support": {
"source": "https://github.com/symfony/console/tree/v7.0.4" "source": "https://github.com/symfony/console/tree/v7.0.6"
}, },
"funding": [ "funding": [
{ {
@ -3283,7 +3283,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-02-22T20:27:20+00:00" "time": "2024-04-01T11:04:53+00:00"
}, },
{ {
"name": "symfony/css-selector", "name": "symfony/css-selector",
@ -3419,16 +3419,16 @@
}, },
{ {
"name": "symfony/error-handler", "name": "symfony/error-handler",
"version": "v7.0.4", "version": "v7.0.6",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/error-handler.git", "url": "https://github.com/symfony/error-handler.git",
"reference": "677b24759decff69e65b1e9d1471d90f95ced880" "reference": "46a4cc138f799886d4bd70477c55c699d3e9dfc8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/677b24759decff69e65b1e9d1471d90f95ced880", "url": "https://api.github.com/repos/symfony/error-handler/zipball/46a4cc138f799886d4bd70477c55c699d3e9dfc8",
"reference": "677b24759decff69e65b1e9d1471d90f95ced880", "reference": "46a4cc138f799886d4bd70477c55c699d3e9dfc8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3474,7 +3474,7 @@
"description": "Provides tools to manage errors and ease debugging PHP code", "description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/error-handler/tree/v7.0.4" "source": "https://github.com/symfony/error-handler/tree/v7.0.6"
}, },
"funding": [ "funding": [
{ {
@ -3490,7 +3490,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-02-22T20:27:20+00:00" "time": "2024-03-19T11:57:22+00:00"
}, },
{ {
"name": "symfony/event-dispatcher", "name": "symfony/event-dispatcher",
@ -3574,16 +3574,16 @@
}, },
{ {
"name": "symfony/event-dispatcher-contracts", "name": "symfony/event-dispatcher-contracts",
"version": "v3.4.0", "version": "v3.4.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/event-dispatcher-contracts.git", "url": "https://github.com/symfony/event-dispatcher-contracts.git",
"reference": "a76aed96a42d2b521153fb382d418e30d18b59df" "reference": "4e64b49bf370ade88e567de29465762e316e4224"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/a76aed96a42d2b521153fb382d418e30d18b59df", "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/4e64b49bf370ade88e567de29465762e316e4224",
"reference": "a76aed96a42d2b521153fb382d418e30d18b59df", "reference": "4e64b49bf370ade88e567de29465762e316e4224",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3630,7 +3630,7 @@
"standards" "standards"
], ],
"support": { "support": {
"source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.0" "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.2"
}, },
"funding": [ "funding": [
{ {
@ -3646,7 +3646,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-05-23T14:45:45+00:00" "time": "2024-01-23T14:51:35+00:00"
}, },
{ {
"name": "symfony/finder", "name": "symfony/finder",
@ -3714,16 +3714,16 @@
}, },
{ {
"name": "symfony/http-foundation", "name": "symfony/http-foundation",
"version": "v7.0.4", "version": "v7.0.6",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-foundation.git", "url": "https://github.com/symfony/http-foundation.git",
"reference": "439fdfdd344943254b1ef6278613e79040548045" "reference": "8789625dcf36e5fbf753014678a1e090f1bc759c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/439fdfdd344943254b1ef6278613e79040548045", "url": "https://api.github.com/repos/symfony/http-foundation/zipball/8789625dcf36e5fbf753014678a1e090f1bc759c",
"reference": "439fdfdd344943254b1ef6278613e79040548045", "reference": "8789625dcf36e5fbf753014678a1e090f1bc759c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3771,7 +3771,7 @@
"description": "Defines an object-oriented layer for the HTTP specification", "description": "Defines an object-oriented layer for the HTTP specification",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-foundation/tree/v7.0.4" "source": "https://github.com/symfony/http-foundation/tree/v7.0.6"
}, },
"funding": [ "funding": [
{ {
@ -3787,20 +3787,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-02-08T19:22:56+00:00" "time": "2024-03-19T11:46:48+00:00"
}, },
{ {
"name": "symfony/http-kernel", "name": "symfony/http-kernel",
"version": "v7.0.5", "version": "v7.0.6",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/http-kernel.git", "url": "https://github.com/symfony/http-kernel.git",
"reference": "37c24ca28f65e3121a68f3dd4daeb36fb1fa2a72" "reference": "34c872391046d59af804af62d4573b829cfe4824"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/37c24ca28f65e3121a68f3dd4daeb36fb1fa2a72", "url": "https://api.github.com/repos/symfony/http-kernel/zipball/34c872391046d59af804af62d4573b829cfe4824",
"reference": "37c24ca28f65e3121a68f3dd4daeb36fb1fa2a72", "reference": "34c872391046d59af804af62d4573b829cfe4824",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3883,7 +3883,7 @@
"description": "Provides a structured process for converting a Request into a Response", "description": "Provides a structured process for converting a Request into a Response",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/http-kernel/tree/v7.0.5" "source": "https://github.com/symfony/http-kernel/tree/v7.0.6"
}, },
"funding": [ "funding": [
{ {
@ -3899,20 +3899,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-03-04T21:05:24+00:00" "time": "2024-04-03T06:12:25+00:00"
}, },
{ {
"name": "symfony/mailer", "name": "symfony/mailer",
"version": "v7.0.4", "version": "v7.0.6",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/mailer.git", "url": "https://github.com/symfony/mailer.git",
"reference": "72e16d87bf50a3ce195b9470c06bb9d7b816ea85" "reference": "eb0c3187c7ddfde12d8aa0e1fa5fb29e730a41e0"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/mailer/zipball/72e16d87bf50a3ce195b9470c06bb9d7b816ea85", "url": "https://api.github.com/repos/symfony/mailer/zipball/eb0c3187c7ddfde12d8aa0e1fa5fb29e730a41e0",
"reference": "72e16d87bf50a3ce195b9470c06bb9d7b816ea85", "reference": "eb0c3187c7ddfde12d8aa0e1fa5fb29e730a41e0",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -3963,7 +3963,7 @@
"description": "Helps sending emails", "description": "Helps sending emails",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/mailer/tree/v7.0.4" "source": "https://github.com/symfony/mailer/tree/v7.0.6"
}, },
"funding": [ "funding": [
{ {
@ -3979,20 +3979,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-02-03T21:34:19+00:00" "time": "2024-03-28T09:20:36+00:00"
}, },
{ {
"name": "symfony/mime", "name": "symfony/mime",
"version": "v7.0.3", "version": "v7.0.6",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/mime.git", "url": "https://github.com/symfony/mime.git",
"reference": "c1ffe24ba6fdc3e3f0f3fcb93519103b326a3716" "reference": "99362408c9abdf8c7cadcf0529b6fc8b16f5ace2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/mime/zipball/c1ffe24ba6fdc3e3f0f3fcb93519103b326a3716", "url": "https://api.github.com/repos/symfony/mime/zipball/99362408c9abdf8c7cadcf0529b6fc8b16f5ace2",
"reference": "c1ffe24ba6fdc3e3f0f3fcb93519103b326a3716", "reference": "99362408c9abdf8c7cadcf0529b6fc8b16f5ace2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4012,6 +4012,7 @@
"league/html-to-markdown": "^5.0", "league/html-to-markdown": "^5.0",
"phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0",
"symfony/dependency-injection": "^6.4|^7.0", "symfony/dependency-injection": "^6.4|^7.0",
"symfony/process": "^6.4|^7.0",
"symfony/property-access": "^6.4|^7.0", "symfony/property-access": "^6.4|^7.0",
"symfony/property-info": "^6.4|^7.0", "symfony/property-info": "^6.4|^7.0",
"symfony/serializer": "^6.4|^7.0" "symfony/serializer": "^6.4|^7.0"
@ -4046,7 +4047,7 @@
"mime-type" "mime-type"
], ],
"support": { "support": {
"source": "https://github.com/symfony/mime/tree/v7.0.3" "source": "https://github.com/symfony/mime/tree/v7.0.6"
}, },
"funding": [ "funding": [
{ {
@ -4062,7 +4063,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-01-30T08:34:29+00:00" "time": "2024-03-21T19:37:36+00:00"
}, },
{ {
"name": "symfony/polyfill-ctype", "name": "symfony/polyfill-ctype",
@ -4838,16 +4839,16 @@
}, },
{ {
"name": "symfony/routing", "name": "symfony/routing",
"version": "v7.0.5", "version": "v7.0.6",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/routing.git", "url": "https://github.com/symfony/routing.git",
"reference": "ba6bf07d43289c6a4b4591ddb75bc3bc5f069c19" "reference": "cded64e5bbf9f31786f1055fcc76718fdd77519c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/ba6bf07d43289c6a4b4591ddb75bc3bc5f069c19", "url": "https://api.github.com/repos/symfony/routing/zipball/cded64e5bbf9f31786f1055fcc76718fdd77519c",
"reference": "ba6bf07d43289c6a4b4591ddb75bc3bc5f069c19", "reference": "cded64e5bbf9f31786f1055fcc76718fdd77519c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4899,7 +4900,7 @@
"url" "url"
], ],
"support": { "support": {
"source": "https://github.com/symfony/routing/tree/v7.0.5" "source": "https://github.com/symfony/routing/tree/v7.0.6"
}, },
"funding": [ "funding": [
{ {
@ -4915,20 +4916,20 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-02-27T12:34:35+00:00" "time": "2024-03-28T21:02:11+00:00"
}, },
{ {
"name": "symfony/service-contracts", "name": "symfony/service-contracts",
"version": "v3.4.1", "version": "v3.4.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/service-contracts.git", "url": "https://github.com/symfony/service-contracts.git",
"reference": "fe07cbc8d837f60caf7018068e350cc5163681a0" "reference": "11bbf19a0fb7b36345861e85c5768844c552906e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/fe07cbc8d837f60caf7018068e350cc5163681a0", "url": "https://api.github.com/repos/symfony/service-contracts/zipball/11bbf19a0fb7b36345861e85c5768844c552906e",
"reference": "fe07cbc8d837f60caf7018068e350cc5163681a0", "reference": "11bbf19a0fb7b36345861e85c5768844c552906e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -4981,7 +4982,7 @@
"standards" "standards"
], ],
"support": { "support": {
"source": "https://github.com/symfony/service-contracts/tree/v3.4.1" "source": "https://github.com/symfony/service-contracts/tree/v3.4.2"
}, },
"funding": [ "funding": [
{ {
@ -4997,7 +4998,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-12-26T14:02:43+00:00" "time": "2023-12-19T21:51:00+00:00"
}, },
{ {
"name": "symfony/string", "name": "symfony/string",
@ -5181,16 +5182,16 @@
}, },
{ {
"name": "symfony/translation-contracts", "name": "symfony/translation-contracts",
"version": "v3.4.1", "version": "v3.4.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/translation-contracts.git", "url": "https://github.com/symfony/translation-contracts.git",
"reference": "06450585bf65e978026bda220cdebca3f867fde7" "reference": "43810bdb2ddb5400e5c5e778e27b210a0ca83b6b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/translation-contracts/zipball/06450585bf65e978026bda220cdebca3f867fde7", "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/43810bdb2ddb5400e5c5e778e27b210a0ca83b6b",
"reference": "06450585bf65e978026bda220cdebca3f867fde7", "reference": "43810bdb2ddb5400e5c5e778e27b210a0ca83b6b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5239,7 +5240,7 @@
"standards" "standards"
], ],
"support": { "support": {
"source": "https://github.com/symfony/translation-contracts/tree/v3.4.1" "source": "https://github.com/symfony/translation-contracts/tree/v3.4.2"
}, },
"funding": [ "funding": [
{ {
@ -5255,7 +5256,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2023-12-26T14:02:43+00:00" "time": "2024-01-23T14:51:35+00:00"
}, },
{ {
"name": "symfony/uid", "name": "symfony/uid",
@ -5333,16 +5334,16 @@
}, },
{ {
"name": "symfony/var-dumper", "name": "symfony/var-dumper",
"version": "v7.0.4", "version": "v7.0.6",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/var-dumper.git", "url": "https://github.com/symfony/var-dumper.git",
"reference": "e03ad7c1535e623edbb94c22cc42353e488c6670" "reference": "66d13dc207d5dab6b4f4c2b5460efe1bea29dbfb"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/e03ad7c1535e623edbb94c22cc42353e488c6670", "url": "https://api.github.com/repos/symfony/var-dumper/zipball/66d13dc207d5dab6b4f4c2b5460efe1bea29dbfb",
"reference": "e03ad7c1535e623edbb94c22cc42353e488c6670", "reference": "66d13dc207d5dab6b4f4c2b5460efe1bea29dbfb",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5396,7 +5397,7 @@
"dump" "dump"
], ],
"support": { "support": {
"source": "https://github.com/symfony/var-dumper/tree/v7.0.4" "source": "https://github.com/symfony/var-dumper/tree/v7.0.6"
}, },
"funding": [ "funding": [
{ {
@ -5412,7 +5413,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-02-15T11:33:06+00:00" "time": "2024-03-19T11:57:22+00:00"
}, },
{ {
"name": "tijsverkoyen/css-to-inline-styles", "name": "tijsverkoyen/css-to-inline-styles",
@ -5872,16 +5873,16 @@
}, },
{ {
"name": "laravel/pint", "name": "laravel/pint",
"version": "v1.14.0", "version": "v1.15.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/pint.git", "url": "https://github.com/laravel/pint.git",
"reference": "6b127276e3f263f7bb17d5077e9e0269e61b2a0e" "reference": "5f288b5e79938cc72f5c298d384e639de87507c6"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/pint/zipball/6b127276e3f263f7bb17d5077e9e0269e61b2a0e", "url": "https://api.github.com/repos/laravel/pint/zipball/5f288b5e79938cc72f5c298d384e639de87507c6",
"reference": "6b127276e3f263f7bb17d5077e9e0269e61b2a0e", "reference": "5f288b5e79938cc72f5c298d384e639de87507c6",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -5892,13 +5893,13 @@
"php": "^8.1.0" "php": "^8.1.0"
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "^3.49.0", "friendsofphp/php-cs-fixer": "^3.52.1",
"illuminate/view": "^10.43.0", "illuminate/view": "^10.48.4",
"larastan/larastan": "^2.8.1", "larastan/larastan": "^2.9.2",
"laravel-zero/framework": "^10.3.0", "laravel-zero/framework": "^10.3.0",
"mockery/mockery": "^1.6.7", "mockery/mockery": "^1.6.11",
"nunomaduro/termwind": "^1.15.1", "nunomaduro/termwind": "^1.15.1",
"pestphp/pest": "^2.33.6" "pestphp/pest": "^2.34.5"
}, },
"bin": [ "bin": [
"builds/pint" "builds/pint"
@ -5934,7 +5935,7 @@
"issues": "https://github.com/laravel/pint/issues", "issues": "https://github.com/laravel/pint/issues",
"source": "https://github.com/laravel/pint" "source": "https://github.com/laravel/pint"
}, },
"time": "2024-02-20T17:38:05+00:00" "time": "2024-04-02T14:28:47+00:00"
}, },
{ {
"name": "laravel/sail", "name": "laravel/sail",
@ -5999,74 +6000,6 @@
}, },
"time": "2024-03-20T20:09:31+00:00" "time": "2024-03-20T20:09:31+00:00"
}, },
{
"name": "laravel/telescope",
"version": "v5.0.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/telescope.git",
"reference": "e398fae4836e68b3d3734d7cdc37622eaf90fdd9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/telescope/zipball/e398fae4836e68b3d3734d7cdc37622eaf90fdd9",
"reference": "e398fae4836e68b3d3734d7cdc37622eaf90fdd9",
"shasum": ""
},
"require": {
"ext-json": "*",
"laravel/framework": "^8.37|^9.0|^10.0|^11.0",
"php": "^8.0",
"symfony/var-dumper": "^5.0|^6.0|^7.0"
},
"require-dev": {
"ext-gd": "*",
"guzzlehttp/guzzle": "^6.0|^7.0",
"laravel/octane": "^1.4|^2.0|dev-develop",
"orchestra/testbench": "^6.40|^7.37|^8.17|^9.0",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.0|^10.5"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Laravel\\Telescope\\TelescopeServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"Laravel\\Telescope\\": "src/",
"Laravel\\Telescope\\Database\\Factories\\": "database/factories/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Taylor Otwell",
"email": "taylor@laravel.com"
},
{
"name": "Mohamed Said",
"email": "mohamed@laravel.com"
}
],
"description": "An elegant debug assistant for the Laravel framework.",
"keywords": [
"debugging",
"laravel",
"monitoring"
],
"support": {
"issues": "https://github.com/laravel/telescope/issues",
"source": "https://github.com/laravel/telescope/tree/v5.0.0"
},
"time": "2024-03-12T14:17:54+00:00"
},
{ {
"name": "mockery/mockery", "name": "mockery/mockery",
"version": "1.6.11", "version": "1.6.11",
@ -6747,16 +6680,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "10.5.15", "version": "10.5.17",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "86376e05e8745ed81d88232ff92fee868247b07b" "reference": "c1f736a473d21957ead7e94fcc029f571895abf5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/86376e05e8745ed81d88232ff92fee868247b07b", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c1f736a473d21957ead7e94fcc029f571895abf5",
"reference": "86376e05e8745ed81d88232ff92fee868247b07b", "reference": "c1f736a473d21957ead7e94fcc029f571895abf5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -6828,7 +6761,7 @@
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"security": "https://github.com/sebastianbergmann/phpunit/security/policy", "security": "https://github.com/sebastianbergmann/phpunit/security/policy",
"source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.15" "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.17"
}, },
"funding": [ "funding": [
{ {
@ -6844,7 +6777,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2024-03-22T04:17:47+00:00" "time": "2024-04-05T04:39:01+00:00"
}, },
{ {
"name": "sebastian/cli-parser", "name": "sebastian/cli-parser",
@ -7895,16 +7828,16 @@
}, },
{ {
"name": "spatie/ignition", "name": "spatie/ignition",
"version": "1.12.0", "version": "1.13.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/ignition.git", "url": "https://github.com/spatie/ignition.git",
"reference": "5b6f801c605a593106b623e45ca41496a6e7d56d" "reference": "889bf1dfa59e161590f677728b47bf4a6893983b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/ignition/zipball/5b6f801c605a593106b623e45ca41496a6e7d56d", "url": "https://api.github.com/repos/spatie/ignition/zipball/889bf1dfa59e161590f677728b47bf4a6893983b",
"reference": "5b6f801c605a593106b623e45ca41496a6e7d56d", "reference": "889bf1dfa59e161590f677728b47bf4a6893983b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -7974,20 +7907,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2024-01-03T15:49:39+00:00" "time": "2024-03-29T14:03:47+00:00"
}, },
{ {
"name": "spatie/laravel-ignition", "name": "spatie/laravel-ignition",
"version": "2.4.2", "version": "2.5.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/laravel-ignition.git", "url": "https://github.com/spatie/laravel-ignition.git",
"reference": "351504f4570e32908839fc5a2dc53bf77d02f85e" "reference": "0c864b3cbd66ce67a2096c5f743e07ce8f1d6ab9"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/351504f4570e32908839fc5a2dc53bf77d02f85e", "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/0c864b3cbd66ce67a2096c5f743e07ce8f1d6ab9",
"reference": "351504f4570e32908839fc5a2dc53bf77d02f85e", "reference": "0c864b3cbd66ce67a2096c5f743e07ce8f1d6ab9",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -7997,7 +7930,7 @@
"illuminate/support": "^10.0|^11.0", "illuminate/support": "^10.0|^11.0",
"php": "^8.1", "php": "^8.1",
"spatie/flare-client-php": "^1.3.5", "spatie/flare-client-php": "^1.3.5",
"spatie/ignition": "^1.9", "spatie/ignition": "^1.13",
"symfony/console": "^6.2.3|^7.0", "symfony/console": "^6.2.3|^7.0",
"symfony/var-dumper": "^6.2.3|^7.0" "symfony/var-dumper": "^6.2.3|^7.0"
}, },
@ -8066,7 +7999,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2024-02-09T16:08:40+00:00" "time": "2024-04-02T06:30:22+00:00"
}, },
{ {
"name": "symfony/yaml", "name": "symfony/yaml",

View File

@ -13,9 +13,9 @@ return new class extends Migration
{ {
Schema::create('properties', function (Blueprint $table) { Schema::create('properties', function (Blueprint $table) {
$table->id(); $table->id();
$table->string('property_platform_id', 255)->unique(); $table->string('property_platform_id', 255);
$table->foreignId('seed_id')->constrained(); $table->foreignId('seed_id')->constrained();
$table->json('check_data'); $table->text('check_data');
$table->timestamp('last_found', precision: 0); $table->timestamp('last_found', precision: 0);
$table->timestamps(); $table->timestamps();
}); });

View File

@ -14,8 +14,8 @@ return new class extends Migration
Schema::create('extractions', function (Blueprint $table) { Schema::create('extractions', function (Blueprint $table) {
$table->id(); $table->id();
$table->foreignId('property_id')->constrained(); $table->foreignId('property_id')->constrained();
$table->text('body'); $table->longtext('body');
$table->text('header'); $table->longtext('header');
$table->enum('type', ['property', 'calendar', 'offer', 'price']); $table->enum('type', ['property', 'calendar', 'offer', 'price']);
$table->timestamps(); $table->timestamps();
}); });

View File

@ -13,7 +13,7 @@ return new class extends Migration
{ {
Schema::create('exceptions', function (Blueprint $table) { Schema::create('exceptions', function (Blueprint $table) {
$table->id(); $table->id();
$table->text('exception'); $table->longtext('exception');
$table->enum('type', ['property', 'calendar', 'offer', 'price']); $table->enum('type', ['property', 'calendar', 'offer', 'price']);
$table->integer('entity_id'); $table->integer('entity_id');
$table->timestamps(); $table->timestamps();

View File

@ -1,70 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Get the migration connection name.
*/
public function getConnection(): string|null
{
return config('telescope.storage.database.connection');
}
/**
* Run the migrations.
*/
public function up(): void
{
$schema = Schema::connection($this->getConnection());
$schema->create('telescope_entries', function (Blueprint $table) {
$table->bigIncrements('sequence');
$table->uuid('uuid');
$table->uuid('batch_id');
$table->string('family_hash')->nullable();
$table->boolean('should_display_on_index')->default(true);
$table->string('type', 20);
$table->longText('content');
$table->dateTime('created_at')->nullable();
$table->unique('uuid');
$table->index('batch_id');
$table->index('family_hash');
$table->index('created_at');
$table->index(['type', 'should_display_on_index']);
});
$schema->create('telescope_entries_tags', function (Blueprint $table) {
$table->uuid('entry_uuid');
$table->string('tag');
$table->primary(['entry_uuid', 'tag']);
$table->index('tag');
$table->foreign('entry_uuid')
->references('uuid')
->on('telescope_entries')
->onDelete('cascade');
});
$schema->create('telescope_monitoring', function (Blueprint $table) {
$table->string('tag')->primary();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
$schema = Schema::connection($this->getConnection());
$schema->dropIfExists('telescope_entries_tags');
$schema->dropIfExists('telescope_entries');
$schema->dropIfExists('telescope_monitoring');
}
};