CURLOPT_USERAGENT expect the value to the user-agent string, not the entire key-value pair.
Before this fix, HTTP header "User-Agent: User-Agent: phpDynDNS/0.7" was sent for DDNS updates.
NGINX configuration at GratisDNS will not accept a user-agent formatted in the above way.
This commit fixes GratisDNS Dynamic DNS service.
(cherry picked from commit ce9a957241)
BOOTP leases do not have a maximum lease time by default, this could
potentially lead to a DHCP address pool exhaustion.
This commit adds an option to ignore BOOTP queries.
Redmine #4351
(cherry picked from commit 6d53301b1f)
It seems odd to me that when the times are displayed in UTC they have
24-hour clock, but when displayed in local time they are formatted with
12-our clock and AM/PM.
24-hour format takes less screen space, and I would have thought that
network admins would prefer working consistently in 24-hour clock
format.
(cherry picked from commit ede534659c)
For users that have "custom settings" enabled, save the "tool" settings
of their widgets on a per-user basis.
User that do not have "custom settings" enabled will continue to use and
save widget settings to/from the system-wide settings.
(cherry picked from commit 2b7d052081)
1) If a checkbox does not have a description (even if it is empty), layout will be broken as checkbox won't be aligned correctly
2) UPnP checkbox looks better with description instead of help
This commit fixes the two issues
(cherry picked from commit 1a8e5f2f67)
The original code here ended up always applying the time zone offset once, and if you had set dhcpv6leaseinlocaltime then it got applied twice, so Sydney at UTC+10:00 would show UTC+20:00 and presumably somewhere at UTC-04:00 would show UTC-08:00
This change makes the code use the same logic as the V4 status_dhcp_leases.php - which works and is simpler.
Note: both the V4 and V6 code format the output, when using local time, as 12-our clock with AM/PM. That seems a bit odd, but I will leave it for now. I will make a separate pull request to change it to 24-hour clock (like is displayed in V4 leases in UTC)