summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status
AgeCommit message (Collapse)Author
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>
2018-11-22luci-mod-status: move index and iptables page JS code into external filesJo-Philipp Wich
Also adjust the Bootstrap and OpenWrt themes accordingly Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-17luci-mod-status: fix average calculationsJo-Philipp Wich
Calculate the average over the actual data and not over the entire timeframe. Fixes #2301 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-mod-status: use progressbar widgets on main status pageJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-28Add missing variable declarations in JavaScript codeStefan Weil
This fixes errors reported by LGTM. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-10luci-mod-status: fix CDATA marker on iptables status pageJo-Philipp Wich
Fixes: f6bfac211 ("luci-mod-status: rework iptables status page") Reported-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-10luci-mod-status: rework iptables status pageJo-Philipp Wich
- Parse and format iptables listing in client side JS - Dynamically update packet counters Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-20luci-mod-status: fix querying IPv6 addressJo-Philipp Wich
Correct a typo that prevents displaying the interface IPv6 address in some cases. Fixes: #2166 Reported-by: Vladislav Grigoryev <20725816+vgaetera@users.noreply.github.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-19modules: Split luci-mod-fullDaniel F. Dickinson
Move some common elements to luci-base, and otherwise make three packages out of status, system, and network. They were mostly separated already, but there were some shared elements between status and network that are now in luci-base. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>