project/luci.git
7 weeks agotreewide: Backport translations - sync
Hannu Nyman [Fri, 25 Oct 2024 17:27:01 +0000 (20:27 +0300)]
treewide: Backport translations - sync

Backport translations from master and sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 weeks agoMerge pull request #7317 from stangri/openwrt-23.05-luci-app-advanced-reboot
Stan Grishin [Fri, 25 Oct 2024 02:18:33 +0000 (19:18 -0700)]
Merge pull request #7317 from stangri/openwrt-23.05-luci-app-advanced-reboot

[23.05] luci-app-advanced-reboot: update to 1.0.1-15

2 months agoluci-app-lldpd: Fix mysterious Command failed: Unknown error
Paul Donald [Thu, 10 Oct 2024 20:03:46 +0000 (22:03 +0200)]
luci-app-lldpd: Fix mysterious Command failed: Unknown error

Executing the following command:

ubus call luci.lldpd getStatus

always returned 'Command failed: Unknown error', but the underlying

lldpcli -f json0 show *

worked fine. Fixed with a chained ?.read?

Tested on 23.05.3

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit c40253ada3d3e0257e1e3796aeab5ad46bc02f5b)

2 months agoluci-app-adblock: sync with adblock-4.2.2-6
Dirk Brenken [Thu, 10 Oct 2024 17:04:22 +0000 (19:04 +0200)]
luci-app-adblock: sync with adblock-4.2.2-6

* adjust changed sources field in the online status

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 02f2d471026cc0a77fecf54c278065ec334bd73b)

2 months agotreewide: Backport and sync translations
Hannu Nyman [Thu, 10 Oct 2024 04:37:06 +0000 (07:37 +0300)]
treewide: Backport and sync translations

Backport translations from master.
Sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2 months agoluci-app-advanced-reboot: update to 1.0.1-15
Stan Grishin [Tue, 8 Oct 2024 23:04:40 +0000 (23:04 +0000)]
luci-app-advanced-reboot: update to 1.0.1-15

Update to the most recent version, this update includes:
* copyright & license updates
* better package definitions in Makefile
* better presence in make menuconfig
* better version/release information compatible with both opkg/apk
* updated link to upstream code
* updated README link wording
* add support for Linksys MX4200v1
* add support for Linksys MX4200v2
* add support for Linksys MX4300
* add support for Linksys WHW03
* add support for Linksys EA6350v4

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit a917ad6c31f70fadc093d215bdef2b14e940e129)

2 months agoluci-app-advanced-reboot: update to 1.0.1-13
Stan Grishin [Sun, 22 Sep 2024 17:45:28 +0000 (17:45 +0000)]
luci-app-advanced-reboot: update to 1.0.1-13

* update copyright
* update license
* split version string into PKG_VERSION and PKG_RELEASE for APK compatibility
* update upstream URL link
* add menuconfig title/version info
* update README
* add support for:
  * Linksys MX4200v1 (Thanks @innovara)
  * Linksys MX4200v2 (Thanks @innovara)
  * Linksys MX4300 (Thanks @PIPIPIG233666)

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit b884bf4f47e5bea487a2f0962976bd373ffa727f)

2 months agoluci-app-advanced-reboot: add support for Linksys WHW03 V1
Rodrigo Balerdi [Tue, 7 May 2024 09:25:50 +0000 (06:25 -0300)]
luci-app-advanced-reboot: add support for Linksys WHW03 V1

Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
(cherry picked from commit 8875f414f939a64cbe3f718f1ac36fb9427f576f)

2 months agoluci-app-rp-pppoe-server: convert to JS
Paul Donald [Mon, 7 Oct 2024 20:18:04 +0000 (22:18 +0200)]
luci-app-rp-pppoe-server: convert to JS

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit 3aa60877ea4bc47b86c3ee11448db7503a20ae01)

2 months agoluci-mod-network: split interface name and protocol validation
Daniel Nilsson [Sat, 21 Sep 2024 17:38:49 +0000 (19:38 +0200)]
luci-mod-network: split interface name and protocol validation

The previous implementation of binding the protocol validation to the
name validation caused problems when creating a new interface where an
already existing interface had the new one's protocol as its name, as the
protocol would be used when validating if an interface of that name already
existed.

Consider the following case:
1. Interface 'gre' with protocol PPPoE is created
2. Interface 'foo' with protocol GRE tunnel over IPv4 (which resolves to
   'gre') tries to be created

Creating interface 'foo' would error out during protocol validation as
'gre' would be passed to the name validation, which in turn would check if
an interface with name 'gre' already exists, which it does.

Instead of reusing the validation logic, simply trigger the name
validation manually as the protocol changes to properly pass the name of
the interface instead of the protocol. This also gives the benefit of
keeping all error states related to the name contained in the appropriate
UI element.

Fixes #7146

Tested-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Signed-off-by: Daniel Nilsson <dannil+github@protonmail.com>
(cherry picked from commit 300961bb1ba7d71b50288b97c0fdeae0c71253e7)

2 months agoluci-mod-dashboard: Minor repairs
Paul Donald [Mon, 7 Oct 2024 15:10:57 +0000 (17:10 +0200)]
luci-mod-dashboard: Minor repairs

Strength gauge is now displayed. Appended dBm measurement also.

Corrected some labels.

Closes #6147

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit 723eb386340c8da681aa2c5fb60101690b3231fc)

2 months agoMerge pull request #7293 from stangri/openwrt-23.05-luci-app-https-dns-proxy
Stan Grishin [Tue, 24 Sep 2024 22:15:05 +0000 (15:15 -0700)]
Merge pull request #7293 from stangri/openwrt-23.05-luci-app-https-dns-proxy

