Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
  cf
  conf.default
  etc
  home
  root
  sbin
  usr

Latest revisions

# Date Author Comment
01a0385e 06/22/2016 03:31 PM Phil Davis

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....

005097dd 06/22/2016 03:23 PM Stilez y

missing "("
(cherry picked from commit 70381d4803b9424c1a3f3ef518d8243062452d77)

fedbe5af 06/22/2016 03:22 PM Stilez y

optional arg for old behaviour
(cherry picked from commit cf63f1638aab685cc956502f5ddd862a10bf3ff8)

11e09114 06/22/2016 03:22 PM Stilez y

function name hms -> dhms

to match edit to util.inc
(cherry picked from commit c57e936a6596550619f7261e85b633ca5016cbf2)

8c91c89f 06/22/2016 03:22 PM Stilez y

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...

17e3a05a 06/22/2016 03:17 PM Stilez y

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)

74d0b334 06/22/2016 03:14 PM NewEraCracker

Fix NTP PPS. It had 'None' option available on 2.2.x.

(cherry picked from commit ceabd66d57f7199602d3a23cb8a60080bcfa67ea)

8d179341 06/22/2016 03:14 PM NewEraCracker

Fix "Unable to remove NTP GPS from configuration"

https://forum.pfsense.org/index.php?topic=112771.msg627573
(cherry picked from commit 55de528cbb177b4a1f40554ad1a567198bbeebb3)

99affb57 06/22/2016 03:12 PM Stilez y

redundant check - is_numericint() tests for >= 0
(cherry picked from commit f208e9690e2ec4089cf3d3fe5f5f03fed5a36e6f)

3d256eb1 06/22/2016 03:12 PM Stilez y

Use global backup count instead of hardcoded value and remove redundant function
(cherry picked from commit 01b5410ae8391998ba560d40f447c7f556472c5b)

View revisions

Also available in: Atom