Releases: jackyaz/YazDHCP
Release list
v1.0.6
All credit for this release goes to @Martinski4GitHub
NEW "Back up & Restore custom user icons" option that provides a method to save & restore custom user icon image files and their corresponding icon-to-client associations.
Notes:
The current implementation of "Back up & Restore custom user icons" does not export to or import from an external PC or client device connected to the router. Instead, it targets a directory available either on the router's JFFS partition or on a USB-attached disk drive. This target directory is where the subdirectory for backups is created and can be modified using the CLI menu (see note #3 below).
The CLI main menu option 2 for the "Back up & Restore" functionality will show up only if there is at least one custom user icon file found in the "/jffs/usericon" directory, or if at least one backup file is found in the directory path defined for backups. If none of those 2 conditions is met, option 2 will not show up in the main menu.
To start using the "Back up & Restore custom user icons" feature, it's highly recommended to set the target directory where the subdirectory for backups is to be located (see option "dp" in the CLI menu). For the backups subdirectory to survive a "Factory Defaults Reset" of the router, it's highly recommended to use a directory path located on a disk drive plugged into one of the router's USB ports. You don't have to have Entware installed on the USB-attached disk; any USB disk drive formatted with either NTFS or ext4 is sufficient to use as storage for the backup files.
FIXED issue when uninstalling YazDHCP and the "dhcp_lease" NVRAM variable could be left behind with a value that was greater than 7 days which is considered "invalid" for the stock built-in "LAN - DHCP Server" webGUI page.
FIXED issue where the CLI menu option to "Export NVRAM settings" was no longer available after completing the YazDHCP installation.
FIXED issue where the webGUI "IPv6 DNS Server" option was not made visible when the IPv6 feature was enabled.
General Improvements:
Avoid restarting dnsmasq too often whenever webGUI changes are made.
Avoid calling the CLI shell script every time "/jffs/scripts/service-event" is executed for events unrelated to YazDHCP.
Check for possible conflicts to avoid ending up with duplicate MAC or IP address settings in dnsmasq when exporting DHCP settings from NVRAM or when applying DHCP IP address reservations from the webGUI page.
Added code to handle a possible scenario where the NVRAM values for "dhcp_staticlist" & "custom_clientlist" variables may be missing the first angle bracket as expected in their regular syntax.
v1.0.5
All credit for this release goes to @Martinski4GitHub
IMPROVED: The WebGUI "DHCP Lease" input field has been enhanced to accept a maximum value of 7776000 seconds (90 days). Time values can be entered in seconds (e.g. 86400s), minutes (e.g. 1440m), hours (e.g. 24h), days (e.g. 2d), or weeks (e.g. 2w). A single digit ZERO '0' or an upper-case letter 'I' indicates that an "infinite" lease time value will be applied.
v1.0.4
v1.0.3
v1.0.2
v1.0.1
NEW: Export DHCP_Clients as a CSV file from the WebUI
NEW: Import DHCP_Clients.csv, e.g. from a backup*
FIXED: Check for updates in WebUI
*The import is intended to be used to import an untouched copy of the exported file. If you decide to edit the exported file, then please ensure you add the appropriate number of delimiters/"columns" if adding any new entries. I do not intend to add any validation to the import file at this time given the intended use. I may add validation in the future if this feature proves popular/people want to safely edit the CSV.