diff --git a/composer.json b/composer.json index 6b97e944..0f828f6d 100644 --- a/composer.json +++ b/composer.json @@ -72,15 +72,5 @@ } }, "minimum-stability": "dev", - "prefer-stable": true, - "repositories": [ - { - "type": "path", - "url": "./plugins/*" - }, - { - "type": "path", - "url": "./themes/*" - } - ] + "prefer-stable": true } diff --git a/composer.lock b/composer.lock index b99a1849..da09a116 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": "f078050e78ba58357aca6c1cec42e394", + "content-hash": "7e14b1d0b2d353a398c47813b7981e25", "packages": [ { "name": "arcanedev/log-viewer", @@ -2300,16 +2300,16 @@ }, { "name": "juzaweb/dev-tool", - "version": "1.0.4", + "version": "1.0.5", "source": { "type": "git", "url": "https://github.com/juzaweb/dev-tool.git", - "reference": "9c73cb9d338ea1b86d232784cc6518e70113ebd4" + "reference": "45fc33fad8fd402fe0ecc9186cb7766a121a4f54" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/juzaweb/dev-tool/zipball/9c73cb9d338ea1b86d232784cc6518e70113ebd4", - "reference": "9c73cb9d338ea1b86d232784cc6518e70113ebd4", + "url": "https://api.github.com/repos/juzaweb/dev-tool/zipball/45fc33fad8fd402fe0ecc9186cb7766a121a4f54", + "reference": "45fc33fad8fd402fe0ecc9186cb7766a121a4f54", "shasum": "" }, "require": { @@ -2340,9 +2340,9 @@ "homepage": "https://juzaweb.com", "support": { "issues": "https://github.com/juzaweb/dev-tool/issues", - "source": "https://github.com/juzaweb/dev-tool/tree/1.0.4" + "source": "https://github.com/juzaweb/dev-tool/tree/1.0.5" }, - "time": "2024-01-29T12:39:14+00:00" + "time": "2024-03-10T15:06:50+00:00" }, { "name": "juzaweb/laravel-chunk-upload", @@ -2468,16 +2468,16 @@ }, { "name": "juzaweb/modules", - "version": "1.0.16", + "version": "1.0.27", "source": { "type": "git", "url": "https://github.com/juzaweb/modules.git", - "reference": "51339b9e5f90c5c39f916b69e45ce992b83a52aa" + "reference": "07aed94a417ec50012625a8e58c659596290e069" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/juzaweb/modules/zipball/51339b9e5f90c5c39f916b69e45ce992b83a52aa", - "reference": "51339b9e5f90c5c39f916b69e45ce992b83a52aa", + "url": "https://api.github.com/repos/juzaweb/modules/zipball/07aed94a417ec50012625a8e58c659596290e069", + "reference": "07aed94a417ec50012625a8e58c659596290e069", "shasum": "" }, "require": { @@ -2503,6 +2503,7 @@ "kirschbaum-development/eloquent-power-joins": "^3.2", "laravel/breeze": "^1.14", "laravel/passport": "^10.4", + "laravel/sanctum": "^3.3", "laravel/socialite": "^5.5", "league/fractal": "^0.20.1", "php": "^8.0|^8.1", @@ -2537,9 +2538,9 @@ "homepage": "https://juzaweb.com", "support": { "issues": "https://github.com/juzaweb/modules/issues", - "source": "https://github.com/juzaweb/modules/tree/1.0.16" + "source": "https://github.com/juzaweb/modules/tree/1.0.27" }, - "time": "2024-01-27T07:30:19+00:00" + "time": "2024-03-23T07:49:30+00:00" }, { "name": "juzaweb/sitemap", @@ -3008,6 +3009,72 @@ }, "time": "2023-02-21T07:47:20+00:00" }, + { + "name": "laravel/sanctum", + "version": "v3.3.3", + "source": { + "type": "git", + "url": "https://github.com/laravel/sanctum.git", + "reference": "8c104366459739f3ada0e994bcd3e6fd681ce3d5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/sanctum/zipball/8c104366459739f3ada0e994bcd3e6fd681ce3d5", + "reference": "8c104366459739f3ada0e994bcd3e6fd681ce3d5", + "shasum": "" + }, + "require": { + "ext-json": "*", + "illuminate/console": "^9.21|^10.0", + "illuminate/contracts": "^9.21|^10.0", + "illuminate/database": "^9.21|^10.0", + "illuminate/support": "^9.21|^10.0", + "php": "^8.0.2" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "orchestra/testbench": "^7.28.2|^8.8.3", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.6" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + }, + "laravel": { + "providers": [ + "Laravel\\Sanctum\\SanctumServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Sanctum\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.", + "keywords": [ + "auth", + "laravel", + "sanctum" + ], + "support": { + "issues": "https://github.com/laravel/sanctum/issues", + "source": "https://github.com/laravel/sanctum" + }, + "time": "2023-12-19T18:44:48+00:00" + }, { "name": "laravel/serializable-closure", "version": "v1.3.2", diff --git a/config/logging.php b/config/logging.php index 1de46643..7f595779 100644 --- a/config/logging.php +++ b/config/logging.php @@ -50,7 +50,7 @@ 'channels' => [ 'stack' => [ 'driver' => 'stack', - 'channels' => ['single'], + 'channels' => ['daily', 'slack'], 'ignore_exceptions' => false, ], @@ -73,7 +73,8 @@ 'url' => env('LOG_SLACK_WEBHOOK_URL'), 'username' => 'JuzaCMS Log', 'emoji' => ':boom:', - 'level' => env('LOG_LEVEL', 'critical'), + 'level' => env('LOG_LEVEL', 'error'), + 'tap' => [\Juzaweb\CMS\Logging\AddCustomInformation::class], ], 'papertrail' => [