Commit graph

108 commits

Author SHA1 Message Date
Justin Grimes
33fab6cfda
v3.3.7 - Add support for 357 formats. Update build process.
-v3.3.7.
-Clean up config.php comments.
-Delete "SUPPORTED_FORMAT_INFORMATION.txt" development work file.
-Finish updating and adding support to the list of supported formats using the latest ffmpeg build process.
-Added support for ~357 file formats. The total of supported formats is now up to 445. (!!!)
-Update INSTALLATION_INSTRUCTIONS.txt to reflect the ffmpeg build-from-source procedure.
-Create DOCKER_BUILD_INSTRUCTIONS.txt for me to remember how to build docker images.
  -I typically develop this stuff on VMware with installed locally dependencies.
-Update Dockerfile with the latest ImageMagick and FFMPEG build process.
-Fix Docker build process, update Docker Hub.
2024-06-09 20:14:07 -04:00
Justin Grimes
9c703558da
v3.3.6 - Add pdf to image support, cbr, cbz support to archive support.
-v3.3.6.
-Special thanks to:
  Ask Ubuntu User:  Lucas Walter
  https://askubuntu.com/questions/1127260/imagemagick-convert-not-allowed
  https://askubuntu.com/users/27302/lucas-walter

  # Open the file 
  sudo nano /etc/ImageMagick-6/policy.xml

  # find and edit the line
  <policy domain="coder" rights="none" pattern="PDF" />
  # to :
  <policy domain="coder" rights="read|write" pattern="PDF" />

-The above code will allow pre-installed versions to convert pdf files as images in addition to documents and OCR.
-Added CBR and CBZ support. 
  -They are just zip files full of jpeg images.
  -We treat them as .zip files, but we use 7z to extract them because zip doesn't work for some reason.
  -After they are converted to a proper archive we can convert them further.
  -It could be possible to improve quality of the jpegs by creating a dedicated convertComics() function with direct output formats.
  -Can we get the comic community to show the project some love to get this done? ;)
  -Update the installation instructioins to allow PDF conversions as images.
2024-05-22 01:19:22 -04:00
Víctor (Bit-Man) Rodríguez
565135a43a Testing PDF conversion fix 2024-05-01 17:51:51 -03:00
Justin Grimes
460cbba211
Update convertCore.php
Update filename of scanCore to ScanCore.
2024-04-02 00:24:37 -04:00
Justin Grimes
212664bf61
v3.3.5 - Rar on RPI fix, FFMPEG build process changes.
-v3.3.5.
-Continue ScanCore refactor.
  -v1.1.
    -Added support for -ud argument, which will Update Definitions!
    -This gets defs by default from the ScanCore_Definitions repository.
    -Defs are now broken into subscriptions.
    -Subscriptions include Virus, Malare, & PUP.
    -Each client will download only the subscriptions that are specified in config.php.
    -The client will then compile its subscribed definitions into a "combined" definitions file locally.
    -This will give users the ability to control which definitions they install, controlling what ScanCore will detect.
    -Because ScanCore is portable, that means you can set different scanners to do different things.
    -Need to work on a way to automate definition updates. Every scan, daily, weekly, bi-weekly, or monthly.
  -v1.2.
    -Add 'raw' and 'git' update methods. So if you can't get git (hehe) then you can still perform updates.
    -Use globals $EOL, $SEP for PHP_EOL and DIRECTORY_SEPARATOR, as intended.
    -Add -version argument for displaying useful info.
      -Info like the source for def & app updates, the original repo, subscribed defs, version, last update, ect...
    -Added a plug to the LICENSE INFORMATION section of the header text.
      -// / BSD or MIT licensing is available. Reach out to @zelon88 for more information.
      -Support your favorite developer by buying a trophy license for your favorite open-source software.
    -Imrove comments / formatting in ScanCore_Config.php. Add default values, labels, better descriptions for everything.
    -Add -help, -h and -version, -ver arguments for showing version & help, respectively.
    -Add -configfile, -cf argument for selecting which configuration file to use.
      -Now one scanner can rule them all!
      -Instead of installing multiple scanners to scan different subscriptions, just have different config files.
    -Revise output. Make more consistent, easier to read.
    -Remove unused $LogFile and $LogDir references from core.
    -Remove unused $LogFile and $LogDir references from config.
    -ReportsDir is now the only location for logs. Logs & reports are officially the same thing.
    -The -logfile & -lf arguments are now undocumented aliases of the -reportfile and -rf arguments.
    -I plan on removing -logfile & -lf arguments in the future.
    -What will probably happen is I'll forget I said that and wind up re-documenting these undocumented aliases in the future.
  -v1.3 - Add -defsfile, -df argument. Reorder logic & functions. Clean up output. Improve help, version output.
    -Add -defsfile & -df argument for specifying a definition file by command line. 
    -Now ScanCore is completely modular. It can be run against any defs file and any config file, so automating tasks is easy & granular.
    -Add config file last modified, which core file, and which defs file to version output.
    -Add new commands to help output.
    -Will update the docs with proper error descriptions and instructions once the error numbers stop chaning.
