Age | Commit message (Collapse) | Author |
|
Fix some small inaccuracies and inconsistencies between items.
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
|
|
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
|
|
Currently, non-existing values (null or undefined) are formatted like
zero values. Add explicit handling to allow the user to distinguish
between those and actual zero values.
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
|
|
With the material theme, there is a gap between the tab view and the
content. The css class 'cbi-section' is missing here in the data-tab div.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
The neighbour display parses the output of 'ip -4 neigh show' e.g.
192.168.219.95 dev eth1 lladdr 38:b4:d3:c9:b2:0c REACHABLE
192.168.219.200 dev eth1 lladdr 04:c4:61:12:f2:d2 STALE
Using regexp /^([0-9a-f:.]+) (.+) (\S+)$/ Unfortunately there's a
space character that sneaks in at the end of line, so let's make this
less brittle by accepting lines that may end with spaces e.g.
/^([0-9a-f:.]+) (.+) (\S+) *$/
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
|
|
Handle HE channel width for channel analysis status page and correctly
draw local interface band width.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
|
In refactoring the code there was an error and the sort function wasn't
correctly reworked with diff not correctly dropped.
Drop that and correctly sort the WiFi ap if the channel is different.
Fixes: 75dcb0975472 ("luci-mod-status: improve channel_analysis page")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
|
Instead of scraping the LuCI version from Lua sources, fetch it via ubus
in order to be independent from the Lua runtime.
Fixes: #6154
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
- Recognize `log` expression as action
- Recognize `meta time` expression
- Remove debug tooltip from `reject` targets
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Many user complained problem with using pool with wifi scan. This comes
from the limitation that some wifi driver have problems with scanning
nearby wifi and keeping traffic.
Fix this by doing the wifi scan only one time on page load and provide a
button to refresh the channels manually. The original implementation is
preserved as the user can simply reenable the poll referesh from the ui.
While at it also sort the table by channel instead of by signal quality
to better track the most used channels in the table.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[rewrap commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
The `network.getDSLModemType()` function returns a promise, so handle it
accordingly.
Fixes: 45ab2cd6be ("luci-mod-status: use network.getDSLModemType()")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
This matches what luci-mod-network does for the DSL modem configuration.
Since this is based on a common uci config, it may also prevent issues as
fixed with 111c551c "luci-base: fix DSL feature detection" in the future.
Signed-off-by: Andre Heider <a.heider@gmail.com>
|
|
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
|
|
Signed-off-by: Alexander Georgievskiy <galeksandrp@gmail.com>
|
|
Do not expose the iptables status page as menu item when nftables is present
on the system. Instead add a warning banner to the nftables status page
directing the user to the hidden iptables status page when we encounter
legacy rules on the system.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Added code to display fcdn-name in DHCPv4 lease table.
(based on code in DHCPv6 lease table)
Signed-off-by: Max S Kash <asukms@ya.ru>
Indentation adjused and wrapped commit message
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Ref: https://git.netfilter.org/nftables/commit/?id=160d44c91113849b9c09f6bbad159e10ded1ca54
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Ref: https://github.com/openwrt/luci/commit/bf175fd51a9cfc33be0c19faddda714854065180#commitcomment-66390835
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Associated Stations on the status page should also show full HE rate
information which was added by
commit f35e877dc6 ("luci-mod-network: add 802.11ax HE support")
However, it was only added to the Wireless page and not to the summary
on the Status page. Add it there as well.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
|
|
Also rename `25_diskfree.js` to `25_storage.js` to make naming anologeous
with "Memory" / `20_memory.js`.
Fixes: f09920f21a ("luci-mod-status: add diskfree info")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Fixes: #5465
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-mod-status: some improvement to wifi status
|
|
revealed under:
ubus call system board
board.release.target
Useful reminder for what to download
Signed-off-by: Paul Dee <systemcrash@users.noreply.github.com>
|
|
Currently any new entry added to the black/whitelist deletes the
others. Fix this and improve the rule apply by firstly disconnect
the wifi client.
Fixes: #5343
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
Drop isWPSEnabled table as it's really not needed and can directly
included in the network table.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
If no entries for the status tables are available. Then add the
following default entry
'No entries available'
This looks better, because not only the table header is displayed.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Optimize view and formatting for the status/routing page.
Remove redundant style and header abbreviations.
Consolidate terminology for IPv4 and IPv6 categories.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
|
|
when buffered could not be read, there is
just a questionmark (on e8450 non-ubi)
Signed-off-by: Fritz D. Ansel <fdansel@yandex.ru>
|
|
Provide comprehensive status information for routing.
Rename the "Status > Routes" page to "Status > Routing".
Unify sorting for the "Status" and "Network" menus.
Add tabs for IPv4 and IPv6 and reorganize the contents.
Display routing rules and their priorities for each protocol.
Policy-based routing is an increasingly popular problem.
Netifd natively supports policy-based routing:
* The interface-specific options "ip4table" and "ip6table".
* The routing rules using the "rule" and "rule6" sections.
LuCI is missing the information about routing rules.
Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
|
|
Fixes: f6b6a12927 ("luci-mod-status: add support for one-click static lease")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #5153
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
When I use Realtime Graphs I see following NaN errors:
Error: <polyline> attribute points: Expected number, "0,298 0,NaN 5,NaN 10,NaN…".
Error: <polyline> attribute points: Expected number, "0,298 0,NaN 5,NaN 10,NaN…".
wireless.js?v=git-21.105.40538-2da37c2:19 Error: <polyline> attribute points: Expected number, "0,298 0,NaN 5,NaN 10,NaN…".
eval @ wireless.js?v=git-21.105.40538-2da37c2:19
Promise.then (async)
eval @ wireless.js?v=git-21.105.40538-2da37c2:8
step @ luci.js?v=git-21.105.40538-2da37c2:91
start @ luci.js?v=git-21.105.40538-2da37c2:87
add @ luci.js?v=git-21.105.40538-2da37c2:82
pollData @ wireless.js?v=git-21.105.40538-2da37c2:7
render @ wireless.js?v=git-21.105.40538-2da37c2:24
Promise.then (async)
__init__ @ luci.js?v=git-21.105.40538-2da37c2:148
super @ luci.js?v=git-21.105.40538-2da37c2:22
Anonymous42Class @ luci.js?v=git-21.105.40538-2da37c2:12
(anonymous) @ luci.js?v=git-21.105.40538-2da37c2:181
Promise.then (async)
compileClass @ luci.js?v=git-21.105.40538-2da37c2:177
Promise.then (async)
require @ luci.js?v=git-21.105.40538-2da37c2:183
instantiateView @ ui.js?v=git-21.105.40538-2da37c2:311
(anonymous) @ wireless:47
Promise.then (async)
(anonymous) @ wireless:46
Signed-off-by: Lukasz Baj <l.baj@celerway.com>
[adjust subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
- Turn IPv4-Address into IPv4 address
- Turn IPv4-Gateway into IPv4 gateway
- Turn IPv6-Address into IPv6 address
- Turn IPv6-Gateway into IPv6 gateway
- Turn MAC-Address into MAC address
Also remove related duplicate translation entries.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
When an upstream NS returns PTR domain names containing HTML, it is
added verbatim to the connection status table.
Prevent this issue by HTML escaping any values in the source and
destination columns.
Fixes: CVE-2021-32019
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
When ip6tables is not present, the tab group was not initialized,
causing the iptables status display to be empty with certain themes.
Manually mark the pane active in this case to avoid the problem.
Fixes: #5040
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Wojciech Jowsa <wojciech.jowsa@gmail.com>
|
|
Fixes: #4928
Fixes: b39b7fc0d2 ("luci-mod-status: allow displaying raw iptables counter values")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #4852
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
This reverts commit 52caa1dc96ed6fde5c4b84f4f7f2a7429694f69c since it
contained unrelated changes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Fixes: #4852
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
This is significantly faster.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Tested-by: Martin Schiller <ms@dev.tdt.de>
|
|
Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
|
|
Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
[fix conflict, reword commit title]
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
- Add check for missing ht_operation data
- Add support for radio that both support 5 and 2.4 band
- Hide wireless station that doesn't belong to the graph band
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
luci-mod-status: add new channel analysis page
|
|
Add channel analysis support. This can be very useful as a user can directly use the webui to check wifi channel utilization without using external tool. This use data already provided by iwinfo.
Fixes: #4572
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|