Before the change, the options '*' and 'any' in the drop down were not
recognized as valid options, when loaded from the uci. With this change,
the options '*' and 'any' are mapped to 'all' and saved as such. This
change is especially important if the proto option is changed manually
to '*' or 'any' in shell and then further configured via LuCI.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 972096bf39)
Adjust the defaults shown in the LuCI user interface to match
the real default values in the default config file.
(If a plugin is disabled and config values get deleted from
the config file, user has been offered incorrect default
values from UI defaults when the plugin is later re-enabled.)
* email: socket in /var/run/collectd/ dir
* ping: TTL 127
* rrdtool: 3600 sec (1hour) as shortest period, 144 RRArows
* unixsock: socket in /var/run/collectd/ dir
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(Backported and adapted from commit f7e5b56649)
Tidy up the current default config for statistics:
* df: use /overlay as the example mount point instead of /jffs
* openvpn: add missing section
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(backported and adapted from commit c052818ee9)
* add search anchor to all listed domains on dns report page
* small wording changes & cosmetics
* update translations
Signed-off-by: Dirk Brenken <dev@brenken.org>
Backport from master the current defaults based on 1cff1002.
(The part related to 'idle' state is not backported, yet)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Rename .po(t) files from hd_idle.po to hd-idle.po
in order to get them noticed in weblate.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 74c17ea84c)
Set the fallback value of the config change rollback timeout
to 90 seconds to match the change in /etc/config/luci by commit
81cf99a50.
That commit changed the value in the config file, but did
not change the underlying fallback values that do get applied
when there is no proper config item in etc/config/luci.
Users sysupgrading from old systems may have carried an ancient
/etc/config/luci (without rollback config) with them, so this
change should help them to see the intended user experience.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit b0fe11ffc4)
The "Match ICMP type" drop-down menu was missing this ICMPv6 type. According to RFC 4890 section 4.3.1 it is essential for communications and must not be dropped. This patch allows for doing this through LuCI.
Signed-off-by: Robby K <robbyke@gmail.com>
Tweak the lua regex string for process list, so that processes
with extremely large memory sizes (over 100 MB) are matched.
For those large processes busybox top shows a MB value like '234m'
instead of a normal kB value like 234000.
Fixes#4425
Reference to https://github.com/openwrt/luci/issues/4425#issuecomment-694073479
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 4f2ecd88fd)
Remove the reference to setting a password being linked to SSH capability.
(SSH has been initially enabled since year 2015.)
Backport of commit 258e74c1c
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Fixes rendering errors when RRD file names contain IPv6 addresses and the
colon (":") characters are double-escaped.
Reverts escaping added in #2286 in favor of escaping added in #2657.
Signed-off-by: Philip L. McMahon <philip.l.mcmahon@gmail.com>