summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
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>
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-31Merge pull request #5072 from ajmckinley/fix-statistics-hostnameJo-Philipp Wich
luci-app-statistics: fix read of hostname
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-31luci-app-samba4: prevent calling split() on array or null valuesJo-Philipp Wich
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>
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>