[23.05] luci-app-https-dns-proxy: better description/link for force_dns

2 months agoluci-app-https-dns-proxy: better description/link for force_dns
Stan Grishin [Mon, 23 Sep 2024 23:32:47 +0000 (23:32 +0000)]
luci-app-https-dns-proxy: better description/link for force_dns

* better description/link for force_dns in WebUI

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit c70ec6f8c7e2fbf6c66697117914313289f0a14f)

2 months agoluci-mod-network: change to non-breaking space character
Paul Donald [Fri, 20 Sep 2024 15:49:07 +0000 (17:49 +0200)]
luci-mod-network: change to non-breaking space character

Closes #7252

Thanks to @efahl

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit a2c21a62c9cd10b61baa48f4881cd8794930e4ff)

2 months agoluci-base: expunge correct transport cookies on logout
Paul Donald [Fri, 20 Sep 2024 15:39:58 +0000 (17:39 +0200)]
luci-base: expunge correct transport cookies on logout

Closes #7269

Thanks to @mikma

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit 8449716ceb0641c3f76f103fa52b8529013f2581)

2 months agotreewide: Backport and sync translations
Hannu Nyman [Thu, 19 Sep 2024 18:16:27 +0000 (21:16 +0300)]
treewide: Backport and sync translations

Sync translations.
Backport translations.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2 months agoluci-app-lldpd: Create from Tano Systems
Marek Küthe [Tue, 4 Jul 2023 09:42:23 +0000 (11:42 +0200)]
luci-app-lldpd: Create from Tano Systems

This is a copy of https://github.com/tano-systems/luci-app-tn-lldpd, which is licensed under the MIT License.

Signed-off-by: Marek Küthe <m.k@mk16.de>
luci-app-lldpd: Rename luci-app-tn-lldpd to luci-app-lldpd

The original version of Tanosystem has a naming scheme which does not correspond to the standard naming scheme in OpenWrt LuCi. Therefore the renaming.

Signed-off-by: Marek Küthe <m.k@mk16.de>
luci-app-lldpd: Fix bug not getting the current lldpd status

Specifying the arguments in the wrong order can (and has in my tests) resulted in errors. So you can see in the man page that flags like -f come first and then the command.

Signed-off-by: Marek Küthe <m.k@mk16.de>
luci-app-lldpd: Disable option to enable SNMP agent

SNMP agent support is not enabled by default in lldpd. This can (and has in my tests) cause LLDP to stop working. See comment in source code.

Signed-off-by: Marek Küthe <m.k@mk16.de>
luci-app-lldpd: Add option to disable sending sensitive information

Added an option that sets the "-k" flag, which results in less sensitive information being sent. See man pages and description in source code.

Signed-off-by: Marek Küthe <m.k@mk16.de>
luci-app-lldpd: Add license information to Makefile

All of Tano Systems source code for the app is licensed under the MIT License. This has now been indicated accordingly in the Makefile.

Signed-off-by: Marek Küthe <m.k@mk16.de>
luci-app-lldpd: Remove old footer from Tano Systems

The app from Tano Systems appears to include a footer. Since most LuCi apps do not, I have removed it.

Signed-off-by: Marek Küthe <m.k@mk16.de>
luci-app-lldpd: Bug fix caused that the management IP address could not be set.

The TanoWrt fork calls the option to set the management IP addresses "lldp_sys_mgmt_ip". However, in OpenWrt it is called "lldp_mgmt_ip".

Signed-off-by: Marek Küthe <m.k@mk16.de>
luci-app-lldpd: Improve style

Remove double space

Signed-off-by: Marek Küthe <m.k@mk16.de>
luci-app-lldpd: Adding the Lua dependency

The rpcd script used by the Luci app is written in Lua. Therefore, runtime dependencies for Lua must exist when using the Luci app.

Signed-off-by: Marek Küthe <m.k@mk16.de>
luci-app-lldpd: Remove old files

Since the app is called luci-app-lldpd and not luci-app-tn-lldpd, the files for the TanoWrt app are no longer necessary.

Signed-off-by: Marek Küthe <m.k@mk16.de>
luci-app-lldpd: RPCd backend change from Lua to ucode

Signed-off-by: Marek Küthe <m.k@mk16.de>
luci-app-lldpd: Update filter matrix

The old filter matrix was based on the man pages, but the selected value in the range 1-20 was also assigned to the configuration and thus lldpd was configured incorrectly. lldpd expects a value in the range 0-19. The webapp matrix has now been changed so that the values 0-19 also appear there.
This leads to a unification of configuration and webapp.

Signed-off-by: Marek Küthe <m.k@mk16.de>
luci-app-lldpd: Add location parameter

Signed-off-by: Marek Küthe <m.k@mk16.de>
(cherry picked from commit 49207b47ca048fdb9262b89c0683829f8e75972c)

luci-app-lldpd: Fixes

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit fe54b3e4f0739bd18f046d91ec69916f0935dc06)

luci-app-lldpd: Fixes and additions

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit d3953006c2fe54806db97dbbadc2163847cd1dbf)

luci-app-lldpd: retain empty settings for advertisements flags

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit f79634dc3e18671b3a2fd992d67d0c68fadd84dc)

luci-app-lldpd: helpers for location data in lldpd

They should help with handling coordinate, address and ELIN formats.

It disassembles any lldp_location and fills corresponding fields. The
address fields used are globally common and include those used in Cisco
products. (lldpd has more address properties available)

Changes made to any field trigger write_lldp_location to compose a new
string saved to lldp_location.

