summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-09-19luci-base: Show multiple upstream interfaceKristian Evensen
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>
2018-09-08Merge pull request #2136 from aft90/luci-app-adblock-query-box-placeholderDirk Brenken
luci-app-adblock: use placeholder in query tool
2018-09-08Merge pull request #2137 from musashino205/l10n/adblk-upd-jaDirk Brenken
luci-app-adblock: update Japanese translation
2018-09-09luci-app-adblock: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-09-07luci-app-adblock: use placeholder in query toolAndrei Troie
Use the placeholder property on the textbox in the query tool so it's more convenient. Signed-off-by: Andrei Troie <andreitroie90@gmail.com>
2018-09-07Merge pull request #2131 from tano-systems/firewall-fix-russian-translationHannu Nyman
luci-app-firewall: fix and update Russian translation
2018-09-06luci-app-firewall: fix and update Russian translationAnton Kikin
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>
2018-09-06luci-base: fix a typo in Russian translationAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-09-04Merge pull request #2110 from stangri/luci-app-https_dns_proxyDirk Brenken
luci-app-https_dns_proxy: initial commit
2018-09-03Merge pull request #2120 from TDT-AG/pr/20180830-luci-app-mwan3-fixesDirk Brenken
luci-app-mwan3: fixes and improvements
2018-09-02luci-app-https_dns_proxy: initial commitStan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.net>
2018-09-02Merge pull request #2129 from Rixerx/masterHannu Nyman
luci-base: update Polish translation
2018-09-02luci-base: update Polish translationKrystian Kozak
Updated Polish translations. Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2018-09-02Merge pull request #2127 from tano-systems/update-russian-translationHannu Nyman
luci-base: update Russian translation
2018-09-01Merge pull request #2125 from dibdot/adblockDirk Brenken
luci-app-adblock: sync with adblock 3.5.5
2018-09-01luci-base: update Russian translationAnton Kikin
Add missing translations. Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-09-01Merge pull request #2124 from YuriPet/masterHannu Nyman
luci-base: update Ukrainian translation
2018-09-01luci-app-adblock: sync with adblock 3.5.5Dirk Brenken
* fix cornercase issues in runtime information/json parsing Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-09-01luci-base: update Ukrainian translationYurii
Updated with the latest sync translation. Signed-off-by: Yurii yuripet@gmail.com
2018-08-31Merge pull request #2123 from musashino205/l10n/base-upd-jaHannu Nyman
luci-base: update Japanese translation
2018-09-01luci-base: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-09-01i18n: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-08-30luci-proto-ppp: align keepalive defaults with current OpenWrtJo-Philipp Wich
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>
2018-08-30luci-app-mwan3: translate missing text in diagnostic pageFlorian Eckert
Translate missing text. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30luci-app-mwan3: diagnostic fix physical device lookupFlorian Eckert
Use diffrent function to get the physical interface name. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30luci-app-mwan3: change interface enabled option to use flag cbi classFlorian Eckert
Make mwan3 interface enable config option use cbi flag. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30luci-app-mwan3: add command to diag_command output viewFlorian Eckert
Add executed command to diagnostic output. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-29Merge pull request #2117 from cshoredaniel/pr-app-nutHannu Nyman
luci-app-nut: Add support for NUT configuration
2018-08-29luci-app-nut: Add support for NUT configurationDaniel Dickinson
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>
2018-08-20Merge pull request #2103 from dibdot/force_fixHannu Nyman
luci-mod-admin-full: fix forced upgrade
2018-08-20luci-mod-admin-full: fix forced upgradeDirk Brenken
* fix logical glitch in forced upgrade logic Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-08-20Merge pull request #2095 from ameer1234567890/remove-colons-unboundDirk Brenken
luci-app-unbound: Colons removed from input headers
2018-08-19luci-app-unbound: Colons removed from input headersAmeer Dawood
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>
2018-08-17Merge pull request #2075 from dibdot/force_updateDirk Brenken
luci-mod-admin-full: allow forced upgrade (revised)
2018-08-17luci-mod-admin-full: allow forced upgrade (revised)Dirk Brenken
* 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>
2018-08-17luci-base: remove fake password field from tab orderJo-Philipp Wich
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>
2018-08-16luci-base: mark password template dummy field as hiddenJo-Philipp Wich
Mark the dummy input field as aria-hidden, should fix #2063. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-08-15Merge pull request #2068 from ameer1234567890/patch-1Dirk Brenken
luci-app-minidlna: Colons removed
2018-08-15luci-app-minidlna: Colons removedAmeer Dawood
Colons have been removed as asked in #1566 Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
2018-08-15Merge pull request #2066 from hcwhan/masterHannu Nyman
the 'infinite' error in zh-cn
2018-08-15Update base.pohcwhan
2018-08-13Merge pull request #2040 from yangfl/masterJo-Philipp Wich
luci-app: update Chinese translation
2018-08-13Merge pull request #1989 from hanipouspilot/ncmJo-Philipp Wich
luci-proto-ncm: suggest both tty and wdm devices
2018-08-13Merge pull request #2060 from Ansuel/rebooJo-Philipp Wich
luci-mod-admin-full: applyreboot doesn't reload page
2018-08-13Merge pull request #2058 from EricLuehrsen/unbound_20180810Jo-Philipp Wich
luci-app-unbound: add zone-details combined tab
2018-08-13luci-mod-admin-full: applyreboot doesn't reload pageAnsuel Smith
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>
2018-08-13luci-app-firewall: allow "open ports" when no wan zone existsJo-Philipp Wich
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>
2018-08-13treewide: rework uci change displayJo-Philipp Wich
- 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>
2018-08-12luci-app-unbound: add zone-details combined tabEric Luehrsen
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2018-08-11luci-app: update Chinese translationyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>