Completely rewritten the Plesk adapter

This commit is contained in:
evrifaessa committed 2022-11-05 16:53:51 +03:00
1 parent 10fd1d858c
commit 8d76391326
3 files changed
+425 -900

No files matched your search

File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -33,7 +33,7 @@
"symfony/twig-bridge": "^6.0",
"dompdf/dompdf": "^2.0.1",
"symfony/polyfill-intl-idn" : "*",
"nelexa/zip": "^4.0.2"
"plesk/api-php-lib": "2.0.x-dev"
},
"require-dev": {
@@ -52,4 +52,4 @@
"autoload-dev": {
"psr-0": { "": "../tests/bb-library" }
}
}
}
+124 -136
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": "a4fe4a125c81cf77e7b0cc94a812edda",
"content-hash": "cb820a2156ed462eff4c8baf5928ae22",
"packages": [
{
"name": "composer/ca-bundle",
@@ -891,79 +891,6 @@
],
"time": "2019-09-10T13:16:29+00:00"
},
{
"name": "nelexa/zip",
"version": "4.0.2",
"source": {
"type": "git",
"url": "https://github.com/Ne-Lexa/php-zip.git",
"reference": "88a1b6549be813278ff2dd3b6b2ac188827634a7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Ne-Lexa/php-zip/zipball/88a1b6549be813278ff2dd3b6b2ac188827634a7",
"reference": "88a1b6549be813278ff2dd3b6b2ac188827634a7",
"shasum": ""
},
"require": {
"ext-zlib": "*",
"php": "^7.4 || ^8.0",
"psr/http-message": "*",
"symfony/finder": "*"
},
"require-dev": {
"ext-bz2": "*",
"ext-dom": "*",
"ext-fileinfo": "*",
"ext-iconv": "*",
"ext-openssl": "*",
"ext-xml": "*",
"friendsofphp/php-cs-fixer": "^3.4.0",
"guzzlehttp/psr7": "^1.6",
"phpunit/phpunit": "^9",
"symfony/http-foundation": "*",
"symfony/var-dumper": "*",
"vimeo/psalm": "^4.6"
},
"suggest": {
"ext-bz2": "Needed to support BZIP2 compression",
"ext-fileinfo": "Needed to get mime-type file",
"ext-iconv": "Needed to support convert zip entry name to requested character encoding",
"ext-openssl": "Needed to support encrypt zip entries or use ext-mcrypt"
},
"type": "library",
"autoload": {
"psr-4": {
"PhpZip\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Ne-Lexa",
"email": "alexey@nelexa.ru",
"role": "Developer"
}
],
"description": "PhpZip is a php-library for extended work with ZIP-archives. Open, create, update, delete, extract and get info tool. Supports appending to existing ZIP files, WinZip AES encryption, Traditional PKWARE Encryption, BZIP2 compression, external file attributes and ZIP64 extensions. Alternative ZipArchive. It does not require php-zip extension.",
"homepage": "https://github.com/Ne-Lexa/php-zip",
"keywords": [
"archive",
"extract",
"unzip",
"winzip",
"zip",
"ziparchive"
],
"support": {
"issues": "https://github.com/Ne-Lexa/php-zip/issues",
"source": "https://github.com/Ne-Lexa/php-zip/tree/4.0.2"
},
"time": "2022-06-17T11:17:46+00:00"
},
{
"name": "phenx/php-font-lib",
"version": "0.5.4",
@@ -1185,6 +1112,65 @@
},
"time": "2021-10-28T11:13:42+00:00"
},
{
"name": "plesk/api-php-lib",
"version": "dev-master",
"source": {
"type": "git",
"url": "https://github.com/plesk/api-php-lib.git",
"reference": "ce25ff423cb2b999f2259240cfdb2a4247c54ebc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/plesk/api-php-lib/zipball/ce25ff423cb2b999f2259240cfdb2a4247c54ebc",
"reference": "ce25ff423cb2b999f2259240cfdb2a4247c54ebc",
"shasum": ""
},
"require": {
"ext-curl": "*",
"ext-simplexml": "*",
"ext-xml": "*",
"php": "^7.4 || ^8.0"
},
"require-dev": {
"phpunit/phpunit": "^9",
"spatie/phpunit-watcher": "^1.22",
"squizlabs/php_codesniffer": "^3.6",
"vimeo/psalm": "^4.10"
},
"default-branch": true,
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
}
},
"autoload": {
"psr-4": {
"PleskX\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"authors": [
{
"name": "Alexei Yuzhakov",
"email": "sibprogrammer@gmail.com"
},
{
"name": "Plesk International GmbH.",
"email": "plesk-dev-leads@plesk.com"
}
],
"description": "PHP object-oriented library for Plesk XML-RPC API",
"support": {
"issues": "https://github.com/plesk/api-php-lib/issues",
"source": "https://github.com/plesk/api-php-lib/tree/master"
},
"time": "2022-03-29T07:07:28+00:00"
},
{
"name": "psr/container",
"version": "2.0.2",
@@ -1672,67 +1658,6 @@
],
"time": "2022-01-02T09:55:41+00:00"
},
{
"name": "symfony/finder",
"version": "v6.0.11",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "09cb683ba5720385ea6966e5e06be2a34f2568b1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/09cb683ba5720385ea6966e5e06be2a34f2568b1",
"reference": "09cb683ba5720385ea6966e5e06be2a34f2568b1",
"shasum": ""
},
"require": {
"php": ">=8.0.2"
},
"type": "library",
"autoload": {
"psr-4": {
"Symfony\\Component\\Finder\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/finder/tree/v6.0.11"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2022-07-29T07:39:48+00:00"
},
{
"name": "symfony/polyfill-ctype",
"version": "v1.26.0",
@@ -5071,6 +4996,67 @@
],
"time": "2022-09-21T20:25:27+00:00"
},
{
"name": "symfony/finder",
"version": "v6.0.11",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
"reference": "09cb683ba5720385ea6966e5e06be2a34f2568b1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/finder/zipball/09cb683ba5720385ea6966e5e06be2a34f2568b1",
"reference": "09cb683ba5720385ea6966e5e06be2a34f2568b1",
"shasum": ""
},
"require": {
"php": ">=8.0.2"
},
"type": "library",
"autoload": {
"psr-4": {
"Symfony\\Component\\Finder\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Finds files and directories via an intuitive fluent interface",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/finder/tree/v6.0.11"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2022-07-29T07:39:48+00:00"
},
{
"name": "symfony/options-resolver",
"version": "v6.0.3",
@@ -5724,7 +5710,9 @@
],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"stability-flags": {
"plesk/api-php-lib": 20
},
"prefer-stable": false,
"prefer-lowest": false,
"platform": {