summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
2021-06-13luci-mod-network: small styling fixes for vlan filter matrixJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-12luci-mod-network: migrate more device optionsRafał Miłecki
Include mtu and igmp_snooping while migrating. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-06-12luci-mod-network: reset bridge VLANs on cancelling modal dialogJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-12luci-mod-network: fix vlan filter matrix overflow after redrawJo-Philipp Wich
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>
2021-06-12luci-base: network.js: add link status information accessorsJo-Philipp Wich
Fixes: #5121 Fixes: 8c71b1d01e ("luci-mod-network: add port status to bridge vlan filter matrix") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-11luci-mod-network: add port status to bridge vlan filter matrixJo-Philipp Wich
Also ensure that port devices are ordered numerically. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-11Translated using Weblate (Japanese)Hosted Weblate
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
2021-06-09luci-mod-network: fix horizontal scrolling in the bridge vlan filter matrixJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-09luci-base: ui.js: determine dropdown position relative to overflow parentJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-09Merge pull request #5110 from jow-/wireless-band-optionJo-Philipp Wich
luci-mod-network: support newer wireless.wifi-device.band option
2021-06-09luci-mod-status: fix NaN errors in realtime graphsLukasz Baj
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>
2021-06-09luci-mod-network: interfaces.js: fix ifname migration in device sectionsJo-Philipp Wich
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>
2021-06-09luci-mod-network: interfaces: show bridge port device icons againJo-Philipp Wich
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>
2021-06-09luci-mod-network: support newer wireless.wifi-device.band optionJo-Philipp Wich
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>
2021-06-07Translated using Weblate (Chinese (Simplified))Hosted Weblate
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
2021-06-07protocols: unify TOS and TTL description stringsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-07treewide: consolidate {IPv4,IPv6,MAC} {address,gateway} spellingsJo-Philipp Wich
- 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>
2021-06-07luci-base: update German base translationJo-Philipp Wich
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>
2021-06-07treewide: fix "promiscious" typoJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-06Translated using Weblate (Korean)Hosted Weblate
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>
2021-06-06luci-base: i18n - sync translationsHannu Nyman
Sync translations in luci-base. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2021-06-05Merge pull request #5095 from jow-/dhcpv6-reworkJo-Philipp Wich
luci-mod-network: interfaces: restructure DHCPv6 and IPv6 RA options
2021-06-05Merge pull request #5070 from blocktrron/pr-luci-wifi6David Bauer
luci-mod-network: add 802.11ax HE support
2021-06-05luci-mod-network: allow device declarations and device configs to coexistJo-Philipp Wich
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>
2021-06-05luci-base: add 11ax HW / HT modesDavid Bauer
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>
2021-06-05luci-mod-network: add 802.11ax HE supportDavid Bauer
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>
2021-06-05luci-mod-interfaces: simplify configuring MAC address of 802.1q devicesJo-Philipp Wich
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>
2021-06-03Translated using Weblate (Polish)Hosted Weblate
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
2021-06-03luci-mod-network: interfaces: restructure DHCPv6 and IPv6 RA optionsJo-Philipp Wich
- 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>
2021-06-03luci-base: network.js: sorting fixesJo-Philipp Wich
Ensure that sort callbacks consistently return [-N .. 0 .. +N] values instead of just true/false. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-03treewide: Update JS using luci-rpc getHostHintsNiels Widger
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>
2021-06-02Merge pull request #4770 from nickberry17/update_DummyValueJo-Philipp Wich
luci-base: add new member 'hidden' to DummyValue
2021-06-01luci-mod-network: rename "device" option to "_net_device" internallyJo-Philipp Wich
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>
2021-06-01luci-mod-network: clarify device settings reset button tooltipJo-Philipp Wich
Ref: #5090 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-01luci-base: form.js: consider aliased options in AbstractValue.remove()Jo-Philipp Wich
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>
2021-06-01luci-mod-network: don't accidentally reset macvlan device namesJo-Philipp Wich
Fixes: #5081 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-01luci-mod-network: drop duplicated "Master" optionHannu Nyman
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>
2021-05-31luci-mod-network: migrate macaddr during bridge migrationRafał Miłecki
Link: https://forum.openwrt.org/t/network-migration-21-02-0-rc2/97934 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-05-31luci-mod-network: allow netifd version query to failJo-Philipp Wich
Fixes: 17af33ee48 ("luci-mod-network: migrate network config depending on netifd version") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-05-31luci-mod-network: make device selector dependent on protocol (again)Jo-Philipp Wich
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>
2021-05-31luci-mod-network: fix device dependencies in add interface dialogJo-Philipp Wich
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>
2021-05-31luci-base: fix `network` data type validationJo-Philipp Wich
Fixes: #5085 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-05-30Translated using Weblate (Dutch)Hosted Weblate
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
2021-05-29luci-mod-network: split config migration into 2 stepsRafał Miłecki
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>
2021-05-28treewide: drop MAC and MTU from interfaces (protocols)Rafał Miłecki
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>
2021-05-28luci-mod-network: allow setting bridge device MTU and MACRafał Miłecki
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-05-28Translated using Weblate (Spanish)Hosted Weblate
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
2021-05-27luci-mod-network: bump min netifd version for migrationRafał Miłecki
Using "device" option requires netifd from 2021-05-26 or newer. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-05-27treewide: use "device" option in UCI "interface" sectionsRafał Miłecki
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>
2021-05-26treewide: sync i18n transationsHannu Nyman
Sync translations. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>