-Thanks to @bit-man for submitting a fix for rar file support on RPI & non x86-64 platforms.
-Evaluate how we're using ffmpeg, per issue #59, but also effects issue #29.
  -Remove M4P support.
  -Omg there's even a typo... file format oog should be ogg.
  -Change ffmpeg build process to build from scratch.
  -Inprove capability & file support. Considerably.
  -Increase duration and difficulty of install process. Considerably.
  -Start by reverse engineering https://raw.githubusercontent.com/markus-perl/ffmpeg-build-script/master/web-install-gpl-and-non-free.sh.
  -Build process complete as of 3/25/2024. 
    -Now we need to incorporate the new ffmpeg functionality into core.
    -Then we can update the build / install process & documentation.
-Add the selected GUI, Language, and Color to error or verbose success messages to enhance debugging potential.
-Update ERROR_DESCRIPTIONS.txt with the new information.
-This version is just the start of an overhaul to media file processing.
-Add some temporary files to DOCS for helping me track my ffmpeg overhaul progress.
2024-03-29 01:08:09 -04:00
Justin Grimes
490a3efc0f
v3.3.4 - ScanCore refactor. Update code structure, improve config.php, rename variables.
-v3.3.4.
-Added missing loop in sanitizeStrings() function.
-Refactoring ScanCore to bring it up to the same level of code quality as the rest of the project.
  -ScanCore to v1.0, Do away with defs versioning.
  -Definitions can be versioned by date.
-Remove false positive for jquery 3.6 minified from defs.
  -Pretty sure this is the 20th anniversary for the original PHP-AV codebase, which there is very litte left.
-Improve config.php by adding more variables to it.
  -MemoryLimit, ChunkSize, Debug, Verbose.
-Make the file headers more consistent.
-Once the quality is up to par we will focus on adding features and capability.
  -Specifically an auto-updater would be nice.
  -Then maybe some automation tools for scraping IOCs and formatting them into the definitions file.
-Recursion is now disabled by default.
  -This affects behaviour of scripts that use ScanCore because now you HAVE to specify if you want recursion or scans will fail.
2024-03-23 01:12:08 -04:00
Justin Grimes
e3c45f1767
v3.3.3 - Misc cleanup. Update developer docs w/API information.
-Create official Docker image.
  -https://hub.docker.com/repository/docker/zelon88/hrconvert2
-Delete UI/Default/Resources/CSS/basic.css.
-Delete UI/Wide/Resources/CSS/basic.css.
-Update Documentation/CREATING_GUIS.txt to better communicate the API, including POST and GET requests.
-Replace "APPLICATION INFORMATION" with "COPYRIGHT INFORMATION" in the header of each code file.
-Move Dockerfile to Documentation/Build.
-Adjust core logic that cleans up the Dockerfile with the new location.
-Add header text to the Dockerfile consistent with the project.
-Update Dockerfile to copy the index.html file to HRProprietary and HRConvert2 installation folders.
-Add logic to the core to provide the option of using alternative software for handling rar files in the future.
  -The core will check for config.php to see what $RARArchiveMethod is set to, and then check for the existence of /usr/bin/rar
  -This is mostly for development so I can easily test alternatives to the rar software that we're stuck with.
-Update dependencies in installation instructions.
  -Add lots of missing dependencies.
  -Call out mkisofs and tar explicitly because who knows what kind of docker images people are starting with out there.
  -Add requirement for p7zip-rar.
-Thanks to @bit-man for help on Issue #60.
  -bit-man single handedly solved the rar problem by figuring out how to get non-free repositories into the docker image.
-Added a config.php entry for controlling how many times the core will retry significant file operations.
2024-03-15 23:43:30 -04:00
Justin Grimes
97c85c6d1d
v3.3.2 - Add green check, red X where loading spinner goes after a file operation is complete.
-v3.3.2.
-Fix bug where the loading spinner would never disappear for archive operations.
-Update docker URL in installation instructions.
-Add victory and failure icons where the loading spinner goes for 5 seconds after a file operation.
-Add Wide GUI.
-Fix bug with GUI selection where the GET input was case sensitive, but the core was forcing it to be interpreted as lower case.
-Fix bug with GUI selection variables not being scoped properly.
-Make colors user selectable.
-Add missing div tag to convergGui2.html.
  -I can't find any HTML erros in console anywhere. Yipee!!!
