]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6541 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 1 Dec 2023 17:42:10 +0000 (18:42 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 1 Dec 2023 17:42:10 +0000 (18:42 +0100)
app/Models/FluidbookDocument.php
public/packages/fluidbook/toolbox/css/audit.less
public/packages/fluidbook/toolbox/css/context-menu.less

index d1a314b08c99d13fac3e17259c7bdb6604ab9c7f..295ae0d3e5f26fb0376701664a786fb3cbf608a6 100644 (file)
@@ -77,6 +77,8 @@ class FluidbookDocument extends ToolboxModel
 
     public function processUpload($uploadID, $sync = false, $forceCheck = false, $forceProcess = false)
     {
+        Farm::setRegion($this->getRegion());
+
         $this->processSync = $sync;
         $this->updateProgression($uploadID, __('Nettoyage du document'), 1.3);
         $this->fixPDF();
@@ -410,7 +412,7 @@ class FluidbookDocument extends ToolboxModel
     {
         $path = $this->_getHightlightFilePath($page, $mode, $ignoreSeparators);
         if (!$this->_checkTextFile($path)) {
-            PDFTools::extractHighlightsData($this->getPDFSource(), $this->path(), $mode,$ignoreSeparators);
+            PDFTools::extractHighlightsData($this->getPDFSource(), $this->path(), $mode, $ignoreSeparators);
             if (!Gzip::file_exists($path)) {
                 throw new \Exception('An error occured while producing file ' . $path);
             }
index 9c33522f4b0e1cf4a81c3d3f51ae0dfcb05385b1..b31cec7ea6d762e47ef85545259a47a2c5b41664 100644 (file)
@@ -21,4 +21,3 @@ h2 {
     font-size: 130%;
     margin-top: 60px;
 }
-
index 1571b5b55736bee1e9f0b28374f0cd1fb9bda22a..461d879430732875c93f823ca25e73b2d34599fb 100644 (file)
@@ -23,4 +23,3 @@
     font-weight: 600;
     text-align: center;
 }
-