The user can override everything by entering a raw config string (in
case an address type field is not available). The last field changed,
wins.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit 40afc3149da61ed05f0958a8ad3b482b3e5b6f83)

luci-app-lldpd: reveal SNMP agentX socket

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit b3d0ac820ed1a32da6f918d1f41c6d7a2959fdd4)

luci-app-lldpd: rebase i18n

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 50d7a339d3ed8b3ac99bde212ef0181871a6e970)

3 months agotreewide: Backport i18n translations
Hannu Nyman [Thu, 29 Aug 2024 18:21:42 +0000 (21:21 +0300)]
treewide: Backport i18n translations

Backport from master. Sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
3 months agoluci-app-usteer: Fix translation
Hannu Nyman [Tue, 20 Aug 2024 17:20:51 +0000 (20:20 +0300)]
luci-app-usteer: Fix translation

Fix translation by renaming po/template --> po/templates
Backport current translations.

(Fixes 77bd97af cherry-pick of 0b2aad03 by applying also
the directory name fix from d41e972b)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
3 months agoluci-app-usteer: Fix neighbor spelling in option
Hannu Nyman [Tue, 20 Aug 2024 16:56:20 +0000 (19:56 +0300)]
luci-app-usteer: Fix neighbor spelling in option

Fix option name max_neighbour_reports --> max_neighbor_reports

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(adapted from 067f1c5 in master)

4 months agoluci-app-natmap: change bind port data type from port to portrange
Ray Wang [Tue, 13 Aug 2024 16:05:51 +0000 (00:05 +0800)]
luci-app-natmap: change bind port data type from port to portrange

Signed-off-by: Ray Wang <r@hev.cc>
(cherry picked from commit ca57a08eb9176f51a978cb2adbaa96b6c5dcb470)

4 months agoMerge pull request #7239 from stangri/openwrt-23.05-pbr
Stan Grishin [Thu, 15 Aug 2024 13:31:40 +0000 (06:31 -0700)]
Merge pull request #7239 from stangri/openwrt-23.05-pbr

[23.05] luci-app-pbr: cherry-pick commits from snapshots to update to 1.1.6-20

4 months agoluci-app-pbr: sync with 1.1.6-20 principal package
Stan Grishin [Sat, 3 Aug 2024 23:23:38 +0000 (23:23 +0000)]
luci-app-pbr: sync with 1.1.6-20 principal package

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit fc9f85ffb4568fdbd2162467db4e8603acfcfa96)

4 months agoluci-app-pbr: sync with principal package
Stan Grishin [Sat, 13 Apr 2024 22:34:30 +0000 (22:34 +0000)]
luci-app-pbr: sync with principal package

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 73109ae7df7d9ee544e0b7296a756b79db51d950)

4 months agoluci-app-pbr: sync with principal package
Stan Grishin [Thu, 11 Apr 2024 16:31:29 +0000 (16:31 +0000)]
luci-app-pbr: sync with principal package

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit fa71bb482534f0243d43fa3407480d82d1bd0a39)

4 months agoluci-app-pbr: prepare migration to APK
Stan Grishin [Sat, 23 Mar 2024 01:14:52 +0000 (01:14 +0000)]
luci-app-pbr: prepare migration to APK

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 6d2c56fe9096df96e0d1277b05d6e84a52b2b592)

4 months agoluci-app-pbr: update to 1.1.4-5
Stan Grishin [Mon, 18 Mar 2024 02:03:13 +0000 (02:03 +0000)]
luci-app-pbr: update to 1.1.4-5

* sync with the principal package
* add the status include file

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit e55d184e9f9e14f60d0229687c0c4676ae4201c2)

4 months agotreewide: Backport i18n translations and sync
Hannu Nyman [Sun, 11 Aug 2024 18:49:58 +0000 (21:49 +0300)]
treewide: Backport i18n translations and sync

Backport translations from master.
Sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 months agoluci-app-adblock: sync with adblock-4.2.1
Dirk Brenken [Sun, 11 Aug 2024 07:52:10 +0000 (09:52 +0200)]
luci-app-adblock: sync with adblock-4.2.1

* added full 1Hosts support

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 06037ad777ab0500008c49bcb2c06af309bc4e51)
Signed-off-by: Dirk Brenken <dev@brenken.org>
4 months agoluci-app-adblock: sync with adblock-4.2.0
Dirk Brenken [Sun, 11 Aug 2024 07:46:07 +0000 (09:46 +0200)]
luci-app-adblock: sync with adblock-4.2.0

* add hagezi support

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 257cfac4257571581bd32430757c94a783d4e1e5)
Signed-off-by: Dirk Brenken <dev@brenken.org>
4 months agoMerge pull request #7230 from stangri/openwrt-23.05-luci-app-adblock-fast
Stan Grishin [Sat, 10 Aug 2024 20:25:41 +0000 (13:25 -0700)]
Merge pull request #7230 from stangri/openwrt-23.05-luci-app-adblock-fast

[23.05] luci-app-adblock-fast: sync with 1.1.2-3 principal package

4 months agoluci-app-adblock-fast: sync with 1.1.2-3 principal package
Stan Grishin [Sat, 3 Aug 2024 23:32:11 +0000 (23:32 +0000)]
luci-app-adblock-fast: sync with 1.1.2-3 principal package

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit bd7bee7731a45ee72960562546cc713a03fbfc92)

4 months agoMerge pull request #7226 from stangri/openwrt-23.05-luci-app-https-dns-proxy
Stan Grishin [Tue, 6 Aug 2024 09:34:22 +0000 (02:34 -0700)]
Merge pull request #7226 from stangri/openwrt-23.05-luci-app-https-dns-proxy

