summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2021-06-10luci-app-vpn-policy-routing: support for 21.02.0-rc2Stan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-06-09luci-app-sqm: fix JS error if service is disabledDirk Brenken
* 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>
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-09Merge pull request #5109 from hauke/striptags-from-hostnameJo-Philipp Wich
themes: Call striptags() on hostname to prevent XSS
2021-06-09themes: Call striptags() on hostname to prevent XSSHauke Mehrtens
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>
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-07luci-app-wol: resync translationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-07luci-app-firewall: resync translationsJo-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 #5100 from SvenRoederer/uci-defaultsJo-Philipp Wich
luci.mk: don't run uci-defaults scripts ourself
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-05rpcd-mod-luci: support parsing 11ax HW / HT modesDavid Bauer
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>
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-04luci.mk: don't run uci-defaults scripts ourselfSven Roederer
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>
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-app-firewall: further luci-rpc/getHostHints compatibility fixesJo-Philipp Wich
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>
2021-06-03luci-proto-wireguard: fix fwmark validation to allow 32 bit valuesJo-Philipp Wich
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>
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-03rpcd-mod-luci: Return array of addresses in getHostHintsNiels Widger
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>
2021-06-02luci.mk: make SUBMENU package define customizable and optionalSven Roederer
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>
2021-06-02luci.mk: add PKG_PROVIDES make-macro to set package/provides optionSven Roederer
Add PKG_PROVIDES macro to be passed down to buildpackage defines as PROVIDES variable. Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
2021-06-02luci.mk: add URL and MAINTAINER fields to package-definitionsSven Roederer
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>
2021-06-02Merge pull request #4305 from EHfive/fix-luci-app-frpc-prop-subdomainJo-Philipp Wich
luci-app-frpc: correct prop name 'subdomain'
2021-06-02Merge pull request #4770 from nickberry17/update_DummyValueJo-Philipp Wich
luci-base: add new member 'hidden' to DummyValue
2021-06-02Merge pull request #4985 from ↵Jo-Philipp Wich
j123b567/feature_luci-theme-openwrt-2020_mainmenu-submenu-tweek luci-theme-openwrt-2020: remove submenu margin-bottom when submenu not visible
2021-06-02Merge pull request #5062 from SvenRoederer/issue_5051Jo-Philipp Wich
luci-theme-openwrt-2020: use SVG-file for favicon and logo
2021-06-01protocols: rename "device" option to "_modem_device"Jo-Philipp Wich
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>
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-theme-bootstrap: add svg help icon to form field descriptionsJo-Philipp Wich
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>
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>