ntpMerlin
ntpMerlin copied to clipboard
Code improvement
Here are the latest enhancements and improvements:
-
IMPROVED: Modified all SQLite3 calls to capture and log errors in the system log.
-
IMPROVED: Modified SQLite3 configuration parameters to improve the trimming of records from the database and then perform "garbage collection" of deleted entries to reclaim unused space & avoid excessive fragmentation.
-
IMPROVED: Modified SQLite3 configuration parameters to improve the processing of database records.
-
IMPROVED: Modified code to set the corresponding priority level of log entries when calling the built-in logger utility.
-
IMPROVED: Modified the startup call made in the post-mount script to check if the USB-attached disk partition passed as argument has indeed Entware installed.
-
IMPROVED: Added code to show the current database file size information on the CLI menu and the webGUI page.
-
IMPROVED: Added code to show the "JFFS Available" space information for the "Data Storage Location" option on the CLI menu and the webGUI page.
-
IMPROVED: Added code to check if sufficient JFFS storage space is available before moving database-related files/folders from USB location to JFFS partition. An error message is reported if not enough space is available, and the move request is aborted.
-
IMPROVED: Added code to check if the available JFFS storage space falls below 20% of total space or 10MB (whichever is lower) and report a warning when it does. A warning message is also shown on the SSH CLI menu and WebGUI page.
-
IMPROVED: Added and modified code so that every time the SSH CLI menu is run, it checks if the WebGUI page has already been mounted. If not found mounted, the script will run the code to remount the WebGUI.
-
IMPROVED: Improved code that creates (during installation) and removes (during uninstallation) the "AddOns" menu tab entry for the WebGUI to make sure it checks for and takes into account other add-ons that may have been installed before or were later installed after the initial installation.
-
IMPROVED: Added "export PATH" statement to give the built-in binaries higher priority than the equivalent Entware binaries.
-
REMOVED code related to "var $j = jQuery.noConflict();" which is now considered obsolete.
-
IMPROVED: Various code improvements & fine-tuning.