-Utilize POST and GET for language, GUI, and color inputs.
  -Utilize the standardized sanitization procedure for these inputs.
  -It was somewhat ad-hoc before, even though the global sanitized variables were already pre-prepared.
2024-03-10 03:01:23 -04:00
Justin Grimes
714dccaee5
v3.3.1 - Reorganize folders, create docker file, consolidate UI.
-v3.3.1.
-Move a bunch of files.
  -Move versionInfo.php and config.php into the Resources folder.
  -Create build folder.
  -Move rc.local, rc.local.service, and a php.ini sample file in there that will be used for Docker installs.
  -Move all resources into the UI\Default folder.
  -Relieve the core of the logic of defining CSS, JS, and images for the UI pack. That's not very modular.
  -Now the UI pack defines these in header.php.
  -Resources folder is not a required part of a UI pack. So the core won't check for it, 
  -Although the core does define a relative path where the Resources folder, and JS, CSS, Images subfolders should go as a convinience.
  -It is not required by the core to have these folders, or to organize your theme into them.
  -Remove LICENSE file from the root of the repository, as this is also in the Documentation folder. 
-Add a return value to cleanFiles() because I need one for the changes to verifyInstallation().
  -Use the return value to make the variables $CleanedConvertLoc and $CleanedTempLoc meaningful by passing the return value to them.
-verifyInstallation() now checks config.php for $DeleteBuildEnvironment, and if true will delete the /Build folder.
  -This is enabled by default to prevent attackers from using this to enumerate configuration information about the server or application.
-Improve documentation, formatting of styleCore.php for consistency/readability.
-Continue the long, ardous task of converting all the double quotes in convertGui2.php to single quotes.
  -This will take a while, but I have done enough to be able to find/replace what I need.
-Remove Error 2-1 from ERROR_DESCRIPTIONS.txt because it is no longer generated by the application.
-Move supported formats to config.php so server administrators can control their own fate, if they dare.
  -Default values are also listed in config.php if needed.
-Add support to remove the build environment & "development docs" that give away version info like readme.md & changelog.txt.
-Changed default color scheme from grey to blue because grey is especially gross looking to me right now.
-Fix bug where font defined in config.php was not propagating to styleCore.php.
-Fix bug with user virus scans when using ClamAV to scan an individual file for viruses. 
  -The scan would complete, but it would utilize both ScanCore and ClamAV when all the user asked for was ClamAV.
-Move default installation location to /DATA/HRConvert2 to make it consistent for Docker implementation.
-Start working on official Docker version.
-Minor update to installation instructions, consistency, consolidate steps.
-Added icon files to the Resources directory to be used in a future update.
2024-03-07 00:49:33 -05:00
Justin Grimes
a430de923d
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.
2024-03-05 00:38:29 -05:00
Justin Grimes
f4f07c1429
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.
2024-03-05 00:37:11 -05:00
Justin Grimes
09048d76a3
v3.2.9 - Improve docs, improve quality, update KO language pack
-v3.2.9.
-Happy Halloween!
  -I started this commit a couple months ago and just got around to finishing it.
  -The next commit will hopefully be a small quality commit / release v3.3.
-Fix missed translation in Arabic language pack (languageStrings.php) for Default GUI.
  -'Archive Formats'
-Fix spelling, consistency errors in comments of config.php.
  -No logical changes, just comments.
  -'fules' instead of 'files'.
  -Standardize some comments around the verbiage 'Provide users with the option to'. 
-Fix bug in verifyDocumentConversionEngine() function.
  -This bug would have prevented the verifyDocumentConversionEngine() function from starting anything.
  -This would cause document conversion errors in cases where the rc.local steps of the installation instructions were not implemented.
-Update it, ko, pt, ru, uk, zh language packs.
-Fix bug with displaying number of files that were uploaded.
  -Move logic that calculates this to before the languageStrings.php call.
-Fix bug in convertGui2.php where the download button would produce a 404 unless the share link had been generated already.
  -Missing ajax request type: post.
2023-10-31 00:37:19 -04:00
Justin Grimes
be0757e6f7
v3.2.8 - Continue implementing separation of UI from language packs.
-v3.2.8.
-A UI now contains the language packs for the UI.
-A UI now contains it's own styleCore.php file containing stylesheets for each color.
-The UI is now completely modular!
-Multiple UIs can now be installed simultaniously and selected by the user via GET request.
  -Adding supported GUIs is the same process as adding supported language packs.
