Do not allow deleting your own user name
Currently if you delete your own user name, then the config ends up with a blank user tag in it. Rather than fix that up, it seems dangerous to be able to delete yourself anyway, because if you are the last user with admin privs for which you know the password (i.e. if you have not recorded the password for "admin" somewhere), then you can lock yourself out. That would require console access to fix, which for some people is a pain....
missing "(" (cherry picked from commit 70381d4803b9424c1a3f3ef518d8243062452d77)
optional arg for old behaviour(cherry picked from commit cf63f1638aab685cc956502f5ddd862a10bf3ff8)
function name hms -> dhms
to match edit to util.inc(cherry picked from commit c57e936a6596550619f7261e85b633ca5016cbf2)
Simplify convert_seconds_to_hms() and show days for large numbers of hours
1) Function can be simplified and all "if" statements removed, using intdiv (or casting result as int for PHP < 7) and % for calcs and sprintf for padding.2) Input validity check before trying to convert format...
Add "delete entry" for ARP table
Useful function in some circumstances - seems no reason not to have it.
Uses IP rather than hostname since not all ARP entries have hostnames.
Probably should also have "delete all" but not done that.(cherry picked from commit 6ea0d41e3c094a0977e7f0d022ec74276280b8ff)
Fix NTP PPS. It had 'None' option available on 2.2.x.
(cherry picked from commit ceabd66d57f7199602d3a23cb8a60080bcfa67ea)
Fix "Unable to remove NTP GPS from configuration"
https://forum.pfsense.org/index.php?topic=112771.msg627573(cherry picked from commit 55de528cbb177b4a1f40554ad1a567198bbeebb3)
redundant check - is_numericint() tests for >= 0(cherry picked from commit f208e9690e2ec4089cf3d3fe5f5f03fed5a36e6f)
Use global backup count instead of hardcoded value and remove redundant function(cherry picked from commit 01b5410ae8391998ba560d40f447c7f556472c5b)
View revisions
Also available in: Atom