added AdminBonusAddedNotification.php and InsufficientBalanceNotification.php

This commit is contained in:
Čarodej
2022-03-16 17:22:55 +01:00
parent 1d1e6823c7
commit e8c3fd74b1
48 changed files with 295 additions and 281 deletions
+2 -2
View File
@@ -55,8 +55,8 @@
}, },
"repositories": [ "repositories": [
{ {
"type": "vcs", "type": "path",
"url": "https://github.com/VueFileManager/subscription.git" "url": "../../PhpstormProjects/subscription"
}, },
{ {
"type": "vcs", "type": "vcs",
Generated
+118 -135
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "95a932587a302766cf33683bb871aa1a", "content-hash": "5a05626f6c1d36ecd8df3f115b5dc3f4",
"packages": [ "packages": [
{ {
"name": "amphp/amp", "name": "amphp/amp",
@@ -280,16 +280,16 @@
}, },
{ {
"name": "aws/aws-sdk-php", "name": "aws/aws-sdk-php",
"version": "3.212.5", "version": "3.213.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/aws/aws-sdk-php.git", "url": "https://github.com/aws/aws-sdk-php.git",
"reference": "ed69594b385233bb895342e18008cd811e8225e7" "reference": "7d361a532ccb7c6a640fdfd4be23980c0fa60fd1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/ed69594b385233bb895342e18008cd811e8225e7", "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/7d361a532ccb7c6a640fdfd4be23980c0fa60fd1",
"reference": "ed69594b385233bb895342e18008cd811e8225e7", "reference": "7d361a532ccb7c6a640fdfd4be23980c0fa60fd1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -365,22 +365,22 @@
"support": { "support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues", "issues": "https://github.com/aws/aws-sdk-php/issues",
"source": "https://github.com/aws/aws-sdk-php/tree/3.212.5" "source": "https://github.com/aws/aws-sdk-php/tree/3.213.1"
}, },
"time": "2022-03-09T19:19:58+00:00" "time": "2022-03-15T20:28:59+00:00"
}, },
{ {
"name": "bacon/bacon-qr-code", "name": "bacon/bacon-qr-code",
"version": "2.0.6", "version": "2.0.7",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Bacon/BaconQrCode.git", "url": "https://github.com/Bacon/BaconQrCode.git",
"reference": "0069435e2a01a57193b25790f105a5d3168653c1" "reference": "d70c840f68657ce49094b8d91f9ee0cc07fbf66c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Bacon/BaconQrCode/zipball/0069435e2a01a57193b25790f105a5d3168653c1", "url": "https://api.github.com/repos/Bacon/BaconQrCode/zipball/d70c840f68657ce49094b8d91f9ee0cc07fbf66c",
"reference": "0069435e2a01a57193b25790f105a5d3168653c1", "reference": "d70c840f68657ce49094b8d91f9ee0cc07fbf66c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -419,9 +419,9 @@
"homepage": "https://github.com/Bacon/BaconQrCode", "homepage": "https://github.com/Bacon/BaconQrCode",
"support": { "support": {
"issues": "https://github.com/Bacon/BaconQrCode/issues", "issues": "https://github.com/Bacon/BaconQrCode/issues",
"source": "https://github.com/Bacon/BaconQrCode/tree/2.0.6" "source": "https://github.com/Bacon/BaconQrCode/tree/2.0.7"
}, },
"time": "2022-02-04T20:16:05+00:00" "time": "2022-03-14T02:02:36+00:00"
}, },
{ {
"name": "beyondcode/laravel-websockets", "name": "beyondcode/laravel-websockets",
@@ -936,16 +936,16 @@
}, },
{ {
"name": "composer/semver", "name": "composer/semver",
"version": "3.2.9", "version": "3.3.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/semver.git", "url": "https://github.com/composer/semver.git",
"reference": "a951f614bd64dcd26137bc9b7b2637ddcfc57649" "reference": "f79c90ad4e9b41ac4dfc5d77bf398cf61fbd718b"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/semver/zipball/a951f614bd64dcd26137bc9b7b2637ddcfc57649", "url": "https://api.github.com/repos/composer/semver/zipball/f79c90ad4e9b41ac4dfc5d77bf398cf61fbd718b",
"reference": "a951f614bd64dcd26137bc9b7b2637ddcfc57649", "reference": "f79c90ad4e9b41ac4dfc5d77bf398cf61fbd718b",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -997,7 +997,7 @@
"support": { "support": {
"irc": "irc://irc.freenode.org/composer", "irc": "irc://irc.freenode.org/composer",
"issues": "https://github.com/composer/semver/issues", "issues": "https://github.com/composer/semver/issues",
"source": "https://github.com/composer/semver/tree/3.2.9" "source": "https://github.com/composer/semver/tree/3.3.0"
}, },
"funding": [ "funding": [
{ {
@@ -1013,7 +1013,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-02-04T13:58:43+00:00" "time": "2022-03-15T08:35:57+00:00"
}, },
{ {
"name": "composer/xdebug-handler", "name": "composer/xdebug-handler",
@@ -3046,16 +3046,16 @@
}, },
{ {
"name": "jaybizzle/crawler-detect", "name": "jaybizzle/crawler-detect",
"version": "v1.2.110", "version": "v1.2.111",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/JayBizzle/Crawler-Detect.git", "url": "https://github.com/JayBizzle/Crawler-Detect.git",
"reference": "f9d63a3581428fd8a3858e161d072f0b9debc26f" "reference": "d572ed4a65a70a2d2871dc5137c9c5b7e69745ab"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/f9d63a3581428fd8a3858e161d072f0b9debc26f", "url": "https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/d572ed4a65a70a2d2871dc5137c9c5b7e69745ab",
"reference": "f9d63a3581428fd8a3858e161d072f0b9debc26f", "reference": "d572ed4a65a70a2d2871dc5137c9c5b7e69745ab",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -3092,9 +3092,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/JayBizzle/Crawler-Detect/issues", "issues": "https://github.com/JayBizzle/Crawler-Detect/issues",
"source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.110" "source": "https://github.com/JayBizzle/Crawler-Detect/tree/v1.2.111"
}, },
"time": "2021-12-07T18:35:06+00:00" "time": "2022-03-15T22:19:01+00:00"
}, },
{ {
"name": "jaybizzle/laravel-crawler-detect", "name": "jaybizzle/laravel-crawler-detect",
@@ -3290,16 +3290,16 @@
}, },
{ {
"name": "laravel/framework", "name": "laravel/framework",
"version": "v9.4.1", "version": "v9.5.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/framework.git", "url": "https://github.com/laravel/framework.git",
"reference": "29f0aaade82eadd20ef881b4efb88b0dad4e9a5b" "reference": "35be2599c9ac3d58bf1578895c2e85ea4848a0d7"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/29f0aaade82eadd20ef881b4efb88b0dad4e9a5b", "url": "https://api.github.com/repos/laravel/framework/zipball/35be2599c9ac3d58bf1578895c2e85ea4848a0d7",
"reference": "29f0aaade82eadd20ef881b4efb88b0dad4e9a5b", "reference": "35be2599c9ac3d58bf1578895c2e85ea4848a0d7",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -3465,7 +3465,7 @@
"issues": "https://github.com/laravel/framework/issues", "issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework" "source": "https://github.com/laravel/framework"
}, },
"time": "2022-03-08T16:17:00+00:00" "time": "2022-03-15T14:41:19+00:00"
}, },
{ {
"name": "laravel/sanctum", "name": "laravel/sanctum",
@@ -3664,16 +3664,16 @@
}, },
{ {
"name": "laravel/socialite", "name": "laravel/socialite",
"version": "v5.5.1", "version": "v5.5.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/socialite.git", "url": "https://github.com/laravel/socialite.git",
"reference": "9b96dfd69e9c1de69c23205cb390550bc71c357e" "reference": "68afb03259b82d898c68196cbcacd48596a9dd72"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/socialite/zipball/9b96dfd69e9c1de69c23205cb390550bc71c357e", "url": "https://api.github.com/repos/laravel/socialite/zipball/68afb03259b82d898c68196cbcacd48596a9dd72",
"reference": "9b96dfd69e9c1de69c23205cb390550bc71c357e", "reference": "68afb03259b82d898c68196cbcacd48596a9dd72",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -3729,20 +3729,20 @@
"issues": "https://github.com/laravel/socialite/issues", "issues": "https://github.com/laravel/socialite/issues",
"source": "https://github.com/laravel/socialite" "source": "https://github.com/laravel/socialite"
}, },
"time": "2022-02-07T16:08:19+00:00" "time": "2022-03-10T15:26:19+00:00"
}, },
{ {
"name": "laravel/tinker", "name": "laravel/tinker",
"version": "v2.7.0", "version": "v2.7.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/laravel/tinker.git", "url": "https://github.com/laravel/tinker.git",
"reference": "5f2f9815b7631b9f586a3de7933c25f9327d4073" "reference": "1e2d500585a4e546346fadd3adc6f9c1a97e15f4"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/laravel/tinker/zipball/5f2f9815b7631b9f586a3de7933c25f9327d4073", "url": "https://api.github.com/repos/laravel/tinker/zipball/1e2d500585a4e546346fadd3adc6f9c1a97e15f4",
"reference": "5f2f9815b7631b9f586a3de7933c25f9327d4073", "reference": "1e2d500585a4e546346fadd3adc6f9c1a97e15f4",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -3795,9 +3795,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/laravel/tinker/issues", "issues": "https://github.com/laravel/tinker/issues",
"source": "https://github.com/laravel/tinker/tree/v2.7.0" "source": "https://github.com/laravel/tinker/tree/v2.7.1"
}, },
"time": "2022-01-10T08:52:49+00:00" "time": "2022-03-15T15:25:01+00:00"
}, },
{ {
"name": "laravel/ui", "name": "laravel/ui",
@@ -4048,16 +4048,16 @@
}, },
{ {
"name": "league/flysystem", "name": "league/flysystem",
"version": "3.0.11", "version": "3.0.12",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/thephpleague/flysystem.git", "url": "https://github.com/thephpleague/flysystem.git",
"reference": "1ca148713c23cadeb9d7526973f81fb4a04090a3" "reference": "4744d96fb2456d9808be3ad596a2520b902996e2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/1ca148713c23cadeb9d7526973f81fb4a04090a3", "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/4744d96fb2456d9808be3ad596a2520b902996e2",
"reference": "1ca148713c23cadeb9d7526973f81fb4a04090a3", "reference": "4744d96fb2456d9808be3ad596a2520b902996e2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -4118,7 +4118,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/thephpleague/flysystem/issues", "issues": "https://github.com/thephpleague/flysystem/issues",
"source": "https://github.com/thephpleague/flysystem/tree/3.0.11" "source": "https://github.com/thephpleague/flysystem/tree/3.0.12"
}, },
"funding": [ "funding": [
{ {
@@ -4134,7 +4134,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-03-04T16:40:17+00:00" "time": "2022-03-12T19:32:12+00:00"
}, },
{ {
"name": "league/flysystem-aws-s3-v3", "name": "league/flysystem-aws-s3-v3",
@@ -4472,16 +4472,10 @@
{ {
"name": "makingcg/subscription", "name": "makingcg/subscription",
"version": "dev-main", "version": "dev-main",
"source": {
"type": "git",
"url": "git@github.com:VueFileManager/subscription.git",
"reference": "6bd3c6257373b593e62488eda06877b8eca87bc0"
},
"dist": { "dist": {
"type": "zip", "type": "path",
"url": "https://api.github.com/repos/VueFileManager/subscription/zipball/6bd3c6257373b593e62488eda06877b8eca87bc0", "url": "../../PhpstormProjects/subscription",
"reference": "6bd3c6257373b593e62488eda06877b8eca87bc0", "reference": "11b499ba967427de10ff5d18a86f3b6676039875"
"shasum": ""
}, },
"require": { "require": {
"friendsofphp/php-cs-fixer": "^3.6.0", "friendsofphp/php-cs-fixer": "^3.6.0",
@@ -4503,7 +4497,6 @@
"phpunit/phpunit": "^9.5.16", "phpunit/phpunit": "^9.5.16",
"spatie/laravel-ray": "^1.29.4" "spatie/laravel-ray": "^1.29.4"
}, },
"default-branch": true,
"type": "library", "type": "library",
"extra": { "extra": {
"laravel": { "laravel": {
@@ -4566,30 +4559,22 @@
"laravel", "laravel",
"subscription" "subscription"
], ],
"support": { "transport-options": {
"source": "https://github.com/VueFileManager/subscription/tree/main", "relative": true
"issues": "https://github.com/VueFileManager/subscription/issues" }
},
"funding": [
{
"type": "github",
"url": "https://github.com/VueFileManager"
}
],
"time": "2022-03-05T08:14:28+00:00"
}, },
{ {
"name": "monolog/monolog", "name": "monolog/monolog",
"version": "2.3.5", "version": "2.4.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Seldaek/monolog.git", "url": "https://github.com/Seldaek/monolog.git",
"reference": "fd4380d6fc37626e2f799f29d91195040137eba9" "reference": "d7fd7450628561ba697b7097d86db72662f54aef"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/fd4380d6fc37626e2f799f29d91195040137eba9", "url": "https://api.github.com/repos/Seldaek/monolog/zipball/d7fd7450628561ba697b7097d86db72662f54aef",
"reference": "fd4380d6fc37626e2f799f29d91195040137eba9", "reference": "d7fd7450628561ba697b7097d86db72662f54aef",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -4611,7 +4596,7 @@
"phpstan/phpstan": "^0.12.91", "phpstan/phpstan": "^0.12.91",
"phpunit/phpunit": "^8.5", "phpunit/phpunit": "^8.5",
"predis/predis": "^1.1", "predis/predis": "^1.1",
"rollbar/rollbar": "^1.3", "rollbar/rollbar": "^1.3 || ^2 || ^3",
"ruflin/elastica": ">=0.90@dev", "ruflin/elastica": ">=0.90@dev",
"swiftmailer/swiftmailer": "^5.3|^6.0" "swiftmailer/swiftmailer": "^5.3|^6.0"
}, },
@@ -4663,7 +4648,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/Seldaek/monolog/issues", "issues": "https://github.com/Seldaek/monolog/issues",
"source": "https://github.com/Seldaek/monolog/tree/2.3.5" "source": "https://github.com/Seldaek/monolog/tree/2.4.0"
}, },
"funding": [ "funding": [
{ {
@@ -4675,7 +4660,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2021-10-01T21:08:31+00:00" "time": "2022-03-14T12:44:37+00:00"
}, },
{ {
"name": "mtdowling/jmespath.php", "name": "mtdowling/jmespath.php",
@@ -6244,16 +6229,16 @@
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "9.5.18", "version": "9.5.19",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "1b5856028273bfd855e60a887278857d872ec67a" "reference": "35ea4b7f3acabb26f4bb640f8c30866c401da807"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1b5856028273bfd855e60a887278857d872ec67a", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/35ea4b7f3acabb26f4bb640f8c30866c401da807",
"reference": "1b5856028273bfd855e60a887278857d872ec67a", "reference": "35ea4b7f3acabb26f4bb640f8c30866c401da807",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -6283,7 +6268,7 @@
"sebastian/global-state": "^5.0.1", "sebastian/global-state": "^5.0.1",
"sebastian/object-enumerator": "^4.0.3", "sebastian/object-enumerator": "^4.0.3",
"sebastian/resource-operations": "^3.0.3", "sebastian/resource-operations": "^3.0.3",
"sebastian/type": "^2.3.4", "sebastian/type": "^3.0",
"sebastian/version": "^3.0.2" "sebastian/version": "^3.0.2"
}, },
"require-dev": { "require-dev": {
@@ -6331,7 +6316,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues", "issues": "https://github.com/sebastianbergmann/phpunit/issues",
"source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.18" "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.19"
}, },
"funding": [ "funding": [
{ {
@@ -6343,7 +6328,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2022-03-08T06:52:28+00:00" "time": "2022-03-15T09:57:31+00:00"
}, },
{ {
"name": "pragmarx/google2fa", "name": "pragmarx/google2fa",
@@ -8885,28 +8870,28 @@
}, },
{ {
"name": "sebastian/type", "name": "sebastian/type",
"version": "2.3.4", "version": "3.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/type.git", "url": "https://github.com/sebastianbergmann/type.git",
"reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914" "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b8cd8a1c753c90bc1a0f5372170e3e489136f914", "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b233b84bc4465aff7b57cf1c4bc75c86d00d6dad",
"reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914", "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.3" "php": ">=7.3"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^9.3" "phpunit/phpunit": "^9.5"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.3-dev" "dev-master": "3.0-dev"
} }
}, },
"autoload": { "autoload": {
@@ -8929,7 +8914,7 @@
"homepage": "https://github.com/sebastianbergmann/type", "homepage": "https://github.com/sebastianbergmann/type",
"support": { "support": {
"issues": "https://github.com/sebastianbergmann/type/issues", "issues": "https://github.com/sebastianbergmann/type/issues",
"source": "https://github.com/sebastianbergmann/type/tree/2.3.4" "source": "https://github.com/sebastianbergmann/type/tree/3.0.0"
}, },
"funding": [ "funding": [
{ {
@@ -8937,7 +8922,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2021-06-15T12:49:02+00:00" "time": "2022-03-15T09:54:48+00:00"
}, },
{ {
"name": "sebastian/version", "name": "sebastian/version",
@@ -9057,16 +9042,16 @@
}, },
{ {
"name": "spatie/db-dumper", "name": "spatie/db-dumper",
"version": "3.1.2", "version": "3.2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/db-dumper.git", "url": "https://github.com/spatie/db-dumper.git",
"reference": "81a31cb3949ddb6d75a718ae8bff7aa017adcc27" "reference": "17152c3fd799fb55b34f35885f8f129678faed73"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/db-dumper/zipball/81a31cb3949ddb6d75a718ae8bff7aa017adcc27", "url": "https://api.github.com/repos/spatie/db-dumper/zipball/17152c3fd799fb55b34f35885f8f129678faed73",
"reference": "81a31cb3949ddb6d75a718ae8bff7aa017adcc27", "reference": "17152c3fd799fb55b34f35885f8f129678faed73",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -9105,7 +9090,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/spatie/db-dumper/issues", "issues": "https://github.com/spatie/db-dumper/issues",
"source": "https://github.com/spatie/db-dumper/tree/3.1.2" "source": "https://github.com/spatie/db-dumper/tree/3.2.0"
}, },
"funding": [ "funding": [
{ {
@@ -9117,7 +9102,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2022-01-04T13:07:48+00:00" "time": "2022-03-10T16:01:42+00:00"
}, },
{ {
"name": "spatie/laravel-backup", "name": "spatie/laravel-backup",
@@ -9216,16 +9201,16 @@
}, },
{ {
"name": "spatie/laravel-package-tools", "name": "spatie/laravel-package-tools",
"version": "1.11.2", "version": "1.11.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/laravel-package-tools.git", "url": "https://github.com/spatie/laravel-package-tools.git",
"reference": "16a8de828e7f1f32d580c667e1de5bf2943abd6b" "reference": "baeb3df0ebb3a541394fdaf8cbe6115bf4034a59"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/16a8de828e7f1f32d580c667e1de5bf2943abd6b", "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/baeb3df0ebb3a541394fdaf8cbe6115bf4034a59",
"reference": "16a8de828e7f1f32d580c667e1de5bf2943abd6b", "reference": "baeb3df0ebb3a541394fdaf8cbe6115bf4034a59",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -9263,7 +9248,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/spatie/laravel-package-tools/issues", "issues": "https://github.com/spatie/laravel-package-tools/issues",
"source": "https://github.com/spatie/laravel-package-tools/tree/1.11.2" "source": "https://github.com/spatie/laravel-package-tools/tree/1.11.3"
}, },
"funding": [ "funding": [
{ {
@@ -9271,7 +9256,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2022-02-22T08:55:13+00:00" "time": "2022-03-15T20:01:36+00:00"
}, },
{ {
"name": "spatie/laravel-query-builder", "name": "spatie/laravel-query-builder",
@@ -9635,16 +9620,16 @@
}, },
{ {
"name": "spatie/temporary-directory", "name": "spatie/temporary-directory",
"version": "2.0.0", "version": "2.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/temporary-directory.git", "url": "https://github.com/spatie/temporary-directory.git",
"reference": "06fe0f10d068fdf145c9b2235030e568c913bb61" "reference": "79f138f2b81adae583d04d3727a4538dd394023f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/temporary-directory/zipball/06fe0f10d068fdf145c9b2235030e568c913bb61", "url": "https://api.github.com/repos/spatie/temporary-directory/zipball/79f138f2b81adae583d04d3727a4538dd394023f",
"reference": "06fe0f10d068fdf145c9b2235030e568c913bb61", "reference": "79f138f2b81adae583d04d3727a4538dd394023f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -9680,7 +9665,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/spatie/temporary-directory/issues", "issues": "https://github.com/spatie/temporary-directory/issues",
"source": "https://github.com/spatie/temporary-directory/tree/2.0.0" "source": "https://github.com/spatie/temporary-directory/tree/2.1.0"
}, },
"funding": [ "funding": [
{ {
@@ -9692,7 +9677,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2021-03-30T19:46:13+00:00" "time": "2022-03-11T08:16:01+00:00"
}, },
{ {
"name": "stechstudio/laravel-zipstream", "name": "stechstudio/laravel-zipstream",
@@ -13253,16 +13238,16 @@
}, },
{ {
"name": "composer/composer", "name": "composer/composer",
"version": "dev-main", "version": "2.3.0-RC1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/composer/composer.git", "url": "https://github.com/composer/composer.git",
"reference": "ae23647f07932754dc9d7fd1d15657273301a009" "reference": "3b150d0ef6454694d074cac2807237894dfd6217"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/composer/composer/zipball/ae23647f07932754dc9d7fd1d15657273301a009", "url": "https://api.github.com/repos/composer/composer/zipball/3b150d0ef6454694d074cac2807237894dfd6217",
"reference": "ae23647f07932754dc9d7fd1d15657273301a009", "reference": "3b150d0ef6454694d074cac2807237894dfd6217",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -13298,7 +13283,6 @@
"ext-zip": "Enabling the zip extension allows you to unzip archives", "ext-zip": "Enabling the zip extension allows you to unzip archives",
"ext-zlib": "Allow gzip compression of HTTP requests" "ext-zlib": "Allow gzip compression of HTTP requests"
}, },
"default-branch": true,
"bin": [ "bin": [
"bin/composer" "bin/composer"
], ],
@@ -13339,7 +13323,7 @@
"support": { "support": {
"irc": "ircs://irc.libera.chat:6697/composer", "irc": "ircs://irc.libera.chat:6697/composer",
"issues": "https://github.com/composer/composer/issues", "issues": "https://github.com/composer/composer/issues",
"source": "https://github.com/composer/composer/tree/main" "source": "https://github.com/composer/composer/tree/2.3.0-RC1"
}, },
"funding": [ "funding": [
{ {
@@ -13355,7 +13339,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-03-09T19:45:19+00:00" "time": "2022-03-16T08:25:31+00:00"
}, },
{ {
"name": "composer/metadata-minifier", "name": "composer/metadata-minifier",
@@ -14261,16 +14245,16 @@
}, },
{ {
"name": "spatie/flare-client-php", "name": "spatie/flare-client-php",
"version": "1.0.5", "version": "1.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/flare-client-php.git", "url": "https://github.com/spatie/flare-client-php.git",
"reference": "8ada1e5f4d7a2869f491c5e75d1f689b69db423e" "reference": "ceab058852a1278d9f57a7b95f1c348e4956d866"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/flare-client-php/zipball/8ada1e5f4d7a2869f491c5e75d1f689b69db423e", "url": "https://api.github.com/repos/spatie/flare-client-php/zipball/ceab058852a1278d9f57a7b95f1c348e4956d866",
"reference": "8ada1e5f4d7a2869f491c5e75d1f689b69db423e", "reference": "ceab058852a1278d9f57a7b95f1c348e4956d866",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -14313,7 +14297,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/spatie/flare-client-php/issues", "issues": "https://github.com/spatie/flare-client-php/issues",
"source": "https://github.com/spatie/flare-client-php/tree/1.0.5" "source": "https://github.com/spatie/flare-client-php/tree/1.1.0"
}, },
"funding": [ "funding": [
{ {
@@ -14321,20 +14305,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2022-03-01T10:52:59+00:00" "time": "2022-03-11T13:21:28+00:00"
}, },
{ {
"name": "spatie/ignition", "name": "spatie/ignition",
"version": "1.2.3", "version": "1.2.4",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/ignition.git", "url": "https://github.com/spatie/ignition.git",
"reference": "ab8d1f938d3ffd20af25ad788a9d019e1123068c" "reference": "ec58c125c15eecaa20180f01ef9667d41a568ba8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/ignition/zipball/ab8d1f938d3ffd20af25ad788a9d019e1123068c", "url": "https://api.github.com/repos/spatie/ignition/zipball/ec58c125c15eecaa20180f01ef9667d41a568ba8",
"reference": "ab8d1f938d3ffd20af25ad788a9d019e1123068c", "reference": "ec58c125c15eecaa20180f01ef9667d41a568ba8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -14342,7 +14326,7 @@
"ext-mbstring": "*", "ext-mbstring": "*",
"monolog/monolog": "^2.0", "monolog/monolog": "^2.0",
"php": "^8.0", "php": "^8.0",
"spatie/flare-client-php": "^1.0", "spatie/flare-client-php": "^1.1",
"symfony/console": "^5.4|^6.0", "symfony/console": "^5.4|^6.0",
"symfony/var-dumper": "^5.4|^6.0" "symfony/var-dumper": "^5.4|^6.0"
}, },
@@ -14352,7 +14336,6 @@
"phpstan/extension-installer": "^1.1", "phpstan/extension-installer": "^1.1",
"phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-phpunit": "^1.0", "phpstan/phpstan-phpunit": "^1.0",
"spatie/ray": "^1.32",
"symfony/process": "^5.4|^6.0" "symfony/process": "^5.4|^6.0"
}, },
"type": "library", "type": "library",
@@ -14392,20 +14375,20 @@
"type": "github" "type": "github"
} }
], ],
"time": "2022-03-08T15:12:58+00:00" "time": "2022-03-11T13:28:02+00:00"
}, },
{ {
"name": "spatie/laravel-ignition", "name": "spatie/laravel-ignition",
"version": "1.0.6", "version": "1.0.9",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/spatie/laravel-ignition.git", "url": "https://github.com/spatie/laravel-ignition.git",
"reference": "d349854331789aba9205fd755e0c1d1934ef1463" "reference": "d7b223300d511145eea87fdabae1663c7c0088aa"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/d349854331789aba9205fd755e0c1d1934ef1463", "url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/d7b223300d511145eea87fdabae1663c7c0088aa",
"reference": "d349854331789aba9205fd755e0c1d1934ef1463", "reference": "d7b223300d511145eea87fdabae1663c7c0088aa",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -14416,7 +14399,7 @@
"monolog/monolog": "^2.3", "monolog/monolog": "^2.3",
"php": "^8.0", "php": "^8.0",
"spatie/flare-client-php": "^1.0.1", "spatie/flare-client-php": "^1.0.1",
"spatie/ignition": "^1.0", "spatie/ignition": "^1.2.4",
"symfony/console": "^5.0|^6.0", "symfony/console": "^5.0|^6.0",
"symfony/var-dumper": "^5.0|^6.0" "symfony/var-dumper": "^5.0|^6.0"
}, },
@@ -14479,7 +14462,7 @@
"type": "github" "type": "github"
} }
], ],
"time": "2022-02-15T11:02:15+00:00" "time": "2022-03-11T14:19:27+00:00"
}, },
{ {
"name": "symfony/polyfill-php73", "name": "symfony/polyfill-php73",
@@ -14577,5 +14560,5 @@
"platform-dev": { "platform-dev": {
"ext-json": "*" "ext-json": "*"
}, },
"plugin-api-version": "2.1.0" "plugin-api-version": "2.2.0"
} }
+62
View File
@@ -0,0 +1,62 @@
<?php
return [
/*
* Get gateway credentials
*/
'credentials' => [
'stripe' => [
'secret' => env('STRIPE_SECRET_KEY'),
'public_key' => env('STRIPE_PUBLIC_KEY'),
'webhook_key' => env('STRIPE_WEBHOOK_SECRET'),
],
'paystack' => [
'secret' => env('PAYSTACK_SECRET'),
'public_key' => env('PAYSTACK_PUBLIC_KEY'),
],
'paypal' => [
'id' => env('PAYPAL_CLIENT_ID'),
'secret' => env('PAYPAL_CLIENT_SECRET'),
'webhook_id' => env('PAYPAL_WEBHOOK_ID'),
'is_live' => env('PAYPAL_IS_LIVE'),
],
],
'notifications' => [
'ChargeFromCreditCardFailedAgainNotification' => \VueFileManager\Subscription\Domain\FailedPayments\Notifications\ChargeFromCreditCardFailedAgainNotification::class,
'ChargeFromCreditCardFailedNotification' => \VueFileManager\Subscription\Domain\FailedPayments\Notifications\ChargeFromCreditCardFailedNotification::class,
'ConfirmStripePaymentNotification' => \VueFileManager\Subscription\Support\Miscellaneous\Stripe\Notifications\ConfirmStripePaymentNotification::class,
'SubscriptionWasCreatedNotification' => \Domain\Subscriptions\Notifications\SubscriptionWasCreatedNotification::class,
'BillingAlertTriggeredNotification' => \Domain\Subscriptions\Notifications\BillingAlertTriggeredNotification::class,
'InsufficientBalanceNotification' => \Domain\Subscriptions\Notifications\InsufficientBalanceNotification::class,
'BonusCreditAddedNotification' => \Domain\Subscriptions\Notifications\BonusCreditAddedNotification::class,
],
/*
* Active drivers to handle subscription
*/
'available_drivers' => [
'paystack',
'paypal',
'stripe',
],
'metered_billing' => [
'settlement_period' => 30,
],
'paystack' => [
/*
* List of allowed ip address to verify paystack webhook request
*/
'allowed_ips' => [
'52.214.14.220',
'52.49.173.169',
'52.31.139.75',
],
],
'driver' => env('SUBSCRIPTION_DRIVER', 'stripe'),
'is_demo' => env('APP_DEMO', false),
];
+1 -1
View File
@@ -1,7 +1,7 @@
<?php <?php
return [ return [
'version' => '2.0.0-Rc.7', 'version' => '2.0.0-Rc.8',
'is_demo' => env('APP_DEMO', false), 'is_demo' => env('APP_DEMO', false),
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+70 -70
View File
@@ -1,75 +1,75 @@
{ {
"/js/main.js": "/js/main.js", "/js/main.js": "/js/main.js",
"/chunks/request.js": "/chunks/request.js?id=6e899824be266ea6", "/chunks/request.js": "/chunks/request.js?id=52635746deeab2c5",
"/chunks/request-upload.js": "/chunks/request-upload.js?id=e7b753c68007d5d1", "/chunks/request-upload.js": "/chunks/request-upload.js?id=2205184a904bf971",
"/chunks/setup-wizard.js": "/chunks/setup-wizard.js?id=19a0784e59d768ec", "/chunks/setup-wizard.js": "/chunks/setup-wizard.js?id=3c2fc454c3fce8d2",
"/chunks/status-check.js": "/chunks/status-check.js?id=336de73834cc9a29", "/chunks/status-check.js": "/chunks/status-check.js?id=13a266918abf0cf8",
"/chunks/purchase-code.js": "/chunks/purchase-code.js?id=df5bd89528649783", "/chunks/purchase-code.js": "/chunks/purchase-code.js?id=c1df85c34d7e9521",
"/chunks/database.js": "/chunks/database.js?id=ba3140027421b977", "/chunks/database.js": "/chunks/database.js?id=aa0c55a4ea464e38",
"/chunks/environment-setup.js": "/chunks/environment-setup.js?id=fc3886e258b9a9b9", "/chunks/environment-setup.js": "/chunks/environment-setup.js?id=e789154b7e7a051e",
"/chunks/app-setup.js": "/chunks/app-setup.js?id=7bae302e249c73a1", "/chunks/app-setup.js": "/chunks/app-setup.js?id=19a9aefba0671fcc",
"/chunks/admin-account.js": "/chunks/admin-account.js?id=309dc20e668952e6", "/chunks/admin-account.js": "/chunks/admin-account.js?id=4efb7c4e0b664b06",
"/chunks/shared.js": "/chunks/shared.js?id=e68646d339b36632", "/chunks/shared.js": "/chunks/shared.js?id=84d56595882a8c1c",
"/chunks/shared/browser.js": "/chunks/shared/browser.js?id=52851612b04dba61", "/chunks/shared/browser.js": "/chunks/shared/browser.js?id=ef01f0a8d6866da1",
"/chunks/shared/single-file.js": "/chunks/shared/single-file.js?id=4bd19aefcb3bdfdd", "/chunks/shared/single-file.js": "/chunks/shared/single-file.js?id=fe8e8538a05aeeb1",
"/chunks/shared/authenticate.js": "/chunks/shared/authenticate.js?id=c303bb3ce8a22918", "/chunks/shared/authenticate.js": "/chunks/shared/authenticate.js?id=2d2ccd3ef9765d65",
"/chunks/not-found.js": "/chunks/not-found.js?id=5fbc874846003a91", "/chunks/not-found.js": "/chunks/not-found.js?id=3ff463727211228e",
"/chunks/temporary-unavailable.js": "/chunks/temporary-unavailable.js?id=9c283755ffea5e90", "/chunks/temporary-unavailable.js": "/chunks/temporary-unavailable.js?id=ba49ed84eaeb6e76",
"/chunks/admin.js": "/chunks/admin.js?id=c3eb2a10ca6f09b8", "/chunks/admin.js": "/chunks/admin.js?id=4e8b57aff98aee6c",
"/chunks/dashboard.js": "/chunks/dashboard.js?id=3cb0b23a8ab78cbb", "/chunks/dashboard.js": "/chunks/dashboard.js?id=da6cc2ad31b3185a",
"/chunks/invoices.js": "/chunks/invoices.js?id=f89964a5a55ace45", "/chunks/invoices.js": "/chunks/invoices.js?id=da62e39ad5ef9bd7",
"/chunks/subscriptions.js": "/chunks/subscriptions.js?id=62582c26b6288d7d", "/chunks/subscriptions.js": "/chunks/subscriptions.js?id=d0c8277ed5e2b48c",
"/chunks/pages.js": "/chunks/pages.js?id=d7219aff1586ef7a", "/chunks/pages.js": "/chunks/pages.js?id=979ca7c16b74efce",
"/chunks/page-edit.js": "/chunks/page-edit.js?id=8a6b001219a08faf", "/chunks/page-edit.js": "/chunks/page-edit.js?id=2af8302e98e5ec3f",
"/chunks/plans.js": "/chunks/plans.js?id=704f996bd6e6c651", "/chunks/plans.js": "/chunks/plans.js?id=f4533ad79d4560a5",
"/chunks/users.js": "/chunks/users.js?id=f3c592b251f7d183", "/chunks/users.js": "/chunks/users.js?id=320784137a3aa296",
"/chunks/user-create.js": "/chunks/user-create.js?id=617e9bf3df1739b2", "/chunks/user-create.js": "/chunks/user-create.js?id=95a4b36c10e43795",
"/chunks/plan-create/fixed.js": "/chunks/plan-create/fixed.js?id=b557039c3b07913a", "/chunks/plan-create/fixed.js": "/chunks/plan-create/fixed.js?id=17e80e7c9eb00953",
"/chunks/plan-create/metered.js": "/chunks/plan-create/metered.js?id=8db8eabf6b39775b", "/chunks/plan-create/metered.js": "/chunks/plan-create/metered.js?id=f5064e50ce6ba1b5",
"/chunks/user.js": "/chunks/user.js?id=7e567c0cb7f641d6", "/chunks/user.js": "/chunks/user.js?id=77e59bd628da3cb4",
"/chunks/user-detail.js": "/chunks/user-detail.js?id=6c169888720ad92a", "/chunks/user-detail.js": "/chunks/user-detail.js?id=ebbbd514e30630e0",
"/chunks/user-storage.js": "/chunks/user-storage.js?id=f66071eb1b65c082", "/chunks/user-storage.js": "/chunks/user-storage.js?id=57856a54644a24d3",
"/chunks/user-subscription.js": "/chunks/user-subscription.js?id=f033931911b07f5c", "/chunks/user-subscription.js": "/chunks/user-subscription.js?id=0be0c55ddd5d358e",
"/chunks/user-password.js": "/chunks/user-password.js?id=6d23f552e9d52c49", "/chunks/user-password.js": "/chunks/user-password.js?id=d24f0c4afc9b2220",
"/chunks/user-delete.js": "/chunks/user-delete.js?id=82b5180a1d9e1217", "/chunks/user-delete.js": "/chunks/user-delete.js?id=47d44b2f8e4e620c",
"/chunks/plan.js": "/chunks/plan.js?id=37a04161ac1973ad", "/chunks/plan.js": "/chunks/plan.js?id=2444730c1a0a42fc",
"/chunks/plan-subscribers.js": "/chunks/plan-subscribers.js?id=2cc70b67d00bbda1", "/chunks/plan-subscribers.js": "/chunks/plan-subscribers.js?id=a9f9d70e279b7dcc",
"/chunks/plan-settings.js": "/chunks/plan-settings.js?id=1679d4320a70fc13", "/chunks/plan-settings.js": "/chunks/plan-settings.js?id=626f93c13e875893",
"/chunks/plan-delete.js": "/chunks/plan-delete.js?id=1a03842f88224cbd", "/chunks/plan-delete.js": "/chunks/plan-delete.js?id=c3f6973ecd47dcc1",
"/chunks/payments.js": "/chunks/payments.js?id=2a6dba57de536b0d", "/chunks/payments.js": "/chunks/payments.js?id=5ea275fedd8d638a",
"/chunks/payments/billings.js": "/chunks/payments/billings.js?id=a434d9363a14beab", "/chunks/payments/billings.js": "/chunks/payments/billings.js?id=8b5846c43c3b335c",
"/chunks/payments/settings.js": "/chunks/payments/settings.js?id=bf165e8846059cad", "/chunks/payments/settings.js": "/chunks/payments/settings.js?id=52e3a8f53a1827ad",
"/chunks/app-settings.js": "/chunks/app-settings.js?id=ac94675bfea2ac48", "/chunks/app-settings.js": "/chunks/app-settings.js?id=b0ca7cdad56e46fd",
"/chunks/app-appearance.js": "/chunks/app-appearance.js?id=e388c80adec307d7", "/chunks/app-appearance.js": "/chunks/app-appearance.js?id=79521524b58b6120",
"/chunks/app-index.js": "/chunks/app-index.js?id=6befbefd7ebeb16a", "/chunks/app-index.js": "/chunks/app-index.js?id=cd54d602a5122a40",
"/chunks/app-environment.js": "/chunks/app-environment.js?id=d5ebc63ff754aa33", "/chunks/app-environment.js": "/chunks/app-environment.js?id=059db5c5ff25f7a5",
"/chunks/app-others.js": "/chunks/app-others.js?id=0cc43e1d502eec99", "/chunks/app-others.js": "/chunks/app-others.js?id=9629c9ca65e7c92e",
"/chunks/app-sign-in-out.js": "/chunks/app-sign-in-out.js?id=d3ed0a81743ac3ba", "/chunks/app-sign-in-out.js": "/chunks/app-sign-in-out.js?id=9e94b765b03347ca",
"/chunks/app-adsense.js": "/chunks/app-adsense.js?id=4ee8de4ac0dae19e", "/chunks/app-adsense.js": "/chunks/app-adsense.js?id=c4c4cda03202a49a",
"/chunks/app-server.js": "/chunks/app-server.js?id=b07d804fe4dd8132", "/chunks/app-server.js": "/chunks/app-server.js?id=4a099ee9d6979096",
"/chunks/app-language.js": "/chunks/app-language.js?id=83a53ba4d233ae46", "/chunks/app-language.js": "/chunks/app-language.js?id=4c84c957ec474ca5",
"/chunks/homepage.js": "/chunks/homepage.js?id=3a8a009996ff94d0", "/chunks/homepage.js": "/chunks/homepage.js?id=20e686e79d1f827a",
"/chunks/dynamic-page.js": "/chunks/dynamic-page.js?id=0585ee757e04fe8d", "/chunks/dynamic-page.js": "/chunks/dynamic-page.js?id=bbd1a3b0be7dbeee",
"/chunks/contact-us.js": "/chunks/contact-us.js?id=1b8ef1d52ded4eff", "/chunks/contact-us.js": "/chunks/contact-us.js?id=f8634b03752500fb",
"/chunks/successfully-email-verified.js": "/chunks/successfully-email-verified.js?id=887ca001d1542b96", "/chunks/successfully-email-verified.js": "/chunks/successfully-email-verified.js?id=6649e9fb4a8a8f43",
"/chunks/successfully-email-send.js": "/chunks/successfully-email-send.js?id=f4562229776d9f56", "/chunks/successfully-email-send.js": "/chunks/successfully-email-send.js?id=d630ed9f6f558509",
"/chunks/sign-in.js": "/chunks/sign-in.js?id=bbed1e72f0086331", "/chunks/sign-in.js": "/chunks/sign-in.js?id=027bfbe1ae255c4b",
"/chunks/sign-up.js": "/chunks/sign-up.js?id=f23b52bc6ff0107b", "/chunks/sign-up.js": "/chunks/sign-up.js?id=b8a707561c587006",
"/chunks/forgotten-password.js": "/chunks/forgotten-password.js?id=63bc2a81117cee2f", "/chunks/forgotten-password.js": "/chunks/forgotten-password.js?id=8aaf784d9a8538b7",
"/chunks/create-new-password.js": "/chunks/create-new-password.js?id=b7d1b17596c771c3", "/chunks/create-new-password.js": "/chunks/create-new-password.js?id=e9482fe3bc2e589e",
"/chunks/settings.js": "/chunks/settings.js?id=10aae65b59430310", "/chunks/settings.js": "/chunks/settings.js?id=7d31b9a2822a110b",
"/chunks/profile.js": "/chunks/profile.js?id=baa99177b1a788a2", "/chunks/profile.js": "/chunks/profile.js?id=8049a20459b22971",
"/chunks/settings-password.js": "/chunks/settings-password.js?id=29034c929a287e2a", "/chunks/settings-password.js": "/chunks/settings-password.js?id=637e68d26ba0a89f",
"/chunks/settings-storage.js": "/chunks/settings-storage.js?id=80bca2eb75da275d", "/chunks/settings-storage.js": "/chunks/settings-storage.js?id=5ce9b4c17ee3033d",
"/chunks/billing.js": "/chunks/billing.js?id=9008d99558ed20a5", "/chunks/billing.js": "/chunks/billing.js?id=dee7f139e8a0c7b2",
"/chunks/platform.js": "/chunks/platform.js?id=2fc77f79e9101e15", "/chunks/platform.js": "/chunks/platform.js?id=af32b6ce97832e23",
"/chunks/files.js": "/chunks/files.js?id=3900f3a00b9b8240", "/chunks/files.js": "/chunks/files.js?id=a7af1e625dd3bca6",
"/chunks/recent-uploads.js": "/chunks/recent-uploads.js?id=346215cfda8b1688", "/chunks/recent-uploads.js": "/chunks/recent-uploads.js?id=4b9bb4109270de81",
"/chunks/my-shared-items.js": "/chunks/my-shared-items.js?id=68fc784dcea2aabf", "/chunks/my-shared-items.js": "/chunks/my-shared-items.js?id=ca88ea617de08571",
"/chunks/trash.js": "/chunks/trash.js?id=8059bce40717c58a", "/chunks/trash.js": "/chunks/trash.js?id=6ec6c6dfd1c47290",
"/chunks/team-folders.js": "/chunks/team-folders.js?id=a96b3554276cfbba", "/chunks/team-folders.js": "/chunks/team-folders.js?id=b2402d51e0ce4f39",
"/chunks/shared-with-me.js": "/chunks/shared-with-me.js?id=52f088dd5be89bd8", "/chunks/shared-with-me.js": "/chunks/shared-with-me.js?id=04f15f8a26e72ac6",
"/chunks/invitation.js": "/chunks/invitation.js?id=21d172e77f12dbbb", "/chunks/invitation.js": "/chunks/invitation.js?id=4064848e25bec2a7",
"/css/tailwind.css": "/css/tailwind.css", "/css/tailwind.css": "/css/tailwind.css",
"/css/app.css": "/css/app.css" "/css/app.css": "/css/app.css"
} }
@@ -4,7 +4,7 @@
<PopupHeader :title="$t('popup_move_item.title')" icon="move" /> <PopupHeader :title="$t('popup_move_item.title')" icon="move" />
<!--Content--> <!--Content-->
<PopupContent v-if="pickedItem" class="h-full pb-6 sm:max-h-96 sm:overflow-y-auto md:pb-0"> <PopupContent v-if="pickedItem" class="h-full pb-6 lg:max-h-96 sm:overflow-y-auto md:pb-0">
<!--Show Spinner when loading folders--> <!--Show Spinner when loading folders-->
<Spinner v-if="isLoadingTree" /> <Spinner v-if="isLoadingTree" />
@@ -1,7 +1,7 @@
<template> <template>
<div <div
:class="type" :class="type"
class="absolute top-16 bottom-24 left-0 right-0 h-auto lg:overflow-visible overflow-auto px-6 md:relative md:top-0 md:bottom-0" class="absolute top-16 bottom-24 left-0 right-0 h-auto overflow-auto px-6 md:relative md:top-0 md:bottom-0"
> >
<slot /> <slot />
</div> </div>
@@ -5,7 +5,7 @@ use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification; use Illuminate\Notifications\Notification;
use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Contracts\Queue\ShouldQueue;
class AdminBonusAddedNotification extends Notification implements ShouldQueue class BonusCreditAddedNotification extends Notification implements ShouldQueue
{ {
use Queueable; use Queueable;
@@ -18,7 +18,7 @@ class SubscriptionWasCreatedNotification extends Notification implements ShouldQ
public function via(): array public function via(): array
{ {
return ['mail', 'database', 'broadcast']; return ['database', 'broadcast'];
} }
public function toMail(): MailMessage public function toMail(): MailMessage
@@ -2,28 +2,18 @@
namespace Support\Listeners; namespace Support\Listeners;
use Illuminate\Events\Dispatcher; use Illuminate\Events\Dispatcher;
use Domain\Subscriptions\Notifications\AdminBonusAddedNotification;
use VueFileManager\Subscription\Support\Events\AdminBonusAddedEvent;
use VueFileManager\Subscription\Support\Events\SubscriptionWasCreated; use VueFileManager\Subscription\Support\Events\SubscriptionWasCreated;
use VueFileManager\Subscription\Support\Events\SubscriptionWasExpired; use VueFileManager\Subscription\Support\Events\SubscriptionWasExpired;
use VueFileManager\Subscription\Support\Events\SubscriptionWasUpdated; use VueFileManager\Subscription\Support\Events\SubscriptionWasUpdated;
use Domain\Subscriptions\Notifications\InsufficientBalanceNotification;
use VueFileManager\Subscription\Support\Events\InsufficientBalanceEvent;
use Domain\Subscriptions\Notifications\BillingAlertTriggeredNotification;
use Domain\Subscriptions\Notifications\SubscriptionWasCreatedNotification;
use VueFileManager\Subscription\Support\Events\BillingAlertTriggeredEvent;
class SubscriptionEventSubscriber class SubscriptionEventSubscriber
{ {
// TODO: unit test for notification
public function handleSubscriptionWasCreated($event) public function handleSubscriptionWasCreated($event)
{ {
$event->subscription->user->limitations()->update([ $event->subscription->user->limitations()->update([
'max_storage_amount' => $event->subscription->fixedFeature('max_storage_amount'), 'max_storage_amount' => $event->subscription->fixedFeature('max_storage_amount'),
'max_team_members' => $event->subscription->fixedFeature('max_team_members'), 'max_team_members' => $event->subscription->fixedFeature('max_team_members'),
]); ]);
$event->subscription->user->notify(new SubscriptionWasCreatedNotification($event->subscription));
} }
public function handleSubscriptionWasUpdated($event) public function handleSubscriptionWasUpdated($event)
@@ -43,24 +33,6 @@ class SubscriptionEventSubscriber
]); ]);
} }
// TODO: unit test
public function handleBillingAlertTriggeredEvent($event)
{
$event->alert->user->notify(new BillingAlertTriggeredNotification());
}
// TODO: unit test
public function handleAdminBonusAddedEvent($event)
{
$event->user->notify(new AdminBonusAddedNotification($event->bonus));
}
// TODO: unit test
public function handleInsufficientBalanceEvent($event)
{
$event->user->notify(new InsufficientBalanceNotification());
}
/** /**
* Register the listeners for the subscriber. * Register the listeners for the subscriber.
*/ */
@@ -70,9 +42,6 @@ class SubscriptionEventSubscriber
SubscriptionWasCreated::class => 'handleSubscriptionWasCreated', SubscriptionWasCreated::class => 'handleSubscriptionWasCreated',
SubscriptionWasExpired::class => 'handleSubscriptionWasExpired', SubscriptionWasExpired::class => 'handleSubscriptionWasExpired',
SubscriptionWasUpdated::class => 'handleSubscriptionWasUpdated', SubscriptionWasUpdated::class => 'handleSubscriptionWasUpdated',
BillingAlertTriggeredEvent::class => 'handleBillingAlertTriggeredEvent',
AdminBonusAddedEvent::class => 'handleAdminBonusAddedEvent',
InsufficientBalanceEvent::class => 'handleInsufficientBalanceEvent',
]; ];
} }
} }