-Add "CREATING_GUIS.txt" file to 'Documentation' folder.
-update "CREATING_LANGUAGE_PACKS.txt" to reflect the new locations & GUI / language pack format.
-Add languageStrings.php to Italian language pack.
  -Language packs complete:
  -Note that h,1,2,f are not needed anymore because they are all the same, stored in \UI folder.
    -Ar l
    -Bn l
    -De l
    -En l
    -Es l
    -Fr l
    -Hi l
    -It l
    -Ko
    -Pt
    -Ru
    -Uk
    -Zh
2023-05-04 01:10:28 -04:00
Justin Grimes
f749540da7
v3.2.7 - Implement separation of UI from language packs.
-v3.2.7.
-Clean up error procedures and error descriptions in delete function.
  -Cleaned up spacing, documentation inconsistencies, incomplete error messages.
-Updated CREATING_LANGUAGE_PACKS.txt to be more informational.
-Add verifyGui() function.
  -Mostly copy verifyLanguage() function.
  -Add ERROR 25, "Could not verify GUI!".
  -Add ERROR 25 to ERROR_DESCRIPTIONS.txt.
-Move UI files to UI folder in root of installation location.
  -Now the loading spinner, colors, language, and UI theme will be adjustable.
  -Language and UI theme will be user selectable.
  -Need to add config entries, other supporting logic.
  -Need to update language pack docs.
  -Need to update api information.
  -Need to update config.php
-Add languageStrings.php to Hindi language pack.
  -Language packs complete:
    -Ar l,h,1,2,f
    -Bn l,h,1,2,f
    -De l,h,1,2,f
    -En l,h,1,2,f
    -Es l,h,1,2,f
    -Fr l,h,1,2,f
    -Hi l,h,1,2,f
    -It
    -Ko
    -Pt
    -Ru
    -Uk
    -Zh
2023-04-28 02:13:15 -04:00
Justin Grimes
a14057bdb9
v3.2.5 - Add Spanish, French languageString.php file.
-v3.2.5.
-CONCEPT EXPLORATION: I Want to make UI's all exactly the same.
  -The quest for modularity / scalability / maintainability continues!
    -Making the UI and language packs separate, we enable the development of UIs to be language-agnostic.
      -Add an errorStrings.php to each language pack.
        -Define log language + error language in config, use errorStrings to translate core errors also.
      -Add error translations to the ERROR_DESCRIPTIONS.txt file in a
      -If we develop a a UI, it will apply to every language pack.
      -If we develop a language pack, it will apply to every UI.
      -UI developers can add/require their own supplemental languageStrings files, or bake this text into the UI.
      -UI developers can chose to completely ignore the stock languageStrings file if they want.
  -Create new root folder called UI.
  -Move h,1,2,f files into UI folder.
    -Create a subfolder for existing UI called Default.
    -Move styleCore and stylesheets.css into UI/Default folder.
    -Future ideas for UIs include "dark" "light" and various holiday themes.
      -Maybe an automatic holiday selection mechanism based on timezone?
  -Move errors from h,1,2,f to languageStrings.php.
  -Make core check for existence of h,1,2,f files in the language pack folder.
    -If style is specified & user style selection is allowed, use specified style.
    -If h,1,2,f files exist and no style specified, use UI/Default.
    -If h,1,2,f files don't exist and no style specified, use UI/Default. 
-Tweak German language pack.
  -Remove extra whitespace in UI1 buttons to save room.
-Add languageStrings.php to Spanish, French language packs.
-Language packs complete:
  -Ar l,h,1,2,f
  -Bn l,h,1,2,f
  -De l,h,1,2,f
  -En l,h,1,2,f
  -Es l,h,1,2,f
  -Fr l,h,1,2,f
  -Hi
  -It
  -Ko
  -Pt
  -Ru
  -Uk
  -Zh
2023-04-17 22:21:06 -04:00
Justin Grimes
0fe93efdad
v3.2.4 - Misc cleanup.
-v3.2.4.
-Merge security related checks in file operations inside the error check code.
  -Try to make them all consistent. Move some log code to after the sanitization process in upload/download/delete.
-The log message 'Could not verify tokens!' will now only appear in logs if $Verbose is set in config.php.
-Fix missing translations in subtitles, subtitles labeled as models.
  -Was leftover copy-pasta.
-Add jpe to supported formats.
-I really want to rework PDFs soon. 
  -Want to add the ability to convert between any supported format using existing functions.
