]> _ Git - cubist_cms-back.git/commitdiff
#7567
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 26 May 2025 18:20:22 +0000 (20:20 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 26 May 2025 18:20:22 +0000 (20:20 +0200)
composer.json
src/app/Magic/Models/ExternalServer.php

index 57ad8ce4cbe136667cf93f3ecf341d8cd4dd9b87..feecd8c95df231c6a5c5c8b360d91f8021827a52 100644 (file)
         "cubist/util": "dev-master",
         "cubist/locale": "dev-master",
         "cubist/laravel-backpack-dropzone-field": "dev-master",
-        "spatie/laravel-translatable": "^6.6.0",
-        "venturecraft/revisionable": "^1.40.0",
+        "spatie/laravel-translatable": "^6.11.0",
+        "venturecraft/revisionable": "^1.42.0",
         "cviebrock/eloquent-sluggable": "^10.0.0",
         "lavary/laravel-menu": "^v1.8.3",
-        "graham-campbell/markdown": "^v15.1.0",
-        "barryvdh/laravel-debugbar": "^v3.10.0",
-        "league/commonmark": "^2.4.0",
+        "graham-campbell/markdown": "^v15.3.0",
+        "barryvdh/laravel-debugbar": "^v3.15.0",
+        "league/commonmark": "^2.7.0",
         "cviebrock/laravel-elasticsearch": "^10.0.0",
-        "spatie/laravel-honeypot": "^4.4.0",
+        "spatie/laravel-honeypot": "^4.6.0",
         "chrisjean/php-ico": "^1.0.4",
         "swayok/alternative-laravel-cache": "^6.1.10",
         "cache/redis-adapter": "^1.2.0",
         "backpack/revise-operation": "^1.0.12",
         "digitallyhappy/toggle-field-for-backpack": "^2.0.1",
-        "laravel/framework": "^v10.45.0",
+        "laravel/framework": "^v10.48.0",
         "laravel-lang/lang": "12.19.4",
         "laravel-lang/publisher": "^v14.7.4",
         "spatie/laravel-permission": "^4.4.3|^5.11.0",
         "mews/purifier": "^3.4"
     },
     "require-dev": {
-        "filp/whoops": "^2.15.1",
-        "laravel/tinker": "^v2.8.1",
-        "barryvdh/laravel-ide-helper": "^v2.13.0"
+        "filp/whoops": "^2.18",
+        "laravel/tinker": "^v2.10",
+        "barryvdh/laravel-ide-helper": "^v2.15"
     },
     "extra": {
         "branch-alias": {
index 31bdab24d37d3ebff152df2d2bb3a7d177b51772..d901438bf5da4fc97eaf6d2b6f2792e7f02e6954 100644 (file)
@@ -91,7 +91,7 @@ class ExternalServer extends CubistMagicAbstractModel implements IServer
 
     protected function getProtocols()
     {
-        return ['SFTP' => 'SFTP', 'FTP' => __('FTP non sécurisé'), 'FTPS' => __('FTP sécurisé explicite sur TLS'), 'FTPES' => __('FTP sécurisé implicite sur TLS'), 'S3' => __('Amazon S3') . '(' . __('Et solutions compatibles') . ')'];
+        return ['SFTP' => 'SFTP', 'FTP' => __('FTP non sécurisé'), 'FTPS' => __('FTP sécurisé explicite sur TLS'), 'FTPES' => __('FTP sécurisé implicite sur TLS'), 'S3' => __('Amazon S3') . '(' . __('Et solutions compatibles') . ')', 'GCS' => 'Google Cloud Storage'];
     }
 
     protected function getFTPProtocols()
@@ -131,6 +131,8 @@ class ExternalServer extends CubistMagicAbstractModel implements IServer
             return new SFTP($this);
         } else if ($this->getProtocol() === 'S3') {
             return new S3($this);
+        }else if($this->getProtocol() === 'GCS'){
+            return new GCS($this);
         }
         return null;
     }