-
Notifications
You must be signed in to change notification settings - Fork 165
Changelog
qphoria edited this page Jun 22, 2017
·
5 revisions
- Added support for OpenCart 3.0.0 twig template system in vqmod_opencart.xml file (opencart version only)
- Changed IgnoreIf back to VQSearchNode to allow ignoreif on multiple lines
- Removed realpath changes as it broke windows file matching
- Added attribute tag support in the "add" tag to better support ocmod format
- Added realpath changes to improve file matching support
- Changed IgnoreIf to VQNode
- Fixed .htaccess security method to fix forbidden while trying to run the installer on some servers
- Added caching of checked files to increase performance
- Added error details of invalid XML files
- Added negative offset for REPLACE position to remove lines before matched line instead of only after
- Added
<search>and<add>check to ensure present in each<operation> - Added second parameter to
modCheckto allow specifying the Operations file path for a different source file - Changed
$_replacesto$replacesin VQMod object to adhere to naming convention for public property - Change to
file()method to increase performance - Changed regex path matching to increase performance
- Changed minor pieces of code to increase performance
- Changed file_put_contents to lock files while saving ( bug fix for https://code.google.com/p/vqmod/issues/detail?id=167 )
- Changed .htaccess security method to hopefully fix some servers having 500 ISE messages from Options -Indexes
- Changed vqmod.php (Formatting cleanup)
- Changed readme.txt files
2.5.0 OpenCart specific changes
- Added attempted fix for weird installer bug ( https://code.google.com/p/vqmod/issues/detail?id=145 )
- Added
admin/controller/extension/*.phpfiles to core vqmod_opencart.xml - Changed vqmod_opencart.xml to allow OC 2.0 integration
- Fixed incompatibility with PHP versions lower than 5.3 for "_quotePath" callback
- Turned devmode back on
- Added "ibefore" and "iafter" methods for "search" tags "position" attribute
- Added case insensitivity for bug with certain windows installations
- Added "required" attribute check for "vqmver" tag for incompatibility
- Added file path being modified to error log
- Added operation index of vQmod file tag to errorlog
- Changed error messages to make them more concise
- Changed "VQMod" class from instantiated to static, making it easier to integrate
- Changed log file name format to make them consecutive ("0_Sun.log", "1_Mon.log" etc)
- Changed PHP 5.5+ deprecated "e" regex modifier code to "preg_replace_callback" using "VQMod::_quotePath"
- Removed position="all" attribute option
2.4.0 OpenCart specific changes
- Added seamless upgrade code to installer
- Added XML header to "vqmod_opencart.xml"
- Changed "vqmod_opencart.xml" to be greatly simplified and cover all php files in "/system/library" and "/system/engine" more consistently
- Changed "admin" folder name variable to make it easier to edit in Oinstaller
- Changed installer code to use new "VQMod::modCheck()" and "VQMod::bootup()" code
- Fixed bug for mods.cache issue
- Fixed bug with path replaces
- Fixed bug with realpath never returning false
- Added error handling for empty/invalid mods.cache
- Added error handling for unknown ignoreif tag bug
###v2.3.0 - 2013-JAN-28 - Jay_at_jaygilford.com
- Fixed minor bug with mods.cache - now refreshes cache when deleted
- Added
<ignoreif>tag to operations - Added path rewrites to make moved folders easier to manage
- Multiple files can now be named inside
name=""attribute, separated by commas -
path=""attribute added to<file>tag to allow base prefix for multiple names - We now recommend adding a
info=""attribute for operations to make it clearer what the operation does. This at present is purely optional but we advise adding for the benefit of others reading the files
- Fixed invalid file path logging issue
- Fixed invalid file path issue
- Fixed empty search content issue
- Added file change detection in original files
- Fixed 1.4.X compatibility in XML for OpenCart
###v2.2.0 - 2012-OCT-28 - Jay_at_jaygilford.com
- Removed cache lock code and implemented file modification detection
- Added folder checks for vqcache and logs folder
- Added rotational daily logs to curb large log file sizes
- Added file being modded to log messages to make easier to debug
- Fixed cache bug from 2.1.7
- Added modifications caching to increase performance
- Added cache path caching to increase performance
- OpenCart Installer now checks files are writeable and notifies of any issues before attempting write
- Updated xml/vqmod_opencart.xml file to support OpenCart v1.5.4.
- Added new "$cacheTime" variable with default of 60 secs
- Deprecated "$useCache"
- Added "error" attribute to the
<file>tag - Moved main vQmod class to the top of the file to make version number easier to find
- Prevent excessive ajax callbacks from constant rewriting of vqcache files
- Added flock to read and write methods, to hopefully eliminate possible locked file problems
- Fixed useCache accidentally taken out when adding in wildcard support
- Fixed position="bottom" always returning 0
- Fixed VQModObject::
_skip not functioning - Fixed vqprotect.txt trying to load when it doesn't exist
- Removed: vqprotect.txt file
- Fixed inefficent regex bug
- Fixed controller bug for opencart xml
- Added wildcard support for filenames
- Added back support for vqprotect.txt file
- Added vqprotect.txt file
- Added full commenting to the vqmod class
- Added template fetch fix in vqmod_opencart.xml
- Missing referenced source files now log to file instead of die
- Small tweaks
- Complete Code Rewrite by JayG to be more object based
- New "log" attribute for
<operation error="abort|skip|log">to skip and log.
- Fixed index explode issue per JayGs fix
- Fixed index and empty source bugs per JNs suggestions
- Fixed bug with index not being converted to an array
- Fixed issue with invalid routes returning true on sourcefile (thanks JN)
- Completely revamped logging to only write errors to vqmod.log. No point in writing the rest.
- Added work around for realpath() on source path returning false on some servers
- Added optional trim attribute to search tag (defaults to true).
- Removed is_numeric call on index since index is a comma-delimited field
- Fixed another bug with source path on some servers
- Changed fwrite to file_put_contents for tempfiles
- Added write delays to tempfiles
- Fixed bug with source path on some servers
- Updated readme to be clearer
- Added .htaccess to protect xml and log files
- Fixed bug with a separate vqmod.log file being created in the admin
- Added logging for source files that are referenced but don't exist to help troubleshoot
- Default directory structure changed to put everything inside the /vqmod/ folder
- xml files are now moved to /vqmod/xml/
*.xml - Redesigned the construct to be simpler
- Construct no longer requires a path or log option
- New init() function handles initialization
- Improved log function to use file_put_contents instead of fopen
- Set logging = true by default
- Added RegEx Support
- Added new "all" position to replace entire file
- Added new protected file list option to prevent some files from being modded for security
- Additional performance improvements
- Added divider lines to logging to improve readability between files
- Added version to log print
- Fixed bug with search "offset" duplicating the existing line
- Fixed bug with search "index" attribute
- Added "offset" attribute to search tag for blind multiline actions
- Added more code checks to ensure xml values are valid
- Overhauled the temp file and debug process to store the modified versions in the vqcache folder
- Added new "index" attribute for search
- Added useCache option for reusing cached versions
- Added logging option
- Added top and bottom positions to search for adding at the very top or bottom of a file
- Added XML fileload handler
- Updated the xml field legend
- Added ability to write to the actual source file instead of virtually modding
- Removed old debug mode and replaced with logging
- Improved code performance
- Changed vqdbg to vqcache
- Updated Readme to be more robust
- Added support for operation "error" attribute (skip, abort)
- Added vqmver tag to identify the minimum version of VQMod needed for a mod to work
- Fix for relative path when calling from a subfolder like "admin"
- Original Version