2023-04-15 01:05:19 -04:00
Justin Grimes
8f79126fbf
v3.2.3 - Continue working on languageStrings concept, enable subtitle conversions.
-v3.2.3.
-Implemented subtitle conversions for Arabic, Bengali, German, & English language packs.
-Work on German language pack.
  -Copy English as a template.
-Language packs complete:
  -Ar l,h,1,2,f
  -Bn l,h,1,2,f
  -De l,h,1,2,f
  -En l,h,1,2,f
  -Es
  -Fr
  -Hi
  -It
  -Ko
  -Pt
  -Ru
  -Uk
  -Zh
2023-04-14 00:19:58 -04:00
Justin Grimes
40557c6254
v3.2.2 - Continue working on languageStrings concept.
-v3.2.2.
-Language packs complete:
  -Ar l,h,1,2,f
  -Bn l,h,1,2,f
  -De
  -En l,h,1,2,f
  -Es
  -Fr
  -Hi
  -It
  -Ko
  -Pt
  -Ru
  -Uk
  -Zh
2023-04-06 01:03:17 -04:00
Justin Grimes
482c78916e
v3.2.1 - Continue working on languageStrings concept.
-v3.2.1.
-Work on Arabic language pack.
-Add $GUIAlignment variable to control the float of UI elements.
  -This is needed to make lists presentable in right-to-left languages.
-Add dynamic supported format counting instead of hard-coding the number of formats for each UI.
  -Previously we would count and adjust the number of unique conversions that are supported, then hard code this value into each UI.
  -Now the core counts the number of supported formats and uses this value when building the UI.
  -This is more maintainable, and more accurate.
  -Now each converter will reflect the number of formats that are actually supproted.
  -So if an administrator disables all conversions except for model conversions, there will be a very small number of supported conversions reflected in the UI.
2023-04-05 01:47:21 -04:00
Justin Grimes
74ccadecbd
v3.2.1 - Continue working on languageStrings concept.
-v3.2.1.
-Work on Arabic language pack.
-Add $GUIAlignment variable to control the float of UI elements.
  -This is needed to make lists presentable in right-to-left languages.
-Add dynamic supported format counting instead of hard-coding the number of formats for each UI.
  -Previously we would count and adjust the number of unique conversions that are supported, then hard code this value into each UI.
  -Now the core counts the number of supported formats and uses this value when building the UI.
  -This is more maintainable, and more accurate.
  -Now each converter will reflect the number of formats that are actually supproted.
  -So if an administrator disables all conversions except for model conversions, there will be a very small number of supported conversions reflected in the UI.
2023-04-05 01:44:50 -04:00
Justin Grimes
5b1827c4e7
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:53:35 -04:00
Justin Grimes
9834edc701
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:53:32 -04:00
Justin Grimes
22a9f3affc
v3.1.9.8 - Clean up core variable assignments. Start working on delete functionality.
-v3.1.9.8.
-Taking a break from languageStrings to work on the core a bit.
  -Need a change of pace.
-Added deleteFiles() function for removing files manually (before they are deleted automatically).
-Preparing for the next round of UI feature updates.
  -Subtitle conversions.
  -Delete files manually.
-Added errors 23000, 23001, 23002.
-Reordered errors so they are sequential in the ERROR_DESCRIPTIONS.txt file.
  -Before they went in logical order as they are written in convertCore.php, which is confusing unless you know the code.
2023-03-17 23:53:30 -04:00
Justin Grimes
5f86d0eea6
v3.1.9.7 - Continue working on languageStrings concept.
-v3.1.9.7.
-Keep working on english GUI2.
-Make buildGui() function with comprehensive checks to ensure that things are loaded properly.
-This commit will still cause Error 16 because I've only completed one language pack.
  -Hopefully once this is done to all language packs things will be more maintanable.
2023-03-16 00:48:32 -04:00
Justin Grimes
ce51cdf1d3
v3.1.9.6 - Continue working on languageStrings concept.
-v3.1.9.6.
-Development Version.
  -Language packs other than English will not work.
  -English language pack is unreliable.
  -OCR operations need attention.
-I screwed up and posted the last batch of commits (v3.1.9.5) to to the wrong branch! 
  -Then got frustrated and deleted the development branch.
  -Now that I'm not as frustrated I will try again.
-Reduce the amount of HTML tags that goes into languageStrings.php.
  -This is needed because of variable scope. 
  -The file loop in convertGui2.php doesn't update variables contained in languageStrings.php due to where it is called in.