[23.05] luci-app-https-dns-proxy: Mullvad URL update

4 months agorpcd-mod-luci: strip colon from dnsmasq duid
Ansuel Smith [Mon, 7 Dec 2020 16:57:49 +0000 (17:57 +0100)]
rpcd-mod-luci: strip colon from dnsmasq duid

Dnsmasq DHCPv6 use colons in the generated duid present in the lease file. Strip the colon as this is not supported by the OpenWrt config and follow the same way odhcpd use to display duid.

Fixes: #4543
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
(cherry picked from commit f71e9cbd42db24c7743589804dacfdf5513ca883)

4 months agoluci-app-https-dns-proxy: Mullvad URL update
Hector Fernandez [Fri, 2 Aug 2024 18:12:49 +0000 (20:12 +0200)]
luci-app-https-dns-proxy: Mullvad URL update

Signed-off-by: Hector Fernandez <hector.fernandez.carmona@gmail.com>
(cherry picked from commit d5f80ac6e8669d3c52d92e9b33ebd4cb6627a41e)

4 months agoluci-base: dispatcher.uc: skip login nodes when resolving w/ active session
Jo-Philipp Wich [Tue, 30 Jul 2024 21:50:41 +0000 (23:50 +0200)]
luci-base: dispatcher.uc: skip login nodes when resolving w/ active session

When resolving eligible child nodes during evaluation of the "firstchild"
dispatch action, do not consider nodes allowing a login as allowed when
there already is an established session.

This fixes cases where restricted sessions are redirected to nodes they
have insufficent ACLs for, just because those nodes allow logins.

Fixes: #7218
Ref: https://forum.openwrt.org/t/x/174687
Suggested-by: @mikma
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 65b8002adbf8219b5dad37637756fa8fcae871a6)

4 months agoluci-mod-status: log viewers - change focus() to scrollIntoView()
Paul Donald [Mon, 8 Jul 2024 14:34:31 +0000 (16:34 +0200)]
luci-mod-status: log viewers - change focus() to scrollIntoView()

scrollIntoView() is more universally supported and standards tracked.

Closes #7186

Updates 9370bdddaede2feeb581193158d83f5062d5a318

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit 7893f2d08aaa1a0419ede1a695a25781f60e6ba6)

4 months agoluci-theme-openwrt: convert Lua templates to ucode
Jo-Philipp Wich [Mon, 29 Jul 2024 22:06:23 +0000 (00:06 +0200)]
luci-theme-openwrt: convert Lua templates to ucode

Convert the theme's Lua templates to ucode to avoid the implicit dependency
on the luci-lua-runtime package.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 79a7012dce62624d61bb50934f1b382518455cdc)

4 months agoMerge pull request #7216 from stangri/openwrt-23.05-luci-app-https-dns-proxy
Stan Grishin [Mon, 29 Jul 2024 21:35:16 +0000 (14:35 -0700)]
Merge pull request #7216 from stangri/openwrt-23.05-luci-app-https-dns-proxy

[23.05] luci-app-https-dns-proxy: bugfix: OpenDNS family filter URL update

4 months agoluci-app-https-dns-proxy: bugfix: OpenDNS family filter URL update
Stan Grishin [Mon, 29 Jul 2024 01:07:55 +0000 (01:07 +0000)]
luci-app-https-dns-proxy: bugfix: OpenDNS family filter URL update

* bugfix: update OpenDNS family filter URL
* update copyright/license
* update PKG_RELEASE to avoid double `r` on snapshots
* add LUCI_URL to upstream repository
* update README URL to upstream documentation
* update pkg.URL property to allow linking to a specific version of README
* remove duplicates of pkg object from overview.js/status include js files

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 9c836d14734f069421a459a63436d07cc91dd760)

4 months agoluci-app-banip: optimized external file loading
Dirk Brenken [Fri, 26 Jul 2024 20:29:39 +0000 (22:29 +0200)]
luci-app-banip: optimized external file loading

* optimize loading of external config/feed files

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 7154efa1bedabdc6a35c07665909da9a5669e842)

4 months agoluci-mod-network: made expandAndFormatMAC return arrays
Paul Donald [Thu, 25 Jul 2024 14:22:25 +0000 (16:22 +0200)]
luci-mod-network: made expandAndFormatMAC return arrays

instead of returning a space separated string

follow-up to 5ab0cb1f15bcb31015ae8345d302c6d023ba51e2

Closes #7209

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit 84ffb655b0764d949c7bd4fd5f9502c314b77c58)

4 months agoluci-mod-network: Correctly assign dnsmasq instance: name not number
Paul Donald [Tue, 23 Jul 2024 13:18:07 +0000 (15:18 +0200)]
luci-mod-network: Correctly assign dnsmasq instance: name not number

Closes #7199

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit 5ab0cb1f15bcb31015ae8345d302c6d023ba51e2)

5 months agotreewide: Backport and sync i18n translations
Hannu Nyman [Thu, 18 Jul 2024 09:09:00 +0000 (12:09 +0300)]
treewide: Backport and sync i18n translations

Backport translations from master.
Sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
5 months agotreewide: Backport translations
Hannu Nyman [Fri, 28 Jun 2024 20:02:41 +0000 (23:02 +0300)]
treewide: Backport translations

Backport translations and sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 months agoluci-app-keepalived: Fix option for script falls
Kotyara [Sun, 16 Jun 2024 13:09:13 +0000 (13:09 +0000)]
luci-app-keepalived: Fix option for script falls
Signed-off-by: Kotyara <lokotyara@gmail.com>
6 months agotreewide: Backport and sync i18n translations
Hannu Nyman [Sat, 15 Jun 2024 07:22:21 +0000 (10:22 +0300)]
treewide: Backport and sync i18n translations

