summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status
AgeCommit message (Collapse)Author
2020-04-09treewide: reorganize base ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-08Merge pull request #3769 from dibdot/logread-fixJo-Philipp Wich
luci-base: accept alternative logread location
2020-04-03luci-mod-status: use LuCI.ui.instantiateView() to load index viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-03treewide: import utility classes explicitlyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-01luci-mod-status: luci-bwc: skip "." and ".." when finding netdevsJo-Philipp Wich
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-03-24luci-mod-network, luci-mod-status: allow assoclist wrappingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit a600ebb5fe14b13cb53669eb73b86f66cc699e94)
2020-03-23luci-mod-status: tag DHCP lease tables with dedicated CSS classesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23luci-mod-status: adjust assoclist markup for easier stylingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-23luci-mod-status: use generic .cbi-section-actions style for row actionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-20luci-base: accept alternative logread locationDirk Brenken
* 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-04luci-mod-status: routes.js: remove debug codeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-01luci-base: Show used memory instead of FreeHoward Su
This makes sure solid/blue bar shows the used memory. Signed-off-by: Howard Su <howard0su@gmail.com>
2020-02-23luci-mod-status: hide DHCP status if dnsmasq/odhcpd aren't presentJo-Philipp Wich
Fixes: #3674 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-18luci-mod-status: don't drop lines with negated addressesJo-Philipp Wich
Fixes: #3642 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-17luci-mod-network, luci-mod-status: harmonize wifi signal indicatorsJo-Philipp Wich
Fixes: #3636 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-20luci-mod-status: refactor luci-bwcJo-Philipp Wich
- 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>
2019-12-29luci-mod-status: reimplement route status page as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-22luci-mod-status: remove obsolete nameinfo routeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-22luci-mod-status: reimplement log pages as client side viewsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-22luci-mod-status: reimplement iptables status page as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-22luci-mod-status: replace iptables controller actions with cgi-io callsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-20luci-base: fix typosBalázs Úr
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2019-12-17luci-base: fix typosBalázs Úr
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2019-12-16luci-mod-status: convert menu nodes to JSONJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-15luci-mod-status: ensure comment escaping in iptables status outputJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-14luci-mod-status: display secondary lease IPv6 addresses if availableJo-Philipp Wich
Ref: https://forum.openwrt.org/t/luci-not-showing-2nd-ipv6-address/48271 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-14luci-mod-status: fix free swap calculationJo-Philipp Wich
Fixes: #3295 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-12luci-mod-status: fix graph rendering with XHTML themesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-08luci-mod-status: remove inline CSS hacks from wifi statusJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-07luci-mod-status: 60_wifi.js: use new network.js functions for wifi statusJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-07luci-mod-status: fix stray "null" in wifi assoclist status viewJo-Philipp Wich
Fixes: #3272 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-05luci-mod-status: 10_system.js: fix local time displayJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03treewide: require ui.js explicitlyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03luci-mod-status: move processes.js to correct directoryJo-Philipp Wich
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-03luci-base, luci-mod-status: convert process status to client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03luci-mod-status: 60_wifi.js: fix channel and bitrate displayJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03luci-base, luci-mod-status: convert realtime stats to client side viewsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-02luci-mod-status: use available and cached memory for progress barsZachary Cook
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-01luci-mod-status: use declarative dependencies in controllerJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-01luci-mod-status: reimplement index status page as client side viewJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-26luci-mod-status: xDSL Status: use new var names dsl.errors_fecs_*Martin Schiller
This is part of the FECS counter fix. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-07-19luci-mod-status: luci-bwc: use 64bit traffic countersJo-Philipp Wich
Fixes: #2659 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-10luci-mod-status: show all interface addresses on index pageJo-Philipp Wich
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-05-02luci-mod-admin-full: improve connection page lookup loopAnsuel Smith
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-04-08luci-mod-status: Remove port suffix where not applicableOlli Asikainen
Submitted-by: Olli Asikainen <olli.asikainen@gmail.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-04-08luci-mod-status: convert bytes into KB / MB / GB on progress barClaudio Marelli
Currently on the system status page the the memory usage is shown in kB only. If you have a system with 1 GB of Ram its hard to read the large numbers. This automatically formats the byte numbers more human readable into KB / MB / GB. Submitted-by: Claudio Marelli <camarelli@gmx.net> [squash commits, rewrap commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-02-12luci-mod-status: iptables.js: fix parsing IP addresses in rulesJo-Philipp Wich
Rework the regexp pattern to allow both IP addresses without mask and IPv6 addresses with netmask instead of CIDR notation. Fixes: #2495, #2530 Fixes: f6bfac211 ("luci-mod-status: rework iptables status page") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-10luci-mod-status: split status page into a series of partialsAnton Kikin
Split status page into a series of partials as discussed in PR #2359. Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-12-10luci-mod-status: switch iptables_dump action to luci.sys.process.execJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-02luci-mod-status: use -w flag when dumping iptablesJo-Philipp Wich
Multiple iptables listing commands might be triggered in parallel due to the XHR polling, so use the -w flag to wait for the lock to become free. Signed-off-by: Jo-Philipp Wich <jo@mein.io>