-Start converting the UI HTML to single quotes wherever possible.
2023-03-09 23:46:14 -05:00
Justin Grimes
c470847be7
v3.1.9.5 - Continue working on languageStrings concept.
-v3.1.9.5.
-Added an official Development branch to the official repo.
  -The reason for this is because I'd like to stage updates on the Development branch until they are ready.
  -Then the master branch will get updated only to stable versions.
  -This is required because it has been taking me several commits to fully implement several features/fixes/improvements.
  -I always try to have an error free program at commit time, but still; new users should not be exposed to an incomplete versions.
-Shortened verifyGlobals() in convertCore.php by assigning multiple variables of the same value at the same time.
-Add alt and title text to english language pack, download button.
  -Will continue adding the rest.
-Updated CREATING_LANGUAGE_PACKS.txt file.
  -Expanded on --About Language Packs-- section.
  -Added --Maintaining Language Packs-- section, in case anyone else out there gets super ambitious ;)
  -Added --Development Tips-- section.
  -Added info about languageStrings.php file.
  -Revised the wording for the rest of the files.
-Add array check in verifyLanguage() function to $SupportedLanguages array.
-Fix bug in verifyLanguage.php caused by misplaced bracket (with matching bad indentation). 
  -Would have caused problems during reverting to default language if $AllowUserSelectableLanguage was set to FALSE.
2023-03-07 23:25:15 -05:00
Justin Grimes
9de0ae0cb7
v3.1.9.3 - Continue updating language packs.
-v3.1.9.3.
-Work on it, ko, pt, ru, uk, zh language packs.
-Keep numbering language packs to v3.1.9.1.
-Finally finished v3.1.9.1 language packs!!!
-Remove PDF from imagearray.
-Update "CREATING_LANGUAGE_PACKS.txt" to remove duplicate API inputs.
2023-03-02 21:15:12 -05:00
Justin Grimes
0e929b8972
v3.1.9.2 - Continue updating language packs.
-v3.1.9.2.
-Work on es, fr, hi language packs.
-Keep numbering language packs to v3.1.9.1.
-Update language pack update procedure.
-Add "languageStrings.php" file to english language pack as a placeholder.
  -Will eventually migrate all locale specific text strings and direct formatting to this file.
  -With all strings separated from the UI it will be easier to maintain the UI.
  -We could keep separate h,1,2,f files or keep a master set and only load the languageStrings file.
  -If we keep separate people can modify their language easier. Also makes lh/rh reading order easier.
  -If we use a master set we reduce size and complexity.
2023-02-27 22:39:46 -05:00
Justin Grimes
d294d89f0d
v3.1.9.1 - Continue updating language packs.
-v3.1.9.1.
-Work on bn, de, en, ar, es, fr language packs.
-Update language pack update procedure.
-Update File Information section header text missing dots.
-Evaluate subtitle conversion options.
  -https://ffmpeg.org/ffmpeg-all.html#Subtitle-Formats
  -https://superuser.com/questions/1090989/changing-subtitle-format-with-ffmpeg
  -WebVTT X X X X
  -SSA/ASS X X X X
  -SRT  X X X X
  -DVB X X X X
-Add core support for subtitle conversions for testing purposes.
-Added & documented ERROR 22000 for subtitle conversion errors.
-Need to update the UI when this is ready.
-Inspired by Issue # 32 (https://github.com/zelon88/HRConvert2/issues/32).
2023-02-26 22:56:42 -05:00
Justin Grimes
b53334aa4a
v3.1.9 - Finish updating language packs.
-v3.1.9.
-Adjust v3.1.8 update procedure.
-Finish English language pack.
-Finish Arabic language pack.
-Work on bn, de, es, fr, hr, it, ko, pt, ru, uk, zh language packs.
-LANGUAGE PACKS COMPLETE
  -ar h,1,2,f
  -en h,1,2,f
  -bn h,,,f
  -de h,,,f
  -es h,,,f
  -fr h...f
  -hi h,,,f
  -it h,,,f
  -ko h,,,f
  -pt h,,,f
  -ru h,,,f
  -uk h,,,f
  -zh h,,,f
2023-02-21 23:39:48 -05:00
Justin Grimes
188c62c859
v3.1.8 - Add supported conversion type array to config, fix csv support, make static UI elements dynamic.
-v3.1.8.
-Remove $AllowStreams variable.
-Exposed the $SupportedConversionTypes variable in config.php.
-Fix HTML error in gui2 of each language pack.
-Fix archive conversions.
-Fix OCR operations.
-Add Csv Support.
-Create v3.1.8 UI Update Procedure.
  -Header
    -No change.
  -UI1
    -No change.
  -UI2
    -No user action required, list for tracking purposes only.
    -Update FILE INFORMATION section of header comment text.
    -Copy & paste && $SupportedConvertionTypes condition to each button code.
  -Footer
    -No change.
