From e987275a767713b6ce9580d81cbd4df74b768fe1 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 12 Feb 2025 12:08:30 +0100 Subject: [PATCH] wip #7328 @0.5 --- app/Models/FluidbookExternalInstallServer.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/Models/FluidbookExternalInstallServer.php b/app/Models/FluidbookExternalInstallServer.php index e0ebf987e..d69d9609a 100644 --- a/app/Models/FluidbookExternalInstallServer.php +++ b/app/Models/FluidbookExternalInstallServer.php @@ -143,7 +143,15 @@ class FluidbookExternalInstallServer extends ExternalServer public function getProtocols() { - return ['FTP' => __('FTP non sécurisé'), 'SFTP' => 'SFTP', 'hosting' => 'Hosting', 'hosting2' => 'Hosting #2', 'ushosting' => 'US Hosting', 'S3' => __('Amazon S3') . ' (' . __('et solutions compatibles') . ')']; + return [ + 'FTP' => __('FTP non sécurisé'), + 'FTPES' => 'FTPES (' . __('FTP sécurisé explicitement') . ')', + 'SFTP' => 'SFTP', + 'hosting' => 'Hosting', + 'hosting2' => 'Hosting #2', + 'ushosting' => 'US Hosting', + 'S3' => __('Amazon S3') . ' (' . __('et solutions compatibles') . ')' + ]; } protected static function getHostingProtocols() @@ -200,6 +208,7 @@ class FluidbookExternalInstallServer extends ExternalServer return ['error' => true, 'message' => __('Un ou plusieurs champs sont invalides') . ': ' . implode(', ', array_keys($validator->errors()->toArray()))]; } + $server = new static(); $server->setRawAttributes($data); -- 2.39.5