From 17f7de047099f9a2abe3e3460874a02551169e19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20Ioni=C8=9B=C4=83?= Date: Fri, 30 Sep 2022 16:10:10 +0100 Subject: [PATCH] chore: cleanup (#64) * chore:update dependencies * fix: add languages in DatabaseSeeder * chore: editorconfig md indent * fix: run Page::fixTree() in migration --- .editorconfig | 1 + composer.json | 4 +- composer.lock | 216 +++++++++--------- ..._add_nested_set_columns_to_pages_table.php | 3 + database/seeders/DatabaseSeeder.php | 14 ++ package-lock.json | 28 +-- package.json | 4 +- 7 files changed, 144 insertions(+), 126 deletions(-) diff --git a/.editorconfig b/.editorconfig index 3ca61525..1c0f9150 100644 --- a/.editorconfig +++ b/.editorconfig @@ -10,6 +10,7 @@ trim_trailing_whitespace = true [*.md] trim_trailing_whitespace = false +indent_size = 2 [*.{yml,yaml}] indent_size = 2 diff --git a/composer.json b/composer.json index 93df744b..5904d8ff 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "php": "^8.1", "andreiio/blade-remix-icon": "^1.1", "archtechx/laravel-seo": "^0.5.1", - "blade-ui-kit/blade-icons": "^1.3", + "blade-ui-kit/blade-icons": "^1.4", "codezero/laravel-unique-translation": "^3.5", "embed/embed": "^4.4", "fruitcake/laravel-cors": "^3.0", @@ -20,7 +20,7 @@ "inertiajs/inertia-laravel": "^0.6", "intervention/image": "^2.7", "kalnoy/nestedset": "^6.0", - "laravel/framework": "^9.32", + "laravel/framework": "^9.33", "laravel/tinker": "^2.7", "league/flysystem-aws-s3-v3": "^3.5", "league/omnipay": "^3.2", diff --git a/composer.lock b/composer.lock index 0eb3aec7..73feb11d 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": "9ded6769aef429f5310d5ea816fde2d9", + "content-hash": "7a60c2ea5462a6fcef1c1b62b9ce463b", "packages": [ { "name": "andreiio/blade-remix-icon", @@ -174,16 +174,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.236.1", + "version": "3.237.0", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "1e8d1abe7582968df16a2e7a87c5dcc51d0dfd1b" + "reference": "9ecb0aac2c8ad78585689d1c3e71817310aa69f1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/1e8d1abe7582968df16a2e7a87c5dcc51d0dfd1b", - "reference": "1e8d1abe7582968df16a2e7a87c5dcc51d0dfd1b", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/9ecb0aac2c8ad78585689d1c3e71817310aa69f1", + "reference": "9ecb0aac2c8ad78585689d1c3e71817310aa69f1", "shasum": "" }, "require": { @@ -262,22 +262,22 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.236.1" + "source": "https://github.com/aws/aws-sdk-php/tree/3.237.0" }, - "time": "2022-09-27T18:19:10+00:00" + "time": "2022-09-29T18:16:17+00:00" }, { "name": "blade-ui-kit/blade-icons", - "version": "1.3.2", + "version": "1.4.1", "source": { "type": "git", "url": "https://github.com/blade-ui-kit/blade-icons.git", - "reference": "88eda22d90138c854ddad856de0ddf581d2f0d79" + "reference": "977559507feebba431019abf1b319d71dfdacd95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/blade-ui-kit/blade-icons/zipball/88eda22d90138c854ddad856de0ddf581d2f0d79", - "reference": "88eda22d90138c854ddad856de0ddf581d2f0d79", + "url": "https://api.github.com/repos/blade-ui-kit/blade-icons/zipball/977559507feebba431019abf1b319d71dfdacd95", + "reference": "977559507feebba431019abf1b319d71dfdacd95", "shasum": "" }, "require": { @@ -345,7 +345,7 @@ "type": "github" } ], - "time": "2022-09-21T11:34:49+00:00" + "time": "2022-09-30T11:26:24+00:00" }, { "name": "brick/math", @@ -2202,16 +2202,16 @@ }, { "name": "laravel/framework", - "version": "v9.32.0", + "version": "v9.33.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "aae3b59f82434176546c9dd10804adda16da5278" + "reference": "13665b7e15dbcbecb3651acc19ba8818da6fa0a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/aae3b59f82434176546c9dd10804adda16da5278", - "reference": "aae3b59f82434176546c9dd10804adda16da5278", + "url": "https://api.github.com/repos/laravel/framework/zipball/13665b7e15dbcbecb3651acc19ba8818da6fa0a9", + "reference": "13665b7e15dbcbecb3651acc19ba8818da6fa0a9", "shasum": "" }, "require": { @@ -2225,7 +2225,7 @@ "league/commonmark": "^2.2", "league/flysystem": "^3.0.16", "monolog/monolog": "^2.0", - "nesbot/carbon": "^2.53.1", + "nesbot/carbon": "^2.62.1", "nunomaduro/termwind": "^1.13", "php": "^8.0.2", "psr/container": "^1.1.1|^2.0.1", @@ -2300,7 +2300,7 @@ "league/flysystem-read-only": "^3.3", "league/flysystem-sftp-v3": "^3.0", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^7.1", + "orchestra/testbench-core": "^7.8", "pda/pheanstalk": "^4.0", "phpstan/phpstan": "^1.4.7", "phpunit/phpunit": "^9.5.8", @@ -2384,7 +2384,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2022-09-27T13:32:56+00:00" + "time": "2022-09-30T12:59:55+00:00" }, { "name": "laravel/serializable-closure", @@ -3309,16 +3309,16 @@ }, { "name": "ml/json-ld", - "version": "1.2.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/lanthaler/JsonLD.git", - "reference": "c74a1aed5979ed1cfb1be35a55a305fd30e30b93" + "reference": "537e68e87a6bce23e57c575cd5dcac1f67ce25d8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lanthaler/JsonLD/zipball/c74a1aed5979ed1cfb1be35a55a305fd30e30b93", - "reference": "c74a1aed5979ed1cfb1be35a55a305fd30e30b93", + "url": "https://api.github.com/repos/lanthaler/JsonLD/zipball/537e68e87a6bce23e57c575cd5dcac1f67ce25d8", + "reference": "537e68e87a6bce23e57c575cd5dcac1f67ce25d8", "shasum": "" }, "require": { @@ -3356,9 +3356,9 @@ ], "support": { "issues": "https://github.com/lanthaler/JsonLD/issues", - "source": "https://github.com/lanthaler/JsonLD/tree/1.2.0" + "source": "https://github.com/lanthaler/JsonLD/tree/1.2.1" }, - "time": "2020-06-16T17:45:06+00:00" + "time": "2022-09-29T08:45:17+00:00" }, { "name": "moneyphp/money", @@ -4448,16 +4448,16 @@ }, { "name": "php-http/client-common", - "version": "2.5.0", + "version": "2.6.0", "source": { "type": "git", "url": "https://github.com/php-http/client-common.git", - "reference": "d135751167d57e27c74de674d6a30cef2dc8e054" + "reference": "45db684cd4e186dcdc2b9c06b22970fe123796c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/client-common/zipball/d135751167d57e27c74de674d6a30cef2dc8e054", - "reference": "d135751167d57e27c74de674d6a30cef2dc8e054", + "url": "https://api.github.com/repos/php-http/client-common/zipball/45db684cd4e186dcdc2b9c06b22970fe123796c0", + "reference": "45db684cd4e186dcdc2b9c06b22970fe123796c0", "shasum": "" }, "require": { @@ -4517,9 +4517,9 @@ ], "support": { "issues": "https://github.com/php-http/client-common/issues", - "source": "https://github.com/php-http/client-common/tree/2.5.0" + "source": "https://github.com/php-http/client-common/tree/2.6.0" }, - "time": "2021-11-26T15:01:24+00:00" + "time": "2022-09-29T09:59:43+00:00" }, { "name": "php-http/discovery", @@ -6371,16 +6371,16 @@ }, { "name": "symfony/console", - "version": "v6.1.4", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "7fccea8728aa2d431a6725b02b3ce759049fc84d" + "reference": "17524a64ebcfab68d237bbed247e9a9917747096" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/7fccea8728aa2d431a6725b02b3ce759049fc84d", - "reference": "7fccea8728aa2d431a6725b02b3ce759049fc84d", + "url": "https://api.github.com/repos/symfony/console/zipball/17524a64ebcfab68d237bbed247e9a9917747096", + "reference": "17524a64ebcfab68d237bbed247e9a9917747096", "shasum": "" }, "require": { @@ -6447,7 +6447,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.1.4" + "source": "https://github.com/symfony/console/tree/v6.1.5" }, "funding": [ { @@ -6463,7 +6463,7 @@ "type": "tidelift" } ], - "time": "2022-08-26T10:32:31+00:00" + "time": "2022-09-03T14:24:42+00:00" }, { "name": "symfony/css-selector", @@ -6896,16 +6896,16 @@ }, { "name": "symfony/http-client", - "version": "v6.1.4", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "06dc27cbdcee26d6796c226db5266a0d58359739" + "reference": "565b0f2ce2c5882e89b3ef5e255d7e0478b9c675" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/06dc27cbdcee26d6796c226db5266a0d58359739", - "reference": "06dc27cbdcee26d6796c226db5266a0d58359739", + "url": "https://api.github.com/repos/symfony/http-client/zipball/565b0f2ce2c5882e89b3ef5e255d7e0478b9c675", + "reference": "565b0f2ce2c5882e89b3ef5e255d7e0478b9c675", "shasum": "" }, "require": { @@ -6960,7 +6960,7 @@ "description": "Provides powerful methods to fetch HTTP resources synchronously or asynchronously", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-client/tree/v6.1.4" + "source": "https://github.com/symfony/http-client/tree/v6.1.5" }, "funding": [ { @@ -6976,7 +6976,7 @@ "type": "tidelift" } ], - "time": "2022-08-02T16:17:38+00:00" + "time": "2022-09-09T09:34:27+00:00" }, { "name": "symfony/http-client-contracts", @@ -7061,16 +7061,16 @@ }, { "name": "symfony/http-foundation", - "version": "v6.1.4", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "18e0f106a32887bcebef757e5b39c88e39a08f20" + "reference": "90f5d9726942db69490fe467a3acb5e7154fd555" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/18e0f106a32887bcebef757e5b39c88e39a08f20", - "reference": "18e0f106a32887bcebef757e5b39c88e39a08f20", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/90f5d9726942db69490fe467a3acb5e7154fd555", + "reference": "90f5d9726942db69490fe467a3acb5e7154fd555", "shasum": "" }, "require": { @@ -7116,7 +7116,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.1.4" + "source": "https://github.com/symfony/http-foundation/tree/v6.1.5" }, "funding": [ { @@ -7132,20 +7132,20 @@ "type": "tidelift" } ], - "time": "2022-08-19T14:27:04+00:00" + "time": "2022-09-17T07:55:45+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.1.4", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "2144c53a278254af57fa1e6f71427be656fab6f4" + "reference": "bf433ef30c2dfbf1f47449d5dce8be243e8a0012" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/2144c53a278254af57fa1e6f71427be656fab6f4", - "reference": "2144c53a278254af57fa1e6f71427be656fab6f4", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/bf433ef30c2dfbf1f47449d5dce8be243e8a0012", + "reference": "bf433ef30c2dfbf1f47449d5dce8be243e8a0012", "shasum": "" }, "require": { @@ -7226,7 +7226,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/v6.1.4" + "source": "https://github.com/symfony/http-kernel/tree/v6.1.5" }, "funding": [ { @@ -7242,20 +7242,20 @@ "type": "tidelift" } ], - "time": "2022-08-26T14:50:30+00:00" + "time": "2022-09-30T08:10:57+00:00" }, { "name": "symfony/mailer", - "version": "v6.1.4", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "55a7cb8f8518d35e2a039daaec6e1ee20509510e" + "reference": "e1b32deb9efc48def0c76b876860ad36f2123e89" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/55a7cb8f8518d35e2a039daaec6e1ee20509510e", - "reference": "55a7cb8f8518d35e2a039daaec6e1ee20509510e", + "url": "https://api.github.com/repos/symfony/mailer/zipball/e1b32deb9efc48def0c76b876860ad36f2123e89", + "reference": "e1b32deb9efc48def0c76b876860ad36f2123e89", "shasum": "" }, "require": { @@ -7300,7 +7300,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v6.1.4" + "source": "https://github.com/symfony/mailer/tree/v6.1.5" }, "funding": [ { @@ -7316,20 +7316,20 @@ "type": "tidelift" } ], - "time": "2022-08-03T05:16:05+00:00" + "time": "2022-08-29T06:58:39+00:00" }, { "name": "symfony/mime", - "version": "v6.1.4", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "5d1de2d3c52f8ca469c488f4b9e007e9e9cee0b3" + "reference": "d521b2204f7dcebe81c1b5fb99ed70dfb6f34b4b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/5d1de2d3c52f8ca469c488f4b9e007e9e9cee0b3", - "reference": "5d1de2d3c52f8ca469c488f4b9e007e9e9cee0b3", + "url": "https://api.github.com/repos/symfony/mime/zipball/d521b2204f7dcebe81c1b5fb99ed70dfb6f34b4b", + "reference": "d521b2204f7dcebe81c1b5fb99ed70dfb6f34b4b", "shasum": "" }, "require": { @@ -7381,7 +7381,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v6.1.4" + "source": "https://github.com/symfony/mime/tree/v6.1.5" }, "funding": [ { @@ -7397,7 +7397,7 @@ "type": "tidelift" } ], - "time": "2022-08-19T14:27:04+00:00" + "time": "2022-09-02T08:05:20+00:00" }, { "name": "symfony/options-resolver", @@ -8354,16 +8354,16 @@ }, { "name": "symfony/routing", - "version": "v6.1.3", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "ef9108b3a88045b7546e808fb404ddb073dd35ea" + "reference": "f8c1ebb43d0f39e5ecd12a732ba1952a3dd8455c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/ef9108b3a88045b7546e808fb404ddb073dd35ea", - "reference": "ef9108b3a88045b7546e808fb404ddb073dd35ea", + "url": "https://api.github.com/repos/symfony/routing/zipball/f8c1ebb43d0f39e5ecd12a732ba1952a3dd8455c", + "reference": "f8c1ebb43d0f39e5ecd12a732ba1952a3dd8455c", "shasum": "" }, "require": { @@ -8422,7 +8422,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.1.3" + "source": "https://github.com/symfony/routing/tree/v6.1.5" }, "funding": [ { @@ -8438,7 +8438,7 @@ "type": "tidelift" } ], - "time": "2022-07-20T15:00:40+00:00" + "time": "2022-09-09T09:26:14+00:00" }, { "name": "symfony/service-contracts", @@ -8527,16 +8527,16 @@ }, { "name": "symfony/string", - "version": "v6.1.4", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "290972cad7b364e3befaa74ba0ec729800fb161c" + "reference": "17c08b068176996a1d7db8d00ffae3c248267016" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/290972cad7b364e3befaa74ba0ec729800fb161c", - "reference": "290972cad7b364e3befaa74ba0ec729800fb161c", + "url": "https://api.github.com/repos/symfony/string/zipball/17c08b068176996a1d7db8d00ffae3c248267016", + "reference": "17c08b068176996a1d7db8d00ffae3c248267016", "shasum": "" }, "require": { @@ -8592,7 +8592,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.1.4" + "source": "https://github.com/symfony/string/tree/v6.1.5" }, "funding": [ { @@ -8608,7 +8608,7 @@ "type": "tidelift" } ], - "time": "2022-08-12T18:05:43+00:00" + "time": "2022-09-02T08:05:20+00:00" }, { "name": "symfony/translation", @@ -8789,16 +8789,16 @@ }, { "name": "symfony/uid", - "version": "v6.1.3", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/uid.git", - "reference": "ea2ccf0fdb88c83e626105b68e5bab5c132d812b" + "reference": "e03519f7b1ce1d3c0b74f751892bb41d549a2d98" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/ea2ccf0fdb88c83e626105b68e5bab5c132d812b", - "reference": "ea2ccf0fdb88c83e626105b68e5bab5c132d812b", + "url": "https://api.github.com/repos/symfony/uid/zipball/e03519f7b1ce1d3c0b74f751892bb41d549a2d98", + "reference": "e03519f7b1ce1d3c0b74f751892bb41d549a2d98", "shasum": "" }, "require": { @@ -8843,7 +8843,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/uid/tree/v6.1.3" + "source": "https://github.com/symfony/uid/tree/v6.1.5" }, "funding": [ { @@ -8859,20 +8859,20 @@ "type": "tidelift" } ], - "time": "2022-07-20T13:46:29+00:00" + "time": "2022-09-09T09:34:27+00:00" }, { "name": "symfony/var-dumper", - "version": "v6.1.3", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "d5a5e44a2260c5eb5e746bf4f1fbd12ee6ceb427" + "reference": "d0833493fb2413a86f522fb54a1896a7718e98ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/d5a5e44a2260c5eb5e746bf4f1fbd12ee6ceb427", - "reference": "d5a5e44a2260c5eb5e746bf4f1fbd12ee6ceb427", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/d0833493fb2413a86f522fb54a1896a7718e98ec", + "reference": "d0833493fb2413a86f522fb54a1896a7718e98ec", "shasum": "" }, "require": { @@ -8931,7 +8931,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.1.3" + "source": "https://github.com/symfony/var-dumper/tree/v6.1.5" }, "funding": [ { @@ -8947,7 +8947,7 @@ "type": "tidelift" } ], - "time": "2022-07-20T13:46:29+00:00" + "time": "2022-09-08T09:34:40+00:00" }, { "name": "symfony/yaml", @@ -10948,16 +10948,16 @@ }, { "name": "nunomaduro/collision", - "version": "v6.3.0", + "version": "v6.3.1", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "17f600e2e8872856ff2846243efb74ad4b6da531" + "reference": "0f6349c3ed5dd28467087b08fb59384bb458a22b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/17f600e2e8872856ff2846243efb74ad4b6da531", - "reference": "17f600e2e8872856ff2846243efb74ad4b6da531", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/0f6349c3ed5dd28467087b08fb59384bb458a22b", + "reference": "0f6349c3ed5dd28467087b08fb59384bb458a22b", "shasum": "" }, "require": { @@ -11032,7 +11032,7 @@ "type": "patreon" } ], - "time": "2022-08-29T09:11:20+00:00" + "time": "2022-09-29T12:29:49+00:00" }, { "name": "phar-io/manifest", @@ -12979,16 +12979,16 @@ }, { "name": "symfony/filesystem", - "version": "v6.1.4", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "3f39c04d2630c34019907b02f85672dac99f8659" + "reference": "4d216a2beef096edf040a070117c39ca2abce307" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/3f39c04d2630c34019907b02f85672dac99f8659", - "reference": "3f39c04d2630c34019907b02f85672dac99f8659", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/4d216a2beef096edf040a070117c39ca2abce307", + "reference": "4d216a2beef096edf040a070117c39ca2abce307", "shasum": "" }, "require": { @@ -13022,7 +13022,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v6.1.4" + "source": "https://github.com/symfony/filesystem/tree/v6.1.5" }, "funding": [ { @@ -13038,20 +13038,20 @@ "type": "tidelift" } ], - "time": "2022-08-02T16:17:38+00:00" + "time": "2022-09-21T20:29:40+00:00" }, { "name": "symfony/stopwatch", - "version": "v6.1.0", + "version": "v6.1.5", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "77dedae82ce2a26e2e9b481855473fc3b3e4e54d" + "reference": "266636bb8f3fbdccc302491df7b3a1b9a8c238a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/77dedae82ce2a26e2e9b481855473fc3b3e4e54d", - "reference": "77dedae82ce2a26e2e9b481855473fc3b3e4e54d", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/266636bb8f3fbdccc302491df7b3a1b9a8c238a7", + "reference": "266636bb8f3fbdccc302491df7b3a1b9a8c238a7", "shasum": "" }, "require": { @@ -13084,7 +13084,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v6.1.0" + "source": "https://github.com/symfony/stopwatch/tree/v6.1.5" }, "funding": [ { @@ -13100,7 +13100,7 @@ "type": "tidelift" } ], - "time": "2022-02-25T11:15:52+00:00" + "time": "2022-09-28T16:00:52+00:00" }, { "name": "theseer/tokenizer", diff --git a/database/migrations/2022_09_14_111233_add_nested_set_columns_to_pages_table.php b/database/migrations/2022_09_14_111233_add_nested_set_columns_to_pages_table.php index b51c26f6..ba8d6f9f 100644 --- a/database/migrations/2022_09_14_111233_add_nested_set_columns_to_pages_table.php +++ b/database/migrations/2022_09_14_111233_add_nested_set_columns_to_pages_table.php @@ -2,6 +2,7 @@ declare(strict_types=1); +use App\Models\Page; use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; @@ -18,6 +19,8 @@ public function up(): void Schema::table('pages', function (Blueprint $table) { $table->nestedSet(); }); + + Page::withoutGlobalScope('published')->fixTree(); } public function down(): void diff --git a/database/seeders/DatabaseSeeder.php b/database/seeders/DatabaseSeeder.php index b862ff08..6a9154cc 100644 --- a/database/seeders/DatabaseSeeder.php +++ b/database/seeders/DatabaseSeeder.php @@ -7,6 +7,7 @@ use App\Models\Decision; use App\Models\DecisionCategory; use App\Models\Form; +use App\Models\Language; use App\Models\Media; use App\Models\MenuItem; use App\Models\Page; @@ -29,6 +30,19 @@ public function run() { Cache::flush(); + Language::insert([ + [ + 'code' => 'ro', + 'name' => 'Română', + 'enabled' => true, + ], + [ + 'code' => 'en', + 'name' => 'English', + 'enabled' => false, + ], + ]); + $images = Media::query() ->whereImages() ->whereIsOriginal() diff --git a/package-lock.json b/package-lock.json index e08c1741..af9be393 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "@alpinejs/collapse": "^3.10.3", "@alpinejs/persist": "^3.10.3", "@ckpack/vue-color": "^1.2.0", - "@inertiajs/inertia": "^0.11.0", + "@inertiajs/inertia": "^0.11.1", "@inertiajs/inertia-vue3": "^0.6.0", "@inertiajs/progress": "^0.2.7", "@tailwindcss/aspect-ratio": "^0.4.2", @@ -64,7 +64,7 @@ "lodash": "^4.17.21", "luminous-lightbox": "^2.4.0", "mitt": "^3.0.0", - "postcss": "^8.4.16", + "postcss": "^8.4.17", "postcss-100vh-fix": "^1.0.2", "raw-loader": "^4.0.2", "remixicon": "^2.5.0", @@ -1752,9 +1752,9 @@ } }, "node_modules/@inertiajs/inertia": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@inertiajs/inertia/-/inertia-0.11.0.tgz", - "integrity": "sha512-QF4hctgFC+B/t/WClCwfOla+WoDE9iTltQJ0u+DCfjl0KdGoCvIxYiNtuH8h8oM+RQMb8orjbpW3pHapjYI5Vw==", + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/@inertiajs/inertia/-/inertia-0.11.1.tgz", + "integrity": "sha512-btmV53c54oW4Z9XF0YyTdIUnM7ue0ONy3/KJOz6J1C5CYIwimiKfDMpz8ZbGJuxS+SPdOlNsqj2ZhlHslpJRZg==", "dependencies": { "axios": "^0.21.1", "deepmerge": "^4.0.0", @@ -7134,9 +7134,9 @@ } }, "node_modules/postcss": { - "version": "8.4.16", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.16.tgz", - "integrity": "sha512-ipHE1XBvKzm5xI7hiHCZJCSugxvsdq2mPnsq5+UF+VHCjiBvtDrlxJfMBToWaP9D5XlgNmcFGqoHmUn0EYEaRQ==", + "version": "8.4.17", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.17.tgz", + "integrity": "sha512-UNxNOLQydcOFi41yHNMcKRZ39NeXlr8AxGuZJsdub8vIb12fHzcq37DTU/QtbI6WLxNg2gF9Z+8qtRwTj1UI1Q==", "funding": [ { "type": "opencollective", @@ -11025,9 +11025,9 @@ "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==" }, "@inertiajs/inertia": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@inertiajs/inertia/-/inertia-0.11.0.tgz", - "integrity": "sha512-QF4hctgFC+B/t/WClCwfOla+WoDE9iTltQJ0u+DCfjl0KdGoCvIxYiNtuH8h8oM+RQMb8orjbpW3pHapjYI5Vw==", + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/@inertiajs/inertia/-/inertia-0.11.1.tgz", + "integrity": "sha512-btmV53c54oW4Z9XF0YyTdIUnM7ue0ONy3/KJOz6J1C5CYIwimiKfDMpz8ZbGJuxS+SPdOlNsqj2ZhlHslpJRZg==", "requires": { "axios": "^0.21.1", "deepmerge": "^4.0.0", @@ -15010,9 +15010,9 @@ } }, "postcss": { - "version": "8.4.16", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.16.tgz", - "integrity": "sha512-ipHE1XBvKzm5xI7hiHCZJCSugxvsdq2mPnsq5+UF+VHCjiBvtDrlxJfMBToWaP9D5XlgNmcFGqoHmUn0EYEaRQ==", + "version": "8.4.17", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.17.tgz", + "integrity": "sha512-UNxNOLQydcOFi41yHNMcKRZ39NeXlr8AxGuZJsdub8vIb12fHzcq37DTU/QtbI6WLxNg2gF9Z+8qtRwTj1UI1Q==", "requires": { "nanoid": "^3.3.4", "picocolors": "^1.0.0", diff --git a/package.json b/package.json index 073e2120..8d62f795 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "@alpinejs/collapse": "^3.10.3", "@alpinejs/persist": "^3.10.3", "@ckpack/vue-color": "^1.2.0", - "@inertiajs/inertia": "^0.11.0", + "@inertiajs/inertia": "^0.11.1", "@inertiajs/inertia-vue3": "^0.6.0", "@inertiajs/progress": "^0.2.7", "@tailwindcss/aspect-ratio": "^0.4.2", @@ -71,7 +71,7 @@ "lodash": "^4.17.21", "luminous-lightbox": "^2.4.0", "mitt": "^3.0.0", - "postcss": "^8.4.16", + "postcss": "^8.4.17", "postcss-100vh-fix": "^1.0.2", "raw-loader": "^4.0.2", "remixicon": "^2.5.0",