2023-02-01 23:52:42 -05:00
Justin Grimes
ca6451181b
v3.1.7 - Continue updating language packs.
-v3.1.7.
-Finish adding errors 13001, 13002, 13003, 13004, 13005 to docs.
-Move main loading spinner to under the cursor.
-Continuing work on updating language packs.
  -The following process can be repeated for each language pack to update them to v3.1.5.
  -Header/Footer 
    -Update "FILE INFORMATION" section of header.
  -GUI1
    -Update "FILE INFORMATION" section of header.
    -Copy/Paste to replace all file format HTML.
    -Retranslate/replace all conversion specific text.
  -GUI2
    -Update "FILE INFORMATION" section of header.
    -Update icons for media, videos.
    -Search for utility div, copy+paste lower, rename upper.
    -Append PHP counter to all loading div calls inside the file loop.
    -Replace all conversion option formats.
      -image
      -drawing
      -model
      -archive
  -LANGUAGE PACKS COMPLETE
    -ar h,1,2,f
    -en h,1,2,f
    -bn h,1,2,f
    -de h,1,2,f
    -es h,1,2,f
    -fr h.1.2.f
    -hi h,1,2,f
    -it h,1,2,f
    -ko h,1,2,f
    -pt h,1,2,f
    -ru h,1,2,f
    -uk h,1,2,f
    -zh h,1,2,f
-To Do...
  -Need to redesign/standardize PDFWork functions.
    -Utilize convert() functions instead of rewriting them.
  -Need to add csv output support.
  -Need to add default options to disable specific conversion types, similar to AllowStreams.
    -Maybe make an array of allowed types instead of separate variables?
  -Need to make arrays in config.php to store default allowed output formats.
    -This will make maintaining things easier by not having to replace the UI elements each time.
    -DisplayOutputFormats(FormatType,  DisplayType)
      -Where FormatType is the type of file and DisplayType is the type of list generated.
2023-01-31 23:23:44 -05:00
Justin Grimes
857279de4c
v3.1.6 - General logic updates, add error checks, improve conversion attempt procedures.
-v3.1.6.
-Improve comments.
-Add $PermissionLevels & $ApacheUser variables to verifyGlobals().
-Add a pause between conversion attempts.
-The pause is set in verifyGlobals() by $SleepTimer.
-The pause increments by 1 second every attempt.
-The max number of attempts is now set in verifyGlobals() by $StopCounter.
-Incremented values are discarded. Each conversion attempt starts with default $SleepTimer.
-Simplify image conversion process. Remove Method 1 and Method 2, now only one method to rule them all.
-Reduce number of times $SupportedConversionType is checked during a conversion.
-Removed error 8000.
-Add errors 8001, 13001,
2023-01-25 20:41:15 -05:00
Justin Grimes
83a51b3fcc
v3.1.3 - Create language pack upgrade to v3.1.3 procedure.
-v3.1.3.
-Replace Leafpad with Featherpad in instructions.
-Create language pack upgrade to v3.1.3 procedure.
-Lots of changes were made to the GUI.
-This procedure is for development purposes only. No action is required by users or admins.
-This is just so I can keep track of things. 
-The following process can be repeated for each language pack to update them to v3.1.3.
-GUI1
  -Update "FILE INFORMATION" section of header.
  -Copy/Paste to replace all file format HTML.
  -Retranslate/replace all conversion specific text.
-GUI2
  -Update "FILE INFORMATION" section of header.
  -Search for utility div, copy+paste lower, rename upper.
  -Append PHP counter to all loading div calls inside the file loop.
  -Replace all conversion option formats.
-LANGUAGE PACKS COMPLETE
  -ar
  -en
-AFTER ALl LANGUAGE PACKS ARE COMPLETE
  -Test each language pack.
  -Check for HTML errors.
