From 430b3430b27e43010e2d38e8e05e3421888e222f Mon Sep 17 00:00:00 2001 From: danielejmann Date: Thu, 21 Mar 2024 10:43:51 +0000 Subject: [PATCH 1/4] Allow nameserver configuration within admin panel and show within client panel --- PluginEnhance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluginEnhance.php b/PluginEnhance.php index 5d3454c..9d1eb8a 100644 --- a/PluginEnhance.php +++ b/PluginEnhance.php @@ -8,7 +8,7 @@ class PluginEnhance extends ServerPlugin public $features = [ 'packageName' => true, 'testConnection' => true, - 'showNameservers' => false, + 'showNameservers' => true, 'directlink' => true, 'upgrades' => true ]; From 3f88cf1c6e2fc24ee8e09638c8e6f70bdeba278e Mon Sep 17 00:00:00 2001 From: danielejmann Date: Thu, 21 Mar 2024 10:45:47 +0000 Subject: [PATCH 2/4] Remove setPhpVersion via API as this is set on the Package level in Enhance, therefore it is overriding Enhance configuration --- PluginEnhance.php | 1 - 1 file changed, 1 deletion(-) diff --git a/PluginEnhance.php b/PluginEnhance.php index 9d1eb8a..d01962f 100644 --- a/PluginEnhance.php +++ b/PluginEnhance.php @@ -135,7 +135,6 @@ public function doCreate($args) $website = $api['websitesClient']->createWebsite($orgId, $new_website); $update_website = new \OpenAPI\Client\Model\UpdateWebsite(); - $update_website->setPhpVersion(\OpenAPI\Client\Model\PhpVersion::PHP74); $api['websitesClient']->updateWebsite($orgId, $website['id'], $update_website); From f8c85a875fc1cb70c5cd34632f908378196f2392 Mon Sep 17 00:00:00 2001 From: danielejmann Date: Thu, 21 Mar 2024 10:56:58 +0000 Subject: [PATCH 3/4] Fully removed setPhpVersion code --- PluginEnhance.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/PluginEnhance.php b/PluginEnhance.php index d01962f..4ff0ffa 100644 --- a/PluginEnhance.php +++ b/PluginEnhance.php @@ -134,10 +134,6 @@ public function doCreate($args) $new_website->setDomain($args['package']['domain_name']); $website = $api['websitesClient']->createWebsite($orgId, $new_website); - $update_website = new \OpenAPI\Client\Model\UpdateWebsite(); - - $api['websitesClient']->updateWebsite($orgId, $website['id'], $update_website); - return $userPackage->getCustomField("Domain Name") . ' has been created.'; } From 049bdb2ddad55302bc4448c7921ea2139736277b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 20:19:27 +0000 Subject: [PATCH 4/4] Bump symfony/process from 5.4.24 to 5.4.46 in /api Bumps [symfony/process](https://github.com/symfony/process) from 5.4.24 to 5.4.46. - [Release notes](https://github.com/symfony/process/releases) - [Changelog](https://github.com/symfony/process/blob/7.1/CHANGELOG.md) - [Commits](https://github.com/symfony/process/compare/v5.4.24...v5.4.46) --- updated-dependencies: - dependency-name: symfony/process dependency-type: indirect ... Signed-off-by: dependabot[bot] --- api/composer.lock | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/api/composer.lock b/api/composer.lock index 2cf14ae..fbbd66d 100644 --- a/api/composer.lock +++ b/api/composer.lock @@ -3337,26 +3337,23 @@ }, { "name": "symfony/polyfill-php80", - "version": "v1.27.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", - "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "1.27-dev" - }, "thanks": { "name": "symfony/polyfill", "url": "https://github.com/symfony/polyfill" @@ -3400,7 +3397,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" }, "funding": [ { @@ -3416,7 +3413,7 @@ "type": "tidelift" } ], - "time": "2022-11-03T14:55:06+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php81", @@ -3499,16 +3496,16 @@ }, { "name": "symfony/process", - "version": "v5.4.24", + "version": "v5.4.46", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "e3c46cc5689c8782944274bb30702106ecbe3b64" + "reference": "01906871cb9b5e3cf872863b91aba4ec9767daf4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/e3c46cc5689c8782944274bb30702106ecbe3b64", - "reference": "e3c46cc5689c8782944274bb30702106ecbe3b64", + "url": "https://api.github.com/repos/symfony/process/zipball/01906871cb9b5e3cf872863b91aba4ec9767daf4", + "reference": "01906871cb9b5e3cf872863b91aba4ec9767daf4", "shasum": "" }, "require": { @@ -3541,7 +3538,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.24" + "source": "https://github.com/symfony/process/tree/v5.4.46" }, "funding": [ { @@ -3557,7 +3554,7 @@ "type": "tidelift" } ], - "time": "2023-05-17T11:26:05+00:00" + "time": "2024-11-06T09:18:28+00:00" }, { "name": "symfony/service-contracts", @@ -3856,5 +3853,5 @@ "platform-overrides": { "php": "7.4" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" }