Dirk Brenken [Sat, 8 Sep 2018 18:23:15 +0000 (20:23 +0200)]
Merge pull request #2136 from aft90/luci-app-adblock-query-box-placeholder
luci-app-adblock: use placeholder in query tool
Dirk Brenken [Sat, 8 Sep 2018 18:21:56 +0000 (20:21 +0200)]
Merge pull request #2137 from musashino205/l10n/adblk-upd-ja
luci-app-adblock: update Japanese translation
INAGAKI Hiroshi [Sat, 8 Sep 2018 17:40:08 +0000 (02:40 +0900)]
luci-app-adblock: update Japanese translation
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Andrei Troie [Fri, 7 Sep 2018 22:56:23 +0000 (23:56 +0100)]
luci-app-adblock: use placeholder in query tool
Use the placeholder property on the textbox in the query tool so it's more convenient.
Signed-off-by: Andrei Troie <andreitroie90@gmail.com>
Hannu Nyman [Fri, 7 Sep 2018 13:35:34 +0000 (16:35 +0300)]
Merge pull request #2131 from tano-systems/firewall-fix-russian-translation
luci-app-firewall: fix and update Russian translation
Anton Kikin [Mon, 3 Sep 2018 23:10:40 +0000 (02:10 +0300)]
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>
Anton Kikin [Wed, 5 Sep 2018 21:48:53 +0000 (00:48 +0300)]
luci-base: fix a typo in Russian translation
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Dirk Brenken [Tue, 4 Sep 2018 14:49:43 +0000 (16:49 +0200)]
Merge pull request #2110 from stangri/luci-app-https_dns_proxy
luci-app-https_dns_proxy: initial commit
Dirk Brenken [Mon, 3 Sep 2018 14:31:41 +0000 (16:31 +0200)]
Merge pull request #2120 from TDT-AG/pr/
20180830-luci-app-mwan3-fixes
luci-app-mwan3: fixes and improvements
Stan Grishin [Thu, 23 Aug 2018 22:11:49 +0000 (15:11 -0700)]
luci-app-https_dns_proxy: initial commit
Signed-off-by: Stan Grishin <stangri@melmac.net>
Hannu Nyman [Sun, 2 Sep 2018 17:29:25 +0000 (20:29 +0300)]
Merge pull request #2129 from Rixerx/master
luci-base: update Polish translation
Krystian Kozak [Sun, 2 Sep 2018 13:28:59 +0000 (15:28 +0200)]
luci-base: update Polish translation
Updated Polish translations.
Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
Hannu Nyman [Sun, 2 Sep 2018 07:54:06 +0000 (10:54 +0300)]
Merge pull request #2127 from tano-systems/update-russian-translation
luci-base: update Russian translation
Dirk Brenken [Sat, 1 Sep 2018 15:10:37 +0000 (17:10 +0200)]
Merge pull request #2125 from dibdot/adblock
luci-app-adblock: sync with adblock 3.5.5
Anton Kikin [Sat, 1 Sep 2018 13:38:36 +0000 (16:38 +0300)]
luci-base: update Russian translation
Add missing translations.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Hannu Nyman [Sat, 1 Sep 2018 07:25:35 +0000 (10:25 +0300)]
Merge pull request #2124 from YuriPet/master
luci-base: update Ukrainian translation
Dirk Brenken [Sat, 1 Sep 2018 06:42:00 +0000 (08:42 +0200)]
luci-app-adblock: sync with adblock 3.5.5
* fix cornercase issues in runtime information/json parsing
Signed-off-by: Dirk Brenken <dev@brenken.org>
Yurii [Fri, 31 Aug 2018 21:16:40 +0000 (00:16 +0300)]
luci-base: update Ukrainian translation
Updated with the latest sync translation.
Signed-off-by: Yurii yuripet@gmail.com
Hannu Nyman [Fri, 31 Aug 2018 19:25:03 +0000 (22:25 +0300)]
Merge pull request #2123 from musashino205/l10n/base-upd-ja
luci-base: update Japanese translation
INAGAKI Hiroshi [Fri, 31 Aug 2018 18:30:34 +0000 (03:30 +0900)]
luci-base: update Japanese translation
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
INAGAKI Hiroshi [Fri, 31 Aug 2018 17:23:25 +0000 (02:23 +0900)]
i18n: sync translations
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Jo-Philipp Wich [Thu, 30 Aug 2018 13:28:19 +0000 (15:28 +0200)]
luci-proto-ppp: align keepalive defaults with current OpenWrt
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>
Florian Eckert [Thu, 30 Aug 2018 12:41:06 +0000 (14:41 +0200)]
luci-app-mwan3: translate missing text in diagnostic page
Translate missing text.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Thu, 30 Aug 2018 07:04:48 +0000 (09:04 +0200)]
luci-app-mwan3: diagnostic fix physical device lookup
Use diffrent function to get the physical interface name.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Fri, 13 Jul 2018 12:34:28 +0000 (14:34 +0200)]
luci-app-mwan3: change interface enabled option to use flag cbi class
Make mwan3 interface enable config option use cbi flag.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Fri, 22 Jun 2018 06:51:27 +0000 (08:51 +0200)]
luci-app-mwan3: add command to diag_command output view
Add executed command to diagnostic output.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Hannu Nyman [Wed, 29 Aug 2018 13:32:58 +0000 (16:32 +0300)]
Merge pull request #2117 from cshoredaniel/pr-app-nut
luci-app-nut: Add support for NUT configuration
Daniel Dickinson [Sun, 14 Aug 2016 00:35:01 +0000 (20:35 -0400)]
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>
Hannu Nyman [Mon, 20 Aug 2018 20:41:20 +0000 (23:41 +0300)]
Merge pull request #2103 from dibdot/force_fix
luci-mod-admin-full: fix forced upgrade
Dirk Brenken [Mon, 20 Aug 2018 19:36:11 +0000 (21:36 +0200)]
luci-mod-admin-full: fix forced upgrade
* fix logical glitch in forced upgrade logic
Signed-off-by: Dirk Brenken <dev@brenken.org>
Dirk Brenken [Mon, 20 Aug 2018 15:11:06 +0000 (17:11 +0200)]
Merge pull request #2095 from ameer1234567890/remove-colons-unbound
luci-app-unbound: Colons removed from input headers
Ameer Dawood [Sun, 19 Aug 2018 08:42:49 +0000 (13:42 +0500)]
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>
Dirk Brenken [Fri, 17 Aug 2018 14:11:27 +0000 (16:11 +0200)]
Merge pull request #2075 from dibdot/force_update
luci-mod-admin-full: allow forced upgrade (revised)
Dirk Brenken [Fri, 17 Aug 2018 10:52:36 +0000 (12:52 +0200)]
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>
Jo-Philipp Wich [Fri, 17 Aug 2018 04:58:53 +0000 (06:58 +0200)]
luci-base: remove fake password field from tab order
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>
Jo-Philipp Wich [Thu, 16 Aug 2018 07:36:37 +0000 (09:36 +0200)]
luci-base: mark password template dummy field as hidden
Mark the dummy input field as aria-hidden, should fix #2063.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dirk Brenken [Wed, 15 Aug 2018 17:30:10 +0000 (19:30 +0200)]
Merge pull request #2068 from ameer1234567890/patch-1
luci-app-minidlna: Colons removed
Ameer Dawood [Wed, 15 Aug 2018 17:13:59 +0000 (22:13 +0500)]
luci-app-minidlna: Colons removed
Colons have been removed as asked in #1566
Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
Hannu Nyman [Wed, 15 Aug 2018 15:41:15 +0000 (18:41 +0300)]
Merge pull request #2066 from hcwhan/master
the 'infinite' error in zh-cn
hcwhan [Wed, 15 Aug 2018 05:43:49 +0000 (13:43 +0800)]
Update base.po
Jo-Philipp Wich [Mon, 13 Aug 2018 13:23:27 +0000 (15:23 +0200)]
Merge pull request #2040 from yangfl/master
luci-app: update Chinese translation
Jo-Philipp Wich [Mon, 13 Aug 2018 13:23:02 +0000 (15:23 +0200)]
Merge pull request #1989 from hanipouspilot/ncm
luci-proto-ncm: suggest both tty and wdm devices
Jo-Philipp Wich [Mon, 13 Aug 2018 13:21:40 +0000 (15:21 +0200)]
Merge pull request #2060 from Ansuel/reboo
luci-mod-admin-full: applyreboot doesn't reload page
Jo-Philipp Wich [Mon, 13 Aug 2018 13:21:01 +0000 (15:21 +0200)]
Merge pull request #2058 from EricLuehrsen/unbound_20180810
luci-app-unbound: add zone-details combined tab
Ansuel Smith [Mon, 13 Aug 2018 08:57:21 +0000 (10:57 +0200)]
luci-mod-admin-full: applyreboot doesn't reload page
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>
Jo-Philipp Wich [Mon, 13 Aug 2018 07:20:43 +0000 (09:20 +0200)]
luci-app-firewall: allow "open ports" when no wan zone exists
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>
Jo-Philipp Wich [Sat, 4 Aug 2018 20:09:49 +0000 (22:09 +0200)]
treewide: rework uci change display
- 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>
Eric Luehrsen [Sun, 12 Aug 2018 15:13:31 +0000 (11:13 -0400)]
luci-app-unbound: add zone-details combined tab
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
yangfl [Tue, 7 Aug 2018 12:25:39 +0000 (20:25 +0800)]
luci-app: update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
Hannu Nyman [Fri, 10 Aug 2018 14:51:44 +0000 (17:51 +0300)]
Merge pull request #2053 from YuriPet/master
luci-base: corrected Ukrainian translation
Yurii [Fri, 10 Aug 2018 14:40:44 +0000 (17:40 +0300)]
Update base.po: corrected translation errors
Signed-off-by: Yurii yuripet@gmail.com
Jo-Philipp Wich [Wed, 8 Aug 2018 08:42:25 +0000 (10:42 +0200)]
Merge pull request #2042 from Ansuel/apprebooy
luci-mod-admin-full: improve applyreboot page
Ansuel Smith [Tue, 7 Aug 2018 15:37:48 +0000 (17:37 +0200)]
luci-mod-admin-full: fix broken applyreboot page
This improve applyreboot page and fix problem with luci-nginx that doesn't refresh the page when the router reboot.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Jo-Philipp Wich [Tue, 7 Aug 2018 15:50:34 +0000 (17:50 +0200)]
Merge pull request #2043 from Ansuel/materialfix
luci-theme-material: fix theme for applyreboot page changes
Ansuel Smith [Tue, 7 Aug 2018 15:46:00 +0000 (17:46 +0200)]
luci-theme-material: fix theme for applyreboot page changes
This rename style.css to casade.css (like the other themes) and fix the css to display the header even in the applyreboot page
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Jo-Philipp Wich [Tue, 7 Aug 2018 14:27:57 +0000 (16:27 +0200)]
Merge pull request #2041 from farmergreg/to-be-or-not-to-be
Correct grammar in apply_widget.htm
Gregory L. Dietsche [Tue, 7 Aug 2018 14:20:28 +0000 (09:20 -0500)]
Correct grammar in apply_widget.htm
This patch corrects "to get" to "to be" in apply_widget.htm
This shell command was used to find and make the change in
all impacted files:
find . -type f -exec sed -i 's/Waiting for configuration to get applied/Waiting for configuration to be applied/g' {} +
Signed-off-by: Gregory L. Dietsche <gregory.dietsche@cuw.edu>
yangfl [Thu, 2 Aug 2018 05:57:46 +0000 (13:57 +0800)]
luci-base: update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
Jo-Philipp Wich [Mon, 6 Aug 2018 10:33:01 +0000 (12:33 +0200)]
Merge pull request #2038 from musashino205/l10n/samba4-upd-ja
luci-app-samba4: update Japanese translation
INAGAKI Hiroshi [Sun, 5 Aug 2018 20:18:10 +0000 (05:18 +0900)]
luci-app-samba4: update Japanese translation
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Hannu Nyman [Sun, 5 Aug 2018 17:11:34 +0000 (20:11 +0300)]
Merge pull request #2037 from Rixerx/master
luci-base: update Polish translation
Krystian Kozak [Sun, 5 Aug 2018 12:17:52 +0000 (14:17 +0200)]
luci-base: update Polish translation
Updated Polish translations.
Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
Jo-Philipp Wich [Sat, 4 Aug 2018 17:53:01 +0000 (19:53 +0200)]
Merge pull request #2026 from alanswanson/master
luci-mod-admin-full: Fix DSL Stats display of dB statistics
Alan Swanson [Tue, 31 Jul 2018 21:37:47 +0000 (22:37 +0100)]
luci-mod-admin-full: Fix DSL Stats display of dB statistics
Line attenuation, signal attenuation, noise margin and aggregate transmit power really need to show
decimal digits. Fixes commit
88713f6 from issue #2003 due to excess changes from %s to %d.
Hannu Nyman [Thu, 2 Aug 2018 05:05:33 +0000 (08:05 +0300)]
Merge pull request #2029 from yangfl/master
luci-app-ddns: fix huge typo in luasrc/tools/ddns.lua
yangfl [Thu, 2 Aug 2018 02:51:25 +0000 (10:51 +0800)]
luci-app-ddns: fix huge typo in luasrc/tools/ddns.lua
Signed-off-by: David Yang <mmyangfl@gmail.com>
Hannu Nyman [Wed, 1 Aug 2018 16:44:24 +0000 (19:44 +0300)]
Merge pull request #2017 from chris5560/master-ddns
luci-app-ddns: remove myself as PKG_MAINTAINER
Hannu Nyman [Wed, 1 Aug 2018 16:44:00 +0000 (19:44 +0300)]
Merge pull request #2015 from chris5560/master
luci-app-radicale: remove myself as PKG_MAINTAINER
Jo-Philipp Wich [Tue, 31 Jul 2018 15:24:55 +0000 (17:24 +0200)]
luci-theme-bootstrap: fix CSS regression in kernel/system log pages
An unrelated removed some crucial fixes due to improper rebasing.
Fixes:
7ba4eb1a4 ("luci-theme-bootstrap: add styling for input-adjacent buttons")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dirk Brenken [Tue, 31 Jul 2018 09:27:11 +0000 (11:27 +0200)]
Merge pull request #2021 from dibdot/travelmate
luci-app-travelmate: "final" fixes
Dirk Brenken [Tue, 31 Jul 2018 09:26:43 +0000 (11:26 +0200)]
Merge pull request #2019 from dibdot/adblock
luci-app-adblock: "final" fixes
Dirk Brenken [Tue, 31 Jul 2018 07:36:27 +0000 (09:36 +0200)]
luci-app-travelmate: "final" fixes
during intense testing with different browsers (Chrome/Firefox/partly IE
in a VM) I found & fixed some more minor things:
* re-add accidently removed "apply_on_parse" attribute in overview cbi
* fixed a corner case where the "Restart" button not works correctly
* Removed leftovers from last commit
Signed-off-by: Dirk Brenken <dev@brenken.org>
Dirk Brenken [Tue, 31 Jul 2018 07:21:44 +0000 (09:21 +0200)]
luci-app-adblock: "final" fixes
during intense testing with different browsers (Chrome/Firefox/partly IE
in a VM) I found & fixed some more minor things:
* remove needless hook & include from overview page
* fix possible JS error in Runtime Information
* Align CSS color with "LuCI standard"
Signed-off-by: Dirk Brenken <dev@brenken.org>
Hannu Nyman [Mon, 30 Jul 2018 20:09:01 +0000 (23:09 +0300)]
Merge pull request #2001 from Rixerx/master
luci-base: update Polish translation
Christian Schoenebeck [Mon, 30 Jul 2018 19:55:08 +0000 (21:55 +0200)]
luci-app-ddns: remove myself as PKG_MAINTAINER
remove myself as PKG_MAINTAINER
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Christian Schoenebeck [Mon, 30 Jul 2018 19:47:04 +0000 (21:47 +0200)]
luci-app-radicale: remove myself as PKG_MAINTAINER
remove myself as PKG_MAINTAINER
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Jo-Philipp Wich [Mon, 30 Jul 2018 14:07:00 +0000 (16:07 +0200)]
Merge pull request #2012 from jempatel/master
fix compilation failure when luasrcdiet is being copied to non existing directory
Jaymin Patel [Mon, 30 Jul 2018 09:36:14 +0000 (15:06 +0530)]
fix compilation failure when luasrcdiet is being copied to non existing directory
Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
Jo-Philipp Wich [Mon, 30 Jul 2018 05:01:46 +0000 (07:01 +0200)]
Merge pull request #2010 from EricLuehrsen/unbound_20180721
luci-app-unbound: add LuCI for forward stub and auth zone clauses
Eric Luehrsen [Thu, 26 Jul 2018 06:05:33 +0000 (02:05 -0400)]
luci-app-unbound: add LuCI for forward stub and auth zone clauses
With growing interest, DNS over TLS can be setup in Unbounds foward-zone:
clause. New section 'zone' is available for forward-, stub-, and auth-
zone cluses. This LuCI application will show the 'zone' section and
permit changing 'enabled' and 'fallback' options. Detailed changes to
'zone' secitons will need to use the Edit:UCI tab (text editor).
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
Dirk Brenken [Sun, 29 Jul 2018 19:55:24 +0000 (21:55 +0200)]
Merge pull request #2009 from dibdot/travelmate
luci-app-travelmate: remove needless backup file
Dirk Brenken [Sun, 29 Jul 2018 19:50:28 +0000 (21:50 +0200)]
luci-app-travelmate: remove needless backup file
* remove needless development file from last commit
Signed-off-by: Dirk Brenken <dev@brenken.org>
Dirk Brenken [Sun, 29 Jul 2018 19:30:26 +0000 (21:30 +0200)]
Merge pull request #2007 from dibdot/travelmate
luci-app-travelmate: sync with travelmate 1.2.1
Jo-Philipp Wich [Sun, 29 Jul 2018 19:11:51 +0000 (21:11 +0200)]
luci-theme-openwrt: style tweaks for DSL status display
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 29 Jul 2018 19:05:34 +0000 (21:05 +0200)]
luci-theme-bootstrap: style tweak for DSL status display
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 29 Jul 2018 18:59:43 +0000 (20:59 +0200)]
luci-mod-admin-full: rework DSL Status display
Fixes #2003.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dmitry Tunin [Sat, 28 Jul 2018 23:53:01 +0000 (02:53 +0300)]
luci-proto-ncm: suggest both tty and wdm devices
Some modems are controlled only through a tty.
Autodetection of control device is broken in ncm.sh
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
Dirk Brenken [Sat, 28 Jul 2018 17:02:35 +0000 (19:02 +0200)]
luci-app-travelmate: sync with travelmate 1.2.1
* Runtime Information, Logview and Station Overview are now dynamically
updated via XHR poll
* New runtime information for "Faulty Stations" (Travelmate backend will
no longer rename faulty uplinks)
* Add a new "Restart" button to reset "Faulty Stations" information and
trigger a Travelmate restart
* In Stations overview the currently used uplink is emphasized in blue,
faulty uplinks in red
* Numerous cleanups (e.g. space=>tab indentation) and other small fixes
Signed-off-by: Dirk Brenken <dev@brenken.org>
Dirk Brenken [Sat, 28 Jul 2018 16:23:47 +0000 (18:23 +0200)]
Merge pull request #2006 from dibdot/adblock
luci-app-adblock: small fixes
Dirk Brenken [Sat, 28 Jul 2018 14:47:19 +0000 (16:47 +0200)]
luci-app-adblock: small fixes
* fix possible controller error during json parsing
* remaining code cleanup
Signed-off-by: Dirk Brenken <dev@brenken.org>
Jo-Philipp Wich [Sat, 28 Jul 2018 12:41:34 +0000 (14:41 +0200)]
luci-mod-admin-full: fix style glitch on packages page
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 28 Jul 2018 09:41:07 +0000 (11:41 +0200)]
luci-base: fix luasrcdiet
- Stage required libraries as well
- Remove not existing make target
- Override library search path
Fixes:
b5d5e5bf1 ("luci-base: update luasrcdiet")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 28 Jul 2018 12:09:34 +0000 (14:09 +0200)]
luci-proto-relay: propagate up state, do not forward netifd errors
Due to historical reasons, the relayd daemon configuration resides in the
form of a fake "config interface" section in /etc/config/network without
actually registering a protocol handler.
This causes netifd to emit an "INVALID_PROTO" error for the interface
which is technically correct, but confusing for LuCI users.
This situation needs to be resolved upstream by either moving relayd
configuration out of the network config, or by converting the relayd
service into a proper protocol handler.
Until this happens, do not report any netifd errors since we're not
operating on an actual interface.
While we're at it, also propagate the protocol up state from the fake
virtual device to ensure that LuCI displays the relay bridge as "up"
when all relayed interfaces are up as well.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 28 Jul 2018 09:43:02 +0000 (11:43 +0200)]
luci-base: fix footer template
Move the apply widget markup before the final </html> tag to avoid XHTML
errors with the OpenWrt theme.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Krystian Kozak [Fri, 27 Jul 2018 20:51:07 +0000 (22:51 +0200)]
luci-base: update Polish translation
Updated Polish translations.
Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
Jo-Philipp Wich [Thu, 26 Jul 2018 20:12:45 +0000 (22:12 +0200)]
treewide: rework rollback/apply workflow
Rework the apply confirmation mechanism to be session agnostic in order to
circumvent cross domain restrictions which prevent the JS code from issuing
apply confirm requests in some cases, e.g. when changing the LAN IP.
Confirmation calls may now be done from unauthenticated pages, as long as a
matching confirmation token is sent along with the request.
The reasoning behind this is that there is little security impact in
confirming pending apply sessions, especially since those sessions can only
be initiated while being authenticated.
After this change, LuCI will now launch a confirmation process on every
rendered page when a rollback is pending. The confirmation will happen
regardless of whether the user is logged in or not, or if the current page
is a CBI form or static template.
A confirmation request now also requires a random one-time token which is
rendered along with the confirmation JavaScript code in order to succeed.
This token is not meant to provide security but to ensure that the confirm
was triggered from an interactive browser session and not some background
HTTP requests that happened to end up in the admin ui.
As a consequence, the different apply/confirm/rollback code paths in CBI
maps and the UCI change/revert pages have been consolidated into one common
implementation residing in the common global theme agnostic footer template.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 27 Jul 2018 11:23:58 +0000 (13:23 +0200)]
luci-base: xhr.js: decode JSON for POST requests as well
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 26 Jul 2018 20:13:38 +0000 (22:13 +0200)]
luci-base: utils: support multiple return values in util.ubus()
This is needed to deal with ubus methods that return multiple results,
e.g. session/list
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 26 Jul 2018 18:24:13 +0000 (20:24 +0200)]
Merge pull request #1993 from sotux/master_zh_CN
luci-base: zh_CN: Update Simplified Chinese translation
Jo-Philipp Wich [Thu, 26 Jul 2018 18:19:02 +0000 (20:19 +0200)]
Merge pull request #1946 from korzhyk/web_home
luci-app-transmission: Allow user to define custom web interface