summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full/luasrc/view
AgeCommit message (Collapse)Author
2016-04-18luci-mod-admin-full: fix wrong dsl stats visualizationLuca Debernardi
This patch fixes the wrong visualization of Noise Margin (SNR) and Signal Attenuation (SATN) stats Signed-off-by: Luca Debernardi <luca.debernardi@gmail.com>
2016-03-16Add support for showing ipv6 NAT table in LuciHannu Nyman
When kmod-nf-nat6 and kmod-ipt-nat6 are installed, the firewall has also the 'nat' table for ipv6, and packages like 'adblock' utilize that table. Currently that table is not shown on the Luci firewall status page, although it is visible by 'ip6tables -L -v -t nat' from console. Detect 'nat' table's presence from /proc/net/ip6_tables_names Show 'nat' table in Status->Firewall->IPv6 if that table is present. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-03-07luci-mod-admin-full: extend dsl statsHauke Mehrtens
This adds a lot of new status information about the dsl line. It now looks like this on a Telekom line: Status: UP Line State: showtime_tc_sync [0x801] Line Mode: G.993.2 (VDSL2) Annex: B Profile: 17a Data Rate: 51.391 Mb/s / 10.046 Mb/s Max. Attainable Data Rate (ATTNDR): 63.817 Mb/s / 23.908 Mb/s Latency: 4.0 ms / 8.0 ms Line Attenuation (LATN): 10.5 dB / 9.9 dB Signal Attenuation (SATN): 8.2 dB / 14.4 dB Noise Margin (SNR): 10.5 dB / 9.7 dB Aggregate Transmit Power(ACTATP): -14 dB / 12.4 dB Forward Error Correction Seconds (FECS): 1 / 1723485 Errored seconds (ES): 0 / 2477 Severely Errored Seconds (SES): 0 / 50 Loss of Signal Seconds (LOSS): 0 / 0 Unavailable Seconds (UAS): 31 / 31 Header Error Code Errors (HEC): 0 / 0 Non Pre-emtive CRC errors (CRC_P): 0 / 0 Pre-emtive CRC errors (CRCP_P): 0 / 0 Line Uptime: 2m 3s ATU-C System Vendor ID: Broadcom 176.15 Power Management Mode: L0 - Synchronized Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-03-07luci-mod-admin-full: rename ADSL to DSLHauke Mehrtens
This could also be a VDSL link Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-02-10luci-mod-admin-full: fix direct package installJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-25luci-mod-admin-full: only offer VHT rates which are actually supported by ↵Jo-Philipp Wich
the driver Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-25luci-mod-admin-full: map DHCPv6 DUIDs to MACsJo-Philipp Wich
Map DUIDs to their corresponding MAC addresses in order to correlate them with IPv4 information. This is useful to e.g. identify IPv6 hosts which do not send a name. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-25luci-mod-admin-full: fix displaying of VHT rates (#533)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20luci-mod-admin-full: align assoclist in wifi overview with status index pageJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20luci-mod-admin-full: show more information in assoc list (#540)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20luci-mod-admin-full: fix device selection in wireless and bandwidth realtime ↵Jo-Philipp Wich
stats Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-12-18luci-mod-admin-full: interface status page / clarify address displayHannu Nyman
Copy the changes made by f8d0ba00b2ff27dc9e2f10712bc343ae655fbdf9 also to the interface details pages in order to clarify display of multiple addresses. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-12-08luci-mod-admin-full: update IPv4/IPv6 list viewsAlexander Logger
For better view of 'Interface Overview' IPv4/IPv6 addresses for interfaces should be displayed as lists, but not as comma separated strings. Signed-off-by: Alexander Logger <intagger@gmail.com>
2015-11-21luci-mod-admin-full: fix script regression after ↵Jo-Philipp Wich
152ba9ab228ad4ea4c1748f29fe4ffa5f8f74ac6 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-19luci-mod-admin-full: revert accidential button type change in ↵Jo-Philipp Wich
20fdac1ac4a126ceebde13fb627a9f88bba0e2b3 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-17luci-mod-admin-full: allow empty mac in interface statusJo-Philipp Wich
Also adjust for changed IP address format emitted by iface_status call. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-16luci-mod-admin-full: prevent submit with interface delete button (#549)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-22luci-mod-admin-full: fix invalid markup in packages.htm (#518)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-22luci-mod-admin-full: restructure and fix backup, restore and sysuprade (#517)Jo-Philipp Wich
Do not use standard post security checking for actions that require file upload since reading the token value will trigger parsing of the http message body before the file upload handler has been set, which causes LuCI to buffer the entire request body in memory. In order to simplify the code and logic flow, split action_flashops() into separate handlers for reset, backup, restore and sysupgrade. Let the backup restore and sysupgrade handlers use the new test_post_security() method in luci.dispatcher to perform token checking *after* setting the upload handler. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-20luci-mod-admin-full: protect iptables counter reset and restart with tokenJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-20luci-mod-admin-full: protect network post actions with csrf tokensJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-20luci-mod-admin-full: protect clock, flash and opkg ops with submit tokenJo-Philipp Wich
* Use post_on() target to require csrf token verification for modifying actions * Ensure that package and flash operation handlers guard modifying operations with parameter check Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-07Globally replace luci.dispatcher.build_url(...) with url(...) invocationsJo-Philipp Wich
Also concat multiple string arguments into one while we're at it. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-07luci-mod-admin-full: switch to POST action for rebootJo-Philipp Wich
Also rework the reboot tmeplate a little bit. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06luci-mod-admin-full: switch to POST actions for UCI changesJo-Philipp Wich
Switches UCI apply/revert/save to CSRF token protected POST actions. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06Globally convert headline anchors into name attributes.Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-03luci-mod-admin-full: status: survive broken DSL status outputJo-Philipp Wich
Only attempt to call "dsl_func" if the dsl_control lucistat output could be successfully evaluated. Works around https://dev.openwrt.org/ticket/20607 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-16Luci opkg/packages: Show package size in list of available packagesHannu Nyman
Add package *.ipk size information to package listing in Luci, as opkg was today extended to support listing also the size information. Visible fields are now: name, version, size, description That will help users considering installation of a certain package to assess its size impact on flash. Note: Opkg data includes the size of the .ipk file, not the expanded size. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-07-27Fix: A disabled wireless network may be shown as enabled, when multiple ↵Georgi Valkov
networks are defined on the same radio.
2015-04-15luci-mod-admin-full: switch to a ipv6 enabled hostFreifunkUFO
change hostname to dev.openwrt.org.. that is available via ipv4 AND ipv6
2015-01-22luci-mod-admin-full: convert luci.sys.net.arptable() to luci.ip.neighbors()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-mod-admin-full: switch to luci.ip route functionsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16Update my email addresses in the license headersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16Globally reduce copyright headersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16luci-mod-admin-full: directly require luci.version and fetch uname with ↵Jo-Philipp Wich
library call Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-admin-full: display routers localtime againJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-admin-full: remove useless "bit" requiresJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-admin-full: switch to nixio.fsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15luci-mod-admin-full: eliminate the use of luci.sys.sysinfo()Jo-Philipp Wich
Fetch the required information via ubus instead of relying on the to-be-removed luci.sys.sysinfo() and luci.sys.loadavg() functions. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08Rework LuCI build systemJo-Philipp Wich
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>