]> _ Git - fluidbook-toolbox.git/commitdiff
wip #5700 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 13 Feb 2023 18:17:50 +0000 (19:17 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 13 Feb 2023 18:17:50 +0000 (19:17 +0100)
app/Fluidbook/Packager/Download.php
composer.lock

index 4a9a893d6a021e5d1c101aeed9654bc0e8c3c21e..6c4e0da38845e043b27d29d360689c5e643fb70f 100644 (file)
@@ -19,10 +19,8 @@ class Download extends DownloadBase
     protected $type = 'Fluidbook';
     // __('Fluidbook ":title" (#:nb) prêt au téléchargement')
     protected $_subject = 'Fluidbook ":title" (#:nb) prêt au téléchargement';
-    // __('Fluidbook ":title" (#:nb) installé sur hosting')
-    protected $_installHostingSubject = 'Fluidbook ":title" (#:nb) installé sur hosting';
-    // __('Fluidbook ":title" (#:nb) installé sur un serveur FTP')
-    protected $_installFTPSubject = 'Fluidbook ":title" (#:nb) installé sur hosting';
+    // __('Fluidbook ":title" (#:nb) installé sur :server')
+    protected $_installSubject = 'Fluidbook ":title" (#:nb) installé sur :server';
 
     public function __construct($entry, $version, $action, $user)
     {
@@ -96,12 +94,11 @@ class Download extends DownloadBase
                 if (!$dest) {
                     throw new \Exception('No path defined for external server installation');
                 }
-                $subject = __($this->_installHostingSubject, ['title' => $this->_title(), 'nb' => $this->_id()]);
+                $subject = __($this->_installSubject, ['title' => $this->_title(), 'nb' => $this->_id(), 'server' => $server->name]);
                 $path = $this->_compileandpackage(false);
 
                 $driver = $server->getTransferDriver();
-                $cmd = $driver->copy($path, $dest, false, true);
-                $cmd->dd();
+                $driver->copy($path, $dest, false, false);
 
                 $url = $server->makeURL($dest);
                 if (null !== $url) {
index 33e49a52a644aafbacfbfa47343b287b90849b4f..1475e7b711484670365d0544d484d0c274133070 100644 (file)
             "source": {
                 "type": "git",
                 "url": "git://git.cubedesigners.com/cubist_cms-back.git",
-                "reference": "c29d86d8b3a96982fc4ae82b411beb905f3cca8f"
+                "reference": "612b646c92beff84bb422a48680450270aee7188"
             },
             "dist": {
                 "type": "tar",
-                "url": "https://composer.cubedesigners.com/dist/cubist/cms-back/cubist-cms-back-dev-master-041f34.tar",
-                "reference": "c29d86d8b3a96982fc4ae82b411beb905f3cca8f",
-                "shasum": "839f34e89c67c6b9c1cd96295dbbaaa1c378a9fb"
+                "url": "https://composer.cubedesigners.com/dist/cubist/cms-back/cubist-cms-back-dev-master-fb9b36.tar",
+                "reference": "612b646c92beff84bb422a48680450270aee7188",
+                "shasum": "28c7f1aff4471fcb5447e05970a75c4950560563"
             },
             "require": {
                 "backpack/backupmanager": "^3.0",
                 }
             ],
             "description": "Cubist Backpack extension",
-            "time": "2023-02-10T18:28:29+00:00"
+            "time": "2023-02-13T17:05:54+00:00"
         },
         {
             "name": "cubist/cms-front",
             "source": {
                 "type": "git",
                 "url": "git://git.cubedesigners.com/cubist_net.git",
-                "reference": "c7e86c950bac79f1f8f05627c120cdabd77c572a"
+                "reference": "e213e6046d77cc20ee479b8c14f83421d24ee2e1"
             },
             "dist": {
                 "type": "tar",
-                "url": "https://composer.cubedesigners.com/dist/cubist/net/cubist-net-dev-master-b52505.tar",
-                "reference": "c7e86c950bac79f1f8f05627c120cdabd77c572a",
-                "shasum": "dd64e294afe5c54b0e9fbc5fde179918f756e64d"
+                "url": "https://composer.cubedesigners.com/dist/cubist/net/cubist-net-dev-master-efc712.tar",
+                "reference": "e213e6046d77cc20ee479b8c14f83421d24ee2e1",
+                "shasum": "f3a041071c026628a35308b157886bcf0ca93395"
             },
             "require": {
                 "cubist/util": "dev-master",
                 }
             ],
             "description": "net cubist composer package",
-            "time": "2023-01-27T14:43:25+00:00"
+            "time": "2023-02-13T17:05:40+00:00"
         },
         {
             "name": "cubist/pdf",
             "source": {
                 "type": "git",
                 "url": "git://git.cubedesigners.com/cubist_util.git",
-                "reference": "9c379ada28a41672fdaeae328c5d4ab1d1579ddc"
+                "reference": "714ff12cfdb84730b11c28b24bbe40957fb845dc"
             },
             "dist": {
                 "type": "tar",
-                "url": "https://composer.cubedesigners.com/dist/cubist/util/cubist-util-dev-master-54b85e.tar",
-                "reference": "9c379ada28a41672fdaeae328c5d4ab1d1579ddc",
-                "shasum": "8c7bf70c044f4493e179137292b0f59d79d57fcd"
+                "url": "https://composer.cubedesigners.com/dist/cubist/util/cubist-util-dev-master-53a8e7.tar",
+                "reference": "714ff12cfdb84730b11c28b24bbe40957fb845dc",
+                "shasum": "a58cedad00a24769293c5a8a9ec483d41aa1443a"
             },
             "require": {
                 "cubist/net": "dev-master",
                 }
             ],
             "description": "Utilities class",
-            "time": "2023-02-10T13:34:52+00:00"
+            "time": "2023-02-13T17:11:35+00:00"
         },
         {
             "name": "cviebrock/eloquent-sluggable",