From a430de923db9a3ebfba5425ed18b454fff67aeb8 Mon Sep 17 00:00:00 2001 From: Justin Grimes Date: Tue, 5 Mar 2024 00:38:29 -0500 Subject: [PATCH] v3.3 - Update Readme, fix cleanup bug, flip button CSS. -v3.3. -Update README.md. -Remove mention of Docker repo, as it is not maintained. -I appreciate all of the community feedback at https://github.com/zelon88/HRConvert2/issues/46. -I will come up with an official Docker solution. -Fix bug in cleanFiles() function that was causing problems with archive conversions & preventing cleanup. -Flip button CSS, so buttons don't appear quite so... upside-down... all the time. -Remove un-needed (redundant) button related CSS from HRConvert2.css. -Increase default DeleteThreshold in config.php from 30 to 60 minutes. -Remove un-needed extension being passed to the convertDrawings() function. -Fix drawings not returning a valid filename. -Conversions would complete, but not download. -Tested ImageMagick support for SVG, could not get it to work. -Tested Dia support for converting things into PNG, BMP, and JPG. Got PNG to work, so added support. --- convertCore.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/convertCore.php b/convertCore.php index 800e6cb..83ff925 100644 --- a/convertCore.php +++ b/convertCore.php @@ -417,7 +417,7 @@ function verifyGlobals() { // / Set global variables to be used through the entire application. global $URL, $URLEcho, $HRConvertVersion, $Date, $Time, $SesHash, $SesHash2, $SesHash3, $SesHash4, $CoreLoaded, $ConvertDir, $InstLoc, $ConvertTemp, $ConvertTempDir, $ConvertGuiCounter1, $DefaultApps, $RequiredDirs, $RequiredIndexes, $DangerousFiles, $Allowed, $ArchiveArray, $DearchiveArray, $DocumentArray, $SpreadsheetArray, $PresentationArray, $ImageArray, $MediaArray, $VideoArray, $StreamArray, $DrawingArray, $ModelArray, $SubtitleArray, $PDFWorkArr, $ConvertLoc, $DirSep, $SupportedConversionTypes, $Lol, $Lolol, $Append, $PathExt, $ConsolidatedLogFileName, $ConsolidatedLogFile, $Alert, $Alert1, $Alert2, $Alert3, $FCPlural, $FCPlural1, $FCPlural2, $FCPlural3, $UserClamLogFile, $UserClamLogFileName, $UserScanCoreLogFile, $UserScanCoreFileName, $SpinnerStyle, $SpinnerColor, $FullURL, $ServerRootDir, $StopCounter, $SleepTimer, $PermissionLevels, $ApacheUser, $File, $HeaderDisplayed, $UIDisplayed, $FooterDisplayed, $LanguageStringsLoaded, $GUIDisplayed, $Version, $FaviconPath, $DropzonePath, $DropzoneStylesheetPath, $StylesheetPath, $JsLibraryPath, $JqueryPath, $GUIDirection, $SupportedFormatCount, $GUIAlignment, $GreenButtonCode, $BlueButtonCode, $RedButtonCode, $DefaultButtonCode; // / Application related variables. - $HRConvertVersion = 'v3.2.9'; + $HRConvertVersion = 'v3.3'; $GlobalsAreVerified = FALSE; $CoreLoaded = TRUE; $StopCounter = $SleepTimer = 0; @@ -2177,4 +2177,4 @@ function userVirusScan($FilesToScan, $type) { if ($ScanErrors) logEntry('User Virus Scan finished with errors.'); if ($Verbose) logEntry('User Virus Scan Complete.'); } } // / ----------------------------------------------------------------------------------- -?> \ No newline at end of file +?>