summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status
AgeCommit message (Collapse)Author
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>