Project

General

Profile

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

Latest revisions

# Date Author Comment
d65d58a7 06/22/2016 03:23 PM Stilez y

function name hms -> dhms

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

f2f86310 06/22/2016 03:23 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...

53c20c17 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)

d1626706 06/22/2016 03:15 PM NewEraCracker

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

(cherry picked from commit ceabd66d57f7199602d3a23cb8a60080bcfa67ea)

2a68fcd3 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)

cfa9a5be 06/22/2016 03:13 PM Stilez y

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

caed0783 06/22/2016 03:13 PM Stilez y

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

4e59bedb 06/22/2016 03:13 PM Stilez y

fix logic and replace hard coded value by global

backups should be a numeric int.
text hint for number of backups can now refer to the global value for this platform (and explains how to get that default, by leaving blank)
(cherry picked from commit 16b17c15f9fc29e9480431b5bc7bebe2bd4b6230)

3fd59575 06/22/2016 03:13 PM Stilez y

set default_config_backup_count based on platform

At the same time the platform is being detected for PHP/GUI purposes, set the default number of backups. Also handle the case where (for any reason) detection fails, which it shouldn't, so the variables are still created...

cf2e697d 06/22/2016 03:13 PM Stilez y

Give settings section a more helpful/standard title to match other GUI settings tabs
(cherry picked from commit ca55edc39342865816feef390616be8b770c889b)

View revisions

Also available in: Atom