Display input error when no aliases to import
Currently if you put nothing in the "Aliases to import" box and press Save then the page just reloads - nothing saves and there is no message about the problem. It should tell you to that "Aliases to import" is required....
Internationalization (getttext)
Please also backport to 2.3
(cherry picked from commit d0718a0f9031f9dc7c6eff3e47e472178c900ece)
Fix copy-paste of ipsec.widget.php file name
Noticed while looking in widget code, might as well fix it.(cherry picked from commit a80ce1a7e03ca4fa61f83166b747b4f72dddd4ba)
Fix #7134 Interface Stats widget ifdescrs not defined
When doing testing I had the Interfaces widget open as well as Interface Statistics. $ifdescrs was already populated as an array by the Interfaces widget, so Interface Statistics had (accidentally) gained the benefit....
Merge pull request #3391 from NOYB/Status_/_Interfaces_-_Relinquish_DHCP_Lease_2_3
Protect against forech errors if this function does not return an array. Fixes #7134
Regenerate pot
Add filter to SMART status widget
(cherry picked from commit 22e8fa1f6aec0b1536f0c07e1573ac78a291891f)
Status / Interfaces - Relinquish DHCP Lease
Send gratuitous DHCP release message to server.
Dependency:To fully relinquish the DHCP lease, the "RELEASE" reason needs to be added to the /sbin/dhclient-script.s/EXPIRE|FAIL)/EXPIRE|FAIL|RELEASE)/
Without the 'RELEASE' reason, the DHCP release message will still be sent to the server, however the local dhclient leases will not reflect the relinquishment. Therefore, DHCP renewal will do a DHCP request for the previous address rather than doing a DHCP discovery and being more likely to be assigned a different address.
Status / Interfaces - Match Var Names
Match Form Input and Function Parameter Names with associated Var Name.
Use "ifdescr" as form input name instead of "if" since "ifsescr" is the var being passed.Use "ifdescr" as showDefBtn function var instead of "ifval" since "ifsescr" is the var being passed....
View revisions
Also available in: Atom