Backport translations from master.
Sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
6 months agoluci-app-banip: sync with forthcoming banIP 1.0
Dirk Brenken [Fri, 7 Jun 2024 20:58:23 +0000 (22:58 +0200)]
luci-app-banip: sync with forthcoming banIP 1.0

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 2331147f9992d1f436847a626890272fbbe1158c)

6 months agoluci-app-banip: responsive design fixes
Dirk Brenken [Sun, 2 Jun 2024 12:15:54 +0000 (14:15 +0200)]
luci-app-banip: responsive design fixes

fix responsive design, esp. on mobile devices

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 61282d9c3c10fd7142bae31fb158eb742ef33fad)

6 months agoluci-app-banip: sync with 0.9.6-2
Dirk Brenken [Thu, 30 May 2024 20:13:17 +0000 (22:13 +0200)]
luci-app-banip: sync with 0.9.6-2

small fixes & improvements

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit b4fc61a0c5dc6d613ffd659114fa073b31b02230)

6 months agoluci-app-opkg: populate alternative package size if needed
Jo-Philipp Wich [Mon, 27 May 2024 12:09:53 +0000 (14:09 +0200)]
luci-app-opkg: populate alternative package size if needed

Populate the raw size value with the alternative size if the package
size is unavailable.

Fixes: #7139
Fixes: 63e5d38db0 ("luci-app-opkg: fix sorting by size column")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 2d2e5c0689b3483b22d033af1da9d33afeedf33e)

6 months agoluci-mod-status: fix ordering realtime connections by traffic
Jo-Philipp Wich [Mon, 20 May 2024 08:07:41 +0000 (10:07 +0200)]
luci-mod-status: fix ordering realtime connections by traffic

Add raw byte values to properly order rows by transferred bytes,
regardless of the dispalyed unit.

Fixes: #7129
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit e7f2e6bc8ee2bbbfd3d1f7caa570a6529cc03eee)

7 months agotreewide: Backport i18n translations
Hannu Nyman [Thu, 16 May 2024 16:38:40 +0000 (19:38 +0300)]
treewide: Backport i18n translations

Backport translations. Sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
7 months agoRevert "luci-proto-ppp: pppoe.so has no MTU option; remove it"
Jo-Philipp Wich [Mon, 13 May 2024 10:34:15 +0000 (12:34 +0200)]
Revert "luci-proto-ppp: pppoe.so has no MTU option; remove it"

This reverts commit 995d3a1801cf3b850e8c7c35937fbdd0526ff53e.

The `mtu` option controls the pppd mru and mtu arguments, it is not
specific to pppoe.so.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit b57c6ff29eb625913b91e0f6ebb754a5454acb9f)

7 months agoluci-app-p910nd: Fix enable default
Paul Donald [Tue, 14 May 2024 12:14:29 +0000 (14:14 +0200)]
luci-app-p910nd: Fix enable default

Enabled setting shall always be present.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit 05c6a0887f88dd65b8176686f3aee5bd05d8771a)

7 months agoluci-app-xinetd: introduce bind setting
Paul Donald [Sun, 12 May 2024 21:14:47 +0000 (23:14 +0200)]
luci-app-xinetd: introduce bind setting

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit aa942bdfcefc39a43ae5ad0b478056dd406d2ec8)

7 months agoMerge pull request #7122 from stangri/openwrt-23.05-luci-app-adblock-fast
Stan Grishin [Mon, 13 May 2024 23:03:41 +0000 (16:03 -0700)]
Merge pull request #7122 from stangri/openwrt-23.05-luci-app-adblock-fast

[23.05] luci-app-adblock-fast: update to 1.1.2-1

7 months agoluci-app-adblock-fast: update to 1.1.2-1
Stan Grishin [Mon, 13 May 2024 04:36:07 +0000 (04:36 +0000)]
luci-app-adblock-fast: update to 1.1.2-1

* update license
* update PKG_VERSION/PKG_RELEASE
* improve visibility in menuconfig
* add warning for compatiblity check fails with principal package
* report compatiblity check fails with principal package from RPCD script

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit d18f58b4317f2207cb4964f29fdb25a08ea99646)

7 months agoluci-app-banip: sync with 0.9.5-5
Dirk Brenken [Sun, 5 May 2024 20:04:46 +0000 (22:04 +0200)]
luci-app-banip: sync with 0.9.5-5

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 1e56d45470fd34a628f377a314af017c52641653)

7 months agoluci-app-banip: various optimizations
Dirk Brenken [Thu, 2 May 2024 21:02:33 +0000 (23:02 +0200)]
luci-app-banip: various optimizations

* add various translation improvements based on the work of "stokito"
* use the new logreadbox component for the firewall log as well
* removed obsolete standard Save/Save & Apply buttons in the footer,
   use only the improved/customized "Reload" and "Restart" buttons
* improved the error handling in the try/catch blocks

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit c2740d7cd96921aba5dc354400bc2e1ad46b10ca)
Signed-off-by: Dirk Brenken <dev@brenken.org>
7 months agoluci-app-banip: improve translation
Dirk Brenken [Thu, 2 May 2024 20:56:18 +0000 (22:56 +0200)]
luci-app-banip: improve translation

Remove obsolete "VLAN Forwads" translations
Fix Treshold to Threshold
restore Countries translation
reuse Disable instead of 0 (disable)
reuse old translation Restart for Apply & Restart
untranslate numbers and use o.default

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
(cherry picked from commit 6b58247456148fe65aa956331c65269bbac1381a)
Signed-off-by: Dirk Brenken <dev@brenken.org>
7 months agoluci-app-banip: fix "Apply & Restart" button call chain
Dirk Brenken [Sat, 27 Apr 2024 05:26:12 +0000 (07:26 +0200)]
luci-app-banip: fix "Apply & Restart" button call chain

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit d4b8290f072767182e2d172da847291d49b9ce45)

