summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status
AgeCommit message (Collapse)Author
2020-12-05luci-mod-status: fix WPS button to wrong interfaceAnsuel Smith
Reset the WPS_button variable to correctly add the button to the enabled interface. Fixes: #4625 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-12-04luci-mod-status: use raw dsl values and format them ourselvesAndre Heider
Currently lantiq_dsl.sh performs these formats expensively in a shell script. Use the raw values so the preformatted onces can be removed to cut down the runtime or the script. Signed-off-by: Andre Heider <a.heider@gmail.com>
2020-11-27treewide: transition div tables to actual table markupJo-Philipp Wich
Modern browsers allow decomposing table markup equally well as nested div constructs, therefor migrate our <div> table markup to actual <table> tags but keep the old table/tr/th/td CSS classes for now to allow for a smooth theme transition. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-11-18Merge pull request #4596 from mikma/routes-protoJo-Philipp Wich
luci-mod-status: routes.js: add route protocol
2020-11-18Merge pull request #4599 from Ansuel/move-svgJo-Philipp Wich
luci-mod-status: move svg to dedicated dir
2020-11-18luci-mod-status: move svg to dedicated dirAnsuel Smith
Move svgs from top dir to a dedicated svgs dir. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-11-15luci-mod-status: routes.js: add route protocolroutes-protoMikael Magnusson
Add protocol column to the active routes tables. The route protocol is for example helpful when using a dynamic routing daemon, such as bird or babel. Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
2020-10-30luci-mod-status: add support for add device to wifi black/whitelistAnsuel Smith
Add support for one-click add device to wifi black/whitelist in the status page. If the black/whitelist feature is enabled a combobox is displayed with the disconnect option. Device already added will display only the disconnect button. Fixes: #3675 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-10-30Merge pull request #4499 from Ansuel/clickleaseJo-Philipp Wich
luci-mod-status: add support for one-click static lease
2020-10-17luci-mod-status: add WPS control for wifi infoAnsuel Smith
Add a way to trigger and get the WPS Push Button status from the webui if supported. Fixes: #1072 Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-10-10luci-mod-status: add support for one-click static leaseAnsuel Smith
Introduce a button in the status lease table to quickly add an host as static. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-04-18luci-mod-status: hide DHCP and assoclist on insufficient ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-18luci-mod-status: index.js: skip includes which failed loadingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17treewide: fix trailing commans in ACL JSON filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17treewide: add ACL annotations to menu entriesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-mod-status: assoclist: hide wifi disconnect on insufficient ACLsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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>