Florian Eckert [Wed, 16 Jun 2021 12:01:03 +0000 (14:01 +0200)]
luci-app-nlbwmon: fix url
When moving this application to the service section, the links were
forgotten to be changed.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Florian Eckert [Tue, 15 Jun 2021 08:59:18 +0000 (10:59 +0200)]
Merge pull request #4264 from TDT-AG/pr/
20200713-luci-app-nlbwmon
luci-app-nlbwmon: move into menu entry into service section
Jo-Philipp Wich [Tue, 15 Jun 2021 08:02:44 +0000 (10:02 +0200)]
rpcd-mod-luci: bump version
Fixes: a78b74784d ("rpcd-mod-luci: refactor host hint gathering")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hosted Weblate [Sun, 13 Jun 2021 21:32:24 +0000 (23:32 +0200)]
Translated using Weblate (Chinese (Traditional))
Currently translated at 19.1% (37 of 193 strings)
Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/zh_Hant/
Translated using Weblate (Chinese (Traditional))
Currently translated at 95.2% (161 of 169 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/zh_Hant/
Translated using Weblate (Portuguese)
Currently translated at 100.0% (196 of 196 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/pt/
Translated using Weblate (Portuguese)
Currently translated at 100.0% (32 of 32 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (1739 of 1739 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/tr/
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: semih <semiht@gmail.com>
Co-authored-by: ssantos <ssantos@web.de>
Co-authored-by: 曹恩逢 <nelson22768384@gmail.com>
Signed-off-by: semih <semiht@gmail.com>
Signed-off-by: ssantos <ssantos@web.de>
Signed-off-by: 曹恩逢 <nelson22768384@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/pt/
Translation: OpenWrt/LuCI/applications/watchcat
Jo-Philipp Wich [Mon, 14 Jun 2021 18:47:11 +0000 (20:47 +0200)]
rpcd-mod-luci: refactor host hint gathering
- Do not incorrectly put the IP addresses from the rrdns reply into the
first hint, instead distribute hostnames to the appropriate hints.
- Avoid returning stale lease information from previously parsed records
by clearing the static struct before each parse attempt.
- Improve existing checks for empty MAC addresses and unspecified IPv6
addresses.
Fixes: #5126
Fixes: 87bcf9e923 ("rpcd-mod-luci: Return array of addresses in getHostHints")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 14 Jun 2021 07:05:24 +0000 (09:05 +0200)]
luci-mod-network: wireless.js: recognize HE* htmodes
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3856#comment9797
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 13 Jun 2021 19:49:22 +0000 (21:49 +0200)]
luci-theme-bootstrap: mobile style fixes for vlan filter matrix
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 13 Jun 2021 19:47:40 +0000 (21:47 +0200)]
luci-mod-network: small styling fixes for vlan filter matrix
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 13 Jun 2021 17:54:36 +0000 (19:54 +0200)]
csstidy: update to latest Git HEAD
707feae parse_css: do not omit white space in url() property values
Ref: https://github.com/openwrt/luci/commit/
69608199973651baf585d24a095edf8c0c42e21f#commitcomment-
52088358
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sun, 13 Jun 2021 06:57:27 +0000 (08:57 +0200)]
luci-app-sqm: only reload view once sqm enable/start completed
Chain the exec calls to enable and start the SQM service and only reload
the view once these operations are complete and return the entire promise
chain from the handler function to ensure that the busy indicator remains
active throughout the entire duration of the operation.
Also replace exec_direct() with exec() as there is no need to bypass ubus
for the init script calls.
Fixes: e76d9cc767 ("luci-app-sqm: fix JS error if service is disabled")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dirk Brenken [Sun, 13 Jun 2021 06:08:17 +0000 (08:08 +0200)]
Merge pull request #5123 from dibdot/banip
luci-app-banip: sync with banip 0.7.9
Dirk Brenken [Sat, 12 Jun 2021 21:16:48 +0000 (23:16 +0200)]
luci-app-banip: sync with banip 0.7.9
* support the new 'ban_fetchinsecure' option
* improve the chain help text to make clear that you can assign
multiple FW chains
Signed-off-by: Dirk Brenken <dev@brenken.org>
Dirk Brenken [Sun, 13 Jun 2021 05:45:43 +0000 (07:45 +0200)]
Merge pull request #5101 from dibdot/sqm-fix
luci-app-sqm: fix JS error if service is disabled
Dirk Brenken [Sun, 13 Jun 2021 05:33:21 +0000 (07:33 +0200)]
Merge pull request #5122 from dibdot/adblock
luci-app-adblock: sync with adblock 4.1.3
Rafał Miłecki [Thu, 10 Jun 2021 11:20:41 +0000 (13:20 +0200)]
luci-mod-network: migrate more device options
Include mtu and igmp_snooping while migrating.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Jo-Philipp Wich [Sat, 12 Jun 2021 20:54:51 +0000 (22:54 +0200)]
luci-mod-network: reset bridge VLANs on cancelling modal dialog
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dirk Brenken [Sat, 12 Jun 2021 20:29:20 +0000 (22:29 +0200)]
luci-app-adblock: sync with adblock 4.1.3
* support the new 'adb_fetchinsecure' option
Signed-off-by: Dirk Brenken <dev@brenken.org>
Jo-Philipp Wich [Sat, 12 Jun 2021 20:08:13 +0000 (22:08 +0200)]
luci-mod-network: fix vlan filter matrix overflow after redraw
Ensure that the overflow styles are reapplied after a redraw. This also
simplifies the code as a side-effect.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 12 Jun 2021 16:54:05 +0000 (18:54 +0200)]
Merge pull request #5120 from dibdot/fwknopd-fix
luci-app-fwknopd: trivial typo fix
Jo-Philipp Wich [Sat, 12 Jun 2021 16:41:40 +0000 (18:41 +0200)]
luci-base: network.js: add link status information accessors
Fixes: #5121
Fixes: 8c71b1d01e ("luci-mod-network: add port status to bridge vlan filter matrix")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dirk Brenken [Fri, 11 Jun 2021 20:48:13 +0000 (22:48 +0200)]
luci-app-fwknopd: trivial typo fix
* fix for #5073
Signed-off-by: Dirk Brenken <dev@brenken.org>
Jo-Philipp Wich [Fri, 11 Jun 2021 08:18:10 +0000 (10:18 +0200)]
luci-mod-network: add port status to bridge vlan filter matrix
Also ensure that port devices are ordered numerically.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hosted Weblate [Fri, 11 Jun 2021 06:32:27 +0000 (08:32 +0200)]
Translated using Weblate (Japanese)
Currently translated at 100.0% (49 of 49 strings)
Translated using Weblate (Japanese)
Currently translated at 68.0% (34 of 50 strings)
Translation: OpenWrt/LuCI/applications/acme
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacme/ja/
Translated using Weblate (Japanese)
Currently translated at 89.6% (26 of 29 strings)
Translation: OpenWrt/LuCI/applications/acl
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacl/ja/
Translated using Weblate (Japanese)
Currently translated at 94.5% (155 of 164 strings)
Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/ja/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1739 of 1739 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1739 of 1739 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/
Translated using Weblate (Korean)
Currently translated at 62.0% (31 of 50 strings)
Translation: OpenWrt/LuCI/applications/acme
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacme/ko/
Translated using Weblate (Korean)
Currently translated at 34.1% (593 of 1739 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ko/
Translated using Weblate (Spanish)
Currently translated at 98.9% (1720 of 1739 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Meano Lee <meanocat@gmail.com>
Co-authored-by: Satoru Yoshida <ramat@ram.ne.jp>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: asdf1234 <cydyellowgreen@gmail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Meano Lee <meanocat@gmail.com>
Signed-off-by: Satoru Yoshida <ramat@ram.ne.jp>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: asdf1234 <cydyellowgreen@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/ja/
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
Jo-Philipp Wich [Fri, 11 Jun 2021 06:28:31 +0000 (08:28 +0200)]
lucihttp: update to latest Git HEAD
Fixes compilation under 32bit systems by using the proper printf format
specifier for size_t values.
Also fixes compilation with Ninja by appending instead of
overwriting CMAKE_OPTIONS.
Fixes: #5116
Suggested-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 9 Jun 2021 17:18:04 +0000 (19:18 +0200)]
rpcd-mod-luci: add link details to ubus netdev information
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Stan Grishin [Thu, 10 Jun 2021 05:49:17 +0000 (22:49 -0700)]
Merge pull request #5114 from stangri/master-luci-app-vpn-policy-routing
luci-app-vpn-policy-routing: support for 21.02.0-rc2
Stan Grishin [Thu, 10 Jun 2021 05:47:36 +0000 (05:47 +0000)]
luci-app-vpn-policy-routing: support for 21.02.0-rc2
Signed-off-by: Stan Grishin <stangri@melmac.net>
Dirk Brenken [Sat, 5 Jun 2021 07:43:46 +0000 (09:43 +0200)]
luci-app-sqm: fix JS error if service is disabled
* fix a 'resource not found error' if the sqm service has been disabled
and the dir '/var/run/sqm/available_qdiscs' not exist
* inform the user about this issue and provide a button
to enable & start the service
Signed-off-by: Dirk Brenken <dev@brenken.org>
Jo-Philipp Wich [Wed, 9 Jun 2021 19:55:14 +0000 (21:55 +0200)]
luci-mod-network: fix horizontal scrolling in the bridge vlan filter matrix
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 9 Jun 2021 19:45:13 +0000 (21:45 +0200)]
luci-base: ui.js: determine dropdown position relative to overflow parent
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 9 Jun 2021 17:26:04 +0000 (19:26 +0200)]
Merge pull request #5110 from jow-/wireless-band-option
luci-mod-network: support newer wireless.wifi-device.band option
Lukasz Baj [Fri, 16 Apr 2021 17:36:43 +0000 (19:36 +0200)]
luci-mod-status: fix NaN errors in realtime graphs
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>
Jo-Philipp Wich [Wed, 9 Jun 2021 09:01:36 +0000 (11:01 +0200)]
luci-mod-network: interfaces.js: fix ifname migration in device sections
The migration code attempted to add new device sections instead of moving
the ifname option to a ports list within the existing ones.
Fixes: #5108
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 9 Jun 2021 08:22:38 +0000 (10:22 +0200)]
luci-mod-network: interfaces: show bridge port device icons again
Restore the display of bridge port device icons in the interface overviews.
This feature has been lost after migrating the network config from legacy
bridge declarations to device bridge declarations.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 9 Jun 2021 07:59:15 +0000 (09:59 +0200)]
luci-mod-network: support newer wireless.wifi-device.band option
OpenWrt switched from "option hwmode" to "option band" in order to select
the frequency band to use for the radio phy.
Extend the channel selector to recognize and use an existing "option band"
to select the appropriate channel list. When operating upon a wireless
configuration still using "option hwmode", then translate it to a band
value internally and translate it back to "option hwmode" on save.
This should provide forward- and backwards compatibility with both current
OpenWrt master and older versions still using hwmode.
Fixes: #5106
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 9 Jun 2021 06:48:04 +0000 (08:48 +0200)]
Merge pull request #5109 from hauke/striptags-from-hostname
themes: Call striptags() on hostname to prevent XSS
Hauke Mehrtens [Tue, 8 Jun 2021 23:28:44 +0000 (01:28 +0200)]
themes: Call striptags() on hostname to prevent XSS
This calls striptags() on the hostname to prevent any XSS over the
hostname. This should fix CVE-2021-33425 as far as I understood it.
If someone adds some Javascript into system.@system[0].hostname it would
have been directly added to the page, this prevents the problem.
This can only be exploited by someone being able to modify the uci
configuration, normally a user with such privileges could also just
modify the webpage.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hosted Weblate [Mon, 7 Jun 2021 14:45:49 +0000 (16:45 +0200)]
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (37 of 37 strings)
Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/zh_Hans/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (25 of 25 strings)
Translation: OpenWrt/LuCI/applications/cshark
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscshark/zh_Hans/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (108 of 108 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/zh_Hans/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1739 of 1739 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.0% (1722 of 1739 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/
Translated using Weblate (Spanish)
Currently translated at 98.9% (1720 of 1739 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (37 of 37 strings)
Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/zh_Hans/
Translated using Weblate (Russian)
Currently translated at 39.3% (83 of 211 strings)
Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/ru/
Translated using Weblate (Korean)
Currently translated at 2.7% (1 of 37 strings)
Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/ko/
Translated using Weblate (Korean)
Currently translated at 1.5% (1 of 63 strings)
Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/ko/
Translated using Weblate (Korean)
Currently translated at 9.5% (9 of 94 strings)
Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/ko/
Translated using Weblate (Korean)
Currently translated at 6.0% (4 of 66 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/ko/
Translated using Weblate (Korean)
Currently translated at 5.7% (3 of 52 strings)
Translation: OpenWrt/LuCI/applications/ttyd
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsttyd/ko/
Translated using Weblate (Korean)
Currently translated at 17.6% (3 of 17 strings)
Translation: OpenWrt/LuCI/applications/udpxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsudpxy/ko/
Translated using Weblate (Korean)
Currently translated at 42.8% (3 of 7 strings)
Translation: OpenWrt/LuCI/applications/squid
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssquid/ko/
Translated using Weblate (Korean)
Currently translated at 10.1% (11 of 108 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/ko/
Translated using Weblate (Korean)
Currently translated at 15.3% (2 of 13 strings)
Translation: OpenWrt/LuCI/applications/shairplay
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshairplay/ko/
Translated using Weblate (Korean)
Currently translated at 7.4% (6 of 81 strings)
Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/ko/
Translated using Weblate (Korean)
Currently translated at 1.7% (2 of 116 strings)
Translation: OpenWrt/LuCI/applications/radicale
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsradicale/ko/
Translated using Weblate (Korean)
Currently translated at 4.8% (3 of 62 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ko/
Translated using Weblate (Korean)
Currently translated at 6.0% (10 of 164 strings)
Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/ko/
Translated using Weblate (Korean)
Currently translated at 4.1% (2 of 48 strings)
Translation: OpenWrt/LuCI/applications/mjpg-streamer
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmjpg-streamer/ko/
Translated using Weblate (Korean)
Currently translated at 1.5% (1 of 65 strings)
Translation: OpenWrt/LuCI/applications/dnscrypt-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/ko/
Translated using Weblate (Korean)
Currently translated at 3.5% (7 of 196 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/ko/
Translated using Weblate (Korean)
Currently translated at 4.8% (2 of 41 strings)
Translation: OpenWrt/LuCI/applications/attendedsysupgrade
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/ko/
Translated using Weblate (Korean)
Currently translated at 2.8% (5 of 173 strings)
Translation: OpenWrt/LuCI/applications/aria2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsaria2/ko/
Translated using Weblate (Russian)
Currently translated at 98.7% (162 of 164 strings)
Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/ru/
Translated using Weblate (Korean)
Currently translated at 10.2% (5 of 49 strings)
Translated using Weblate (Korean)
Currently translated at 2.7% (2 of 74 strings)
Translated using Weblate (Korean)
Currently translated at 2.6% (9 of 341 strings)
Translated using Weblate (Korean)
Currently translated at 18.1% (2 of 11 strings)
Translated using Weblate (Korean)
Currently translated at 1.5% (3 of 191 strings)
Translated using Weblate (Korean)
Currently translated at 6.1% (12 of 195 strings)
Translated using Weblate (Korean)
Currently translated at 1.5% (2 of 133 strings)
Translated using Weblate (Korean)
Currently translated at 14.2% (2 of 14 strings)
Translated using Weblate (Korean)
Currently translated at 8.3% (4 of 48 strings)
Translated using Weblate (Korean)
Currently translated at 75.7% (25 of 33 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (195 of 195 strings)
Translated using Weblate (Korean)
Currently translated at 25.4% (54 of 212 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (1744 of 1744 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Translated using Weblate (Spanish)
Currently translated at 99.0% (1727 of 1744 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/
Co-authored-by: 01230 <4585006@gmail.com>
Co-authored-by: Anton Kikin <a.a.kikin@gmail.com>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Sunggu Choi <dkaost@outlook.com>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: orangepizza <abnoeh@mail.com>
Co-authored-by: ywx <yangwenxiao4511@gmail.com>
Signed-off-by: 01230 <4585006@gmail.com>
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Sunggu Choi <dkaost@outlook.com>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: orangepizza <abnoeh@mail.com>
Signed-off-by: ywx <yangwenxiao4511@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsahcp/ko/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfirewall/ko/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsminidlna/ko/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsntpc/ko/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/ko/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/es/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsolsr/ko/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/ko/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsp910nd/ko/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/ko/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstinyproxy/ko/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsupnp/ko/
Translation: OpenWrt/LuCI/applications/ahcp
Translation: OpenWrt/LuCI/applications/firewall
Translation: OpenWrt/LuCI/applications/minidlna
Translation: OpenWrt/LuCI/applications/ntpc
Translation: OpenWrt/LuCI/applications/nut
Translation: OpenWrt/LuCI/applications/olsr
Translation: OpenWrt/LuCI/applications/openvpn
Translation: OpenWrt/LuCI/applications/p910nd
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/tinyproxy
Translation: OpenWrt/LuCI/applications/upnp
Jo-Philipp Wich [Mon, 7 Jun 2021 11:59:03 +0000 (13:59 +0200)]
protocols: unify TOS and TTL description strings
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 7 Jun 2021 10:48:35 +0000 (12:48 +0200)]
luci-app-wol: resync translations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 7 Jun 2021 10:48:27 +0000 (12:48 +0200)]
luci-app-firewall: resync translations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 7 Jun 2021 10:43:36 +0000 (12:43 +0200)]
treewide: consolidate {IPv4,IPv6,MAC} {address,gateway} spellings
- 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>
Jo-Philipp Wich [Sun, 6 Jun 2021 19:53:42 +0000 (21:53 +0200)]
luci-base: update German base translation
Use a common nomenclature for logical network interfaces, physical
network devices, wireless networks and radio phys.
Also add missing translations for recently added strings.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 7 Jun 2021 09:51:06 +0000 (11:51 +0200)]
treewide: fix "promiscious" typo
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hosted Weblate [Sun, 6 Jun 2021 14:38:24 +0000 (16:38 +0200)]
Translated using Weblate (Korean)
Currently translated at 100.0% (29 of 29 strings)
Translation: OpenWrt/LuCI/applications/acl
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacl/ko/
Translated using Weblate (Greek)
Currently translated at 8.1% (3 of 37 strings)
Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/el/
Translated using Weblate (Greek)
Currently translated at 3.0% (2 of 66 strings)
Translation: OpenWrt/LuCI/applications/yggdrasil
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsyggdrasil/el/
Translated using Weblate (Greek)
Currently translated at 100.0% (12 of 12 strings)
Translation: OpenWrt/LuCI/applications/bcp38
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbcp38/el/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1744 of 1744 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 97.4% (1700 of 1744 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/
Translated using Weblate (Polish)
Currently translated at 100.0% (1744 of 1744 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Translated using Weblate (Greek)
Currently translated at 28.9% (505 of 1744 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/el/
Translated using Weblate (Korean)
Currently translated at 55.1% (16 of 29 strings)
Translation: OpenWrt/LuCI/applications/acl
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacl/ko/
Translated using Weblate (Korean)
Currently translated at 55.1% (16 of 29 strings)
Translation: OpenWrt/LuCI/applications/acl
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsacl/ko/
Translated using Weblate (Russian)
Currently translated at 100.0% (17 of 17 strings)
Translation: OpenWrt/LuCI/applications/eoip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationseoip/ru/
Translated using Weblate (Russian)
Currently translated at 38.8% (82 of 211 strings)
Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/ru/
Translated using Weblate (Russian)
Currently translated at 98.1% (161 of 164 strings)
Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/ru/
Translated using Weblate (Russian)
Currently translated at 100.0% (196 of 196 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/ru/
Translated using Weblate (Russian)
Currently translated at 95.3% (103 of 108 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/ru/
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Nikolay Parukhin <parukhin@gmail.com>
Co-authored-by: Stefanos Batsios <bouzouste@hotmail.com>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Co-authored-by: asdf1234 <cydyellowgreen@gmail.com>
Co-authored-by: thenist <p717394@gmail.com>
Signed-off-by: Eric <spice2wolf@gmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Nikolay Parukhin <parukhin@gmail.com>
Signed-off-by: Stefanos Batsios <bouzouste@hotmail.com>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: asdf1234 <cydyellowgreen@gmail.com>
Signed-off-by: thenist <p717394@gmail.com>
Hannu Nyman [Sun, 6 Jun 2021 05:56:03 +0000 (08:56 +0300)]
luci-base: i18n - sync translations
Sync translations in luci-base.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Jo-Philipp Wich [Sat, 5 Jun 2021 17:13:05 +0000 (19:13 +0200)]
Merge pull request #5095 from jow-/dhcpv6-rework
luci-mod-network: interfaces: restructure DHCPv6 and IPv6 RA options
Jo-Philipp Wich [Sat, 5 Jun 2021 17:12:11 +0000 (19:12 +0200)]
Merge pull request #5100 from SvenRoederer/uci-defaults
luci.mk: don't run uci-defaults scripts ourself
David Bauer [Sat, 5 Jun 2021 17:04:11 +0000 (19:04 +0200)]
Merge pull request #5070 from blocktrron/pr-luci-wifi6
luci-mod-network: add 802.11ax HE support
Jo-Philipp Wich [Sat, 5 Jun 2021 16:41:39 +0000 (18:41 +0200)]
luci-mod-network: allow device declarations and device configs to coexist
It is legal to have two device sections referring to the same netdev if one
section is a declaration (a section setting option type) and the other is
a configuration (a section not specifying a type but matching an existing
netdev).
Support this case in LuCI since it might be required for some complex
device setups.
Additionally, fix the device type determination for device configuration
sections without type, those should be treated as ethernet (a.k.a.
simple device) configuration instead of falling back to the underlying
netdev device type.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
David Bauer [Sat, 5 Jun 2021 14:21:42 +0000 (16:21 +0200)]
luci-base: add 11ax HW / HT modes
Add the known values returned for 802.11ax HW as well as HT modes to the
respective method descriptions.
Signed-off-by: David Bauer <mail@david-bauer.net>
David Bauer [Tue, 20 Apr 2021 15:42:02 +0000 (17:42 +0200)]
luci-mod-network: add 802.11ax HE support
This commit adds the ability to configure HE-modes for radios
(HE20 / HE40 / HE80 / HE160) as well as HE rate information in the
assiciation view.
Tested-on: Ubiquiti UniFi 6 Lite / LR
Signed-off-by: David Bauer <mail@david-bauer.net>
David Bauer [Sat, 5 Jun 2021 14:18:35 +0000 (16:18 +0200)]
rpcd-mod-luci: support parsing 11ax HW / HT modes
Add support for parsing 11ax modes returned from UBUS. This is required
so the frontend can display information about supported 11ax operation.
Signed-off-by: David Bauer <mail@david-bauer.net>
Jo-Philipp Wich [Sat, 5 Jun 2021 14:16:14 +0000 (16:16 +0200)]
luci-mod-interfaces: simplify configuring MAC address of 802.1q devices
Treat not explicitly configured, preexisting VLAN interfaces as simple
network devices when adding configuration for them, since it is more
likely that people want to set general device properties such as MAC
address instead of reconfiguring ingress/egress QoS mapping, which is
the only editable property of preexisting VLAN device config dialogs.
Ref: https://github.com/openwrt/luci/issues/5102
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Sven Roederer [Fri, 4 Jun 2021 21:04:37 +0000 (23:04 +0200)]
luci.mk: don't run uci-defaults scripts ourself
Do not run the uci-defaults scripts of a package in the package-postinst, but leave this
for the default_postinst() of the OpenWrt base-files package.
Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
Hosted Weblate [Thu, 3 Jun 2021 20:17:21 +0000 (22:17 +0200)]
Translated using Weblate (Polish)
Currently translated at 100.0% (1715 of 1715 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Translated using Weblate (Russian)
Currently translated at 100.0% (1715 of 1715 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Translated using Weblate (Bulgarian)
Currently translated at 0.4% (1 of 211 strings)
Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/bg/
Translated using Weblate (Bulgarian)
Currently translated at 3.5% (1 of 28 strings)
Translation: OpenWrt/LuCI/applications/vnstat2
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvnstat2/bg/
Translated using Weblate (Bulgarian)
Currently translated at 2.3% (40 of 1715 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/bg/
Translated using Weblate (Bulgarian)
Currently translated at 2.4% (2 of 81 strings)
Translation: OpenWrt/LuCI/applications/shadowsocks-libev
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsshadowsocks-libev/bg/
Translated using Weblate (Bulgarian)
Currently translated at 8.3% (6 of 72 strings)
Translated using Weblate (Bulgarian)
Currently translated at 0.5% (1 of 196 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/bg/
Translated using Weblate (Bulgarian)
Currently translated at 6.0% (2 of 33 strings)
Translated using Weblate (Bulgarian)
Currently translated at 0.5% (1 of 193 strings)
Translation: OpenWrt/LuCI/applications/banip
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsbanip/bg/
Translated using Weblate (Bulgarian)
Currently translated at 2.4% (1 of 41 strings)
Translation: OpenWrt/LuCI/applications/attendedsysupgrade
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsattendedsysupgrade/bg/
Translated using Weblate (Bulgarian)
Currently translated at 15.7% (6 of 38 strings)
Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/bg/
Translated using Weblate (Bulgarian)
Currently translated at 0.5% (1 of 169 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/bg/
Translated using Weblate (Polish)
Currently translated at 100.0% (1715 of 1715 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Co-authored-by: Anton Kikin <a.a.kikin@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kalin Iliev <kalin.t.iliev@gmail.com>
Co-authored-by: Marcin Net <marcin.net@linux.pl>
Signed-off-by: Anton Kikin <a.a.kikin@gmail.com>
Signed-off-by: Kalin Iliev <kalin.t.iliev@gmail.com>
Signed-off-by: Marcin Net <marcin.net@linux.pl>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationscommands/bg/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/bg/
Translation: OpenWrt/LuCI/applications/commands
Translation: OpenWrt/LuCI/applications/opkg
Jo-Philipp Wich [Tue, 1 Jun 2021 20:23:09 +0000 (22:23 +0200)]
luci-mod-network: interfaces: restructure DHCPv6 and IPv6 RA options
- Condense overly large IPv6 RA/DHCPv6 description texts and get rid of most embedded markup
- Switch ra/ndp/dhcpv6 mode selections to rich dropdown lists and move extended choice
descriptions next to the selection options
- Drop ndproxy_static option which has been removed from odhcpd long ago
- Add format validations to all text input fields
- Add ability to configure master/relay modes for non-static interfaces (#2998)
- Move extended RA configuration options into a new tab
- Prevent enabling master mode on multiple interfaces
- Prevent enabling ra/dhcpv6 server mode on non-static or master interfaces
- Drop ra_management in favor to ra_flags option (#5083)
- Add support for dns_service option
- Read current effective IPv6 MTU and hop limit placeholder values from procfs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 3 Jun 2021 08:03:48 +0000 (10:03 +0200)]
luci-app-firewall: further luci-rpc/getHostHints compatibility fixes
Rework some further code instances to fall back to the legacy ipv4/ipv6
properties if needed.
Fixes: c7b7b42cd3 ("treewide: Update JS using luci-rpc getHostHints")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 2 Jun 2021 18:35:32 +0000 (14:35 -0400)]
luci-proto-wireguard: fix fwmark validation to allow 32 bit values
The iptables mark field is 32 bits wide, which is 4 bytes and so 8 hex
characters. Fix the fwmark validation to allow 8 characters in the hex
string.
Fixes: #5098
Suggested-by: Robert <32970961+differentblue@users.noreply.github.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 2 Jun 2021 09:54:42 +0000 (11:54 +0200)]
luci-base: network.js: sorting fixes
Ensure that sort callbacks consistently return [-N .. 0 .. +N] values
instead of just true/false.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Niels Widger [Wed, 31 Mar 2021 12:23:12 +0000 (08:23 -0400)]
treewide: Update JS using luci-rpc getHostHints
Update frontend JS code which uses luci-rpc getHostHints to support the new
response format which removes the `ipv4` and `ipv6` host hint string fields
and replaces them with `ipaddrs` and `ip6addrs` weighted string list fields.
Signed-off-by: Niels Widger <niels@qacafe.com>
[rework code to be forwards/backwards compatible, fix some Network.Hosts
methods, fix IP choice ordering, change commit subject, rewrap commit
message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Niels Widger [Mon, 1 Mar 2021 19:33:33 +0000 (14:33 -0500)]
rpcd-mod-luci: Return array of addresses in getHostHints
Update luci-rpc's getHostHints method to return two string arrays for
each host, `ipaddrs` and `ip6addrs`, each containing the host's IPv4
and IPv6 addresses, respectively. Each array is sorted by a priority
derived from the source from which the address was discovered. The
current address sources and their priority is as follows (a
higher (larger) priority is listed first):
- neighbor table entries: 10
- /etc/ethers entries: 50
- DHCP leasefile: 100
- RRDNS queries: 100
- getifaddrs(): 200
- UCI static leases: 200
The existing `ipv4` and `ipv6` string fields for each host in
`getHostHints` has been removed. Downstream users of getHostHints
still need to be updated.
Fixes: #4838
Signed-off-by: Niels Widger <niels@qacafe.com>
[squash commits, reformat fixes tag]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Sven Roederer [Thu, 22 Apr 2021 20:35:58 +0000 (22:35 +0200)]
luci.mk: make SUBMENU package define customizable and optional
When including luci.mk in external repos it's sometimes usefull to not use
the default LuCI-submenu hierarchy.
This change defines the LUCI_SUBMENU_FORCED variable which completely overrides
the default submenu of the LuCI config-section. When LUCI_SUBMENU_FORCED is not
defined, the default submenu derrived from LUCI_TYPE or "Application" fallback
is used.
Defining LUCI_SUBMENU_FORCED in the package Makefile will just use this value.
Setting it to "none" will not define a submenu at all.
Together with LUCI_SECTION and LUCI_CATEGORY menu items can now created at any
place in the menu structure.
Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
Sven Roederer [Sat, 17 Apr 2021 20:38:24 +0000 (22:38 +0200)]
luci.mk: add PKG_PROVIDES make-macro to set package/provides option
Add PKG_PROVIDES macro to be passed down to buildpackage defines as PROVIDES variable.
Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
Sven Roederer [Sat, 17 Apr 2021 15:37:08 +0000 (17:37 +0200)]
luci.mk: add URL and MAINTAINER fields to package-definitions
Add the LUCI_URL and LUCI_MAINTAINER variables to pass them to the buildpackage
defines. Give them some sane defaults and allow overwritting by the individual
package.
Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
Jo-Philipp Wich [Wed, 2 Jun 2021 06:29:07 +0000 (08:29 +0200)]
Merge pull request #4305 from EHfive/fix-luci-app-frpc-prop-subdomain
luci-app-frpc: correct prop name 'subdomain'
Jo-Philipp Wich [Wed, 2 Jun 2021 06:23:45 +0000 (08:23 +0200)]
Merge pull request #4770 from nickberry17/update_DummyValue
luci-base: add new member 'hidden' to DummyValue
Jo-Philipp Wich [Wed, 2 Jun 2021 06:21:20 +0000 (08:21 +0200)]
Merge pull request #4985 from j123b567/feature_luci-theme-openwrt-2020_mainmenu-submenu-tweek
luci-theme-openwrt-2020: remove submenu margin-bottom when submenu not visible
Jo-Philipp Wich [Wed, 2 Jun 2021 06:20:00 +0000 (08:20 +0200)]
Merge pull request #5062 from SvenRoederer/issue_5051
luci-theme-openwrt-2020: use SVG-file for favicon and logo
Jo-Philipp Wich [Tue, 1 Jun 2021 13:31:44 +0000 (15:31 +0200)]
protocols: rename "device" option to "_modem_device"
This is required to resolve clashes with the generic "option device"
referring to netdev names in current netifd versions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 1 Jun 2021 13:27:24 +0000 (15:27 +0200)]
luci-mod-network: rename "device" option to "_net_device" internally
This is required to resolve conflicts with the existing "device" option
in other proto handlers such as PPP or QMI where "device" refers to the
device path of the tty control device instead of a netdev name.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 1 Jun 2021 13:25:24 +0000 (15:25 +0200)]
luci-mod-network: clarify device settings reset button tooltip
Ref: #5090
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 1 Jun 2021 12:45:42 +0000 (14:45 +0200)]
luci-base: form.js: consider aliased options in AbstractValue.remove()
If different options point to the same underlying uci option, we must only
remove the uci value if none of the other alias options is active in order
to prevent inactive options (due to unsatisfied depends) removing the uci
value of active once on save.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 1 Jun 2021 12:35:31 +0000 (14:35 +0200)]
luci-mod-network: don't accidentally reset macvlan device names
Fixes: #5081
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 1 Jun 2021 09:14:58 +0000 (11:14 +0200)]
luci-theme-bootstrap: add svg help icon to form field descriptions
The still referenced help.gif icon is absent by default since it has been
moved to luci-compat.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Tue, 1 Jun 2021 05:15:01 +0000 (08:15 +0300)]
luci-mod-network: drop duplicated "Master" option
It got accidentally added when additional RA and NDP parameters
were added.
Fixes: 504bdb23fb ("luci-mod-network: Introduce new RA and NDP params...")
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Rafał Miłecki [Mon, 31 May 2021 06:35:09 +0000 (08:35 +0200)]
luci-mod-network: migrate macaddr during bridge migration
Link: https://forum.openwrt.org/t/network-migration-21-02-0-rc2/97934
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Jo-Philipp Wich [Mon, 31 May 2021 17:00:15 +0000 (19:00 +0200)]
luci-mod-network: allow netifd version query to fail
Fixes: 17af33ee48 ("luci-mod-network: migrate network config depending on netifd version")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 31 May 2021 12:00:51 +0000 (14:00 +0200)]
luci-mod-network: make device selector dependent on protocol (again)
This commit effectively reverts the change made with
907b4222f7 ("luci-mod-network: don't hide "Device" on protocol change").
Floating tunnel protocols such as 6in4, plain PPP over modem device,
VPNC etc. do not have any layer 2 device at all, for such protocols the
device selector should be hidden.
Also swap back the incorrect option order introduced with commit
b7f3cf66ca ("luci-mod-network: drop support for *adding* legacy bridges").
Since device depends on proto, it should come after the protocol selection,
not before.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 31 May 2021 11:46:40 +0000 (13:46 +0200)]
Merge pull request #5072 from ajmckinley/fix-statistics-hostname
luci-app-statistics: fix read of hostname
Jo-Philipp Wich [Mon, 31 May 2021 09:50:56 +0000 (11:50 +0200)]
luci-mod-network: fix device dependencies in add interface dialog
Commit
b7f3cf66ca "luci-mod-network: drop support for *adding* legacy bridges"
dropped the protocol dependcies of the ifname/device selector in the add new
interface dialog.
Re-add the required dependencies and swap the order of the protocol and
device inputs while we're at it since latter depends on the former.
Fixes: b7f3cf66ca ("luci-mod-network: drop support for *adding* legacy bridges")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 31 May 2021 09:39:15 +0000 (11:39 +0200)]
luci-base: fix `network` data type validation
Fixes: #5085
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 31 May 2021 09:25:54 +0000 (11:25 +0200)]
luci-app-samba4: prevent calling split() on array or null values
Since `uci.get()` may return null or array values, we cannot blindly call
split() on the result. Use the safe `L.toArray()` helper which is intended
to deal with such situations.
Also clean up whitespace while we're at.
Fixes: #5080
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hosted Weblate [Sat, 29 May 2021 16:19:56 +0000 (18:19 +0200)]
Translated using Weblate (Dutch)
Currently translated at 4.0% (2 of 49 strings)
Translated using Weblate (Dutch)
Currently translated at 66.6% (2 of 3 strings)
Translated using Weblate (Dutch)
Currently translated at 0.2% (1 of 341 strings)
Translated using Weblate (Dutch)
Currently translated at 9.7% (168 of 1715 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/nl/
Translated using Weblate (Swedish)
Currently translated at 5.6% (12 of 211 strings)
Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/sv/
Translated using Weblate (Swedish)
Currently translated at 42.8% (735 of 1715 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/sv/
Translated using Weblate (Spanish)
Currently translated at 100.0% (211 of 211 strings)
Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/es/
Translated using Weblate (Turkish)
Currently translated at 100.0% (196 of 196 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/tr/
Translated using Weblate (Spanish)
Currently translated at 100.0% (169 of 169 strings)
Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/es/
Translated using Weblate (Turkish)
Currently translated at 100.0% (32 of 32 strings)
Translated using Weblate (Spanish)
Currently translated at 78.1% (25 of 32 strings)
Translated using Weblate (Turkish)
Currently translated at 100.0% (1715 of 1715 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/tr/
Translated using Weblate (Polish)
Currently translated at 100.0% (1715 of 1715 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Translated using Weblate (Spanish)
Currently translated at 98.1% (1684 of 1715 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jonathan Mohamed <jonathanmohamed34@gmail.com>
Co-authored-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Jonathan Mohamed <jonathanmohamed34@gmail.com>
Signed-off-by: Kristoffer Grundström <swedishsailfishosuser@tutanota.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/nl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/es/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/tr/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-battstatus/nl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/lucimodulesluci-mod-dashboard/nl/
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/watchcat
Translation: OpenWrt/LuCI/modules/luci-mod-battstatus
Translation: OpenWrt/LuCI/modules/luci-mod-dashboard
Rafał Miłecki [Sat, 29 May 2021 15:19:02 +0000 (17:19 +0200)]
luci-mod-network: split config migration into 2 steps
Problem with handling all migrations in 1 step is that uci.sections()
doesn't include changes queued using uci.callAdd() and uci.callSet().
That could result in unexpected behaviour and generating invalid
configs.
For the sake of simplicity and reliability use 2 steps migration. The
downside is that users may get prompted twice to migrate.
Reported-by: Hauke Mehrtens <hauke@hauke-m.de>
Fixes: 74be304e541f ("treewide: use "device" option in UCI "interface" sections")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Tested-by: Hauke Mehrtens <hauke@hauke-m.de>
Rafał Miłecki [Fri, 28 May 2021 07:58:12 +0000 (09:58 +0200)]
treewide: drop MAC and MTU from interfaces (protocols)
Those are L2 options that are not part of interfaces (L3), should not be
set there and don't work. Setting MAC and MTU should be done at device
layer (config device) and is supported for basic types already.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Rafał Miłecki [Thu, 27 May 2021 19:01:41 +0000 (21:01 +0200)]
luci-mod-network: allow setting bridge device MTU and MAC
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Hosted Weblate [Thu, 27 May 2021 16:32:47 +0000 (18:32 +0200)]
Translated using Weblate (Spanish)
Currently translated at 100.0% (211 of 211 strings)
Translation: OpenWrt/LuCI/applications/dockerman
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdockerman/es/
Translated using Weblate (Spanish)
Currently translated at 100.0% (164 of 164 strings)
Translation: OpenWrt/LuCI/applications/mwan3
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsmwan3/es/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (196 of 196 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/zh_Hans/
Translated using Weblate (Spanish)
Currently translated at 100.0% (169 of 169 strings)
Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/es/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (196 of 196 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/pt_BR/
Translated using Weblate (Polish)
Currently translated at 100.0% (196 of 196 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/pl/
Translated using Weblate (Spanish)
Currently translated at 100.0% (196 of 196 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/es/
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (32 of 32 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (32 of 32 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (32 of 32 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (72 of 72 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (341 of 341 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1715 of 1715 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/zh_Hans/
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1715 of 1715 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt_BR/
Translated using Weblate (Polish)
Currently translated at 100.0% (1715 of 1715 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pl/
Translated using Weblate (Spanish)
Currently translated at 98.1% (1684 of 1715 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/
Co-authored-by: Eric <spice2wolf@gmail.com>
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Matthaiks <kitynska@gmail.com>
Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Signed-off-by: Eric <spice2wolf@gmail.com>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Matthaiks <kitynska@gmail.com>
Signed-off-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopkg/es/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsstatistics/es/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/pl/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/zh_Hans/
Translation: OpenWrt/LuCI/applications/opkg
Translation: OpenWrt/LuCI/applications/statistics
Translation: OpenWrt/LuCI/applications/watchcat
Rafał Miłecki [Thu, 27 May 2021 09:05:42 +0000 (11:05 +0200)]
luci-mod-network: bump min netifd version for migration
Using "device" option requires netifd from 2021-05-26 or newer.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Rafał Miłecki [Mon, 24 May 2021 16:17:41 +0000 (18:17 +0200)]
treewide: use "device" option in UCI "interface" sections
netifd has been recently patched to use "device" option instead of
"ifname" as more clear & accurate.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Stan Grishin [Thu, 27 May 2021 01:17:34 +0000 (18:17 -0700)]
Merge pull request #5074 from djadair/ea7500-reboot-profile
luci-app-advanced-reboot: add board config for Linksys EA7500-V1
David Adair [Thu, 20 May 2021 04:25:38 +0000 (21:25 -0700)]
[luci] luci-app-advanced-reboot: add board config for Linksys EA7500-V1
EA7500-v1 works the same as the other Linksys models except
the name is different.
Signed-off-by: David Adair <djabhead@aol.com>
Hannu Nyman [Wed, 26 May 2021 16:03:39 +0000 (19:03 +0300)]
treewide: sync i18n transations
Sync translations.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Rafał Miłecki [Wed, 26 May 2021 11:25:24 +0000 (13:25 +0200)]
luci-mod-network: migrate network config depending on netifd version
Checking netifd version is important for users of the most recent LuCI
that didn't update netifd (e.g. OpenWrt package).
Suggested-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Rafał Miłecki [Thu, 20 May 2021 13:03:43 +0000 (15:03 +0200)]
luci-mod-network: migrate config to use "ports" option
LuCI supports only the newer method of specifying bridge ports using the
"ports" option. Offer users migration so they can configure their
network.
Example:
1. Before
config device
option name 'br-lan'
option type 'bridge'
list ifname 'lan1'
list ifname 'lan2'
list ifname 'lan3'
list ifname 'lan4'
2. After
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Anderson McKinley [Wed, 26 May 2021 06:41:49 +0000 (06:41 +0000)]
luci-app-statistics: fix read of hostname
Existing javascript did not read a non-default statistics hostname due to
incorrect config ids.
Signed-off-by: Anderson McKinley <coyoso@tuta.io>
Hannu Nyman [Tue, 25 May 2021 17:10:49 +0000 (19:10 +0200)]
Deleted translation using Weblate (English (Old))
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Hosted Weblate [Tue, 25 May 2021 03:02:05 +0000 (05:02 +0200)]
Translated using Weblate (Spanish)
Currently translated at 98.1% (1683 of 1714 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/es/
Added translation using Weblate (English (Old))
Translated using Weblate (Spanish)
Currently translated at 100.0% (195 of 195 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/es/
Translated using Weblate (Spanish)
Currently translated at 77.4% (24 of 31 strings)
Co-authored-by: Franco Castillo <castillofrancodamian@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Richard Mangahas <richard.mangahas.aeom@gmail.com>
Co-authored-by: Yngvar Skjaldulfsson <irrorate_browns@slmail.me>
Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
Signed-off-by: Richard Mangahas <richard.mangahas.aeom@gmail.com>
Signed-off-by: Yngvar Skjaldulfsson <irrorate_browns@slmail.me>
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationswatchcat/es/
Translation: OpenWrt/LuCI/applications/watchcat
Liangbin Lian [Tue, 25 May 2021 02:34:05 +0000 (10:34 +0800)]
luci-app-samba4: support listen on multiple interfaces
/etc/init.d/samba4 already support that
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
Jo-Philipp Wich [Tue, 25 May 2021 09:38:35 +0000 (11:38 +0200)]
Merge pull request #5000 from jjm2473/fix-luci-theme-material-nav-node-active
luci-theme-material: fix wrong active state on common prefix node