7 months agoluci-app-banip: new button "Apply & Restart"
Dirk Brenken [Fri, 26 Apr 2024 17:13:12 +0000 (19:13 +0200)]
luci-app-banip: new button "Apply & Restart"

* Many changes to the user interface require a banIP restart, e.g. to restructure the underlying nft rule set. In this case, “Apply & Restart” saves the user an unnecessary “Save & Apply” (followed by a banIP reload & restart to obtain the new nft structure.

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 1661b210c80102fb77f1a61d5c658c54ac339289)
Signed-off-by: Dirk Brenken <dev@brenken.org>
7 months agoluci-app-banip: handle load errors of the countries file
Dirk Brenken [Fri, 26 Apr 2024 11:42:54 +0000 (13:42 +0200)]
luci-app-banip: handle load errors of the countries file

* properly handle/skip possible read errors in try/catch blocks

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit f8eb80bac75df3b69ec0713524c8bb1169d7d3b9)

7 months agoluci-app-banip: handle json load errors
Dirk Brenken [Mon, 22 Apr 2024 20:28:58 +0000 (22:28 +0200)]
luci-app-banip: handle json load errors

* properly handle possible json load errors in try/catch blocks

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 32babe7069c2297ae8f2578e38762b3406bc84d7)

7 months agoluci-app-banip: sync with 0.9.5-2
Dirk Brenken [Sun, 21 Apr 2024 19:59:48 +0000 (21:59 +0200)]
luci-app-banip: sync with 0.9.5-2

* fixed Set search issues in LuCI

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit aa463d007fcea9cd5164d7b6e678884589ca4ac2)

7 months agoluci-app-banip: sync with 0.9.5-1
Dirk Brenken [Fri, 19 Apr 2024 20:38:49 +0000 (22:38 +0200)]
luci-app-banip: sync with 0.9.5-1

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit a4f00ac556f61d62448b815755e86d1a14b23376)

7 months agoluci-mod-network: fix potential null dereference on deleting VLANs
Jo-Philipp Wich [Sat, 20 Apr 2024 21:13:12 +0000 (23:13 +0200)]
luci-mod-network: fix potential null dereference on deleting VLANs

Fixes: #7074
Fixes: 61cef9baad ("luci-mod-network: don't trigger uci save on removing bridge vlans")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit ea04003657cc06ee69639aaede24b4c74071946c)

7 months agoluci.mk: remove unnecessary i18n postinst script
Hannu Nyman [Sat, 20 Apr 2024 09:19:26 +0000 (12:19 +0300)]
luci.mk: remove unnecessary i18n postinst script

OpenWrt master has since 2016 run the uci-defaults also in run-time installations
as postinst:
openwrt/openwrt@9b9c78e

Remove the older separate implementation from LuCI.

Fixes #7070 and #7073

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit fb776a6645b7c1671e1b733f3de433a34971a49a)

8 months agoluci-app-openvpn: change Value to DynamicList for ciphers
Paul Donald [Wed, 17 Apr 2024 00:49:49 +0000 (02:49 +0200)]
luci-app-openvpn: change Value to DynamicList for ciphers

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit f6301561e709433b8602264fa00495c4aeb70ad3)

8 months agoluci-proto-ppp: pppoe.so has no MTU option; remove it
Paul Donald [Tue, 16 Apr 2024 15:41:30 +0000 (17:41 +0200)]
luci-proto-ppp: pppoe.so has no MTU option; remove it

Retain comment so nobody is tempted to resurrect it.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
(cherry picked from commit 995d3a1801cf3b850e8c7c35937fbdd0526ff53e)

8 months agoMerge pull request #7053 from stangri/openwrt-23.05-luci-app-https-dns-proxy
Stan Grishin [Fri, 12 Apr 2024 20:39:38 +0000 (13:39 -0700)]
Merge pull request #7053 from stangri/openwrt-23.05-luci-app-https-dns-proxy

[23.05] luci-app-https-dns-proxy: bugfix: status/overview page include

8 months agoluci-app-https-dns-proxy: bugfix: status/overview page include
Stan Grishin [Wed, 10 Apr 2024 21:37:58 +0000 (21:37 +0000)]
luci-app-https-dns-proxy: bugfix: status/overview page include

This fix prevents iteration over empty/null array of instances (and the type error)
if there are no instances found.

Fixes https://github.com/openwrt/packages/issues/23868

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit f19647536440f93a16612d4746508f9ff7d49161)

8 months agotreewide: Backport and sync translations
Hannu Nyman [Wed, 10 Apr 2024 17:32:54 +0000 (20:32 +0300)]
treewide: Backport and sync translations

Backport from master and sync.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
8 months agoluci-app-nut: Remove old no-op uci-defaults script
Hannu Nyman [Sun, 7 Apr 2024 12:16:24 +0000 (15:16 +0300)]
luci-app-nut: Remove old no-op uci-defaults script

Remove old uci-defaults script that was supposed to be run
if nut was older than 2.4.7-8. Nut has been at 2.7.4-9 or newer
since 2018.

(Ps. The script had faulty logic: the version check never matched.)

Fixes #6966

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 983047a505d57d72b52e7a291f9a36b4e8c41794)

