diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 36768253..ba6661b9 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -4,6 +4,7 @@ use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; +use Spatie\SiteSearch\Commands\CrawlCommand; class Kernel extends ConsoleKernel { @@ -29,6 +30,7 @@ protected function schedule(Schedule $schedule) $schedule->command('lcm:post-article-to-twitter')->twiceDaily(12, 16); $schedule->command('lcm:post-article-to-telegram')->twiceDaily(13, 17); $schedule->command('sitemap:generate')->daily(); + $schedule->command(CrawlCommand::class)->everyThreeHours(); } /** diff --git a/app/Http/Livewire/Modals/DeleteArticle.php b/app/Http/Livewire/Modals/DeleteArticle.php new file mode 100644 index 00000000..58d450e7 --- /dev/null +++ b/app/Http/Livewire/Modals/DeleteArticle.php @@ -0,0 +1,41 @@ +article = Article::find($id); + } + + public static function modalMaxWidth(): string + { + return 'xl'; + } + + public function delete() + { + $this->authorize(ArticlePolicy::DELETE, $this->article); + + $this->article->delete(); + + session()->flash('status', 'La discussion a été supprimé avec tous ses commentaires.'); + + $this->redirectRoute('articles'); + } + + public function render() + { + return view('livewire.modals.delete-article'); + } +} diff --git a/app/Spotlight/Article.php b/app/Spotlight/Article.php new file mode 100644 index 00000000..583eb9f2 --- /dev/null +++ b/app/Spotlight/Article.php @@ -0,0 +1,46 @@ +add( + SpotlightCommandDependency::make('article') + ->setPlaceholder('Rechercher un article spécifique') + ); + } + + public function searchArticle($query) + { + return ArticleModel::published()->where('title', 'like', "%$query%") + ->get() + ->map(function (ArticleModel $article) { + return new SpotlightSearchResult( + $article->slug(), + $article->title, + sprintf('par @%s', $article->author->username) + ); + }); + } + + public function execute(Spotlight $spotlight, ArticleModel $article) + { + $spotlight->redirectRoute('articles.show', $article); + } +} diff --git a/app/Spotlight/Articles.php b/app/Spotlight/Articles.php new file mode 100644 index 00000000..ae8c6236 --- /dev/null +++ b/app/Spotlight/Articles.php @@ -0,0 +1,26 @@ +redirectRoute('articles'); + } +} diff --git a/app/Spotlight/Discussion.php b/app/Spotlight/Discussion.php new file mode 100644 index 00000000..8c5ee238 --- /dev/null +++ b/app/Spotlight/Discussion.php @@ -0,0 +1,46 @@ +add( + SpotlightCommandDependency::make('discussion') + ->setPlaceholder('Rechercher une discussion spécifique') + ); + } + + public function searchDiscussion($query) + { + return DiscussionModel::where('title', 'like', "%$query%") + ->get() + ->map(function (DiscussionModel $discussion) { + return new SpotlightSearchResult( + $discussion->slug(), + $discussion->title, + sprintf('par @%s', $discussion->author->username) + ); + }); + } + + public function execute(Spotlight $spotlight, DiscussionModel $discussion) + { + $spotlight->redirectRoute('discussions.show', $discussion); + } +} diff --git a/app/Spotlight/Discussions.php b/app/Spotlight/Discussions.php new file mode 100644 index 00000000..3886d09b --- /dev/null +++ b/app/Spotlight/Discussions.php @@ -0,0 +1,23 @@ +redirectRoute('discussions.index'); + } +} diff --git a/app/Spotlight/FAQs.php b/app/Spotlight/FAQs.php new file mode 100644 index 00000000..ea46ec9e --- /dev/null +++ b/app/Spotlight/FAQs.php @@ -0,0 +1,28 @@ +redirectRoute('faq'); + } +} diff --git a/app/Spotlight/Forum.php b/app/Spotlight/Forum.php new file mode 100644 index 00000000..02e023b6 --- /dev/null +++ b/app/Spotlight/Forum.php @@ -0,0 +1,26 @@ +redirectRoute('forum.index'); + } +} diff --git a/app/Spotlight/Guides.php b/app/Spotlight/Guides.php new file mode 100644 index 00000000..94204552 --- /dev/null +++ b/app/Spotlight/Guides.php @@ -0,0 +1,25 @@ +redirectRoute('rules'); + } +} diff --git a/app/Spotlight/Slack.php b/app/Spotlight/Slack.php new file mode 100644 index 00000000..ff26dbe3 --- /dev/null +++ b/app/Spotlight/Slack.php @@ -0,0 +1,26 @@ +redirectRoute('slack'); + } +} diff --git a/app/Spotlight/Sujet.php b/app/Spotlight/Sujet.php new file mode 100644 index 00000000..607d2b0a --- /dev/null +++ b/app/Spotlight/Sujet.php @@ -0,0 +1,52 @@ +add( + SpotlightCommandDependency::make('thread') + ->setPlaceholder('Rechercher un sujet dans le forum') + ); + } + + public function searchThread($query) + { + return Thread::where('title', 'like', "%$query%") + ->get() + ->map(function (Thread $thread) { + // You must map your search result into SpotlightSearchResult objects + return new SpotlightSearchResult( + $thread->slug(), + $thread->name, + sprintf('par @%s', $thread->author->username) + ); + }); + } + + public function execute(Spotlight $spotlight, Thread $thread) + { + $spotlight->redirectRoute('forum.show', $thread); + } +} diff --git a/app/Spotlight/Telegram.php b/app/Spotlight/Telegram.php new file mode 100644 index 00000000..f3ad9f16 --- /dev/null +++ b/app/Spotlight/Telegram.php @@ -0,0 +1,33 @@ +redirectRoute('telegram'); + } +} diff --git a/app/Spotlight/User.php b/app/Spotlight/User.php new file mode 100644 index 00000000..fb1ef903 --- /dev/null +++ b/app/Spotlight/User.php @@ -0,0 +1,47 @@ +add( + SpotlightCommandDependency::make('user') + ->setPlaceholder('Rechercher un utilisateur spécifique') + ); + } + + public function searchUser($query) + { + return UserModel::where('name', 'like', "%$query%") + ->orWhere('username', 'like', "%$query%") + ->get() + ->map(function (UserModel $user) { + return new SpotlightSearchResult( + $user->id, + $user->name, + sprintf('profile de @%s', $user->username) + ); + }); + } + + public function execute(Spotlight $spotlight, UserModel $user) + { + $spotlight->redirect('/user/' . $user->username); + } +} diff --git a/composer.json b/composer.json index c1ff2e0e..adca0514 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "laravel-notification-channels/telegram": "^0.7.0", "laravel-notification-channels/twitter": "^5.1", "laravel/fortify": "^1.7", - "laravel/framework": "^8.12", + "laravel/framework": "^v8.70", "laravel/slack-notification-channel": "^2.3", "laravel/socialite": "^5.2", "laravel/tinker": "^2.5", @@ -35,6 +35,7 @@ "stevebauman/location": "^6.2", "torchlight/torchlight-commonmark": "^0.5.2", "wire-elements/modal": "^1.0", + "wire-elements/spotlight": "^1.0", "yarri/link-finder": "^2.7" }, "require-dev": { diff --git a/composer.lock b/composer.lock index c33fae08..38077079 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": "9b34b1977b6d8fd6dfd8df5191c42d0c", + "content-hash": "d7276f8bd2d678f42ab75f31d4f4e806", "packages": [ { "name": "abraham/twitteroauth", @@ -1112,16 +1112,16 @@ }, { "name": "doctrine/dbal", - "version": "3.1.3", + "version": "3.1.4", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "96b0053775a544b4a6ab47654dac0621be8b4cf8" + "reference": "821b4f01a36ce63ed36c090ea74767b72db367e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/96b0053775a544b4a6ab47654dac0621be8b4cf8", - "reference": "96b0053775a544b4a6ab47654dac0621be8b4cf8", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/821b4f01a36ce63ed36c090ea74767b72db367e9", + "reference": "821b4f01a36ce63ed36c090ea74767b72db367e9", "shasum": "" }, "require": { @@ -1134,14 +1134,14 @@ "require-dev": { "doctrine/coding-standard": "9.0.0", "jetbrains/phpstorm-stubs": "2021.1", - "phpstan/phpstan": "0.12.99", - "phpstan/phpstan-strict-rules": "^0.12.11", + "phpstan/phpstan": "1.1.1", + "phpstan/phpstan-strict-rules": "^1", "phpunit/phpunit": "9.5.10", "psalm/plugin-phpunit": "0.16.1", - "squizlabs/php_codesniffer": "3.6.0", + "squizlabs/php_codesniffer": "3.6.1", "symfony/cache": "^5.2|^6.0", "symfony/console": "^2.0.5|^3.0|^4.0|^5.0|^6.0", - "vimeo/psalm": "4.10.0" + "vimeo/psalm": "4.12.0" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -1201,7 +1201,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.1.3" + "source": "https://github.com/doctrine/dbal/tree/3.1.4" }, "funding": [ { @@ -1217,7 +1217,7 @@ "type": "tidelift" } ], - "time": "2021-10-02T16:15:05+00:00" + "time": "2021-11-15T16:44:33+00:00" }, { "name": "doctrine/deprecations", @@ -1716,16 +1716,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.2.1", + "version": "v3.3.2", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "13ae36a76b6e329e44ca3cafaa784ea02db9ff14" + "reference": "06bdbdfcd619183dd7a1a6948360f8af73b9ecec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/13ae36a76b6e329e44ca3cafaa784ea02db9ff14", - "reference": "13ae36a76b6e329e44ca3cafaa784ea02db9ff14", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/06bdbdfcd619183dd7a1a6948360f8af73b9ecec", + "reference": "06bdbdfcd619183dd7a1a6948360f8af73b9ecec", "shasum": "" }, "require": { @@ -1734,18 +1734,19 @@ "doctrine/annotations": "^1.12", "ext-json": "*", "ext-tokenizer": "*", - "php": "^7.2 || ^8.0", + "php": "^7.2.5 || ^8.0", "php-cs-fixer/diff": "^2.0", - "symfony/console": "^4.4.20 || ^5.1.3", - "symfony/event-dispatcher": "^4.4.20 || ^5.0", - "symfony/filesystem": "^4.4.20 || ^5.0", - "symfony/finder": "^4.4.20 || ^5.0", - "symfony/options-resolver": "^4.4.20 || ^5.0", + "symfony/console": "^5.1.3", + "symfony/event-dispatcher": "^5.0", + "symfony/filesystem": "^5.0", + "symfony/finder": "^5.0", + "symfony/options-resolver": "^5.0", + "symfony/polyfill-mbstring": "^1.23", "symfony/polyfill-php72": "^1.23", "symfony/polyfill-php80": "^1.23", "symfony/polyfill-php81": "^1.23", - "symfony/process": "^4.4.20 || ^5.0", - "symfony/stopwatch": "^4.4.20 || ^5.0" + "symfony/process": "^5.0", + "symfony/stopwatch": "^5.0" }, "require-dev": { "justinrainbow/json-schema": "^5.2", @@ -1761,12 +1762,11 @@ "phpunitgoodpractices/polyfill": "^1.5", "phpunitgoodpractices/traits": "^1.9.1", "symfony/phpunit-bridge": "^5.2.4", - "symfony/yaml": "^4.4.20 || ^5.0" + "symfony/yaml": "^5.0" }, "suggest": { "ext-dom": "For handling output formats in XML", - "ext-mbstring": "For handling non-UTF8 characters.", - "symfony/polyfill-mbstring": "When enabling `ext-mbstring` is not possible." + "ext-mbstring": "For handling non-UTF8 characters." }, "bin": [ "php-cs-fixer" @@ -1794,7 +1794,7 @@ "description": "A tool to automatically fix PHP code style", "support": { "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", - "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.2.1" + "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.3.2" }, "funding": [ { @@ -1802,7 +1802,7 @@ "type": "github" } ], - "time": "2021-10-05T08:12:17+00:00" + "time": "2021-11-15T18:06:47+00:00" }, { "name": "fruitcake/laravel-cors", @@ -1883,16 +1883,16 @@ }, { "name": "geoip2/geoip2", - "version": "v2.11.0", + "version": "v2.12.0", "source": { "type": "git", "url": "https://github.com/maxmind/GeoIP2-php.git", - "reference": "d01be5894a5c1a3381c58c9b1795cd07f96c30f7" + "reference": "a320c2c3b7498c83bf9b2a670af6888c73e29f50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maxmind/GeoIP2-php/zipball/d01be5894a5c1a3381c58c9b1795cd07f96c30f7", - "reference": "d01be5894a5c1a3381c58c9b1795cd07f96c30f7", + "url": "https://api.github.com/repos/maxmind/GeoIP2-php/zipball/a320c2c3b7498c83bf9b2a670af6888c73e29f50", + "reference": "a320c2c3b7498c83bf9b2a670af6888c73e29f50", "shasum": "" }, "require": { @@ -1902,7 +1902,8 @@ "php": ">=7.2" }, "require-dev": { - "friendsofphp/php-cs-fixer": "2.*", + "friendsofphp/php-cs-fixer": "3.*", + "phpstan/phpstan": "*", "phpunit/phpunit": "^8.0 || ^9.0", "squizlabs/php_codesniffer": "3.*" }, @@ -1934,22 +1935,22 @@ ], "support": { "issues": "https://github.com/maxmind/GeoIP2-php/issues", - "source": "https://github.com/maxmind/GeoIP2-php/tree/v2.11.0" + "source": "https://github.com/maxmind/GeoIP2-php/tree/v2.12.0" }, - "time": "2020-10-01T18:48:34+00:00" + "time": "2021-11-17T20:54:16+00:00" }, { "name": "graham-campbell/markdown", - "version": "v13.1.1", + "version": "v13.1.2", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Laravel-Markdown.git", - "reference": "d25b873e5c5870edc4de7d980808f1a8e092a9c7" + "reference": "275f96e5b1a2f86f3239eb2c2c5262790725f4ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Laravel-Markdown/zipball/d25b873e5c5870edc4de7d980808f1a8e092a9c7", - "reference": "d25b873e5c5870edc4de7d980808f1a8e092a9c7", + "url": "https://api.github.com/repos/GrahamCampbell/Laravel-Markdown/zipball/275f96e5b1a2f86f3239eb2c2c5262790725f4ba", + "reference": "275f96e5b1a2f86f3239eb2c2c5262790725f4ba", "shasum": "" }, "require": { @@ -1962,7 +1963,7 @@ }, "require-dev": { "graham-campbell/analyzer": "^3.0", - "graham-campbell/testbench": "^5.4", + "graham-campbell/testbench": "^5.6", "mockery/mockery": "^1.3.1", "phpunit/phpunit": "^8.5.8 || ^9.3.7" }, @@ -1986,7 +1987,8 @@ "authors": [ { "name": "Graham Campbell", - "email": "graham@alt-three.com" + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" } ], "description": "Markdown Is A CommonMark Wrapper For Laravel", @@ -2003,7 +2005,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Laravel-Markdown/issues", - "source": "https://github.com/GrahamCampbell/Laravel-Markdown/tree/v13.1.1" + "source": "https://github.com/GrahamCampbell/Laravel-Markdown/tree/v13.1.2" }, "funding": [ { @@ -2015,20 +2017,20 @@ "type": "tidelift" } ], - "time": "2020-08-22T14:18:21+00:00" + "time": "2021-11-21T15:23:56+00:00" }, { "name": "graham-campbell/result-type", - "version": "v1.0.3", + "version": "v1.0.4", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Result-Type.git", - "reference": "296c015dc30ec4322168c5ad3ee5cc11dae827ac" + "reference": "0690bde05318336c7221785f2a932467f98b64ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/296c015dc30ec4322168c5ad3ee5cc11dae827ac", - "reference": "296c015dc30ec4322168c5ad3ee5cc11dae827ac", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/0690bde05318336c7221785f2a932467f98b64ca", + "reference": "0690bde05318336c7221785f2a932467f98b64ca", "shasum": "" }, "require": { @@ -2051,7 +2053,8 @@ "authors": [ { "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk" + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" } ], "description": "An Implementation Of The Result Type", @@ -2064,7 +2067,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Result-Type/issues", - "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.3" + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.0.4" }, "funding": [ { @@ -2076,7 +2079,7 @@ "type": "tidelift" } ], - "time": "2021-10-17T19:48:54+00:00" + "time": "2021-11-21T21:41:47+00:00" }, { "name": "guzzlehttp/guzzle", @@ -2922,16 +2925,16 @@ }, { "name": "laravel/framework", - "version": "v8.69.0", + "version": "v8.73.1", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "545181da688db64fed6d8427e55f630a90ca0d32" + "reference": "36dfae9d9ef7f88e8f9489c484a0a0609592bc21" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/545181da688db64fed6d8427e55f630a90ca0d32", - "reference": "545181da688db64fed6d8427e55f630a90ca0d32", + "url": "https://api.github.com/repos/laravel/framework/zipball/36dfae9d9ef7f88e8f9489c484a0a0609592bc21", + "reference": "36dfae9d9ef7f88e8f9489c484a0a0609592bc21", "shasum": "" }, "require": { @@ -3008,12 +3011,12 @@ }, "require-dev": { "aws/aws-sdk-php": "^3.198.1", - "doctrine/dbal": "^2.13.3|^3.1.2", + "doctrine/dbal": "^2.13.3|^3.1.4", "filp/whoops": "^2.14.3", "guzzlehttp/guzzle": "^6.5.5|^7.0.1", "league/flysystem-cached-adapter": "^1.0", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^6.23", + "orchestra/testbench-core": "^6.27", "pda/pheanstalk": "^4.0", "phpunit/phpunit": "^8.5.19|^9.5.8", "predis/predis": "^1.1.9", @@ -3022,7 +3025,7 @@ "suggest": { "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage and SES mail driver (^3.198.1).", "brianium/paratest": "Required to run tests in parallel (^6.0).", - "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.2).", + "doctrine/dbal": "Required to rename columns and drop SQLite columns (^2.13.3|^3.1.4).", "ext-bcmath": "Required to use the multiple_of validation rule.", "ext-ftp": "Required to use the Flysystem FTP driver.", "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", @@ -3043,7 +3046,7 @@ "phpunit/phpunit": "Required to use assertions and run tests (^8.5.19|^9.5.8).", "predis/predis": "Required to use the predis connector (^1.1.9).", "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", - "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0|^5.0|^6.0).", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^4.0|^5.0|^6.0|^7.0).", "symfony/cache": "Required to PSR-6 cache bridge (^5.1.4).", "symfony/filesystem": "Required to enable support for relative symbolic links (^5.1.4).", "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0).", @@ -3090,20 +3093,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2021-11-02T13:53:22+00:00" + "time": "2021-11-20T19:20:02+00:00" }, { "name": "laravel/serializable-closure", - "version": "v1.0.3", + "version": "v1.0.4", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "6cfc678735f22ccedad761b8cae2bab14c3d8e5b" + "reference": "8148e72e6c2c3af7f05640ada1b26c3bca970f8d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/6cfc678735f22ccedad761b8cae2bab14c3d8e5b", - "reference": "6cfc678735f22ccedad761b8cae2bab14c3d8e5b", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/8148e72e6c2c3af7f05640ada1b26c3bca970f8d", + "reference": "8148e72e6c2c3af7f05640ada1b26c3bca970f8d", "shasum": "" }, "require": { @@ -3149,7 +3152,7 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2021-10-07T14:00:57+00:00" + "time": "2021-11-16T17:01:57+00:00" }, { "name": "laravel/slack-notification-channel", @@ -3452,16 +3455,16 @@ }, { "name": "league/flysystem", - "version": "1.1.5", + "version": "1.1.6", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "18634df356bfd4119fe3d6156bdb990c414c14ea" + "reference": "627be7fcde84c71aa0f15097fcf48fd5f2be5287" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/18634df356bfd4119fe3d6156bdb990c414c14ea", - "reference": "18634df356bfd4119fe3d6156bdb990c414c14ea", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/627be7fcde84c71aa0f15097fcf48fd5f2be5287", + "reference": "627be7fcde84c71aa0f15097fcf48fd5f2be5287", "shasum": "" }, "require": { @@ -3534,7 +3537,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/1.1.5" + "source": "https://github.com/thephpleague/flysystem/tree/1.1.6" }, "funding": [ { @@ -3542,7 +3545,7 @@ "type": "other" } ], - "time": "2021-08-17T13:49:42+00:00" + "time": "2021-11-21T11:04:36+00:00" }, { "name": "league/glide", @@ -3611,16 +3614,16 @@ }, { "name": "league/mime-type-detection", - "version": "1.8.0", + "version": "1.9.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "b38b25d7b372e9fddb00335400467b223349fd7e" + "reference": "aa70e813a6ad3d1558fc927863d47309b4c23e69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/b38b25d7b372e9fddb00335400467b223349fd7e", - "reference": "b38b25d7b372e9fddb00335400467b223349fd7e", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/aa70e813a6ad3d1558fc927863d47309b4c23e69", + "reference": "aa70e813a6ad3d1558fc927863d47309b4c23e69", "shasum": "" }, "require": { @@ -3628,7 +3631,7 @@ "php": "^7.2 || ^8.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.18", + "friendsofphp/php-cs-fixer": "^3.2", "phpstan/phpstan": "^0.12.68", "phpunit/phpunit": "^8.5.8 || ^9.3" }, @@ -3651,7 +3654,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.8.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.9.0" }, "funding": [ { @@ -3663,7 +3666,7 @@ "type": "tidelift" } ], - "time": "2021-09-25T08:23:19+00:00" + "time": "2021-11-21T11:48:40+00:00" }, { "name": "league/oauth1-client", @@ -4551,16 +4554,16 @@ }, { "name": "ph7jack/wireui", - "version": "v0.14.0", + "version": "v0.14.1", "source": { "type": "git", "url": "https://github.com/PH7-Jack/wireui.git", - "reference": "ea9edee975f695e3579fb8538644abde1c543d7a" + "reference": "7ecd004174419263e6034b093040b5b837be6d05" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PH7-Jack/wireui/zipball/ea9edee975f695e3579fb8538644abde1c543d7a", - "reference": "ea9edee975f695e3579fb8538644abde1c543d7a", + "url": "https://api.github.com/repos/PH7-Jack/wireui/zipball/7ecd004174419263e6034b093040b5b837be6d05", + "reference": "7ecd004174419263e6034b093040b5b837be6d05", "shasum": "" }, "require": { @@ -4614,9 +4617,9 @@ ], "support": { "issues": "https://github.com/PH7-Jack/wireui/issues", - "source": "https://github.com/PH7-Jack/wireui/tree/v0.14.0" + "source": "https://github.com/PH7-Jack/wireui/tree/v0.14.1" }, - "time": "2021-11-03T13:42:43+00:00" + "time": "2021-11-12T03:39:07+00:00" }, { "name": "php-cs-fixer/diff", @@ -5562,21 +5565,21 @@ }, { "name": "spatie/crawler", - "version": "7.0.2", + "version": "7.0.5", "source": { "type": "git", "url": "https://github.com/spatie/crawler.git", - "reference": "06a8651b653871de24749ccc06c2561250311a27" + "reference": "2ede57d72963e6c45405a37712515b9367f0b688" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/crawler/zipball/06a8651b653871de24749ccc06c2561250311a27", - "reference": "06a8651b653871de24749ccc06c2561250311a27", + "url": "https://api.github.com/repos/spatie/crawler/zipball/2ede57d72963e6c45405a37712515b9367f0b688", + "reference": "2ede57d72963e6c45405a37712515b9367f0b688", "shasum": "" }, "require": { "guzzlehttp/guzzle": "^7.3", - "guzzlehttp/psr7": "^1.8|^2.0", + "guzzlehttp/psr7": "^2.0", "illuminate/collections": "^8.38", "nicmart/tree": "^0.3.0", "php": "^8.0", @@ -5613,7 +5616,7 @@ ], "support": { "issues": "https://github.com/spatie/crawler/issues", - "source": "https://github.com/spatie/crawler/tree/7.0.2" + "source": "https://github.com/spatie/crawler/tree/7.0.5" }, "funding": [ { @@ -5625,7 +5628,7 @@ "type": "github" } ], - "time": "2021-09-14T08:44:16+00:00" + "time": "2021-11-15T14:24:05+00:00" }, { "name": "spatie/image", @@ -5698,26 +5701,26 @@ }, { "name": "spatie/image-optimizer", - "version": "1.5.0", + "version": "1.6.1", "source": { "type": "git", "url": "https://github.com/spatie/image-optimizer.git", - "reference": "1b3585c3da2cc8872141fce40fbd17e07e6655d1" + "reference": "8bad7f04fd7d31d021b4752ee89f8a450dad8017" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/image-optimizer/zipball/1b3585c3da2cc8872141fce40fbd17e07e6655d1", - "reference": "1b3585c3da2cc8872141fce40fbd17e07e6655d1", + "url": "https://api.github.com/repos/spatie/image-optimizer/zipball/8bad7f04fd7d31d021b4752ee89f8a450dad8017", + "reference": "8bad7f04fd7d31d021b4752ee89f8a450dad8017", "shasum": "" }, "require": { "ext-fileinfo": "*", - "php": "^7.2|^8.0", + "php": "^7.3|^8.0", "psr/log": "^1.0 | ^2.0 | ^3.0", "symfony/process": "^4.2|^5.0" }, "require-dev": { - "phpunit/phpunit": "^8.0|^9.0", + "phpunit/phpunit": "^8.5.21|^9.4.4", "symfony/var-dumper": "^4.2|^5.0" }, "type": "library", @@ -5746,9 +5749,9 @@ ], "support": { "issues": "https://github.com/spatie/image-optimizer/issues", - "source": "https://github.com/spatie/image-optimizer/tree/1.5.0" + "source": "https://github.com/spatie/image-optimizer/tree/1.6.1" }, - "time": "2021-10-11T15:44:16+00:00" + "time": "2021-11-17T10:36:45+00:00" }, { "name": "spatie/laravel-feed", @@ -5844,16 +5847,16 @@ }, { "name": "spatie/laravel-medialibrary", - "version": "9.8.3", + "version": "9.9.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-medialibrary.git", - "reference": "687e769a7ba17e49d183947fe058e357ed3c615f" + "reference": "71ce715b5be60fe73bbcd6b8dba23ac9b78c9b62" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/687e769a7ba17e49d183947fe058e357ed3c615f", - "reference": "687e769a7ba17e49d183947fe058e357ed3c615f", + "url": "https://api.github.com/repos/spatie/laravel-medialibrary/zipball/71ce715b5be60fe73bbcd6b8dba23ac9b78c9b62", + "reference": "71ce715b5be60fe73bbcd6b8dba23ac9b78c9b62", "shasum": "" }, "require": { @@ -5933,7 +5936,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-medialibrary/issues", - "source": "https://github.com/spatie/laravel-medialibrary/tree/9.8.3" + "source": "https://github.com/spatie/laravel-medialibrary/tree/9.9.0" }, "funding": [ { @@ -5945,7 +5948,7 @@ "type": "github" } ], - "time": "2021-10-18T22:57:53+00:00" + "time": "2021-11-17T09:36:26+00:00" }, { "name": "spatie/laravel-medialibrary-pro", @@ -6091,28 +6094,28 @@ }, { "name": "spatie/laravel-permission", - "version": "5.3.1", + "version": "5.4.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-permission.git", - "reference": "ee0a50ad174e7f8b14bd17dd2a79ab51ccbac3df" + "reference": "e54f376517f698e058c518f73703a0ee59b26521" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/ee0a50ad174e7f8b14bd17dd2a79ab51ccbac3df", - "reference": "ee0a50ad174e7f8b14bd17dd2a79ab51ccbac3df", + "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/e54f376517f698e058c518f73703a0ee59b26521", + "reference": "e54f376517f698e058c518f73703a0ee59b26521", "shasum": "" }, "require": { - "illuminate/auth": "^6.0|^7.0|^8.0", - "illuminate/container": "^6.0|^7.0|^8.0", - "illuminate/contracts": "^6.0|^7.0|^8.0", - "illuminate/database": "^6.0|^7.0|^8.0", - "php": "^7.2.5|^8.0" + "illuminate/auth": "^7.0|^8.0", + "illuminate/container": "^7.0|^8.0", + "illuminate/contracts": "^7.0|^8.0", + "illuminate/database": "^7.0|^8.0", + "php": "^7.3|^8.0|^8.1" }, "require-dev": { - "orchestra/testbench": "^4.0|^5.0|^6.0", - "phpunit/phpunit": "^8.0|^9.0", + "orchestra/testbench": "^5.0|^6.0", + "phpunit/phpunit": "^9.4", "predis/predis": "^1.1" }, "type": "library", @@ -6161,7 +6164,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-permission/issues", - "source": "https://github.com/spatie/laravel-permission/tree/5.3.1" + "source": "https://github.com/spatie/laravel-permission/tree/5.4.0" }, "funding": [ { @@ -6169,7 +6172,7 @@ "type": "github" } ], - "time": "2021-11-04T11:03:16+00:00" + "time": "2021-11-17T11:47:22+00:00" }, { "name": "spatie/laravel-sitemap", @@ -6506,20 +6509,21 @@ "type": "tidelift" } ], + "abandoned": "symfony/mailer", "time": "2021-10-18T15:26:12+00:00" }, { "name": "symfony/console", - "version": "v5.3.10", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3" + "reference": "3e7ab8f5905058984899b05a4648096f558bfeba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3", - "reference": "d4e409d9fbcfbf71af0e5a940abb7b0b4bad0bd3", + "url": "https://api.github.com/repos/symfony/console/zipball/3e7ab8f5905058984899b05a4648096f558bfeba", + "reference": "3e7ab8f5905058984899b05a4648096f558bfeba", "shasum": "" }, "require": { @@ -6532,7 +6536,6 @@ "symfony/string": "^5.1" }, "conflict": { - "psr/log": ">=3", "symfony/dependency-injection": "<4.4", "symfony/dotenv": "<5.1", "symfony/event-dispatcher": "<4.4", @@ -6589,7 +6592,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.3.10" + "source": "https://github.com/symfony/console/tree/v5.3.11" }, "funding": [ { @@ -6605,7 +6608,7 @@ "type": "tidelift" } ], - "time": "2021-10-26T09:30:15+00:00" + "time": "2021-11-21T19:41:05+00:00" }, { "name": "symfony/css-selector", @@ -6675,16 +6678,16 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627" + "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5f38c8804a9e97d23e0c8d63341088cd8a22d627", - "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce9736146d1c57c2780598a8", + "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8", "shasum": "" }, "require": { @@ -6693,7 +6696,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -6722,7 +6725,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.0" }, "funding": [ { @@ -6738,7 +6741,7 @@ "type": "tidelift" } ], - "time": "2021-03-23T23:28:01+00:00" + "time": "2021-07-12T14:48:14+00:00" }, { "name": "symfony/dom-crawler", @@ -6817,16 +6820,16 @@ }, { "name": "symfony/error-handler", - "version": "v5.3.7", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "3bc60d0fba00ae8d1eaa9eb5ab11a2bbdd1fc321" + "reference": "eec73dd7218713f48a7996583a741b3bae58c8d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/3bc60d0fba00ae8d1eaa9eb5ab11a2bbdd1fc321", - "reference": "3bc60d0fba00ae8d1eaa9eb5ab11a2bbdd1fc321", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/eec73dd7218713f48a7996583a741b3bae58c8d3", + "reference": "eec73dd7218713f48a7996583a741b3bae58c8d3", "shasum": "" }, "require": { @@ -6865,7 +6868,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v5.3.7" + "source": "https://github.com/symfony/error-handler/tree/v5.3.11" }, "funding": [ { @@ -6881,20 +6884,20 @@ "type": "tidelift" } ], - "time": "2021-08-28T15:07:08+00:00" + "time": "2021-11-13T13:42:37+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.3.7", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "ce7b20d69c66a20939d8952b617506a44d102130" + "reference": "661a7a6e085394f8513945669e31f7c1338a7e69" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/ce7b20d69c66a20939d8952b617506a44d102130", - "reference": "ce7b20d69c66a20939d8952b617506a44d102130", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/661a7a6e085394f8513945669e31f7c1338a7e69", + "reference": "661a7a6e085394f8513945669e31f7c1338a7e69", "shasum": "" }, "require": { @@ -6950,7 +6953,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v5.3.7" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.3.11" }, "funding": [ { @@ -6966,20 +6969,20 @@ "type": "tidelift" } ], - "time": "2021-08-04T21:20:46+00:00" + "time": "2021-11-17T12:16:12+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "69fee1ad2332a7cbab3aca13591953da9cdb7a11" + "reference": "66bea3b09be61613cd3b4043a65a8ec48cfa6d2a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/69fee1ad2332a7cbab3aca13591953da9cdb7a11", - "reference": "69fee1ad2332a7cbab3aca13591953da9cdb7a11", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/66bea3b09be61613cd3b4043a65a8ec48cfa6d2a", + "reference": "66bea3b09be61613cd3b4043a65a8ec48cfa6d2a", "shasum": "" }, "require": { @@ -6992,7 +6995,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -7029,7 +7032,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v2.5.0" }, "funding": [ { @@ -7045,7 +7048,7 @@ "type": "tidelift" } ], - "time": "2021-03-23T23:28:01+00:00" + "time": "2021-07-12T14:48:14+00:00" }, { "name": "symfony/filesystem", @@ -7174,16 +7177,16 @@ }, { "name": "symfony/http-client-contracts", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "7e82f6084d7cae521a75ef2cb5c9457bbda785f4" + "reference": "ec82e57b5b714dbb69300d348bd840b345e24166" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/7e82f6084d7cae521a75ef2cb5c9457bbda785f4", - "reference": "7e82f6084d7cae521a75ef2cb5c9457bbda785f4", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/ec82e57b5b714dbb69300d348bd840b345e24166", + "reference": "ec82e57b5b714dbb69300d348bd840b345e24166", "shasum": "" }, "require": { @@ -7195,7 +7198,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -7232,7 +7235,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/http-client-contracts/tree/v2.5.0" }, "funding": [ { @@ -7248,20 +7251,20 @@ "type": "tidelift" } ], - "time": "2021-04-11T23:07:08+00:00" + "time": "2021-11-03T09:24:47+00:00" }, { "name": "symfony/http-foundation", - "version": "v5.3.10", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "9f34f02e8a5fdc7a56bafe011cea1ce97300e54c" + "reference": "d1e7059ebeb0b8f9fe5eb5b26eacd2e3c1f371cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/9f34f02e8a5fdc7a56bafe011cea1ce97300e54c", - "reference": "9f34f02e8a5fdc7a56bafe011cea1ce97300e54c", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/d1e7059ebeb0b8f9fe5eb5b26eacd2e3c1f371cc", + "reference": "d1e7059ebeb0b8f9fe5eb5b26eacd2e3c1f371cc", "shasum": "" }, "require": { @@ -7305,7 +7308,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v5.3.10" + "source": "https://github.com/symfony/http-foundation/tree/v5.3.11" }, "funding": [ { @@ -7321,20 +7324,20 @@ "type": "tidelift" } ], - "time": "2021-10-11T15:41:55+00:00" + "time": "2021-11-04T16:37:19+00:00" }, { "name": "symfony/http-kernel", - "version": "v5.3.10", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "703e4079920468e9522b72cf47fd76ce8d795e86" + "reference": "cdccfda41510821c08983542e83c4b3d97357c77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/703e4079920468e9522b72cf47fd76ce8d795e86", - "reference": "703e4079920468e9522b72cf47fd76ce8d795e86", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/cdccfda41510821c08983542e83c4b3d97357c77", + "reference": "cdccfda41510821c08983542e83c4b3d97357c77", "shasum": "" }, "require": { @@ -7417,7 +7420,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v5.3.10" + "source": "https://github.com/symfony/http-kernel/tree/v5.3.11" }, "funding": [ { @@ -7433,20 +7436,20 @@ "type": "tidelift" } ], - "time": "2021-10-29T08:36:48+00:00" + "time": "2021-11-22T14:24:23+00:00" }, { "name": "symfony/mime", - "version": "v5.3.8", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "a756033d0a7e53db389618653ae991eba5a19a11" + "reference": "dffc0684f10526db12c52fcd6238c64695426d61" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/a756033d0a7e53db389618653ae991eba5a19a11", - "reference": "a756033d0a7e53db389618653ae991eba5a19a11", + "url": "https://api.github.com/repos/symfony/mime/zipball/dffc0684f10526db12c52fcd6238c64695426d61", + "reference": "dffc0684f10526db12c52fcd6238c64695426d61", "shasum": "" }, "require": { @@ -7500,7 +7503,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v5.3.8" + "source": "https://github.com/symfony/mime/tree/v5.3.11" }, "funding": [ { @@ -7516,7 +7519,7 @@ "type": "tidelift" } ], - "time": "2021-09-10T12:30:38+00:00" + "time": "2021-11-20T16:42:42+00:00" }, { "name": "symfony/options-resolver", @@ -8397,16 +8400,16 @@ }, { "name": "symfony/process", - "version": "v5.3.7", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "38f26c7d6ed535217ea393e05634cb0b244a1967" + "reference": "6c99204de85d04ca17f16c466fc61896960b0636" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/38f26c7d6ed535217ea393e05634cb0b244a1967", - "reference": "38f26c7d6ed535217ea393e05634cb0b244a1967", + "url": "https://api.github.com/repos/symfony/process/zipball/6c99204de85d04ca17f16c466fc61896960b0636", + "reference": "6c99204de85d04ca17f16c466fc61896960b0636", "shasum": "" }, "require": { @@ -8439,7 +8442,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.3.7" + "source": "https://github.com/symfony/process/tree/v5.3.11" }, "funding": [ { @@ -8455,20 +8458,20 @@ "type": "tidelift" } ], - "time": "2021-08-04T21:20:46+00:00" + "time": "2021-11-17T12:16:12+00:00" }, { "name": "symfony/routing", - "version": "v5.3.7", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "be865017746fe869007d94220ad3f5297951811b" + "reference": "fcbc2b81d55984f04bb704c2269755fa5aaf5cca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/be865017746fe869007d94220ad3f5297951811b", - "reference": "be865017746fe869007d94220ad3f5297951811b", + "url": "https://api.github.com/repos/symfony/routing/zipball/fcbc2b81d55984f04bb704c2269755fa5aaf5cca", + "reference": "fcbc2b81d55984f04bb704c2269755fa5aaf5cca", "shasum": "" }, "require": { @@ -8529,7 +8532,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v5.3.7" + "source": "https://github.com/symfony/routing/tree/v5.3.11" }, "funding": [ { @@ -8545,25 +8548,29 @@ "type": "tidelift" } ], - "time": "2021-08-04T21:42:42+00:00" + "time": "2021-11-04T16:37:19+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb" + "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", - "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", + "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", "shasum": "" }, "require": { "php": ">=7.2.5", - "psr/container": "^1.1" + "psr/container": "^1.1", + "symfony/deprecation-contracts": "^2.1" + }, + "conflict": { + "ext-psr": "<1.1|>=2" }, "suggest": { "symfony/service-implementation": "" @@ -8571,7 +8578,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -8608,7 +8615,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/service-contracts/tree/v2.5.0" }, "funding": [ { @@ -8624,7 +8631,7 @@ "type": "tidelift" } ], - "time": "2021-04-01T10:43:52+00:00" + "time": "2021-11-04T16:48:04+00:00" }, { "name": "symfony/stopwatch", @@ -8773,16 +8780,16 @@ }, { "name": "symfony/translation", - "version": "v5.3.10", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "6ef197aea2ac8b9cd63e0da7522b3771714035aa" + "reference": "17a965c8f3b1b348cf15d903ac53942984561f8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/6ef197aea2ac8b9cd63e0da7522b3771714035aa", - "reference": "6ef197aea2ac8b9cd63e0da7522b3771714035aa", + "url": "https://api.github.com/repos/symfony/translation/zipball/17a965c8f3b1b348cf15d903ac53942984561f8a", + "reference": "17a965c8f3b1b348cf15d903ac53942984561f8a", "shasum": "" }, "require": { @@ -8848,7 +8855,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v5.3.10" + "source": "https://github.com/symfony/translation/tree/v5.3.11" }, "funding": [ { @@ -8864,20 +8871,20 @@ "type": "tidelift" } ], - "time": "2021-10-10T06:43:24+00:00" + "time": "2021-11-04T16:37:19+00:00" }, { "name": "symfony/translation-contracts", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "95c812666f3e91db75385749fe219c5e494c7f95" + "reference": "d28150f0f44ce854e942b671fc2620a98aae1b1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/95c812666f3e91db75385749fe219c5e494c7f95", - "reference": "95c812666f3e91db75385749fe219c5e494c7f95", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/d28150f0f44ce854e942b671fc2620a98aae1b1e", + "reference": "d28150f0f44ce854e942b671fc2620a98aae1b1e", "shasum": "" }, "require": { @@ -8889,7 +8896,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -8926,7 +8933,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/translation-contracts/tree/v2.5.0" }, "funding": [ { @@ -8942,20 +8949,20 @@ "type": "tidelift" } ], - "time": "2021-03-23T23:28:01+00:00" + "time": "2021-08-17T14:20:01+00:00" }, { "name": "symfony/var-dumper", - "version": "v5.3.10", + "version": "v5.3.11", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "875432adb5f5570fff21036fd22aee244636b7d1" + "reference": "a029b3a11b757f9cc8693040339153b4745a913f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/875432adb5f5570fff21036fd22aee244636b7d1", - "reference": "875432adb5f5570fff21036fd22aee244636b7d1", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/a029b3a11b757f9cc8693040339153b4745a913f", + "reference": "a029b3a11b757f9cc8693040339153b4745a913f", "shasum": "" }, "require": { @@ -9014,7 +9021,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v5.3.10" + "source": "https://github.com/symfony/var-dumper/tree/v5.3.11" }, "funding": [ { @@ -9030,7 +9037,7 @@ "type": "tidelift" } ], - "time": "2021-10-26T09:30:15+00:00" + "time": "2021-11-12T11:38:27+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -9207,16 +9214,16 @@ }, { "name": "vlucas/phpdotenv", - "version": "v5.3.1", + "version": "v5.4.0", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "accaddf133651d4b5cf81a119f25296736ffc850" + "reference": "d4394d044ed69a8f244f3445bcedf8a0d7fe2403" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/accaddf133651d4b5cf81a119f25296736ffc850", - "reference": "accaddf133651d4b5cf81a119f25296736ffc850", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/d4394d044ed69a8f244f3445bcedf8a0d7fe2403", + "reference": "d4394d044ed69a8f244f3445bcedf8a0d7fe2403", "shasum": "" }, "require": { @@ -9239,7 +9246,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "5.3-dev" + "dev-master": "5.4-dev" } }, "autoload": { @@ -9269,7 +9276,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.3.1" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.4.0" }, "funding": [ { @@ -9281,7 +9288,7 @@ "type": "tidelift" } ], - "time": "2021-10-02T19:24:42+00:00" + "time": "2021-11-10T01:08:39+00:00" }, { "name": "voku/portable-ascii", @@ -9473,18 +9480,92 @@ }, "time": "2021-11-05T12:45:43+00:00" }, + { + "name": "wire-elements/spotlight", + "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/wire-elements/spotlight.git", + "reference": "99611933571bf88eb21590789f836c8045c2fac3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/wire-elements/spotlight/zipball/99611933571bf88eb21590789f836c8045c2fac3", + "reference": "99611933571bf88eb21590789f836c8045c2fac3", + "shasum": "" + }, + "require": { + "illuminate/contracts": "^8.0", + "livewire/livewire": "^2.4", + "php": "^8.0", + "spatie/laravel-package-tools": "^1.4.3" + }, + "require-dev": { + "brianium/paratest": "^6.2", + "nunomaduro/collision": "^5.3", + "orchestra/testbench": "^6.15", + "phpunit/phpunit": "^9.3", + "vimeo/psalm": "^4.4" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "LivewireUI\\Spotlight\\SpotlightServiceProvider" + ], + "aliases": { + "Spotlight": "LivewireUI\\Spotlight\\SpotlightFacade" + } + } + }, + "autoload": { + "psr-4": { + "LivewireUI\\Spotlight\\": "src", + "LivewireUI\\Spotlight\\Database\\Factories\\": "database/factories" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Philo Hermans", + "email": "me@philohermans.com", + "role": "Developer" + } + ], + "description": "Livewire component that provides Spotlight/Alfred-like functionality to your Laravel application.", + "homepage": "https://github.com/livewire-ui/spotlight", + "keywords": [ + "laravel", + "livewire-ui", + "spotlight" + ], + "support": { + "issues": "https://github.com/wire-elements/spotlight/issues", + "source": "https://github.com/wire-elements/spotlight/tree/1.0.2" + }, + "funding": [ + { + "url": "https://github.com/livewire-ui", + "type": "github" + } + ], + "time": "2021-11-06T11:46:09+00:00" + }, { "name": "yarri/link-finder", - "version": "v2.7.2", + "version": "v2.7.3", "source": { "type": "git", "url": "https://github.com/yarri/LinkFinder.git", - "reference": "51ba050d1876904e815ebbbdc9cd637d3af7702a" + "reference": "8b95113a0143c7cdec05071eb66e694a8a5a3e24" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/yarri/LinkFinder/zipball/51ba050d1876904e815ebbbdc9cd637d3af7702a", - "reference": "51ba050d1876904e815ebbbdc9cd637d3af7702a", + "url": "https://api.github.com/repos/yarri/LinkFinder/zipball/8b95113a0143c7cdec05071eb66e694a8a5a3e24", + "reference": "8b95113a0143c7cdec05071eb66e694a8a5a3e24", "shasum": "" }, "require": { @@ -9522,9 +9603,9 @@ ], "support": { "issues": "https://github.com/yarri/LinkFinder/issues", - "source": "https://github.com/yarri/LinkFinder/tree/v2.7.2" + "source": "https://github.com/yarri/LinkFinder/tree/v2.7.3" }, - "time": "2021-09-06T14:41:49+00:00" + "time": "2021-11-23T09:54:42+00:00" } ], "packages-dev": [ @@ -9615,16 +9696,16 @@ }, { "name": "brianium/paratest", - "version": "v6.3.2", + "version": "v6.3.3", "source": { "type": "git", "url": "https://github.com/paratestphp/paratest.git", - "reference": "5843dced0fb11c67fa3863e9ad40cfc319c32f33" + "reference": "a448f456921719fdf8a2c0f6d1e2e8f63c085ffa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paratestphp/paratest/zipball/5843dced0fb11c67fa3863e9ad40cfc319c32f33", - "reference": "5843dced0fb11c67fa3863e9ad40cfc319c32f33", + "url": "https://api.github.com/repos/paratestphp/paratest/zipball/a448f456921719fdf8a2c0f6d1e2e8f63c085ffa", + "reference": "a448f456921719fdf8a2c0f6d1e2e8f63c085ffa", "shasum": "" }, "require": { @@ -9693,7 +9774,7 @@ ], "support": { "issues": "https://github.com/paratestphp/paratest/issues", - "source": "https://github.com/paratestphp/paratest/tree/v6.3.2" + "source": "https://github.com/paratestphp/paratest/tree/v6.3.3" }, "funding": [ { @@ -9705,7 +9786,7 @@ "type": "paypal" } ], - "time": "2021-11-03T10:16:06+00:00" + "time": "2021-11-19T07:41:55+00:00" }, { "name": "doctrine/instantiator", @@ -9843,16 +9924,16 @@ }, { "name": "facade/ignition", - "version": "2.16.0", + "version": "2.16.1", "source": { "type": "git", "url": "https://github.com/facade/ignition.git", - "reference": "23400e6cc565c9dcae2c53704b4de1c4870c0697" + "reference": "29b533f63a3b269aa599d08dd4d22a0d720e295f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/facade/ignition/zipball/23400e6cc565c9dcae2c53704b4de1c4870c0697", - "reference": "23400e6cc565c9dcae2c53704b4de1c4870c0697", + "url": "https://api.github.com/repos/facade/ignition/zipball/29b533f63a3b269aa599d08dd4d22a0d720e295f", + "reference": "29b533f63a3b269aa599d08dd4d22a0d720e295f", "shasum": "" }, "require": { @@ -9916,7 +9997,7 @@ "issues": "https://github.com/facade/ignition/issues", "source": "https://github.com/facade/ignition" }, - "time": "2021-10-28T11:47:23+00:00" + "time": "2021-11-16T13:09:30+00:00" }, { "name": "facade/ignition-contracts", @@ -10160,16 +10241,16 @@ }, { "name": "laravel/sail", - "version": "v1.12.3", + "version": "v1.12.5", "source": { "type": "git", "url": "https://github.com/laravel/sail.git", - "reference": "f335277677188b79d12f4caad88577cf76e54dfa" + "reference": "d1c31b2c3d226e70e0071e074da69e4801f0f47b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/sail/zipball/f335277677188b79d12f4caad88577cf76e54dfa", - "reference": "f335277677188b79d12f4caad88577cf76e54dfa", + "url": "https://api.github.com/repos/laravel/sail/zipball/d1c31b2c3d226e70e0071e074da69e4801f0f47b", + "reference": "d1c31b2c3d226e70e0071e074da69e4801f0f47b", "shasum": "" }, "require": { @@ -10216,7 +10297,7 @@ "issues": "https://github.com/laravel/sail/issues", "source": "https://github.com/laravel/sail" }, - "time": "2021-11-05T13:35:24+00:00" + "time": "2021-11-16T16:55:18+00:00" }, { "name": "maximebf/debugbar", @@ -10502,16 +10583,16 @@ }, { "name": "pestphp/pest", - "version": "v1.20.0", + "version": "v1.21.0", "source": { "type": "git", "url": "https://github.com/pestphp/pest.git", - "reference": "ba06c5a76d95bbdef93aa4e05b489c3335b6c8c1" + "reference": "11eb1903c2ecf83149e7c65b8160bc44a823ac39" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/ba06c5a76d95bbdef93aa4e05b489c3335b6c8c1", - "reference": "ba06c5a76d95bbdef93aa4e05b489c3335b6c8c1", + "url": "https://api.github.com/repos/pestphp/pest/zipball/11eb1903c2ecf83149e7c65b8160bc44a823ac39", + "reference": "11eb1903c2ecf83149e7c65b8160bc44a823ac39", "shasum": "" }, "require": { @@ -10579,7 +10660,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v1.20.0" + "source": "https://github.com/pestphp/pest/tree/v1.21.0" }, "funding": [ { @@ -10607,7 +10688,7 @@ "type": "patreon" } ], - "time": "2021-09-25T12:52:12+00:00" + "time": "2021-11-17T10:54:00+00:00" }, { "name": "pestphp/pest-plugin", @@ -11162,16 +11243,16 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.8", + "version": "9.2.9", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "cf04e88a2e3c56fc1a65488afd493325b4c1bc3e" + "reference": "f301eb1453c9e7a1bc912ee8b0ea9db22c60223b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/cf04e88a2e3c56fc1a65488afd493325b4c1bc3e", - "reference": "cf04e88a2e3c56fc1a65488afd493325b4c1bc3e", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f301eb1453c9e7a1bc912ee8b0ea9db22c60223b", + "reference": "f301eb1453c9e7a1bc912ee8b0ea9db22c60223b", "shasum": "" }, "require": { @@ -11227,7 +11308,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.8" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.9" }, "funding": [ { @@ -11235,7 +11316,7 @@ "type": "github" } ], - "time": "2021-10-30T08:01:38+00:00" + "time": "2021-11-19T15:21:02+00:00" }, { "name": "phpunit/php-file-iterator", @@ -12010,16 +12091,16 @@ }, { "name": "sebastian/exporter", - "version": "4.0.3", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65" + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/d89cc98761b8cb5a1a235a6b703ae50d34080e65", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9", + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9", "shasum": "" }, "require": { @@ -12068,14 +12149,14 @@ } ], "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", + "homepage": "https://www.github.com/sebastianbergmann/exporter", "keywords": [ "export", "exporter" ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.4" }, "funding": [ { @@ -12083,7 +12164,7 @@ "type": "github" } ], - "time": "2020-09-28T05:24:23+00:00" + "time": "2021-11-11T14:18:36+00:00" }, { "name": "sebastian/global-state", @@ -12434,6 +12515,7 @@ "type": "github" } ], + "abandoned": true, "time": "2020-09-28T06:45:17+00:00" }, { diff --git a/config/livewire-ui-spotlight.php b/config/livewire-ui-spotlight.php new file mode 100644 index 00000000..d9d956ab --- /dev/null +++ b/config/livewire-ui-spotlight.php @@ -0,0 +1,69 @@ + [ + 'k', + 'slash', + ], + + /* + |-------------------------------------------------------------------------- + | Commands + |-------------------------------------------------------------------------- + | + | Define which commands you want to make available in Spotlight. + | Alternatively, you can also register commands in your AppServiceProvider + | with the Spotlight::registerCommand(Logout::class); method. + | + */ + + 'commands' => [ + \App\Spotlight\Article::class, + \App\Spotlight\Articles::class, + \App\Spotlight\Discussion::class, + \App\Spotlight\Discussions::class, + \App\Spotlight\FAQs::class, + \App\Spotlight\Forum::class, + \App\Spotlight\Guides::class, + \App\Spotlight\Slack::class, + \App\Spotlight\Sujet::class, + \App\Spotlight\Telegram::class, + \App\Spotlight\User::class, + ], + + /* + |-------------------------------------------------------------------------- + | Include CSS + |-------------------------------------------------------------------------- + | + | Spotlight uses TailwindCSS, if you don't use TailwindCSS you will need + | to set this parameter to true. This includes the modern-normalize css. + | + */ + 'include_css' => false, + + /* + |-------------------------------------------------------------------------- + | Include JS + |-------------------------------------------------------------------------- + | + | Spotlight will inject the required Javascript in your blade template. + | If you want to bundle the required Javascript you can set this to false + | run `npm install --save fuse.js` and add `require('vendor/livewire-ui/spotlight/resources/js/spotlight');` + | to your script bundler like webpack. + | + */ + 'include_js' => true, + +]; diff --git a/public/css/app.css b/public/css/app.css index 70a6834a..c16ffd80 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -4326,6 +4326,9 @@ select { .left-5 { left: 1.25rem; } +.right-5 { + right: 1.25rem; +} .right-2 { right: 0.5rem; } @@ -4898,6 +4901,10 @@ select { --tw-translate-y: 0.25rem; transform: var(--tw-transform); } +.-translate-y-12 { + --tw-translate-y: -3rem; + transform: var(--tw-transform); +} .rotate-45 { --tw-rotate: 45deg; transform: var(--tw-transform); @@ -5327,6 +5334,10 @@ select { .border-transparent { border-color: transparent; } +.border-gray-800 { + --tw-border-opacity: 1; + border-color: rgba(31, 41, 55, var(--tw-border-opacity)); +} .border-red-300 { --tw-border-opacity: 1; border-color: rgba(252, 165, 165, var(--tw-border-opacity)); @@ -5455,13 +5466,17 @@ select { --tw-bg-opacity: 1; background-color: rgba(209, 250, 229, var(--tw-bg-opacity)); } -.bg-skin-primary { +.bg-gray-900 { --tw-bg-opacity: 1; - background-color: rgba(var(--color-text-primary), var(--tw-bg-opacity)); + background-color: rgba(17, 24, 39, var(--tw-bg-opacity)); } .bg-transparent { background-color: transparent; } +.bg-skin-primary { + --tw-bg-opacity: 1; + background-color: rgba(var(--color-text-primary), var(--tw-bg-opacity)); +} .bg-red-100 { --tw-bg-opacity: 1; background-color: rgba(254, 226, 226, var(--tw-bg-opacity)); @@ -5554,6 +5569,10 @@ select { --tw-bg-opacity: 1; background-color: rgba(220, 38, 38, var(--tw-bg-opacity)); } +.bg-gray-100 { + --tw-bg-opacity: 1; + background-color: rgba(243, 244, 246, var(--tw-bg-opacity)); +} .bg-opacity-10 { --tw-bg-opacity: 0.1; } @@ -5805,6 +5824,9 @@ select { .pt-0 { padding-top: 0px; } +.pr-12 { + padding-right: 3rem; +} .pb-1 { padding-bottom: 0.25rem; } @@ -6069,6 +6091,10 @@ select { --tw-text-opacity: 1; color: rgba(245, 158, 11, var(--tw-text-opacity)); } +.text-gray-300 { + --tw-text-opacity: 1; + color: rgba(209, 213, 219, var(--tw-text-opacity)); +} .text-gray-800 { --tw-text-opacity: 1; color: rgba(31, 41, 55, var(--tw-text-opacity)); @@ -6189,6 +6215,14 @@ select { --tw-text-opacity: 1; color: rgba(244, 63, 94, var(--tw-text-opacity)); } +.text-gray-200 { + --tw-text-opacity: 1; + color: rgba(229, 231, 235, var(--tw-text-opacity)); +} +.text-gray-100 { + --tw-text-opacity: 1; + color: rgba(243, 244, 246, var(--tw-text-opacity)); +} .underline { text-decoration: underline; } @@ -6208,6 +6242,18 @@ select { --tw-placeholder-opacity: 1; color: rgba(var(--color-text-muted), var(--tw-placeholder-opacity)); } +.placeholder-gray-500::-moz-placeholder { + --tw-placeholder-opacity: 1; + color: rgba(107, 114, 128, var(--tw-placeholder-opacity)); +} +.placeholder-gray-500:-ms-input-placeholder { + --tw-placeholder-opacity: 1; + color: rgba(107, 114, 128, var(--tw-placeholder-opacity)); +} +.placeholder-gray-500::placeholder { + --tw-placeholder-opacity: 1; + color: rgba(107, 114, 128, var(--tw-placeholder-opacity)); +} .placeholder-red-300::-moz-placeholder { --tw-placeholder-opacity: 1; color: rgba(252, 165, 165, var(--tw-placeholder-opacity)); @@ -6256,9 +6302,18 @@ select { .opacity-100 { opacity: 1; } +.opacity-50 { + opacity: 0.5; +} .opacity-60 { opacity: 0.6; } +.opacity-70 { + opacity: 0.7; +} +.opacity-20 { + opacity: 0.2; +} .shadow-lg { --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); @@ -6446,6 +6501,9 @@ select { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; } +.delay-200 { + transition-delay: 200ms; +} .duration-75 { transition-duration: 75ms; } @@ -6620,6 +6678,11 @@ html { background-color: rgba(var(--color-card-muted-fill), var(--tw-bg-opacity)); } +.hover\:bg-gray-800:hover { + --tw-bg-opacity: 1; + background-color: rgba(31, 41, 55, var(--tw-bg-opacity)); +} + .hover\:bg-skin-footer:hover { --tw-bg-opacity: 1; background-color: rgba(var(--color-footer-fill), var(--tw-bg-opacity)); @@ -6876,6 +6939,10 @@ html { border-width: 1px; } +.focus\:border-0:focus { + border-width: 0px; +} + .focus\:border-flag-green:focus { --tw-border-opacity: 1; border-color: rgba(9, 145, 112, var(--tw-border-opacity)); @@ -6896,6 +6963,10 @@ html { border-color: rgba(16, 185, 129, var(--tw-border-opacity)); } +.focus\:border-transparent:focus { + border-color: transparent; +} + .focus\:border-green-300:focus { --tw-border-opacity: 1; border-color: rgba(110, 231, 183, var(--tw-border-opacity)); @@ -6936,10 +7007,6 @@ html { border-color: rgba(34, 197, 94, var(--tw-border-opacity)); } -.focus\:border-transparent:focus { - border-color: transparent; -} - .focus\:bg-primary-100:focus { --tw-bg-opacity: 1; background-color: rgba(220, 252, 231, var(--tw-bg-opacity)); @@ -6979,6 +7046,11 @@ html { color: rgba(var(--color-text-base), var(--tw-placeholder-opacity)); } +.focus\:shadow-none:focus { + --tw-shadow: 0 0 #0000; + box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); +} + .focus\:shadow-md:focus { --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow); @@ -7127,6 +7199,11 @@ html { transform: var(--tw-transform); } +.group:hover .group-hover\:bg-skin-card-gray { + --tw-bg-opacity: 1; + background-color: rgba(var(--color-card-gray), var(--tw-bg-opacity)); +} + .group:hover .group-hover\:text-skin-primary { --tw-text-opacity: 1; color: rgba(var(--color-text-primary), var(--tw-text-opacity)); @@ -7690,6 +7767,11 @@ html { padding-bottom: 2.5rem; } + .sm\:px-0 { + padding-left: 0px; + padding-right: 0px; + } + .sm\:pt-5 { padding-top: 1.25rem; } @@ -7702,6 +7784,10 @@ html { padding-top: 0px; } + .sm\:pt-24 { + padding-top: 6rem; + } + .sm\:pt-16 { padding-top: 4rem; } diff --git a/public/js/app.js b/public/js/app.js index cfb18575..4e83edf3 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -60163,12 +60163,9 @@ function n(){return(n=Object.assign||function(e){for(var n=1;n { - -"use strict"; -__webpack_require__.r(__webpack_exports__); -// extracted by mini-css-extract-plugin +/***/ (() => { +throw new Error("Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):\nModuleBuildError: Module build failed (from ./node_modules/postcss-loader/dist/cjs.js):\nError: ENOENT: no such file or directory, stat '/data/Sites/Laracm/laravel.cm/vendor/ph7jack/wireui/tailwind.config.js'\n at Object.statSync (fs.js:1131:3)\n at trackModified (/data/Sites/Laracm/laravel.cm/node_modules/tailwindcss/lib/jit/lib/setupContextUtils.js:369:35)\n at getContext (/data/Sites/Laracm/laravel.cm/node_modules/tailwindcss/lib/jit/lib/setupContextUtils.js:556:38)\n at /data/Sites/Laracm/laravel.cm/node_modules/tailwindcss/lib/jit/lib/setupTrackingContext.js:177:57\n at /data/Sites/Laracm/laravel.cm/node_modules/tailwindcss/lib/jit/processTailwindFeatures.js:54:7\n at /data/Sites/Laracm/laravel.cm/node_modules/tailwindcss/lib/jit/index.js:25:56\n at LazyResult.runOnRoot (/data/Sites/Laracm/laravel.cm/node_modules/postcss/lib/lazy-result.js:339:16)\n at LazyResult.runAsync (/data/Sites/Laracm/laravel.cm/node_modules/postcss/lib/lazy-result.js:391:26)\n at LazyResult.async (/data/Sites/Laracm/laravel.cm/node_modules/postcss/lib/lazy-result.js:221:30)\n at LazyResult.then (/data/Sites/Laracm/laravel.cm/node_modules/postcss/lib/lazy-result.js:206:17)\n at processResult (/data/Sites/Laracm/laravel.cm/node_modules/webpack/lib/NormalModule.js:751:19)\n at /data/Sites/Laracm/laravel.cm/node_modules/webpack/lib/NormalModule.js:853:5\n at /data/Sites/Laracm/laravel.cm/node_modules/loader-runner/lib/LoaderRunner.js:399:11\n at /data/Sites/Laracm/laravel.cm/node_modules/loader-runner/lib/LoaderRunner.js:251:18\n at context.callback (/data/Sites/Laracm/laravel.cm/node_modules/loader-runner/lib/LoaderRunner.js:124:13)\n at Object.loader (/data/Sites/Laracm/laravel.cm/node_modules/postcss-loader/dist/index.js:142:7)"); /***/ }), @@ -68888,42 +68885,7 @@ var create = module.exports.create; /******/ return module.exports; /******/ } /******/ -/******/ // expose the modules object (__webpack_modules__) -/******/ __webpack_require__.m = __webpack_modules__; -/******/ /************************************************************************/ -/******/ /* webpack/runtime/chunk loaded */ -/******/ (() => { -/******/ var deferred = []; -/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => { -/******/ if(chunkIds) { -/******/ priority = priority || 0; -/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1]; -/******/ deferred[i] = [chunkIds, fn, priority]; -/******/ return; -/******/ } -/******/ var notFulfilled = Infinity; -/******/ for (var i = 0; i < deferred.length; i++) { -/******/ var [chunkIds, fn, priority] = deferred[i]; -/******/ var fulfilled = true; -/******/ for (var j = 0; j < chunkIds.length; j++) { -/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) { -/******/ chunkIds.splice(j--, 1); -/******/ } else { -/******/ fulfilled = false; -/******/ if(priority < notFulfilled) notFulfilled = priority; -/******/ } -/******/ } -/******/ if(fulfilled) { -/******/ deferred.splice(i--, 1) -/******/ var r = fn(); -/******/ if (r !== undefined) result = r; -/******/ } -/******/ } -/******/ return result; -/******/ }; -/******/ })(); -/******/ /******/ /* webpack/runtime/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules @@ -68976,68 +68938,13 @@ var create = module.exports.create; /******/ }; /******/ })(); /******/ -/******/ /* webpack/runtime/jsonp chunk loading */ -/******/ (() => { -/******/ // no baseURI -/******/ -/******/ // object to store loaded and loading chunks -/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched -/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded -/******/ var installedChunks = { -/******/ "/js/app": 0, -/******/ "css/app": 0 -/******/ }; -/******/ -/******/ // no chunk on demand loading -/******/ -/******/ // no prefetching -/******/ -/******/ // no preloaded -/******/ -/******/ // no HMR -/******/ -/******/ // no HMR manifest -/******/ -/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0); -/******/ -/******/ // install a JSONP callback for chunk loading -/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => { -/******/ var [chunkIds, moreModules, runtime] = data; -/******/ // add "moreModules" to the modules object, -/******/ // then flag all "chunkIds" as loaded and fire callback -/******/ var moduleId, chunkId, i = 0; -/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) { -/******/ for(moduleId in moreModules) { -/******/ if(__webpack_require__.o(moreModules, moduleId)) { -/******/ __webpack_require__.m[moduleId] = moreModules[moduleId]; -/******/ } -/******/ } -/******/ if(runtime) var result = runtime(__webpack_require__); -/******/ } -/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data); -/******/ for(;i < chunkIds.length; i++) { -/******/ chunkId = chunkIds[i]; -/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) { -/******/ installedChunks[chunkId][0](); -/******/ } -/******/ installedChunks[chunkIds[i]] = 0; -/******/ } -/******/ return __webpack_require__.O(result); -/******/ } -/******/ -/******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || []; -/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0)); -/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal)); -/******/ })(); -/******/ /************************************************************************/ /******/ /******/ // startup /******/ // Load entry module and return exports -/******/ // This entry module depends on other loaded chunks and execution need to be delayed -/******/ __webpack_require__.O(undefined, ["css/app"], () => (__webpack_require__("./resources/js/app.js"))) -/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["css/app"], () => (__webpack_require__("./resources/css/app.css"))) -/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__); +/******/ __webpack_require__("./resources/js/app.js"); +/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined +/******/ var __webpack_exports__ = __webpack_require__("./resources/css/app.css"); /******/ /******/ })() ; \ No newline at end of file diff --git a/resources/lang/vendor/livewire-ui-spotlight/en/spotlight.php b/resources/lang/vendor/livewire-ui-spotlight/en/spotlight.php new file mode 100644 index 00000000..1bb43a8b --- /dev/null +++ b/resources/lang/vendor/livewire-ui-spotlight/en/spotlight.php @@ -0,0 +1,5 @@ + 'What do you want to do?', +]; diff --git a/resources/lang/vendor/livewire-ui-spotlight/fr/spotlight.php b/resources/lang/vendor/livewire-ui-spotlight/fr/spotlight.php new file mode 100644 index 00000000..eb3c1631 --- /dev/null +++ b/resources/lang/vendor/livewire-ui-spotlight/fr/spotlight.php @@ -0,0 +1,5 @@ + 'Que recherchez-vous ?', +]; diff --git a/resources/views/articles/show.blade.php b/resources/views/articles/show.blade.php index 5f1bb0c9..e87bb338 100644 --- a/resources/views/articles/show.blade.php +++ b/resources/views/articles/show.blade.php @@ -134,10 +134,10 @@ class="mt-8 prose prose-lg prose-green text-skin-base mx-auto md:prose-xl lg:max Éditer - + diff --git a/resources/views/layouts/master.blade.php b/resources/views/layouts/master.blade.php index e97f19d1..301f3052 100644 --- a/resources/views/layouts/master.blade.php +++ b/resources/views/layouts/master.blade.php @@ -50,6 +50,7 @@ @livewire('livewire-ui-modal') + @livewire('livewire-ui-spotlight') @stack('scripts') diff --git a/resources/views/livewire/modals/delete-article.blade.php b/resources/views/livewire/modals/delete-article.blade.php new file mode 100644 index 00000000..13444a9b --- /dev/null +++ b/resources/views/livewire/modals/delete-article.blade.php @@ -0,0 +1,30 @@ + + +
+
+ +
+
+ +
+

+ {{ __('Voulez-vous vraiment cet article? Cette action est irréversible.') }} +

+
+
+
+
+ + + + + + + + {{ __('Annuler') }} + + + +
diff --git a/resources/views/partials/_search.blade.php b/resources/views/partials/_search.blade.php index e70204e3..41ad7b5c 100644 --- a/resources/views/partials/_search.blade.php +++ b/resources/views/partials/_search.blade.php @@ -1,16 +1,13 @@ -
+
-
- +
+ {{ __('Rechercher un contenu...') }} +
+
+ + ⌘K +
-
diff --git a/resources/views/vendor/livewire-ui-spotlight/.gitkeep b/resources/views/vendor/livewire-ui-spotlight/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/resources/views/vendor/livewire-ui-spotlight/spotlight.blade.php b/resources/views/vendor/livewire-ui-spotlight/spotlight.blade.php new file mode 100644 index 00000000..fcdd860c --- /dev/null +++ b/resources/views/vendor/livewire-ui-spotlight/spotlight.blade.php @@ -0,0 +1,108 @@ +
+ @isset($jsPath) + + @endisset + @isset($cssPath) + + @endisset + +
+
+
+
+
+ + +
+ +
+
+
+ + + + +
+ +
+ +
+
+
diff --git a/routes/web.php b/routes/web.php index b92b6272..9665809e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -92,5 +92,5 @@ ]); Route::mediaLibrary(); -// In routes/web.php + Route::feeds();