Jo-Philipp Wich
2dbd9ff245
luci-mod-status: hide DHCP and assoclist on insufficient ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-18 23:25:22 +02:00
Jo-Philipp Wich
a0db2abea3
luci-mod-status: index.js: skip includes which failed loading
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-18 23:25:22 +02:00
Jo-Philipp Wich
f4651cb129
treewide: fix trailing commans in ACL JSON files
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17 23:40:14 +02:00
Jo-Philipp Wich
8f34e105c0
treewide: add ACL annotations to menu entries
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17 12:40:31 +02:00
Jo-Philipp Wich
17770e49eb
luci-mod-status: assoclist: hide wifi disconnect on insufficient ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:32:32 +02:00
Jo-Philipp Wich
c099344013
treewide: reorganize base ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-09 23:23:33 +02:00
Jo-Philipp Wich
5fe88f8caf
Merge pull request #3769 from dibdot/logread-fix
...
luci-base: accept alternative logread location
2020-04-08 09:19:09 +02:00
Jo-Philipp Wich
f9d61213fb
luci-mod-status: use LuCI.ui.instantiateView() to load index view
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-03 13:27:20 +02:00
Jo-Philipp Wich
3c4bc228a1
treewide: import utility classes explicitly
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-03 10:00:06 +02:00
Jo-Philipp Wich
16f0997bdb
luci-mod-status: luci-bwc: skip "." and ".." when finding netdevs
...
Skip the "." and ".." directory entries of "/sys/class/net/" instead of
passing them on to libiwinfo's probe function. This avoids a situation
where the kernel requests a modprobe of "netdev-." and "netdev-.." over
and over again, resulting in high load on lower end systems.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-01 18:45:18 +02:00
Jo-Philipp Wich
04c73f1613
luci-mod-network, luci-mod-status: allow assoclist wrapping
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit a600ebb5fe14b13cb53669eb73b86f66cc699e94)
2020-03-24 22:14:18 +01:00
Jo-Philipp Wich
be62595c5b
luci-mod-status: tag DHCP lease tables with dedicated CSS classes
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 22:02:30 +01:00
Jo-Philipp Wich
e26b6c8c14
luci-mod-status: adjust assoclist markup for easier styling
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 22:01:53 +01:00
Jo-Philipp Wich
4fa409c7c4
luci-mod-status: use generic .cbi-section-actions style for row actions
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23 21:55:50 +01:00
Dirk Brenken
085f3f7809
luci-base: accept alternative logread location
...
* minimal change to accept the usual logread location
plus the alternative location (/usr/sbin/logread)
used by syslog-ng (see openwrt/packages/issues/11535 for reference)
Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-03-20 16:11:31 +01:00
Jo-Philipp Wich
acef56726c
luci-mod-status: routes.js: remove debug code
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-04 08:25:20 +01:00
Howard Su
d09f3b64b2
luci-base: Show used memory instead of Free
...
This makes sure solid/blue bar shows the used memory.
Signed-off-by: Howard Su <howard0su@gmail.com>
2020-03-01 08:52:07 +08:00
Jo-Philipp Wich
4efc7cbbda
luci-mod-status: hide DHCP status if dnsmasq/odhcpd aren't present
...
Fixes : #3674
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-23 21:13:53 +01:00
Jo-Philipp Wich
c3b07fb358
luci-mod-status: don't drop lines with negated addresses
...
Fixes : #3642
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-18 14:00:08 +01:00
Jo-Philipp Wich
2cad20e7ea
luci-mod-network, luci-mod-status: harmonize wifi signal indicators
...
Fixes : #3636
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-17 09:50:36 +01:00
Jo-Philipp Wich
8b1d831935
luci-mod-status: refactor luci-bwc
...
- Read interface statistics from /sys/class/net/
- Discover all wireless interfaces, not just specifically named ones
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-20 18:55:05 +01:00
Jo-Philipp Wich
16d049f7cd
luci-mod-status: reimplement route status page as client side view
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-29 23:03:58 +01:00
Jo-Philipp Wich
2417ad5d61
luci-mod-status: remove obsolete nameinfo route
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-22 23:20:23 +01:00
Jo-Philipp Wich
939b371bc7
luci-mod-status: reimplement log pages as client side views
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-22 23:20:23 +01:00
Jo-Philipp Wich
b9bb34612e
luci-mod-status: reimplement iptables status page as client side view
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-22 23:20:23 +01:00
Jo-Philipp Wich
43a4481e10
luci-mod-status: replace iptables controller actions with cgi-io calls
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-22 23:20:23 +01:00
Balázs Úr
8b47bb8411
luci-base: fix typos
...
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2019-12-20 16:48:51 +01:00
Balázs Úr
d0bc86bcc3
luci-base: fix typos
...
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2019-12-17 11:41:00 +01:00
Jo-Philipp Wich
c698cd5ab9
luci-mod-status: convert menu nodes to JSON
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-16 18:07:18 +01:00
Jo-Philipp Wich
b3ef7a17ea
luci-mod-status: ensure comment escaping in iptables status output
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-15 18:52:20 +01:00
Jo-Philipp Wich
b03ee4a097
luci-mod-status: display secondary lease IPv6 addresses if available
...
Ref: https://forum.openwrt.org/t/luci-not-showing-2nd-ipv6-address/48271
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-14 13:47:25 +01:00
Jo-Philipp Wich
80c9b6fee0
luci-mod-status: fix free swap calculation
...
Fixes : #3295
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-14 09:30:49 +01:00
Jo-Philipp Wich
95bfb3f363
luci-mod-status: fix graph rendering with XHTML themes
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-12 11:51:49 +01:00
Jo-Philipp Wich
6ee6123061
luci-mod-status: remove inline CSS hacks from wifi status
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-08 15:59:40 +01:00
Jo-Philipp Wich
9fac447bc8
luci-mod-status: 60_wifi.js: use new network.js functions for wifi status
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-07 12:12:15 +01:00
Jo-Philipp Wich
861ec9e821
luci-mod-status: fix stray "null" in wifi assoclist status view
...
Fixes : #3272
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-07 08:29:35 +01:00
Jo-Philipp Wich
b27b5cfb51
luci-mod-status: 10_system.js: fix local time display
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-05 22:15:01 +01:00
Jo-Philipp Wich
86f492173d
treewide: require ui.js explicitly
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 21:55:50 +01:00
Jo-Philipp Wich
b2a46e131b
luci-mod-status: move processes.js to correct directory
...
Fixes: a43b1c646
("luci-base, luci-mod-status: convert process status to client side view")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 21:18:36 +01:00
Jo-Philipp Wich
a43b1c6468
luci-base, luci-mod-status: convert process status to client side view
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 20:07:58 +01:00
Jo-Philipp Wich
8de9b69b1a
luci-mod-status: 60_wifi.js: fix channel and bitrate display
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 18:12:28 +01:00
Jo-Philipp Wich
cfb5af89e1
luci-base, luci-mod-status: convert realtime stats to client side views
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 17:56:58 +01:00
Zachary Cook
b436eb0545
luci-mod-status: use available and cached memory for progress bars
...
Fixes : #1148
Uses available and cached memory from /proc/meminfo via procd, and carefully
handles the cases where they are nil or zero, so as to not require specific
linux or procd versions to function
MemAvailable is a better estimate than free + buffered/cached, see:
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0
Also adds a new progressbar that shows cached memory if not nil
Signed-off-by: Zachary Cook <zachcook1991@gmail.com>
2019-11-02 17:35:15 -04:00
Jo-Philipp Wich
22beb3f1df
luci-mod-status: use declarative dependencies in controller
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01 12:03:33 +01:00
Jo-Philipp Wich
c85af3d761
luci-mod-status: reimplement index status page as client side view
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01 12:03:33 +01:00
Martin Schiller
5c4a5525c5
luci-mod-status: xDSL Status: use new var names dsl.errors_fecs_*
...
This is part of the FECS counter fix.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-08-26 12:03:07 +02:00
Jo-Philipp Wich
e50edeeb03
luci-mod-status: luci-bwc: use 64bit traffic counters
...
Fixes : #2659
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-19 21:56:53 +02:00
Jo-Philipp Wich
b5895e7c63
luci-mod-status: show all interface addresses on index page
...
Insteado f displaying only the primary/delegated address, display all
configured IP addresses in the upstream interface boxes, similar to
the interface overview page.
Fixes : #2757
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-10 07:15:02 +02:00
Ansuel Smith
e8bce3db42
luci-mod-admin-full: improve connection page lookup loop
...
Currently the lookup loop is very inefficient. This improve the lookup loop by moving the entities to a separate array and adds them only one time. Every entities is checked 3 times, after that it will be moved to dns cache as a raw addres (not resolved). This also introduce the Type column to identify common packet using the source port.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-05-02 12:50:36 +02:00
Olli Asikainen
8d839ddfb8
luci-mod-status: Remove port suffix where not applicable
...
Submitted-by: Olli Asikainen <olli.asikainen@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-04-08 10:18:59 +02:00