Age | Commit message (Collapse) | Author |
|
Several devices have multiple upstream interfaces, for example a fixed
and a mobile broadband connection. Currently, only one upstream
interface is shown per address family in Luci. So in my example, one of
the interfaces would not appear on the Status-page.
This PR introduces support for showing multiple upstream interfaces on
the Status-page. The code is not very complicated. get_status_by_route()
has been extended to return a list of all routes, and
get_wannet()/get_wan6net() now returns all upstream interfaces.
I could not find any other (active) users of these three functions than
calls triggered from the Status-page, so changing the default behavior
should be fine. get_wandev()/get_wan6dev() called get_status_by_route(),
but I could not find any place where those functions were called. I
removed the dev-functions instead of keeping the old
get_status_by_route().
On the status page, the wan/wan6-variables have been replaced with
arrays. When populating the html, we now iterate through these arrays
and create one element for each interface.
I have tested the code with different interface types, v4, v6, as well as
disconnecting and connecting interfaces. The status is updated and the
correct interfaces (or sometimes none at all) are shown.
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
|
|
luci-app-adblock: use placeholder in query tool
|
|
luci-app-adblock: update Japanese translation
|
|
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Use the placeholder property on the textbox in the query tool so it's more convenient.
Signed-off-by: Andrei Troie <andreitroie90@gmail.com>
|
|
luci-app-firewall: fix and update Russian translation
|
|
Add missing translations and update existing not quite correct translations.
Removed redundant <br> tags from translations.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
|
|
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
|
|
luci-app-https_dns_proxy: initial commit
|
|
luci-app-mwan3: fixes and improvements
|
|
Signed-off-by: Stan Grishin <stangri@melmac.net>
|
|
luci-base: update Polish translation
|
|
Updated Polish translations.
Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
|
|
luci-base: update Russian translation
|
|
luci-app-adblock: sync with adblock 3.5.5
|
|
Add missing translations.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
|
|
luci-base: update Ukrainian translation
|
|
* fix cornercase issues in runtime information/json parsing
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Updated with the latest sync translation.
Signed-off-by: Yurii yuripet@gmail.com
|
|
luci-base: update Japanese translation
|
|
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Disabling LCP echos by *not* setting "option keepalive" was broken in
OpenWrt since https://dev.archive.openwrt.org/ticket/2373.html so setting
"0" in LuCI had the effect of reverting back to "5, 1" while the help
suggested otherwise.
Support for "keepalive 0" was fixed with https://git.openwrt.org/555c59230
so align LuCI now to emit "option keepalive 0" instead of removing the
option when entering "0" in the gui.
Fixes #2112
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Translate missing text.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Use diffrent function to get the physical interface name.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Make mwan3 interface enable config option use cbi flag.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Add executed command to diagnostic output.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
luci-app-nut: Add support for NUT configuration
|
|
Adds app to configure NUT (Network UPS Tools), including
nut-server, nut-monitor, and nut-cgi.
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
|
|
luci-mod-admin-full: fix forced upgrade
|
|
* fix logical glitch in forced upgrade logic
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
luci-app-unbound: Colons removed from input headers
|
|
Most OpenWrt applications do not have a colon in input headers.
This has been explained in #1566 as well.
This commit removes the said colons.
Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
|
|
luci-mod-admin-full: allow forced upgrade (revised)
|
|
* allow 'forced' firmware upgrades, even if the image format check
fails. Useful where flashing back to the OEM versions or switching
between ar71xx and ath79 builds
* option is only visible after first/failed image check
* added warning info (see screenshots below)
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Set a negative tabindex on the dummy password field to not break the form
tab order flow.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Mark the dummy input field as aria-hidden, should fix #2063.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-app-minidlna: Colons removed
|
|
Colons have been removed as asked in #1566
Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
|
|
the 'infinite' error in zh-cn
|
|
|
|
luci-app: update Chinese translation
|
|
luci-proto-ncm: suggest both tty and wdm devices
|
|
luci-mod-admin-full: applyreboot doesn't reload page
|
|
luci-app-unbound: add zone-details combined tab
|
|
The applyreboot page doesn't reload the page onload of the loding gif. This adds the right function.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
Arguably this makes little if no wan zone exists but prefer consistency
over heuristics and always render the "open port" shortcut.
Fixes #2056
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
- Use native rpcd uci changes format instead of incompletely converting
back and forth between the old and the new format
- Rework uci changelog template to print the equivalent uci commands
for the various changes
- Rework theme headers to properly count the uncomitted changes
- Rework theme CSS to properly style new changelog
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
|
|
Signed-off-by: David Yang <mmyangfl@gmail.com>
|