8 months agoMerge pull request #7045 from stangri/openwrt-23.05-luci-app-https-dns-proxy
Stan Grishin [Fri, 5 Apr 2024 19:59:26 +0000 (12:59 -0700)]
Merge pull request #7045 from stangri/openwrt-23.05-luci-app-https-dns-proxy

[23.05] luci-app-https-dns-proxy: bugfix: AdGuard servers URLs

8 months agoluci-app-https-dns-proxy: bugfix: AdGuard servers URLs
Stan Grishin [Wed, 3 Apr 2024 20:02:55 +0000 (20:02 +0000)]
luci-app-https-dns-proxy: bugfix: AdGuard servers URLs

AdGuard seems to have drastically changed their DoH servers URLs, so this change updates
the root/usr/share/https-dns-proxy/providers/com.adguard.dns.json file.
Fixes https://github.com/openwrt/luci/issues/7038

Also include minor Makefile changes for better menuconfig presence.

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 8f92f8b40369c4a2fc0cd358969e9278920d6d18)

8 months agoluci-theme-material: make luci-app-commands command box align with Bootstrap theme
Daniel Nilsson [Tue, 19 Mar 2024 19:01:09 +0000 (20:01 +0100)]
luci-theme-material: make luci-app-commands command box align with Bootstrap theme

The current implementation made the commands from the app luci-app-commands absolutely positioned which resulted in hiding elements which was underneath it, ie. the buttons. This implementation removes the absolutely positioned behavior making the buttons visible again and as an upside aligns it with how the Bootstrap theme handles commands.

Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
(cherry picked from commit 4adc4a65688d7d411ccae019be673c47bd811e41)

8 months agoluci-mod-status: fix syslog / dmesg scroll for some themes
Miguel Angel Mulero Martinez [Wed, 27 Mar 2024 09:16:22 +0000 (10:16 +0100)]
luci-mod-status: fix syslog / dmesg scroll for some themes

The actual code moves the scroll in the window. This works for the bootstrap theme, because the scroll is at window level. But this does not work for other themes, like material.

This commit changes the move of the scroll by "focusing" the window in the opposite button element in the syslog / dmesg page. In this way the move is automatically done by the browser.

Another solution is to "search" in the parent until we find the scroll and move it, but seems less solid.

Signed-off-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
(cherry picked from commit 1164d276081a30923197299cacede3c6f4dce16e)

8 months agoluci-proto-qmi: allow v6apn and (v6)profile configuration
Lech Perczak [Thu, 8 Jun 2023 22:57:36 +0000 (00:57 +0200)]
luci-proto-qmi: allow v6apn and (v6)profile configuration

To support split-APN dual-stack connections over QMI, add new parameters
supported in UCI to LuCI as well. Previously, connection profile wasn't
configurable from LuCI at all, so add options to set which APN profile
to match for each protocol.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
(cherry picked from commit c682e530e2b95af7768b6a0c74c942222e0cd78d)

8 months agoluci-app-ttyd: add option for UNIX socket and URL override
Richard Yu [Mon, 25 Mar 2024 17:08:06 +0000 (01:08 +0800)]
luci-app-ttyd: add option for UNIX socket and URL override

Signed-off-by: Richard Yu <yurichard3839@gmail.com>
(cherry picked from commit 9f3ae08703e23d7395ef9daa05ab1000dde09152)

8 months agoluci-theme-bootstrap: darkmode graphs fine-tuning
Thomas Schröder [Mon, 18 Mar 2024 20:03:32 +0000 (21:03 +0100)]
luci-theme-bootstrap: darkmode graphs fine-tuning

Fine tuning #6991

Bugfix for the wireless graphs, reorder everything to the same level
as displayed in the menu and make the spaces even.

Signed-off-by: Thomas Schröder <tschroeder_github@outlook.com>
(cherry picked from commit e569ddaf897632ed578e5ff2d3f9e259d19753f5)

8 months agoluci-theme-bootstrap: darkmode graphs
james [Thu, 14 Mar 2024 18:31:31 +0000 (13:31 -0500)]
luci-theme-bootstrap: darkmode graphs
This adds 2 more graphs to be dark in dark mode and makes the gridlines white
Signed-off-by: james <jameslindstrom2@gmail.com>
(cherry picked from commit 850345bfb90459a36b72ae45b0b7966ad1e7a6f6)

8 months agowidgets: add a re-useable filtered logread view
Karl Palsson [Mon, 18 Oct 2021 13:04:00 +0000 (13:04 +0000)]
widgets: add a re-useable filtered logread view

Multiple apps introduced their own implementation of a syslog view,
filtered for just their own application logs.  Pull that out as a shared
view.  Some of these had _minor_ style differences, which has been
"standardized" now.  A full "widget" conversion would allow more end app
tuning of that, but is not implemented.

Signed-off-by: Karl Palsson <karlp@etactica.com>
app-nextdns: fix Logs title

Minor typo, introduced in 625abbf (convert simple controllers to
menu.json)

Signed-off-by: Karl Palsson <karlp@etactica.com>
luci-base: implement shared log reader view

Closes #5452

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit c5a65a839713ab7ac70e6a6b5a7331593f67a9a0)

8 months agoluci-base: ui.js: avoid polling in a tight loop on confirm/rollback
Erik Karlsson [Sun, 16 Apr 2023 20:19:45 +0000 (22:19 +0200)]
luci-base: ui.js: avoid polling in a tight loop on confirm/rollback

The call function was based on the legacy XHR interface and it has not
been updated to comply with the new request interface which passes the
duration as part of the response object rather than as a separate
argument. This resulted in polling in a tight loop in certain cases
since the duration was undefined.

In addition there is no need to adjust apply_holdoff based on elapsed
time as no significant amount of time has elapsed at this point.