-Need to fix loading spinner on virus scan.
2023-01-23 21:34:04 -05:00
Justin Grimes
5a0b8cf92f
v3.1.2 - Improve image support. $AllowStreams config entry, bump JQuery, add some icons.
-v3.1.2.
-Improve Installation_Instructions.txt.
-Revise 3D Model support, Vector file support, Image support, Iso support.
-Improve securePath function comments, add URL support.
-Trying to automate the translation into other languages.
-Add rc-local.service template file for systems where it is missing and needs to be installed.
2023-01-12 02:21:33 -05:00
Justin Grimes
e2f4a3cbac
v3.1.1 - Improve image support. $AllowStreams config entry, bump JQuery, add some icons.
-v3.1.1.
-Add code to prevent stream related UI elements from displaying when the $AllowStreams config entry is set to FALSE.
-Update JQuery from v3.6.0.min to v3.6.3.min.
-Checked for Dropzone.js updates, already at latest version.
-Minor comment changes in config.php.
-Translate index files of language packs into the language of the pack.
-Add comments section containing file & application information to GUI-related files.
-Clean up array declarations, improve readibility, scalability, debugging.
-Vastly improve image support for both input and output operations.
-Added support for Heic files.
-Added support for several misc image files.
-Bumped format support count to 79 file formats.
-Adjust icons for media, videos to be unique from streams.
-Add mkisofs as a dependency, fix iso creation.
-Revise verbiage of UI elements.
2023-01-11 01:40:33 -05:00
Justin Grimes
bf5bdd3f1a
v3.1 - ScanCore to v0.9, PHP-AV v4.1.
-v3.1.
-ScanCore to v0.9, PHP-AV v4.1.
-Correct logging location, remove erroneous log directory created alongside ScanCore.
-Improve argument handling.
-Add $AllowStreams config entry to selectivly disable stream formats.
2023-01-04 23:51:52 -05:00
Justin Grimes
457d28e579
v3.0 - Fix syntax error, typo in config.
-v3.0.
-Fix syntax error.
-Improve config.php comments.
2023-01-04 00:14:54 -05:00
Justin Grimes
fa0333c7a3
v2.9.8 & v2.9.9 - Merge pull request # 24 & 25.
-Deleted duplicate screenshot directory.
-Updated count of supported formats to 77 from 75.
-Updated tags, misc repository metadata.

-v2.9.8.
-Merge pull request # 24.
-"Added .mov to videoArray and created error"
-Pull request URL:  https://github.com/zelon88/HRConvert2/pull/24.
-Commit URL:  cd83790bcd
-Special thanks to author @HenriChabert.
-Changed proposed error number from 11000 to 21000 & made unique.

-v2.9.9.
-Merge pull request # 24.
-"Add m3u8 stream support"
-Pull request URL:  https://github.com/zelon88/HRConvert2/pull/25.
-Commit URL:  6bf64dd03c
-Special thanks to author @MangoTornado.
-Updated all language packs with Stream support.
2023-01-03 22:36:23 -05:00
Justin Grimes
c9e1ca5e98
Merge branch 'master' into master 2023-01-03 21:33:42 -05:00
Justin Grimes
c52f0f2c68
v2.9.8 - Merge pull request # 24.
-v2.9.8.
-Merge pull request # 24.
-"Added .mov to videoArray and created error"
-Pull request URL:  https://github.com/zelon88/HRConvert2/pull/24.
-Commit URL:  cd83790bcd
-Special thanks to author @HenriChabert.
2023-01-03 21:26:33 -05:00
Justin Grimes
5239c7f1a2
v2.9.8 - Merge pull request # 24.
-v2.9.8.
-Merge pull request # 24.
-"Added .mov to videoArray and created error"
-Pull request URL:  https://github.com/zelon88/HRConvert2/pull/24.
-Commit URL:  cd83790bcd
-Special thanks to author @HenriChabert.
2023-01-03 21:24:52 -05:00
Justin Grimes
cd83790bcd
Merge pull request #24 from HenriChabert/enhancement/added-mov-in-video-array-available-ext
Added .mov to videoArray and created error
2023-01-03 21:10:00 -05:00
Justin Grimes
26c4983b00
v2.9.7 - Merge pull request #23.
-v2.9.7.
-Merge pull request # 23.
-Pull request URL:  https://github.com/zelon88/HRConvert2/pull/23
-Commit URL:  24403d8518
-Special thanks to author @HenriChabert.
2023-01-03 21:01:19 -05:00
Justin Grimes
24403d8518
Merge pull request #23 from HenriChabert/bug/fix-filenames-with-whitespaces
Replace spaces with _ in filename
2023-01-03 20:49:30 -05:00
Justin Grimes
2391807831
v2.9.6 - Fix error in documentation.
-v2.9.6.
-Fix error in documentation.
2023-01-03 20:37:33 -05:00
Andrew
042be2b2f6 Final Fix m3u8 2022-12-18 19:42:55 -05:00
Andrew
be5201b159 Final m3u8 Fix 2022-12-18 19:37:50 -05:00
Andrew
b002ea9a25 15 2022-12-18 15:45:18 -05:00
Andrew
88a349f4c0 Fix 2022-12-18 13:57:52 -05:00