From 8366919cb89bae6945bd5801fd084a888d094f3b Mon Sep 17 00:00:00 2001 From: Nasir Khan Saikat Date: Sun, 21 Apr 2024 05:26:51 +0600 Subject: [PATCH 1/5] File manager update --- composer.json | 1 + composer.lock | 489 +++++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 430 insertions(+), 60 deletions(-) diff --git a/composer.json b/composer.json index 4aa48eb9..0395957a 100644 --- a/composer.json +++ b/composer.json @@ -17,6 +17,7 @@ "php": "^8.2", "arcanedev/log-viewer": "^11.0", "hashids/hashids": "^5.0", + "intervention/image-laravel": "^1.2", "laracasts/flash": "^3.2", "laravel/framework": "^11.0", "laravel/socialite": "^5.12", diff --git a/composer.lock b/composer.lock index c7e141a8..9cbfdc4e 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": "4b16b4103a8d0c1898546ae29fca588f", + "content-hash": "97ba9f6ef56fe8f84ac78a0cb1646b64", "packages": [ { "name": "arcanedev/log-viewer", @@ -639,6 +639,69 @@ ], "time": "2023-10-06T06:47:41+00:00" }, + { + "name": "firebase/php-jwt", + "version": "v6.10.0", + "source": { + "type": "git", + "url": "https://github.com/firebase/php-jwt.git", + "reference": "a49db6f0a5033aef5143295342f1c95521b075ff" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/a49db6f0a5033aef5143295342f1c95521b075ff", + "reference": "a49db6f0a5033aef5143295342f1c95521b075ff", + "shasum": "" + }, + "require": { + "php": "^7.4||^8.0" + }, + "require-dev": { + "guzzlehttp/guzzle": "^6.5||^7.4", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.5", + "psr/cache": "^1.0||^2.0", + "psr/http-client": "^1.0", + "psr/http-factory": "^1.0" + }, + "suggest": { + "ext-sodium": "Support EdDSA (Ed25519) signatures", + "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present" + }, + "type": "library", + "autoload": { + "psr-4": { + "Firebase\\JWT\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Neuman Vong", + "email": "neuman+pear@twilio.com", + "role": "Developer" + }, + { + "name": "Anant Narayanan", + "email": "anant@php.net", + "role": "Developer" + } + ], + "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", + "homepage": "https://github.com/firebase/php-jwt", + "keywords": [ + "jwt", + "php" + ], + "support": { + "issues": "https://github.com/firebase/php-jwt/issues", + "source": "https://github.com/firebase/php-jwt/tree/v6.10.0" + }, + "time": "2023-12-01T16:26:39+00:00" + }, { "name": "fruitcake/php-cors", "version": "v1.3.0", @@ -1318,21 +1381,21 @@ }, { "name": "intervention/image", - "version": "3.5.1", + "version": "3.6.0", "source": { "type": "git", "url": "https://github.com/Intervention/image.git", - "reference": "67be90e5700370c88833190d4edc07e4bb7d157b" + "reference": "e9227300192f9df789fa300aeabb969e4e56d270" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Intervention/image/zipball/67be90e5700370c88833190d4edc07e4bb7d157b", - "reference": "67be90e5700370c88833190d4edc07e4bb7d157b", + "url": "https://api.github.com/repos/Intervention/image/zipball/e9227300192f9df789fa300aeabb969e4e56d270", + "reference": "e9227300192f9df789fa300aeabb969e4e56d270", "shasum": "" }, "require": { "ext-mbstring": "*", - "intervention/gif": "^4.0.1", + "intervention/gif": "^4.1", "php": "^8.1" }, "require-dev": { @@ -1374,7 +1437,84 @@ ], "support": { "issues": "https://github.com/Intervention/image/issues", - "source": "https://github.com/Intervention/image/tree/3.5.1" + "source": "https://github.com/Intervention/image/tree/3.6.0" + }, + "funding": [ + { + "url": "https://paypal.me/interventionio", + "type": "custom" + }, + { + "url": "https://github.com/Intervention", + "type": "github" + } + ], + "time": "2024-04-17T14:01:15+00:00" + }, + { + "name": "intervention/image-laravel", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/Intervention/image-laravel.git", + "reference": "d30b62fea3c49896dbf26ea7799e7d718e779310" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Intervention/image-laravel/zipball/d30b62fea3c49896dbf26ea7799e7d718e779310", + "reference": "d30b62fea3c49896dbf26ea7799e7d718e779310", + "shasum": "" + }, + "require": { + "illuminate/support": "^8|^9|^10|^11", + "intervention/image": "^3", + "php": "^8.1" + }, + "require-dev": { + "orchestra/testbench": "^8.18", + "phpunit/phpunit": "^10.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Intervention\\Image\\Laravel\\ServiceProvider" + ], + "aliases": { + "Image": "Intervention\\Image\\Laravel\\Facades\\Image" + } + } + }, + "autoload": { + "psr-4": { + "Intervention\\Image\\Laravel\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Oliver Vogel", + "email": "oliver@intervention.io", + "homepage": "https://intervention.io/" + } + ], + "description": "Laravel Integration of Intervention Image", + "homepage": "https://image.intervention.io/", + "keywords": [ + "gd", + "image", + "imagick", + "laravel", + "resize", + "thumbnail", + "watermark" + ], + "support": { + "issues": "https://github.com/Intervention/image-laravel/issues", + "source": "https://github.com/Intervention/image-laravel/tree/1.2.0" }, "funding": [ { @@ -1386,7 +1526,7 @@ "type": "github" } ], - "time": "2024-03-22T07:12:19+00:00" + "time": "2024-03-03T09:14:35+00:00" }, { "name": "laracasts/flash", @@ -1447,16 +1587,16 @@ }, { "name": "laravel/framework", - "version": "v11.3.1", + "version": "v11.4.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "3b87d0767e9cbddec46480d883010ba720e50dea" + "reference": "c1dc67c28811dc5be524a30b18f29ce62126716a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/3b87d0767e9cbddec46480d883010ba720e50dea", - "reference": "3b87d0767e9cbddec46480d883010ba720e50dea", + "url": "https://api.github.com/repos/laravel/framework/zipball/c1dc67c28811dc5be524a30b18f29ce62126716a", + "reference": "c1dc67c28811dc5be524a30b18f29ce62126716a", "shasum": "" }, "require": { @@ -1475,7 +1615,7 @@ "fruitcake/php-cors": "^1.3", "guzzlehttp/guzzle": "^7.8", "guzzlehttp/uri-template": "^1.0", - "laravel/prompts": "^0.1.15", + "laravel/prompts": "^0.1.18", "laravel/serializable-closure": "^1.3", "league/commonmark": "^2.2.1", "league/flysystem": "^3.8.0", @@ -1648,20 +1788,20 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2024-04-10T15:13:49+00:00" + "time": "2024-04-16T14:38:51+00:00" }, { "name": "laravel/prompts", - "version": "v0.1.18", + "version": "v0.1.19", "source": { "type": "git", "url": "https://github.com/laravel/prompts.git", - "reference": "3b5e6b03f1f1175574b5a32331d99c9819da9848" + "reference": "0ab75ac3434d9f610c5691758a6146a3d1940c18" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/3b5e6b03f1f1175574b5a32331d99c9819da9848", - "reference": "3b5e6b03f1f1175574b5a32331d99c9819da9848", + "url": "https://api.github.com/repos/laravel/prompts/zipball/0ab75ac3434d9f610c5691758a6146a3d1940c18", + "reference": "0ab75ac3434d9f610c5691758a6146a3d1940c18", "shasum": "" }, "require": { @@ -1703,9 +1843,9 @@ ], "support": { "issues": "https://github.com/laravel/prompts/issues", - "source": "https://github.com/laravel/prompts/tree/v0.1.18" + "source": "https://github.com/laravel/prompts/tree/v0.1.19" }, - "time": "2024-04-04T17:41:50+00:00" + "time": "2024-04-16T14:20:35+00:00" }, { "name": "laravel/serializable-closure", @@ -1769,26 +1909,28 @@ }, { "name": "laravel/socialite", - "version": "v5.12.1", + "version": "v5.13.0", "source": { "type": "git", "url": "https://github.com/laravel/socialite.git", - "reference": "7dae1b072573809f32ab6dcf4aebb57c8b3e8acf" + "reference": "a03e9b2f63d8125f61952fe4f5b75d70fd7c8286" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/socialite/zipball/7dae1b072573809f32ab6dcf4aebb57c8b3e8acf", - "reference": "7dae1b072573809f32ab6dcf4aebb57c8b3e8acf", + "url": "https://api.github.com/repos/laravel/socialite/zipball/a03e9b2f63d8125f61952fe4f5b75d70fd7c8286", + "reference": "a03e9b2f63d8125f61952fe4f5b75d70fd7c8286", "shasum": "" }, "require": { "ext-json": "*", + "firebase/php-jwt": "^6.4", "guzzlehttp/guzzle": "^6.0|^7.0", "illuminate/contracts": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0|^11.0", "league/oauth1-client": "^1.10.1", - "php": "^7.2|^8.0" + "php": "^7.2|^8.0", + "phpseclib/phpseclib": "^3.0" }, "require-dev": { "mockery/mockery": "^1.0", @@ -1835,7 +1977,7 @@ "issues": "https://github.com/laravel/socialite/issues", "source": "https://github.com/laravel/socialite" }, - "time": "2024-02-16T08:58:20+00:00" + "time": "2024-04-15T18:09:46+00:00" }, { "name": "laravel/tinker", @@ -2691,16 +2833,16 @@ }, { "name": "nesbot/carbon", - "version": "3.2.4", + "version": "3.3.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "82c28278c1c8f7b82dcdab25692237f052ffc8d8" + "reference": "7219739c4e01d4680c980545821733b6ed8ee880" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/82c28278c1c8f7b82dcdab25692237f052ffc8d8", - "reference": "82c28278c1c8f7b82dcdab25692237f052ffc8d8", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/7219739c4e01d4680c980545821733b6ed8ee880", + "reference": "7219739c4e01d4680c980545821733b6ed8ee880", "shasum": "" }, "require": { @@ -2793,7 +2935,7 @@ "type": "tidelift" } ], - "time": "2024-04-05T09:58:10+00:00" + "time": "2024-04-18T16:35:06+00:00" }, { "name": "nette/schema", @@ -3089,6 +3231,123 @@ ], "time": "2024-03-06T16:17:14+00:00" }, + { + "name": "paragonie/constant_time_encoding", + "version": "v2.6.3", + "source": { + "type": "git", + "url": "https://github.com/paragonie/constant_time_encoding.git", + "reference": "58c3f47f650c94ec05a151692652a868995d2938" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/58c3f47f650c94ec05a151692652a868995d2938", + "reference": "58c3f47f650c94ec05a151692652a868995d2938", + "shasum": "" + }, + "require": { + "php": "^7|^8" + }, + "require-dev": { + "phpunit/phpunit": "^6|^7|^8|^9", + "vimeo/psalm": "^1|^2|^3|^4" + }, + "type": "library", + "autoload": { + "psr-4": { + "ParagonIE\\ConstantTime\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com", + "role": "Maintainer" + }, + { + "name": "Steve 'Sc00bz' Thomas", + "email": "steve@tobtu.com", + "homepage": "https://www.tobtu.com", + "role": "Original Developer" + } + ], + "description": "Constant-time Implementations of RFC 4648 Encoding (Base-64, Base-32, Base-16)", + "keywords": [ + "base16", + "base32", + "base32_decode", + "base32_encode", + "base64", + "base64_decode", + "base64_encode", + "bin2hex", + "encoding", + "hex", + "hex2bin", + "rfc4648" + ], + "support": { + "email": "info@paragonie.com", + "issues": "https://github.com/paragonie/constant_time_encoding/issues", + "source": "https://github.com/paragonie/constant_time_encoding" + }, + "time": "2022-06-14T06:56:20+00:00" + }, + { + "name": "paragonie/random_compat", + "version": "v9.99.100", + "source": { + "type": "git", + "url": "https://github.com/paragonie/random_compat.git", + "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a", + "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a", + "shasum": "" + }, + "require": { + "php": ">= 7" + }, + "require-dev": { + "phpunit/phpunit": "4.*|5.*", + "vimeo/psalm": "^1" + }, + "suggest": { + "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." + }, + "type": "library", + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paragon Initiative Enterprises", + "email": "security@paragonie.com", + "homepage": "https://paragonie.com" + } + ], + "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", + "keywords": [ + "csprng", + "polyfill", + "pseudorandom", + "random" + ], + "support": { + "email": "info@paragonie.com", + "issues": "https://github.com/paragonie/random_compat/issues", + "source": "https://github.com/paragonie/random_compat" + }, + "time": "2020-10-15T08:29:30+00:00" + }, { "name": "phpoption/phpoption", "version": "1.9.2", @@ -3164,6 +3423,116 @@ ], "time": "2023-11-12T21:59:55+00:00" }, + { + "name": "phpseclib/phpseclib", + "version": "3.0.37", + "source": { + "type": "git", + "url": "https://github.com/phpseclib/phpseclib.git", + "reference": "cfa2013d0f68c062055180dd4328cc8b9d1f30b8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/cfa2013d0f68c062055180dd4328cc8b9d1f30b8", + "reference": "cfa2013d0f68c062055180dd4328cc8b9d1f30b8", + "shasum": "" + }, + "require": { + "paragonie/constant_time_encoding": "^1|^2", + "paragonie/random_compat": "^1.4|^2.0|^9.99.99", + "php": ">=5.6.1" + }, + "require-dev": { + "phpunit/phpunit": "*" + }, + "suggest": { + "ext-dom": "Install the DOM extension to load XML formatted public keys.", + "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.", + "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.", + "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.", + "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations." + }, + "type": "library", + "autoload": { + "files": [ + "phpseclib/bootstrap.php" + ], + "psr-4": { + "phpseclib3\\": "phpseclib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jim Wigginton", + "email": "terrafrost@php.net", + "role": "Lead Developer" + }, + { + "name": "Patrick Monnerat", + "email": "pm@datasphere.ch", + "role": "Developer" + }, + { + "name": "Andreas Fischer", + "email": "bantu@phpbb.com", + "role": "Developer" + }, + { + "name": "Hans-Jürgen Petrich", + "email": "petrich@tronic-media.com", + "role": "Developer" + }, + { + "name": "Graham Campbell", + "email": "graham@alt-three.com", + "role": "Developer" + } + ], + "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.", + "homepage": "http://phpseclib.sourceforge.net", + "keywords": [ + "BigInteger", + "aes", + "asn.1", + "asn1", + "blowfish", + "crypto", + "cryptography", + "encryption", + "rsa", + "security", + "sftp", + "signature", + "signing", + "ssh", + "twofish", + "x.509", + "x509" + ], + "support": { + "issues": "https://github.com/phpseclib/phpseclib/issues", + "source": "https://github.com/phpseclib/phpseclib/tree/3.0.37" + }, + "funding": [ + { + "url": "https://github.com/terrafrost", + "type": "github" + }, + { + "url": "https://www.patreon.com/phpseclib", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpseclib/phpseclib", + "type": "tidelift" + } + ], + "time": "2024-03-03T02:14:58+00:00" + }, { "name": "psr/clock", "version": "1.0.0", @@ -3945,16 +4314,16 @@ }, { "name": "spatie/image", - "version": "3.4.2", + "version": "3.5.0", "source": { "type": "git", "url": "https://github.com/spatie/image.git", - "reference": "ebee025f0262380fe17abf2bfa970d794431c387" + "reference": "05166a6fae90b4c2ab57ff2d25d7f97a5e29f47b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/image/zipball/ebee025f0262380fe17abf2bfa970d794431c387", - "reference": "ebee025f0262380fe17abf2bfa970d794431c387", + "url": "https://api.github.com/repos/spatie/image/zipball/05166a6fae90b4c2ab57ff2d25d7f97a5e29f47b", + "reference": "05166a6fae90b4c2ab57ff2d25d7f97a5e29f47b", "shasum": "" }, "require": { @@ -4001,7 +4370,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/image/tree/3.4.2" + "source": "https://github.com/spatie/image/tree/3.5.0" }, "funding": [ { @@ -4013,7 +4382,7 @@ "type": "github" } ], - "time": "2024-04-15T13:05:34+00:00" + "time": "2024-04-17T13:16:06+00:00" }, { "name": "spatie/image-optimizer", @@ -4508,16 +4877,16 @@ }, { "name": "spatie/laravel-permission", - "version": "6.4.0", + "version": "6.7.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-permission.git", - "reference": "05cce017fe3ac78f60a3fce78c07fe6e8e6e6e52" + "reference": "17607924aa0aa89bc0153c2ce45ed7c55083367b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/05cce017fe3ac78f60a3fce78c07fe6e8e6e6e52", - "reference": "05cce017fe3ac78f60a3fce78c07fe6e8e6e6e52", + "url": "https://api.github.com/repos/spatie/laravel-permission/zipball/17607924aa0aa89bc0153c2ce45ed7c55083367b", + "reference": "17607924aa0aa89bc0153c2ce45ed7c55083367b", "shasum": "" }, "require": { @@ -4578,7 +4947,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-permission/issues", - "source": "https://github.com/spatie/laravel-permission/tree/6.4.0" + "source": "https://github.com/spatie/laravel-permission/tree/6.7.0" }, "funding": [ { @@ -4586,7 +4955,7 @@ "type": "github" } ], - "time": "2024-02-28T08:11:20+00:00" + "time": "2024-04-19T12:35:28+00:00" }, { "name": "spatie/laravel-signal-aware-command", @@ -8667,16 +9036,16 @@ }, { "name": "phpunit/phpunit", - "version": "10.5.18", + "version": "10.5.19", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "835df1709ac6c968ba34bf23f3c30e5d5a266de8" + "reference": "c726f0de022368f6ed103e452a765d3304a996a4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/835df1709ac6c968ba34bf23f3c30e5d5a266de8", - "reference": "835df1709ac6c968ba34bf23f3c30e5d5a266de8", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/c726f0de022368f6ed103e452a765d3304a996a4", + "reference": "c726f0de022368f6ed103e452a765d3304a996a4", "shasum": "" }, "require": { @@ -8748,7 +9117,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.18" + "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.19" }, "funding": [ { @@ -8764,7 +9133,7 @@ "type": "tidelift" } ], - "time": "2024-04-14T07:05:31+00:00" + "time": "2024-04-17T14:06:18+00:00" }, { "name": "sebastian/cli-parser", @@ -9815,16 +10184,16 @@ }, { "name": "spatie/ignition", - "version": "1.13.1", + "version": "1.13.2", "source": { "type": "git", "url": "https://github.com/spatie/ignition.git", - "reference": "889bf1dfa59e161590f677728b47bf4a6893983b" + "reference": "952798e239d9969e4e694b124c2cc222798dbb28" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ignition/zipball/889bf1dfa59e161590f677728b47bf4a6893983b", - "reference": "889bf1dfa59e161590f677728b47bf4a6893983b", + "url": "https://api.github.com/repos/spatie/ignition/zipball/952798e239d9969e4e694b124c2cc222798dbb28", + "reference": "952798e239d9969e4e694b124c2cc222798dbb28", "shasum": "" }, "require": { @@ -9894,20 +10263,20 @@ "type": "github" } ], - "time": "2024-03-29T14:03:47+00:00" + "time": "2024-04-16T08:49:17+00:00" }, { "name": "spatie/laravel-ignition", - "version": "2.5.1", + "version": "2.5.2", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ignition.git", - "reference": "0c864b3cbd66ce67a2096c5f743e07ce8f1d6ab9" + "reference": "c93fcadcc4629775c839ac9a90916f07a660266f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/0c864b3cbd66ce67a2096c5f743e07ce8f1d6ab9", - "reference": "0c864b3cbd66ce67a2096c5f743e07ce8f1d6ab9", + "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/c93fcadcc4629775c839ac9a90916f07a660266f", + "reference": "c93fcadcc4629775c839ac9a90916f07a660266f", "shasum": "" }, "require": { @@ -9917,7 +10286,7 @@ "illuminate/support": "^10.0|^11.0", "php": "^8.1", "spatie/flare-client-php": "^1.3.5", - "spatie/ignition": "^1.13", + "spatie/ignition": "^1.13.2", "symfony/console": "^6.2.3|^7.0", "symfony/var-dumper": "^6.2.3|^7.0" }, @@ -9986,7 +10355,7 @@ "type": "github" } ], - "time": "2024-04-02T06:30:22+00:00" + "time": "2024-04-16T08:57:16+00:00" }, { "name": "symfony/yaml", From a426eca79fee88f3c1d8d62df6b7a9b8a305a54d Mon Sep 17 00:00:00 2001 From: Nasir Khan Saikat Date: Sun, 21 Apr 2024 06:10:05 +0600 Subject: [PATCH 2/5] file button fix --- Modules/Post/Resources/views/backend/posts/form.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Post/Resources/views/backend/posts/form.blade.php b/Modules/Post/Resources/views/backend/posts/form.blade.php index e9d182a5..d6b74a0d 100644 --- a/Modules/Post/Resources/views/backend/posts/form.blade.php +++ b/Modules/Post/Resources/views/backend/posts/form.blade.php @@ -84,7 +84,7 @@ {!! field_required($required) !!}
{{ html()->text($field_name)->placeholder($field_placeholder)->class('form-control')->attributes(["$required", 'aria-label' => 'Image', 'aria-describedby' => 'button-image']) }} -
From b0eae54423fed44336a4c5c31215d668e02d019d Mon Sep 17 00:00:00 2001 From: Nasir Khan Saikat Date: Sun, 21 Apr 2024 14:38:44 +0600 Subject: [PATCH 3/5] base layout update --- .../views/backend/categories/trash.blade.php | 85 +------------ .../views/backend/posts/create.blade.php | 20 +-- .../views/backend/posts/edit.blade.php | 21 ++-- .../views/backend/posts/form.blade.php | 26 ++-- .../views/backend/posts/index.blade.php | 4 +- .../backend/posts/index_datatable.blade.php | 4 +- .../views/backend/posts/show.blade.php | 3 +- .../views/backend/posts/trash.blade.php | 96 ++------------- .../views/backend/tags/trash.blade.php | 85 +------------ .../backend/layouts/trash.blade.php | 114 ++++++++++++++++++ 10 files changed, 168 insertions(+), 290 deletions(-) create mode 100644 resources/views/components/backend/layouts/trash.blade.php diff --git a/Modules/Category/Resources/views/backend/categories/trash.blade.php b/Modules/Category/Resources/views/backend/categories/trash.blade.php index 43af2933..cc895031 100644 --- a/Modules/Category/Resources/views/backend/categories/trash.blade.php +++ b/Modules/Category/Resources/views/backend/categories/trash.blade.php @@ -9,88 +9,5 @@ @endsection @section('content') -
-
- - - {{ __($module_title) }} {{ __($module_action) }} - - - @lang(":module_name Management Dashboard", ['module_name'=>Str::title($module_name)]) - - - - List - - - -
-
- - - - - - - - - - - - - @foreach($$module_name as $module_name_singular) - - - - - - - - @endforeach - -
- # - - Name - - Updated At - - Created By - - Action -
- {{ $module_name_singular->id }} - - - {{ $module_name_singular->name }} - - - {{ $module_name_singular->updated_at->isoFormat('llll') }} - - {{ $module_name_singular->created_by }} - - {{__('labels.backend.restore')}} -
-
-
-
- -
+ @endsection - -@section ('after-scripts-end') - -@endsection \ No newline at end of file diff --git a/Modules/Post/Resources/views/backend/posts/create.blade.php b/Modules/Post/Resources/views/backend/posts/create.blade.php index e18f963b..2b59040b 100644 --- a/Modules/Post/Resources/views/backend/posts/create.blade.php +++ b/Modules/Post/Resources/views/backend/posts/create.blade.php @@ -1,16 +1,18 @@ @extends('backend.layouts.app') -@section('title') {{ __($module_action) }} {{ __($module_title) }} @endsection +@section('title') + {{ __($module_action) }} {{ __($module_title) }} +@endsection @section('breadcrumbs') - - - {{ __($module_title) }} - - {{ __($module_action) }} - + + + {{ __($module_title) }} + + {{ __($module_action) }} + @endsection @section('content') - -@endsection \ No newline at end of file + +@endsection diff --git a/Modules/Post/Resources/views/backend/posts/edit.blade.php b/Modules/Post/Resources/views/backend/posts/edit.blade.php index 96d75290..b384b333 100644 --- a/Modules/Post/Resources/views/backend/posts/edit.blade.php +++ b/Modules/Post/Resources/views/backend/posts/edit.blade.php @@ -1,16 +1,19 @@ @extends('backend.layouts.app') -@section('title') {{ __($module_action) }} {{ __($module_title) }} @endsection +@section('title') + {{ __($module_action) }} {{ __($module_title) }} +@endsection @section('breadcrumbs') - - - {{ __($module_title) }} - - {{ __($module_action) }} - + + + {{ __($module_title) }} + + {{ __($module_action) }} + @endsection @section('content') - -@endsection \ No newline at end of file + +@endsection diff --git a/Modules/Post/Resources/views/backend/posts/form.blade.php b/Modules/Post/Resources/views/backend/posts/form.blade.php index d6b74a0d..4171ffa8 100644 --- a/Modules/Post/Resources/views/backend/posts/form.blade.php +++ b/Modules/Post/Resources/views/backend/posts/form.blade.php @@ -84,7 +84,7 @@ {!! field_required($required) !!}
{{ html()->text($field_name)->placeholder($field_placeholder)->class('form-control')->attributes(["$required", 'aria-label' => 'Image', 'aria-describedby' => 'button-image']) }} -
@@ -98,12 +98,13 @@ category())->pluck('name', 'id'):''; - $selected = (!empty($data))?optional($data->category())->pluck('id')->toArray():''; + $field_options = !empty($data) ? optional($data->category())->pluck('name', 'id') : ''; + $selected = !empty($data) ? optional($data->category())->pluck('id')->toArray() : ''; $field_placeholder = __('Select an option'); $required = 'required'; ?> - {{ html()->label($field_lable, $field_name)->class('form-label')->for($field_name) }} {!! field_required($required) !!} + {{ html()->label($field_lable, $field_name)->class('form-label')->for($field_name) }} + {!! field_required($required) !!} {{ html()->select($field_name, $field_options, $selected)->placeholder($field_placeholder)->class('form-select select2-category')->attributes(["$required"]) }} @@ -116,7 +117,8 @@ $required = 'required'; $select_options = \Modules\Post\Enums\PostType::toArray(); ?> - {{ html()->label($field_lable, $field_name)->class('form-label')->for($field_name) }} {!! field_required($required) !!} + {{ html()->label($field_lable, $field_name)->class('form-label')->for($field_name) }} + {!! field_required($required) !!} {{ html()->select($field_name, $select_options)->class('form-select')->attributes(["$required"]) }} @@ -144,14 +146,18 @@ tags)->pluck('name', 'id'):''; - $selected = (!empty($data))?optional($data->tags)->pluck('id')->toArray():''; + $field_options = !empty($data) ? optional($data->tags)->pluck('name', 'id') : ''; + $selected = !empty($data) + ? optional($data->tags) + ->pluck('id') + ->toArray() + : ''; $field_placeholder = __('Select an option'); $required = ''; ?> {{ html()->label($field_lable, $field_name)->class('form-label')->for($field_name) }} {!! field_required($required) !!} - {{ html()->multiselect( $field_name, $field_options, $selected)->class('form-control select2-tags')->attributes(["$required"]) }} + {{ html()->multiselect($field_name, $field_options, $selected)->class('form-control select2-tags')->attributes(["$required"]) }} @@ -254,8 +260,6 @@ - - @push('after-styles') @@ -323,6 +327,8 @@ $('#button-image').filemanager('image'); + +