Signed-off-by: Erik Karlsson <erik.karlsson@genexis.eu>
(cherry picked from commit 6abb5ed7095032fdf8d2c9e2cac3218db99b19e5)

8 months agoluci-proto-ipv6: Add support for IPIP6(RFC2473) tunnel
Arayuki Mago [Tue, 13 Feb 2024 10:18:49 +0000 (19:18 +0900)]
luci-proto-ipv6: Add support for IPIP6(RFC2473) tunnel

Add Generic Packet Tunneling in IPv6 Specification (RFC 2473) support.

Signed-off-by: Arayuki Mago <ms@missing233.com>
(cherry picked from commit c88e24772e50cb9e58d6707f1082d9ceb3a8b3e1)

8 months agoluci-app-dockerman: check for existing IPAM config
Daniel Nilsson [Sun, 17 Mar 2024 21:14:34 +0000 (22:14 +0100)]
luci-app-dockerman: check for existing IPAM config

This was added in upstream with https://github.com/lisaac/luci-app-dockerman/commit/7292955a1b415bb60fa2e403bb3a437b4b7f7846 so should be fine for us to add it.

Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
(cherry picked from commit a5d7ce06f96436dcf02970d5df8c68b65968e37c)

8 months agoMerge pull request #7016 from stangri/openwrt-23.05-luci-app-https-dns-proxy
Stan Grishin [Sun, 24 Mar 2024 13:55:17 +0000 (07:55 -0600)]
Merge pull request #7016 from stangri/openwrt-23.05-luci-app-https-dns-proxy

[23.05] luci-app-https-dns-proxy: prepare migration to APK

8 months agoMerge pull request #7014 from stangri/openwrt-23.05-luci-app-adblock-fast
Stan Grishin [Sun, 24 Mar 2024 13:09:10 +0000 (07:09 -0600)]
Merge pull request #7014 from stangri/openwrt-23.05-luci-app-adblock-fast

[23.05] luci-app-adblock-fast: prepare migration to APK

8 months agoMerge pull request #7015 from stangri/openwrt-23.05-luci-app-advanced-reboot
Stan Grishin [Sun, 24 Mar 2024 13:08:14 +0000 (07:08 -0600)]
Merge pull request #7015 from stangri/openwrt-23.05-luci-app-advanced-reboot

[23.05] luci-app-advanced-reboot: prepare migration to APK

8 months agoMerge pull request #7018 from stangri/openwrt-23.05-luci-proto-nebula
Stan Grishin [Sun, 24 Mar 2024 13:07:49 +0000 (07:07 -0600)]
Merge pull request #7018 from stangri/openwrt-23.05-luci-proto-nebula

[23.05] luci-proto-nebula: prepare migration to APK

8 months agoluci-proto-nebula: prepare migration to APK
Stan Grishin [Sat, 23 Mar 2024 01:15:28 +0000 (01:15 +0000)]
luci-proto-nebula: prepare migration to APK

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 82105922ebf36743cd11d140d90f7bf4a5660455)

8 months agoluci-app-https-dns-proxy: prepare migration to APK
Stan Grishin [Sat, 23 Mar 2024 01:14:38 +0000 (01:14 +0000)]
luci-app-https-dns-proxy: prepare migration to APK

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 1efb3cd5f898e41148b298ae6ecdec4a7ae558f8)

8 months agoluci-app-advanced-reboot: prepare migration to APK
Stan Grishin [Sat, 23 Mar 2024 01:14:22 +0000 (01:14 +0000)]
luci-app-advanced-reboot: prepare migration to APK

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 120710420a7f653e1cf695b52e667783d5cc5dc8)

8 months agoluci-app-adblock-fast: prepare migration to APK
Stan Grishin [Sat, 23 Mar 2024 01:14:10 +0000 (01:14 +0000)]
luci-app-adblock-fast: prepare migration to APK

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit b6c9d5f9744e8e84829115692e7f02c165cc2a34)

8 months agotreewide: Backport translations and sync
Hannu Nyman [Wed, 20 Mar 2024 19:55:10 +0000 (21:55 +0200)]
treewide: Backport translations and sync

Sync translations and backport from master.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 months agoluci-app-travelmate: disable vpn processing by default
Dirk Brenken [Mon, 18 Mar 2024 21:25:16 +0000 (22:25 +0100)]
luci-app-travelmate: disable vpn processing by default

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 81496b88daf004ff2622bf8f47dbe6288abf8b26)

9 months agoluci-app-unbound: spell fix
Paul Donald [Fri, 15 Mar 2024 13:53:14 +0000 (14:53 +0100)]
luci-app-unbound: spell fix

Closes openwrt/luci#6993

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit 977035837e00f0f8f17c0595bd0e698a82bddfd0)

9 months agoluci-mod-network: don't trigger uci save on removing bridge vlans
Jo-Philipp Wich [Fri, 15 Mar 2024 12:23:04 +0000 (13:23 +0100)]
luci-mod-network: don't trigger uci save on removing bridge vlans

Do not trigger a uci save operation on removing bridge VLANs as that might
invalidate the ephemeral section ID of a just added network device.

Fixes: #6990
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 61cef9baad6cf753d37bfa7fb7a661d26180f6b9)

9 months agoluci-mod-network: remove unused option property
Jo-Philipp Wich [Fri, 8 Dec 2023 11:56:25 +0000 (12:56 +0100)]
luci-mod-network: remove unused option property

The logic handling the `migrate` property has been dropped in commit
f689d0d208 ("luci-mod-network: refactor device configuration") so remove
the now redundant property as well.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit ea81dde0ebb10947d1334cc9c732920e76db4a17)