Commit graph

2 commits

Author SHA1 Message Date
Justin Grimes
22b83bf896
v3.2 - Continue working on languageStrings concept.
-v3.2.
-Implement dynamic supported format list in UI1 (english language pack only).
  -The UI will now only display supported formats that are backed by logic.
  -The lists of supported formats contained within the UI no longer need to be updated.
  -The lists of supported formats are now entirely derived by logic.
  -Still need to add OCR related formats when that refactor takes place.
  -Need to keep going on UI2.
-Added version verification to convertCore.php.
  -The logic is split between verifyInstallation() and verifyGlobals(). 
  -verifyInstallation() verifies versionInfo.php and loads it.
  -verifyGlobals() performs the actual version check.
  -Modified ERROR_DESCRIPTIONS.txt to match these changes.
  -Added ERROR 24000 when unable to load the versionInfo.php file.
-Updated ERROR 11.
  -Added information about the new version check.
-Continue changing double quotes in HTML to single quotes.
  -Header is done.
  -UI1 is done.
  -Footer is done.
-Move paths for scripts, stylesheets, javascript & favicon to verifyGlobals().
-The name of the archive when a user selects to compress all files now reflects $ApplicationName variable.
  -This was previously hard-coded to "HRConvert2_Files-<DATE>".
-Added mysteriously missing bitrate UI features.
-Adjust the list of supported formats to be more reliable, predictible, maintainable.
-Only set FormatArray variables for the SupportedConversionTypes enabled in config.php.
  -Now the arrays aren't even populated unless the conversion type is enabled.
-Move "The user selected..." text to the beginning of the upload and download functions.
-Prevent the upload of unsupported file formats.
-Prevent the download of unsupported file formats.
  -Add ERROR 3004 "Unsupported File Format" to ERROR_DESCRIPTIONS.txt.
  -Copy ERROR 6001.
-Add extra line of detail to error 6001: "The file that causes this error will be skipped."
-OCR operations now require that both OCR and Document conversion types are allowed in config.php.
-Stream conversion operations now require that both Stream and Audio conversion types are allowed in config.php.
-Add a $GUIDirection variable to languageStrings.php that determines the reading order of the UI.
  -Can either be "ltr" for "left to right" or "rtl" for "right to left".
  -A default is defined in verifyGlobals() but this is overridden later by languageStrings.php.
  -This should make migrating old language packs easier.
-Add delete functionality to core logic section & UI.
  -Add ERROR 24, Delete Failed.
-Disable loading spinner on error return in UI2.
  -Before the spinner would remain on error.
2023-03-29 01:52:24 -04:00
Justin Grimes
5f483de086
v3.1.9.9 - Continue working on languageStrings concept.
-v3.1.9.9.
-Standardize logic format across all UI elements.
  -Header. UI1, UI2, Footer.
  -They all declare that they are loaded and error when the core is not loaded.
  -The rest of the error logic is contained within languageStrings.php.
  -Per language pack, the logic is only contained within the code once. Instead of once for each UI file.
-Start moving UI1 text to languageStrings.php.
-Adjust the format of languageStrings.php.
-Add icon for future delete functionality.
  -https://www.iconarchive.com/show/koloria-icons-by-graphicrating.1.html
-Update subtitle icon.
  -https://www.iconarchive.com/show/koloria-icons-by-graphicrating.1.html
2023-03-20 00:52:52 -04:00