added plan synchronization button

This commit is contained in:
Čarodej
2022-05-09 09:57:25 +02:00
parent 0b2d05a899
commit 2c933c65a7
8 changed files with 248 additions and 301 deletions

View File

@@ -1,3 +1,8 @@
## Version 2.1.3
#### Release date: 9. May 2022
- Ability to manually synchronize plans in fixed subscription type
- Improved sanitization for .env values to prevent crash your app
## Version 2.1.2
#### Release date: 8. May 2022
- Fixed issue with chunk uploads (Critical issue affected since 2.1.1)

View File

@@ -29,7 +29,7 @@
"laravel/ui": "^3.4.2",
"league/flysystem-aws-s3-v3": "^3.0.9",
"league/flysystem-ftp": "^3.0",
"makingcg/subscription": "^1.0.5",
"makingcg/subscription": "^1.0.6",
"matthewbdaly/laravel-azure-storage": "^2.0",
"pusher/pusher-php-server": "^7.0",
"spatie/data-transfer-object": "^3.7.3",

364
composer.lock generated
View File

@@ -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": "da78385bb0354b117852966eab7e288c",
"content-hash": "a92e9350b2f10161aaed976505d7c360",
"packages": [
{
"name": "amphp/amp",
@@ -280,16 +280,16 @@
},
{
"name": "aws/aws-sdk-php",
"version": "3.220.0",
"version": "3.222.7",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
"reference": "8beb098a2224742b2756e3b40a07593b1e6ff967"
"reference": "03d35eef5c509798d2c08587cfd9a7c33afe2260"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/8beb098a2224742b2756e3b40a07593b1e6ff967",
"reference": "8beb098a2224742b2756e3b40a07593b1e6ff967",
"url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/03d35eef5c509798d2c08587cfd9a7c33afe2260",
"reference": "03d35eef5c509798d2c08587cfd9a7c33afe2260",
"shasum": ""
},
"require": {
@@ -365,9 +365,9 @@
"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.220.0"
"source": "https://github.com/aws/aws-sdk-php/tree/3.222.7"
},
"time": "2022-04-19T18:17:15+00:00"
"time": "2022-05-06T18:16:59+00:00"
},
{
"name": "bacon/bacon-qr-code",
@@ -1413,21 +1413,21 @@
},
{
"name": "doctrine/dbal",
"version": "2.13.8",
"version": "2.13.9",
"source": {
"type": "git",
"url": "https://github.com/doctrine/dbal.git",
"reference": "dc9b3c3c8592c935a6e590441f9abc0f9eba335b"
"reference": "c480849ca3ad6706a39c970cdfe6888fa8a058b8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/dc9b3c3c8592c935a6e590441f9abc0f9eba335b",
"reference": "dc9b3c3c8592c935a6e590441f9abc0f9eba335b",
"url": "https://api.github.com/repos/doctrine/dbal/zipball/c480849ca3ad6706a39c970cdfe6888fa8a058b8",
"reference": "c480849ca3ad6706a39c970cdfe6888fa8a058b8",
"shasum": ""
},
"require": {
"doctrine/cache": "^1.0|^2.0",
"doctrine/deprecations": "^0.5.3",
"doctrine/deprecations": "^0.5.3|^1",
"doctrine/event-manager": "^1.0",
"ext-pdo": "*",
"php": "^7.1 || ^8"
@@ -1502,7 +1502,7 @@
],
"support": {
"issues": "https://github.com/doctrine/dbal/issues",
"source": "https://github.com/doctrine/dbal/tree/2.13.8"
"source": "https://github.com/doctrine/dbal/tree/2.13.9"
},
"funding": [
{
@@ -1518,29 +1518,29 @@
"type": "tidelift"
}
],
"time": "2022-03-09T15:25:46+00:00"
"time": "2022-05-02T20:28:55+00:00"
},
{
"name": "doctrine/deprecations",
"version": "v0.5.3",
"version": "v1.0.0",
"source": {
"type": "git",
"url": "https://github.com/doctrine/deprecations.git",
"reference": "9504165960a1f83cc1480e2be1dd0a0478561314"
"reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/deprecations/zipball/9504165960a1f83cc1480e2be1dd0a0478561314",
"reference": "9504165960a1f83cc1480e2be1dd0a0478561314",
"url": "https://api.github.com/repos/doctrine/deprecations/zipball/0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de",
"reference": "0e2a4f1f8cdfc7a92ec3b01c9334898c806b30de",
"shasum": ""
},
"require": {
"php": "^7.1|^8.0"
},
"require-dev": {
"doctrine/coding-standard": "^6.0|^7.0|^8.0",
"phpunit/phpunit": "^7.0|^8.0|^9.0",
"psr/log": "^1.0"
"doctrine/coding-standard": "^9",
"phpunit/phpunit": "^7.5|^8.5|^9.5",
"psr/log": "^1|^2|^3"
},
"suggest": {
"psr/log": "Allows logging deprecations via PSR-3 logger implementation"
@@ -1559,9 +1559,9 @@
"homepage": "https://www.doctrine-project.org/",
"support": {
"issues": "https://github.com/doctrine/deprecations/issues",
"source": "https://github.com/doctrine/deprecations/tree/v0.5.3"
"source": "https://github.com/doctrine/deprecations/tree/v1.0.0"
},
"time": "2021-03-21T12:59:47+00:00"
"time": "2022-05-02T15:47:09+00:00"
},
{
"name": "doctrine/event-manager",
@@ -3290,16 +3290,16 @@
},
{
"name": "laravel/framework",
"version": "v9.9.0",
"version": "v9.11.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
"reference": "4d5a07640891b772188d7737348886a0222737d8"
"reference": "598a8c84d452a66b90a3213b1d67189cc726c728"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/4d5a07640891b772188d7737348886a0222737d8",
"reference": "4d5a07640891b772188d7737348886a0222737d8",
"url": "https://api.github.com/repos/laravel/framework/zipball/598a8c84d452a66b90a3213b1d67189cc726c728",
"reference": "598a8c84d452a66b90a3213b1d67189cc726c728",
"shasum": ""
},
"require": {
@@ -3465,7 +3465,7 @@
"issues": "https://github.com/laravel/framework/issues",
"source": "https://github.com/laravel/framework"
},
"time": "2022-04-19T15:01:23+00:00"
"time": "2022-05-03T14:47:20+00:00"
},
{
"name": "laravel/sanctum",
@@ -3534,16 +3534,16 @@
},
{
"name": "laravel/scout",
"version": "v9.4.7",
"version": "v9.4.9",
"source": {
"type": "git",
"url": "https://github.com/laravel/scout.git",
"reference": "46114761e835ae77e6b6b26abceb5ae63859ba98"
"reference": "61ce79ce87fbebb28dcc0dd8f95776aa0dec00c8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/scout/zipball/46114761e835ae77e6b6b26abceb5ae63859ba98",
"reference": "46114761e835ae77e6b6b26abceb5ae63859ba98",
"url": "https://api.github.com/repos/laravel/scout/zipball/61ce79ce87fbebb28dcc0dd8f95776aa0dec00c8",
"reference": "61ce79ce87fbebb28dcc0dd8f95776aa0dec00c8",
"shasum": ""
},
"require": {
@@ -3602,7 +3602,7 @@
"issues": "https://github.com/laravel/scout/issues",
"source": "https://github.com/laravel/scout"
},
"time": "2022-04-06T09:38:17+00:00"
"time": "2022-05-05T14:24:18+00:00"
},
{
"name": "laravel/serializable-closure",
@@ -4051,16 +4051,16 @@
},
{
"name": "league/flysystem",
"version": "3.0.17",
"version": "3.0.19",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem.git",
"reference": "29eb78cac0be0c22237c5e0f6f98234d97037d79"
"reference": "670df21225d68d165a8df38587ac3f41caf608f8"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/29eb78cac0be0c22237c5e0f6f98234d97037d79",
"reference": "29eb78cac0be0c22237c5e0f6f98234d97037d79",
"url": "https://api.github.com/repos/thephpleague/flysystem/zipball/670df21225d68d165a8df38587ac3f41caf608f8",
"reference": "670df21225d68d165a8df38587ac3f41caf608f8",
"shasum": ""
},
"require": {
@@ -4121,7 +4121,7 @@
],
"support": {
"issues": "https://github.com/thephpleague/flysystem/issues",
"source": "https://github.com/thephpleague/flysystem/tree/3.0.17"
"source": "https://github.com/thephpleague/flysystem/tree/3.0.19"
},
"funding": [
{
@@ -4137,7 +4137,7 @@
"type": "tidelift"
}
],
"time": "2022-04-14T14:57:13+00:00"
"time": "2022-05-03T21:19:02+00:00"
},
{
"name": "league/flysystem-aws-s3-v3",
@@ -4238,16 +4238,16 @@
},
{
"name": "league/flysystem-ftp",
"version": "3.0.9",
"version": "3.0.19",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/flysystem-ftp.git",
"reference": "38d829f6bbb1a5368e9bf9117273df6aaaa51938"
"reference": "aa86ee4643ae2093dac68d2821699ce686cd5689"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/flysystem-ftp/zipball/38d829f6bbb1a5368e9bf9117273df6aaaa51938",
"reference": "38d829f6bbb1a5368e9bf9117273df6aaaa51938",
"url": "https://api.github.com/repos/thephpleague/flysystem-ftp/zipball/aa86ee4643ae2093dac68d2821699ce686cd5689",
"reference": "aa86ee4643ae2093dac68d2821699ce686cd5689",
"shasum": ""
},
"require": {
@@ -4282,7 +4282,7 @@
"ftpd"
],
"support": {
"source": "https://github.com/thephpleague/flysystem-ftp/tree/3.0.9"
"source": "https://github.com/thephpleague/flysystem-ftp/tree/3.0.19"
},
"funding": [
{
@@ -4298,7 +4298,7 @@
"type": "tidelift"
}
],
"time": "2022-02-22T07:15:18+00:00"
"time": "2022-05-03T21:11:18+00:00"
},
{
"name": "league/mime-type-detection",
@@ -4505,17 +4505,11 @@
},
{
"name": "makingcg/subscription",
"version": "1.0.5",
"source": {
"type": "git",
"url": "git@github.com:VueFileManager/subscription.git",
"reference": "9e9e137c7e0a99cc40a46a8da64d479041a0105e"
},
"version": "dev-main",
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/VueFileManager/subscription/zipball/9e9e137c7e0a99cc40a46a8da64d479041a0105e",
"reference": "9e9e137c7e0a99cc40a46a8da64d479041a0105e",
"shasum": ""
"type": "path",
"url": "../../PhpstormProjects/subscription",
"reference": "9e9e137c7e0a99cc40a46a8da64d479041a0105e"
},
"require": {
"friendsofphp/php-cs-fixer": "^3.6.0",
@@ -4599,17 +4593,9 @@
"laravel",
"subscription"
],
"support": {
"source": "https://github.com/VueFileManager/subscription/tree/1.0.5",
"issues": "https://github.com/VueFileManager/subscription/issues"
},
"funding": [
{
"type": "github",
"url": "https://github.com/VueFileManager"
}
],
"time": "2022-04-19T16:04:20+00:00"
"transport-options": {
"relative": true
}
},
{
"name": "matthewbdaly/laravel-azure-storage",
@@ -5049,16 +5035,16 @@
},
{
"name": "nesbot/carbon",
"version": "2.57.0",
"version": "2.58.0",
"source": {
"type": "git",
"url": "https://github.com/briannesbitt/Carbon.git",
"reference": "4a54375c21eea4811dbd1149fe6b246517554e78"
"reference": "97a34af22bde8d0ac20ab34b29d7bfe360902055"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/4a54375c21eea4811dbd1149fe6b246517554e78",
"reference": "4a54375c21eea4811dbd1149fe6b246517554e78",
"url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/97a34af22bde8d0ac20ab34b29d7bfe360902055",
"reference": "97a34af22bde8d0ac20ab34b29d7bfe360902055",
"shasum": ""
},
"require": {
@@ -5076,7 +5062,8 @@
"phpmd/phpmd": "^2.9",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^0.12.54 || ^1.0",
"phpunit/phpunit": "^7.5.20 || ^8.5.14",
"phpunit/php-file-iterator": "^2.0.5",
"phpunit/phpunit": "^7.5.20 || ^8.5.23",
"squizlabs/php_codesniffer": "^3.4"
},
"bin": [
@@ -5141,7 +5128,7 @@
"type": "tidelift"
}
],
"time": "2022-02-13T18:13:33+00:00"
"time": "2022-04-25T19:31:17+00:00"
},
{
"name": "netresearch/jsonmapper",
@@ -7002,16 +6989,16 @@
},
{
"name": "psy/psysh",
"version": "v0.11.2",
"version": "v0.11.4",
"source": {
"type": "git",
"url": "https://github.com/bobthecow/psysh.git",
"reference": "7f7da640d68b9c9fec819caae7c744a213df6514"
"reference": "05c544b339b112226ad14803e1e5b09a61957454"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/7f7da640d68b9c9fec819caae7c744a213df6514",
"reference": "7f7da640d68b9c9fec819caae7c744a213df6514",
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/05c544b339b112226ad14803e1e5b09a61957454",
"reference": "05c544b339b112226ad14803e1e5b09a61957454",
"shasum": ""
},
"require": {
@@ -7026,15 +7013,13 @@
"symfony/console": "4.4.37 || 5.3.14 || 5.3.15 || 5.4.3 || 5.4.4 || 6.0.3 || 6.0.4"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.2",
"hoa/console": "3.17.05.02"
"bamarni/composer-bin-plugin": "^1.2"
},
"suggest": {
"ext-pcntl": "Enabling the PCNTL extension makes PsySH a lot happier :)",
"ext-pdo-sqlite": "The doc command requires SQLite to work.",
"ext-posix": "If you have PCNTL, you'll want the POSIX extension as well.",
"ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history.",
"hoa/console": "A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit."
"ext-readline": "Enables support for arrow-key history navigation, and showing and manipulating command history."
},
"bin": [
"bin/psysh"
@@ -7074,9 +7059,9 @@
],
"support": {
"issues": "https://github.com/bobthecow/psysh/issues",
"source": "https://github.com/bobthecow/psysh/tree/v0.11.2"
"source": "https://github.com/bobthecow/psysh/tree/v0.11.4"
},
"time": "2022-02-28T15:28:54+00:00"
"time": "2022-05-06T12:49:14+00:00"
},
{
"name": "pusher/pusher-php-server",
@@ -9461,16 +9446,16 @@
},
{
"name": "spatie/laravel-query-builder",
"version": "5.0.1",
"version": "5.0.2",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-query-builder.git",
"reference": "2970e54b04306a6de586d23ac3e0bab994ef645a"
"reference": "fceb1e1814b117494a277b765050a3a10bfc162f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-query-builder/zipball/2970e54b04306a6de586d23ac3e0bab994ef645a",
"reference": "2970e54b04306a6de586d23ac3e0bab994ef645a",
"url": "https://api.github.com/repos/spatie/laravel-query-builder/zipball/fceb1e1814b117494a277b765050a3a10bfc162f",
"reference": "fceb1e1814b117494a277b765050a3a10bfc162f",
"shasum": ""
},
"require": {
@@ -9529,7 +9514,7 @@
"type": "custom"
}
],
"time": "2022-03-18T07:44:25+00:00"
"time": "2022-04-25T07:07:24+00:00"
},
{
"name": "spatie/laravel-queueable-action",
@@ -9944,16 +9929,16 @@
},
{
"name": "stripe/stripe-php",
"version": "v7.124.0",
"version": "v7.128.0",
"source": {
"type": "git",
"url": "https://github.com/stripe/stripe-php.git",
"reference": "548e8ef08a86c6c621446082393dc6a1af51076c"
"reference": "c704949c49b72985c76cc61063aa26fefbd2724e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/stripe/stripe-php/zipball/548e8ef08a86c6c621446082393dc6a1af51076c",
"reference": "548e8ef08a86c6c621446082393dc6a1af51076c",
"url": "https://api.github.com/repos/stripe/stripe-php/zipball/c704949c49b72985c76cc61063aa26fefbd2724e",
"reference": "c704949c49b72985c76cc61063aa26fefbd2724e",
"shasum": ""
},
"require": {
@@ -9998,22 +9983,22 @@
],
"support": {
"issues": "https://github.com/stripe/stripe-php/issues",
"source": "https://github.com/stripe/stripe-php/tree/v7.124.0"
"source": "https://github.com/stripe/stripe-php/tree/v7.128.0"
},
"time": "2022-04-18T23:07:08+00:00"
"time": "2022-05-05T17:18:02+00:00"
},
{
"name": "symfony/console",
"version": "v6.0.7",
"version": "v6.0.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "70dcf7b2ca2ea08ad6ebcc475f104a024fb5632e"
"reference": "0d00aa289215353aa8746a31d101f8e60826285c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/70dcf7b2ca2ea08ad6ebcc475f104a024fb5632e",
"reference": "70dcf7b2ca2ea08ad6ebcc475f104a024fb5632e",
"url": "https://api.github.com/repos/symfony/console/zipball/0d00aa289215353aa8746a31d101f8e60826285c",
"reference": "0d00aa289215353aa8746a31d101f8e60826285c",
"shasum": ""
},
"require": {
@@ -10079,7 +10064,7 @@
"terminal"
],
"support": {
"source": "https://github.com/symfony/console/tree/v6.0.7"
"source": "https://github.com/symfony/console/tree/v6.0.8"
},
"funding": [
{
@@ -10095,7 +10080,7 @@
"type": "tidelift"
}
],
"time": "2022-03-31T17:18:25+00:00"
"time": "2022-04-20T15:01:42+00:00"
},
{
"name": "symfony/css-selector",
@@ -10231,16 +10216,16 @@
},
{
"name": "symfony/error-handler",
"version": "v6.0.7",
"version": "v6.0.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/error-handler.git",
"reference": "e600c54e5b30555eecea3ffe4314e58f832e78ee"
"reference": "5e2795163acbd13b3cd46835c9f8f6c5d0a3a280"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/e600c54e5b30555eecea3ffe4314e58f832e78ee",
"reference": "e600c54e5b30555eecea3ffe4314e58f832e78ee",
"url": "https://api.github.com/repos/symfony/error-handler/zipball/5e2795163acbd13b3cd46835c9f8f6c5d0a3a280",
"reference": "5e2795163acbd13b3cd46835c9f8f6c5d0a3a280",
"shasum": ""
},
"require": {
@@ -10282,7 +10267,7 @@
"description": "Provides tools to manage errors and ease debugging PHP code",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/error-handler/tree/v6.0.7"
"source": "https://github.com/symfony/error-handler/tree/v6.0.8"
},
"funding": [
{
@@ -10298,7 +10283,7 @@
"type": "tidelift"
}
],
"time": "2022-03-18T16:21:55+00:00"
"time": "2022-04-12T16:11:42+00:00"
},
{
"name": "symfony/event-dispatcher",
@@ -10527,16 +10512,16 @@
},
{
"name": "symfony/finder",
"version": "v6.0.3",
"version": "v6.0.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "8661b74dbabc23223f38c9b99d3f8ade71170430"
"reference": "af7edab28d17caecd1f40a9219fc646ae751c21f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/8661b74dbabc23223f38c9b99d3f8ade71170430",
"reference": "8661b74dbabc23223f38c9b99d3f8ade71170430",
"url": "https://api.github.com/repos/symfony/finder/zipball/af7edab28d17caecd1f40a9219fc646ae751c21f",
"reference": "af7edab28d17caecd1f40a9219fc646ae751c21f",
"shasum": ""
},
"require": {
@@ -10568,7 +10553,7 @@
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/finder/tree/v6.0.3"
"source": "https://github.com/symfony/finder/tree/v6.0.8"
},
"funding": [
{
@@ -10584,20 +10569,20 @@
"type": "tidelift"
}
],
"time": "2022-01-26T17:23:29+00:00"
"time": "2022-04-15T08:07:58+00:00"
},
{
"name": "symfony/http-client",
"version": "v6.0.7",
"version": "v6.0.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-client.git",
"reference": "a7930c47248b9b57e9d0b8da100ffc1e031536dc"
"reference": "d347895193283e08b4c3ebf2f2974a1df3e1f670"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-client/zipball/a7930c47248b9b57e9d0b8da100ffc1e031536dc",
"reference": "a7930c47248b9b57e9d0b8da100ffc1e031536dc",
"url": "https://api.github.com/repos/symfony/http-client/zipball/d347895193283e08b4c3ebf2f2974a1df3e1f670",
"reference": "d347895193283e08b4c3ebf2f2974a1df3e1f670",
"shasum": ""
},
"require": {
@@ -10652,7 +10637,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.0.7"
"source": "https://github.com/symfony/http-client/tree/v6.0.8"
},
"funding": [
{
@@ -10668,7 +10653,7 @@
"type": "tidelift"
}
],
"time": "2022-04-01T12:27:43+00:00"
"time": "2022-04-12T16:11:42+00:00"
},
{
"name": "symfony/http-client-contracts",
@@ -10750,16 +10735,16 @@
},
{
"name": "symfony/http-foundation",
"version": "v6.0.7",
"version": "v6.0.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-foundation.git",
"reference": "c816b26f03b6902dba79b352c84a17f53d815f0d"
"reference": "c9c86b02d7ef6f44f3154acc7de42831518afe7c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/c816b26f03b6902dba79b352c84a17f53d815f0d",
"reference": "c816b26f03b6902dba79b352c84a17f53d815f0d",
"url": "https://api.github.com/repos/symfony/http-foundation/zipball/c9c86b02d7ef6f44f3154acc7de42831518afe7c",
"reference": "c9c86b02d7ef6f44f3154acc7de42831518afe7c",
"shasum": ""
},
"require": {
@@ -10802,7 +10787,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.0.7"
"source": "https://github.com/symfony/http-foundation/tree/v6.0.8"
},
"funding": [
{
@@ -10818,20 +10803,20 @@
"type": "tidelift"
}
],
"time": "2022-03-24T14:13:59+00:00"
"time": "2022-04-22T08:18:02+00:00"
},
{
"name": "symfony/http-kernel",
"version": "v6.0.7",
"version": "v6.0.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
"reference": "9c03dab07a6aa336ffaadc15352b1d14f4ce01f5"
"reference": "7aaf1cdc9cc2ad47e926f624efcb679883a39ca7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/9c03dab07a6aa336ffaadc15352b1d14f4ce01f5",
"reference": "9c03dab07a6aa336ffaadc15352b1d14f4ce01f5",
"url": "https://api.github.com/repos/symfony/http-kernel/zipball/7aaf1cdc9cc2ad47e926f624efcb679883a39ca7",
"reference": "7aaf1cdc9cc2ad47e926f624efcb679883a39ca7",
"shasum": ""
},
"require": {
@@ -10911,7 +10896,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.0.7"
"source": "https://github.com/symfony/http-kernel/tree/v6.0.8"
},
"funding": [
{
@@ -10927,20 +10912,20 @@
"type": "tidelift"
}
],
"time": "2022-04-02T06:35:11+00:00"
"time": "2022-04-27T17:26:02+00:00"
},
{
"name": "symfony/mailer",
"version": "v6.0.7",
"version": "v6.0.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/mailer.git",
"reference": "f7343f94e7afecca2ad840b078f9d80200e1bd27"
"reference": "706af6b3e99ebcbc639c9c664f5579aaa869409b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/mailer/zipball/f7343f94e7afecca2ad840b078f9d80200e1bd27",
"reference": "f7343f94e7afecca2ad840b078f9d80200e1bd27",
"url": "https://api.github.com/repos/symfony/mailer/zipball/706af6b3e99ebcbc639c9c664f5579aaa869409b",
"reference": "706af6b3e99ebcbc639c9c664f5579aaa869409b",
"shasum": ""
},
"require": {
@@ -10985,7 +10970,7 @@
"description": "Helps sending emails",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/mailer/tree/v6.0.7"
"source": "https://github.com/symfony/mailer/tree/v6.0.8"
},
"funding": [
{
@@ -11001,7 +10986,7 @@
"type": "tidelift"
}
],
"time": "2022-03-18T16:06:28+00:00"
"time": "2022-04-27T17:10:30+00:00"
},
{
"name": "symfony/mailgun-mailer",
@@ -11070,16 +11055,16 @@
},
{
"name": "symfony/mime",
"version": "v6.0.7",
"version": "v6.0.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/mime.git",
"reference": "74266e396f812a2301536397a6360b6e6913c0d8"
"reference": "c1701e88ad0ca49fc6ad6cdf360bc0e1209fb5e1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/mime/zipball/74266e396f812a2301536397a6360b6e6913c0d8",
"reference": "74266e396f812a2301536397a6360b6e6913c0d8",
"url": "https://api.github.com/repos/symfony/mime/zipball/c1701e88ad0ca49fc6ad6cdf360bc0e1209fb5e1",
"reference": "c1701e88ad0ca49fc6ad6cdf360bc0e1209fb5e1",
"shasum": ""
},
"require": {
@@ -11131,7 +11116,7 @@
"mime-type"
],
"support": {
"source": "https://github.com/symfony/mime/tree/v6.0.7"
"source": "https://github.com/symfony/mime/tree/v6.0.8"
},
"funding": [
{
@@ -11147,7 +11132,7 @@
"type": "tidelift"
}
],
"time": "2022-03-13T20:10:05+00:00"
"time": "2022-04-12T16:11:42+00:00"
},
{
"name": "symfony/options-resolver",
@@ -11938,16 +11923,16 @@
},
{
"name": "symfony/process",
"version": "v6.0.7",
"version": "v6.0.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/process.git",
"reference": "e13f6757e267d687e20ec5b26ccfcbbe511cd8f4"
"reference": "d074154ea8b1443a96391f6e39f9e547b2dd01b9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/process/zipball/e13f6757e267d687e20ec5b26ccfcbbe511cd8f4",
"reference": "e13f6757e267d687e20ec5b26ccfcbbe511cd8f4",
"url": "https://api.github.com/repos/symfony/process/zipball/d074154ea8b1443a96391f6e39f9e547b2dd01b9",
"reference": "d074154ea8b1443a96391f6e39f9e547b2dd01b9",
"shasum": ""
},
"require": {
@@ -11979,7 +11964,7 @@
"description": "Executes commands in sub-processes",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/process/tree/v6.0.7"
"source": "https://github.com/symfony/process/tree/v6.0.8"
},
"funding": [
{
@@ -11995,7 +11980,7 @@
"type": "tidelift"
}
],
"time": "2022-03-18T16:21:55+00:00"
"time": "2022-04-12T16:11:42+00:00"
},
{
"name": "symfony/psr-http-message-bridge",
@@ -12087,16 +12072,16 @@
},
{
"name": "symfony/routing",
"version": "v6.0.5",
"version": "v6.0.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/routing.git",
"reference": "a738b152426ac7fcb94bdab8188264652238bef1"
"reference": "74c40c9fc334acc601a32fcf4274e74fb3bac11e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/routing/zipball/a738b152426ac7fcb94bdab8188264652238bef1",
"reference": "a738b152426ac7fcb94bdab8188264652238bef1",
"url": "https://api.github.com/repos/symfony/routing/zipball/74c40c9fc334acc601a32fcf4274e74fb3bac11e",
"reference": "74c40c9fc334acc601a32fcf4274e74fb3bac11e",
"shasum": ""
},
"require": {
@@ -12155,7 +12140,7 @@
"url"
],
"support": {
"source": "https://github.com/symfony/routing/tree/v6.0.5"
"source": "https://github.com/symfony/routing/tree/v6.0.8"
},
"funding": [
{
@@ -12171,7 +12156,7 @@
"type": "tidelift"
}
],
"time": "2022-01-31T19:46:53+00:00"
"time": "2022-04-22T08:18:02+00:00"
},
{
"name": "symfony/service-contracts",
@@ -12319,16 +12304,16 @@
},
{
"name": "symfony/string",
"version": "v6.0.3",
"version": "v6.0.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
"reference": "522144f0c4c004c80d56fa47e40e17028e2eefc2"
"reference": "ac0aa5c2282e0de624c175b68d13f2c8f2e2649d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/522144f0c4c004c80d56fa47e40e17028e2eefc2",
"reference": "522144f0c4c004c80d56fa47e40e17028e2eefc2",
"url": "https://api.github.com/repos/symfony/string/zipball/ac0aa5c2282e0de624c175b68d13f2c8f2e2649d",
"reference": "ac0aa5c2282e0de624c175b68d13f2c8f2e2649d",
"shasum": ""
},
"require": {
@@ -12384,7 +12369,7 @@
"utf8"
],
"support": {
"source": "https://github.com/symfony/string/tree/v6.0.3"
"source": "https://github.com/symfony/string/tree/v6.0.8"
},
"funding": [
{
@@ -12400,20 +12385,20 @@
"type": "tidelift"
}
],
"time": "2022-01-02T09:55:41+00:00"
"time": "2022-04-22T08:18:02+00:00"
},
{
"name": "symfony/translation",
"version": "v6.0.7",
"version": "v6.0.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/translation.git",
"reference": "b2792b39d74cf41ea3065f27fd2ddf0b556ac7a1"
"reference": "3d38cf8f8834148c4457681d539bc204de701501"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/translation/zipball/b2792b39d74cf41ea3065f27fd2ddf0b556ac7a1",
"reference": "b2792b39d74cf41ea3065f27fd2ddf0b556ac7a1",
"url": "https://api.github.com/repos/symfony/translation/zipball/3d38cf8f8834148c4457681d539bc204de701501",
"reference": "3d38cf8f8834148c4457681d539bc204de701501",
"shasum": ""
},
"require": {
@@ -12479,7 +12464,7 @@
"description": "Provides tools to internationalize your application",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/translation/tree/v6.0.7"
"source": "https://github.com/symfony/translation/tree/v6.0.8"
},
"funding": [
{
@@ -12495,7 +12480,7 @@
"type": "tidelift"
}
],
"time": "2022-03-31T17:18:25+00:00"
"time": "2022-04-22T08:18:02+00:00"
},
{
"name": "symfony/translation-contracts",
@@ -12577,16 +12562,16 @@
},
{
"name": "symfony/var-dumper",
"version": "v6.0.6",
"version": "v6.0.8",
"source": {
"type": "git",
"url": "https://github.com/symfony/var-dumper.git",
"reference": "38358405ae948963c50a3aae3dfea598223ba15e"
"reference": "fa61dfb4bd3068df2492013dc65f3190e9f550c0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/38358405ae948963c50a3aae3dfea598223ba15e",
"reference": "38358405ae948963c50a3aae3dfea598223ba15e",
"url": "https://api.github.com/repos/symfony/var-dumper/zipball/fa61dfb4bd3068df2492013dc65f3190e9f550c0",
"reference": "fa61dfb4bd3068df2492013dc65f3190e9f550c0",
"shasum": ""
},
"require": {
@@ -12645,7 +12630,7 @@
"dump"
],
"support": {
"source": "https://github.com/symfony/var-dumper/tree/v6.0.6"
"source": "https://github.com/symfony/var-dumper/tree/v6.0.8"
},
"funding": [
{
@@ -12661,7 +12646,7 @@
"type": "tidelift"
}
],
"time": "2022-03-02T12:58:14+00:00"
"time": "2022-04-26T13:22:23+00:00"
},
{
"name": "teamtnt/laravel-scout-tntsearch-driver",
@@ -12916,16 +12901,16 @@
},
{
"name": "vimeo/psalm",
"version": "4.22.0",
"version": "4.23.0",
"source": {
"type": "git",
"url": "https://github.com/vimeo/psalm.git",
"reference": "fc2c6ab4d5fa5d644d8617089f012f3bb84b8703"
"reference": "f1fe6ff483bf325c803df9f510d09a03fd796f88"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/vimeo/psalm/zipball/fc2c6ab4d5fa5d644d8617089f012f3bb84b8703",
"reference": "fc2c6ab4d5fa5d644d8617089f012f3bb84b8703",
"url": "https://api.github.com/repos/vimeo/psalm/zipball/f1fe6ff483bf325c803df9f510d09a03fd796f88",
"reference": "f1fe6ff483bf325c803df9f510d09a03fd796f88",
"shasum": ""
},
"require": {
@@ -12950,6 +12935,7 @@
"php": "^7.1|^8",
"sebastian/diff": "^3.0 || ^4.0",
"symfony/console": "^3.4.17 || ^4.1.6 || ^5.0 || ^6.0",
"symfony/polyfill-php80": "^1.25",
"webmozart/path-util": "^2.3"
},
"provide": {
@@ -13016,9 +13002,9 @@
],
"support": {
"issues": "https://github.com/vimeo/psalm/issues",
"source": "https://github.com/vimeo/psalm/tree/4.22.0"
"source": "https://github.com/vimeo/psalm/tree/4.23.0"
},
"time": "2022-02-24T20:34:05+00:00"
"time": "2022-04-28T17:35:49+00:00"
},
{
"name": "vlucas/phpdotenv",
@@ -14581,16 +14567,16 @@
},
{
"name": "spatie/ignition",
"version": "1.2.7",
"version": "1.2.9",
"source": {
"type": "git",
"url": "https://github.com/spatie/ignition.git",
"reference": "2f059cf42b48f7c522efbba1c05ad59fc2c1a3f2"
"reference": "db25202fab2d5c14613b8914a1bb374998bbf870"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/ignition/zipball/2f059cf42b48f7c522efbba1c05ad59fc2c1a3f2",
"reference": "2f059cf42b48f7c522efbba1c05ad59fc2c1a3f2",
"url": "https://api.github.com/repos/spatie/ignition/zipball/db25202fab2d5c14613b8914a1bb374998bbf870",
"reference": "db25202fab2d5c14613b8914a1bb374998bbf870",
"shasum": ""
},
"require": {
@@ -14647,20 +14633,20 @@
"type": "github"
}
],
"time": "2022-03-29T08:48:34+00:00"
"time": "2022-04-23T20:37:21+00:00"
},
{
"name": "spatie/laravel-ignition",
"version": "1.2.2",
"version": "1.2.3",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-ignition.git",
"reference": "924d1ae878874ad0bb49f63b69a9af759a34ee78"
"reference": "51e5daaa7e43c154fe57f1ddfbba862f9fe57646"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/924d1ae878874ad0bb49f63b69a9af759a34ee78",
"reference": "924d1ae878874ad0bb49f63b69a9af759a34ee78",
"url": "https://api.github.com/repos/spatie/laravel-ignition/zipball/51e5daaa7e43c154fe57f1ddfbba862f9fe57646",
"reference": "51e5daaa7e43c154fe57f1ddfbba862f9fe57646",
"shasum": ""
},
"require": {
@@ -14737,7 +14723,7 @@
"type": "github"
}
],
"time": "2022-04-14T18:04:51+00:00"
"time": "2022-05-05T15:53:24+00:00"
},
{
"name": "symfony/polyfill-php73",
@@ -14821,7 +14807,9 @@
],
"aliases": [],
"minimum-stability": "dev",
"stability-flags": [],
"stability-flags": {
"makingcg/subscription": 20
},
"prefer-stable": true,
"prefer-lowest": false,
"platform": {

View File

@@ -263,6 +263,10 @@ return [
'Description' => 'description',
'description' => 'description',
'generated_by' => 'Generated by',
'synchronize_plans' => 'Synchronize Plans',
'synchronizing_plans' => 'Synchronizing Plans...',
'plans_are_synchronizing' => 'Your plans are synchronizing with the payment gateways',
'plans_was_synchronized' => 'Plans was successfully synchronized',
],
'regular' => [
'type' => 'Type',

View File

@@ -1,7 +1,7 @@
<?php
return [
'version' => '2.1.2',
'version' => '2.1.3',
'is_demo' => env('APP_DEMO', false),

View File

@@ -1,13 +1,27 @@
<template>
<transition name="popup">
<div class="popup" v-if="processingPopup">
<div class="popup-wrapper">
<div class="popup-content">
<div class="spinner-wrapper">
<Spinner />
<div
v-if="processingPopup"
class="popup fixed top-0 left-0 right-0 bottom-0 z-50 grid h-full overflow-y-auto p-10 lg:absolute"
>
<div
class="fixed top-0 bottom-0 left-0 right-0 z-10 m-auto w-full bg-white shadow-xl dark:bg-dark-foreground md:relative md:w-[490px] md:rounded-xl"
>
<div
class="flex h-full -translate-y-7 transform items-center justify-center px-8 text-center md:translate-y-0"
>
<div>
<div class="relative pb-16 pt-10">
<Spinner />
</div>
<h1 v-if="processingPopup.title" class="mb-2 text-2xl font-bold">
{{ processingPopup.title }}
</h1>
<p v-if="processingPopup.message" class="mb-4 text-sm">
{{ processingPopup.message }}
</p>
</div>
<h1 class="title">{{ processingPopup.title }}</h1>
<p class="message">{{ processingPopup.message }}</p>
</div>
</div>
</div>
@@ -17,10 +31,12 @@
<script>
import Spinner from '../UI/Others/Spinner'
import { mapGetters } from 'vuex'
import PopupWrapper from './Components/PopupWrapper'
export default {
name: 'ProcessingPopup',
components: {
PopupWrapper,
Spinner,
},
computed: {
@@ -28,107 +44,3 @@ export default {
},
}
</script>
<style scoped lang="scss">
@import '../../../sass/vuefilemanager/variables';
@import '../../../sass/vuefilemanager/mixins';
.spinner-wrapper {
padding-bottom: 90px;
position: relative;
}
.popup {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 20;
overflow: auto;
height: 100%;
}
.popup-wrapper {
z-index: 12;
position: absolute;
left: 0;
right: 0;
max-width: 480px;
top: 50%;
transform: translateY(-50%) scale(1);
margin: 0 auto;
padding: 20px;
box-shadow: $light_mode_popup_shadow;
border-radius: 8px;
text-align: center;
background: white;
}
.popup-content {
.title {
@include font-size(22);
font-weight: 700;
color: $text;
}
.message {
@include font-size(16);
color: #333;
margin-top: 5px;
}
}
@media only screen and (max-width: 690px) {
.popup-wrapper {
padding: 20px;
left: 15px;
right: 15px;
}
.popup-content {
.title {
@include font-size(19);
}
.message {
@include font-size(15);
}
}
}
.dark {
.popup-wrapper {
background: $dark_mode_foreground;
}
.popup-content {
.title {
color: $dark_mode_text_primary;
}
.message {
color: $dark_mode_text_secondary;
}
}
}
// Animations
.popup-enter-active {
animation: popup-in 0.35s 0.15s ease both;
}
.popup-leave-active {
animation: popup-in 0.15s ease reverse;
}
@keyframes popup-in {
0% {
opacity: 0;
transform: scale(0.7);
}
100% {
opacity: 1;
transform: scale(1);
}
}
</style>

View File

@@ -15,6 +15,7 @@
<!--ConfirmPopup Popup-->
<ConfirmPopup />
<ProcessingPopup />
<!-- Create language popup -->
<CreateLanguage />
@@ -88,6 +89,7 @@ import CreateUploadRequestPopup from "../components/UploadRequest/CreateUploadRe
import CreateTeamFolderPopup from "../components/Teams/CreateTeamFolderPopup";
import NotificationsPopup from "../components/Notifications/NotificationsPopup";
import RemoteUploadPopup from "../components/RemoteUpload/RemoteUploadPopup";
import ProcessingPopup from "../components/Popups/ProcessingPopup";
export default {
name: 'Admin',
@@ -192,6 +194,7 @@ export default {
},
},
components: {
ProcessingPopup,
RemoteUploadPopup,
NotificationsPopup,
CreateTeamFolderPopup,

View File

@@ -9,6 +9,9 @@
{{ $t('create_plan') }}
</MobileActionButton>
</router-link>
<MobileActionButton @click.native="synchronizePlans" icon="refresh">
{{ $t('synchronize_plans') }}
</MobileActionButton>
</div>
<!--Datatable-->
@@ -202,6 +205,7 @@ import ButtonBase from '../../components/UI/Buttons/ButtonBase'
import ColorLabel from '../../components/UI/Labels/ColorLabel'
import { Trash2Icon, Edit2Icon } from 'vue-feather-icons'
import { mapGetters } from 'vuex'
import {events} from "../../bus";
export default {
name: 'Plans',
@@ -296,5 +300,36 @@ export default {
}[this.config.subscriptionType]
},
},
methods: {
synchronizePlans() {
let processingPopup = setTimeout(() => {
this.$store.commit('PROCESSING_POPUP', {
title: this.$t('synchronizing_plans'),
message: this.$t('plans_are_synchronizing'),
})
}, 300)
axios.get('/api/subscriptions/admin/plans/synchronize')
.then(() => {
events.$emit('toaster', {
type: 'success',
message: this.$t('plans_was_synchronized'),
})
})
.catch((error) => {
if (error.response.status === 500 && error.response.data.type) {
events.$emit('alert:open', {
title: error.response.data.title,
message: error.response.data.message,
})
}
})
.finally(() => {
clearTimeout(processingPopup)
this.$store.commit('PROCESSING_POPUP', undefined)
})
}
}
}
</script>