summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #6826 from stangri/openwrt-22.03-luci-theme-openwrt-2020openwrt-22.03Stan Grishin2024-01-111-0/+13
|\ | | | | [22.03] luci-theme-openwrt-2020: fix anchor decorations
| * luci-theme-openwrt-2020: fix anchor decorationsStan Grishin2024-01-111-0/+13
|/ | | | | | | | | * add the decorations for when the links are included in the field descriptions Thanks @dibdot, @stokito! Signed-off-by: Stan Grishin <stangri@melmac.ca> (cherry picked from commit 525c5da356da2c642cd2ebea83a4e303e666c04f)
* Merge pull request #6822 from stangri/openwrt-22.03-luci-app-https-dns-proxyStan Grishin2024-01-092-5/+5
|\ | | | | [22.03] luci-app-https-dns-proxy: bugfix: editing providers with options
| * luci-app-https-dns-proxy: bugfix: editing providers with optionsStan Grishin2024-01-092-5/+5
|/ | | | | | | | | * fixes https://github.com/openwrt/luci/issues/6811 * previously editing existing provider instance with options would not result in the correct saving of edited parameters Signed-off-by: Stan Grishin <stangri@melmac.ca> (cherry picked from commit a83427fefe497fcda92a3f9b59701dc91a6f1df1)
* treewide: Backport translations from master and syncHannu Nyman2024-01-06256-2327/+3304
| | | | | | Backport translations from master and sync. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* timezone data: update to 2023dHannu Nyman2024-01-061-3/+3
| | | | | | | | | | | | | Update timezone data to 2023d. https://mm.icann.org/pipermail/tz-announce/2023-December/000080.html Summary: * Ittoqqortoormiit, Greenland changes time zones on 2024-03-31. * Vostok, Antarctica changed time zones on 2023-12-18. * Casey, Antarctica changed time zones five times since 2020. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* luci-app-usteer: Added tooltip while hovering over connected client showing ↵Ramon Van Gorkom2023-12-281-7/+28
| | | | | | | mac, IP(s), hostname in status page Signed-off-by: Ramon Van Gorkom <Ramon00c00@gmail.com> (cherry picked from commit 0f794ac76c53b154694b8ee9be4772a501faa76f)
* luci-app-usteer: Removed save/apply button on status pages, and added ↵Ramon Van Gorkom2023-12-282-306/+915
| | | | | | | | | | | | | "friendly" error message if usteer not running Added refresh of status page Add the template pot file that is needed to start translating the app. Co-authored-by: Sergey Ponomarev <stokito@gmail.com> Co-authored-by: Miguel Angel Mulero Martinez <migmul@gmail.com> Signed-off-by: Ramon Van Gorkom <Ramon00c00@gmail.com> (cherry picked from commit 0b2aad03599c4f5c7b513f9274b529e7dd3d7e29)
* luci-mod-network: DHCP tab IPsets ( add NFTsets properties )Paul Donald2023-12-281-3/+22
| | | | | | | | | See also: https://github.com/openwrt/openwrt/commit/d7f378796f985c902ff7906767c275c40a15347f Signed-off-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit f98ce31fdbdfc61c8ec7443c791a98d9ee93b6f2)
* luci-app-sshtunnel: sync .po filesPaul Donald2023-12-282-3/+3
| | | | | Signed-off-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit c668d992e1a1a1aeb4f3b6e6807784f43bc1b7af)
* luci-app-sshtunnel: servers: ProxyCommand optionSergey Ponomarev2023-12-282-1/+9
| | | | | Signed-off-by: Sergey Ponomarev <stokito@gmail.com> (cherry picked from commit 255aef1748309d065795f551b1994f2cd807b668)
* luci-app-sshtunnel: i18nSergey Ponomarev2023-12-272-161/+190
| | | | | Signed-off-by: Sergey Ponomarev <stokito@gmail.com> (cherry picked from commit a1f5b6087f04c5e214a31c7201d12c77e65c58e7)
* luci-app-sshtunnel: hide Save and Apply buutons for non form pagesSergey Ponomarev2023-12-274-4/+12
| | | | | Signed-off-by: Sergey Ponomarev <stokito@gmail.com> (cherry picked from commit 61e166aa93b5aefbb362a9c438e7c70f41c57d4a)
* luci-app-sshtunnel: servers: make a link to man ssh_configSergey Ponomarev2023-12-271-17/+26
| | | | | | | Use Debian man pages because it has many versions and languages. Signed-off-by: Sergey Ponomarev <stokito@gmail.com> (cherry picked from commit 059850ba0cb4afbd0c4434f0ef4825326b7baa2f)
* luci-app-sshtunnel: extract a public key from a key if no .pubSergey Ponomarev2023-12-272-33/+52
| | | | | | | For the Dropbear keys without a .pub we need to fall back and execute the -y command to extract a pubkey from a private. Signed-off-by: Sergey Ponomarev <stokito@gmail.com> (cherry picked from commit 8755aa3a71bf47ba65706a39c72cd294923d9285)
* luci-app-sshtunnel: ssh_keys: list keys without a corresponding .pubSergey Ponomarev2023-12-272-30/+65
| | | | | | | | | | | | | The private keys doesn't have any extension so the only way to clearly say that this file is a key is a presence of the corresponding .pub file. Most of time key files have a prefix id_ e.g. id_rsa etc. The dropbearkey generates a key without a corresponding .pub file e.g. id_dropbearkey. So we need to detect a key files by both .pub file or id_ prefix. Key files without the id_ prefix won't be listed, sorry. Signed-off-by: Sergey Ponomarev <stokito@gmail.com> (cherry picked from commit 949e7cbcb33cc457bfcdd27aaf4da487bab89f30)
* luci-app-sshtunnel: generate a new keySergey Ponomarev2023-12-271-3/+5
| | | | | | | | | Make the Generate a new key as a separate section and move to bottom. Extend the key name pattern to be an email address so allow symbols @ - +. Force the id_ prefix for key names. Signed-off-by: Sergey Ponomarev <stokito@gmail.com> (cherry picked from commit 3933633dd0de84b1c13af5d8f62b6b2431bf1ca7)
* luci-base: comment fixes (sp)Paul Donald2023-12-231-44/+44
| | | | | Signed-off-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit 5355b7b57604493909db3b472d6623a4b420d771)
* treewide: Backport and sync translationsHannu Nyman2023-12-23275-28245/+30830
| | | | | | Backport from master, sync. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* luci-proto-ipv6: Add DHCPv6 norelease menu option (#6775)Det2023-12-211-0/+2
| | | | | Signed-off-by: Richard Patterson <richard@helix.net.nz> (cherry picked from commit 4ad5f8111bc357d88390d914d82f0517ccbcf769)
* luci-app-statistics: lookup -> look upPaul Donald2023-12-1940-39/+5366
| | | | | Signed-off-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit 0a6618823656df7aefc7b958e187afd628248e90)
* luci-app-openvpn: Add multihome boolean.Paul Donald2023-12-191-0/+4
| | | | | | | Helps when you have multiple IP(v4|v6) Signed-off-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit a5ed5976f4cf70a36863e69da8c055f855545f87)
* Merge pull request #6762 from stangri/openwrt-22.03-luci-app-https-dns-proxyStan Grishin2023-12-115-95/+122
|\ | | | | [22.03] luci-app-https-dns-proxy: update to 2023-10-25-5
| * luci-app-https-dns-proxy: update to 2023-10-25-5Stan Grishin2023-12-115-95/+122
|/ | | | | | | | | | | * no longer "require uci" in js files * use L.resolveDefault when loading configs * improve DNSMASQ config update selection user experience * switch from uci.get to L.uci.get * small code improvement of RPCD script Signed-off-by: Stan Grishin <stangri@melmac.ca> (cherry picked from commit 799280877fbe7a43dab9c3af1dd509519e2f542b)
* luci-mod-network: exclude alias to self from device pickerJo-Philipp Wich2023-12-081-0/+1
| | | | | | | | Do not present alias to self as valid choice in the interface device picker. Fixes: #6754 Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 864bf25244a073bf85272524cd90df0a41629577)
* luci-mod-network: properly reflect config state in sysfs tristatesJo-Philipp Wich2023-12-081-1/+1
| | | | | | | | | | | When a boolean sysfs option is forcibly set to `0` or `1` in uci, then make sure to properly reflect that choice state when rendering the widget. Right now the dropdown incorrectly reverted to "automatic" after saving but not applying the changes. Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 4b6b00927b4a1076ed8bf23f3a0327a335ebece5)
* luci-mod-status: add ACL entry for storage indexChristian Marangi2023-12-072-10/+56
| | | | | | | | | | | | | | | | | | | | | Add missing ACL entry for storage index page. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> luci-mod-status: expand storage index page with mount points Expand storage index page with mount points. For custom mounts point we use the device name and we reference the mount point between (). Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> luci-mod-status: ensure each storage getMountPoints result is unique Signed-off-by: Paul Donald <newtwen@gmail.com> Closes #2767 (cherry picked from commit f1db42e67041d7c290fb2221ba5e787aa5e6b8bb)
* luci-app-vnstat2: fix configuration page when database is empty (#6746)Jan Hoffmann2023-12-061-1/+1
| | | | | | | | | | | | The output of the command "vnstat --dbiflist 1" is empty when there are no interfaces in the database. Add a check to avoid a "result.stdout is undefined" error in that case. Ref: https://forum.openwrt.org/t/error-in-luci-vnstat2-configuration-menu/179700 Fixes: 3ac4f567dfdf ("luci-app-vnstat2: use more efficient way to get database interfaces") Signed-off-by: Jan Hoffmann <jan@3e8.eu> (cherry picked from commit c0c37903f2276224c246c2a5ba0fb2732ba0e18a)
* luci-app-tinyproxy: support socks5 upstream (#6303)瑞2023-12-0535-40/+51
| | | | | | | | | | Signed-off-by: Zhang Rui <rui.crater@gmail.com> (cherry picked from commit fd2d2ac734429a81c9289e33635f28367a97fafe) luci-app-tinyproxy: error check socks5 upstream (#6303) Signed-off-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit b3d1d056f471f82ffc931a5cffef125ce36b6d41)
* Adding a DNS option to the wireguard peer config generator.Nicholaos Mouzourakis2023-12-051-4/+18
| | | | | | | | | | | | | Some clients like iOS require this explicitly, and so this change adds the appropriate config with some sensible defaults. Closes #6351 Signed-off-by: Nicholaos Mouzourakis <nevumx@gmail.com> Signed-off-by: Paul Donald <newtwen@gmail.com> Tested-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit 990696d73f982de015df7c7d552daef1a03f50c5) (cherry picked from commit 5b26887c52097dc9364c9b4f4dfb2d6ba2f08818)
* Merge pull request #6352 from nevumx/add-wireguard-peer-addresses-configPaul Donald2023-12-051-5/+14
| | | | | luci-proto-wireguard: adding an Addresses option to the wireguard peer config generator (cherry picked from commit 9d746c75f4023bf3c4bcfe77eaa394fbf0188d95)
* luci-proto-sstp: add support for custom port (#6634)Vladislav Grigoryev2023-12-041-0/+4
| | | | | | | | Add support for connecting to a custom SSTP port. See also: https://github.com/openwrt/packages/pull/22405 Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com> (cherry picked from commit 85ad07c59ee3ab82ac5b55732201d17e6cc3ab9c)
* luci-app-example: Update with more documentation, more examples (#6503)Duncan Hill2023-12-0415-86/+1210
| | | | | | | | | | | * luci-app-example: Update with more documentation, examples * Update translations file * Move more YAML support to .md file, improve README * luci-app-example: Update with more documentation, examples * luci-app-example: Fix missed call to load_sample_yaml * Format with tabs by using jsbeautify (cherry picked from commit 28f805b2e5f95e04515bd7d045a103cc3a366c2c)
* luci-proto-wireguard: Remove confirmation dialogue to generate keys (#6697)Paul Donald2023-12-041-6/+0
| | | | | | | | | | Quality of life improvements. Reduce click amounts. LuCI batches all changes for user-review anyway. Tested on 23.05.0 Signed-off-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit a5786b5f2f68596b2ea8441fc8ad8ad7cf2ce2a9)
* luci-lib-nixio: Fix add_luci_conffiles adding duplicate files (#6568)Xiang W2023-12-041-3/+14
| | | | | | | | | | | * luci-lib-nixio: Fix add_luci_conffiles adding duplicate files add_luci_conffiles does not check whether the file already exists when adding the file, which may result in redundant backups in the sysupgrade backup. Signed-off-by: Xiang W <wxjstz@126.com> (cherry picked from commit c2f679962ddf7f6545adacfcf3068370825c43a9)
* luci-app-tor: Manage tor-hs onion services (#6476)Sergey Ponomarev2023-12-046-0/+344
| | | | | | | | | | | | | * luci-app-tor: Manage Onion services (tor-hs) The tor-hs packages provides Tor Onion (Hidden) Services. This is a good option to bypass NAT and have stable access to a router. Later once the main Tor package gains a support of a Proxy/Bridge configuration. We can add this to the same luci app as a different view. Signed-off-by: Sergey Ponomarev <stokito@gmail.com> (cherry picked from commit 3283cb2ebdb3dbd8ae744125ecd577a0025d14ad)
* New app: luci-app-sshtunnel for SSH tunnels (#6424)Sergey Ponomarev2023-12-049-0/+1173
| | | | | | | | | | * luci-app-sshtunnel: SSH tunnels The app helps to configure SSH tunnels. You can also generate an SSH key and see known hosts. Signed-off-by: Sergey Ponomarev <stokito@gmail.com> (cherry picked from commit 7d14746ae88a83163a7e34daae70b264285bbe56)
* luci-app-statistics: regenerate graphs on window resizeRani Hod2023-12-041-0/+4
| | | | | | | | | | | | | | | Currently graphs are redrawn only based on the refresh interval (never or every 5/30/60 seconds). Since the image size is calculated based on the window size, redraw graphs (once) also after resizing the window. This also captures window resize due to orientation change (e.g., for mobile). Since multiple resize events are fired when dragging the window border, there is a 250ms delay for debouncing. Signed-off-by: Rani Hod <rani.hod@gmail.com> Tested-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit 8fcd52f5130acd1a0738ff47f9bba2c9cc42e662)
* Merge pull request #6642 from vgaetera/dnsmasq-network-selectPaul Donald2023-12-041-6/+7
| | | | | luci-mod-network: use network selector for dnsmasq instances (cherry picked from commit aa1e049f3600f68cf2f52d8a1eb092155bfe8d8a)
* Merge pull request #6651 from jjm2473/upstream/dockerman-hide-submit-on-overviewPaul Donald2023-12-042-2/+4
| | | | | luci-app-dockerman: hide config buttons in overview page (cherry picked from commit 568b44edb3bf545e424e7c1a3f162e753b190113)
* Merge pull request #6525 from hingbong/issue-6524Paul Donald2023-12-041-0/+1
| | | | | luci-app-unbound: dns assist in zone-detail add 'unprotected-loop' option #6524 (cherry picked from commit e3466bd83be36bc1d62257fac3e1635fe18133ba)
* Merge pull request #6734 from felagund/patch-1Paul Donald2023-12-041-1/+1
| | | | | | luci-mod-network: Update wireless.js to clarify Distance Optimization (cherry picked from commit 647019cc160c394800db32ce82895245adc302ee)
* Merge pull request #6712 from systemcrash/discard_textPaul Donald2023-12-041-1/+2
| | | | | luci-mod-network: Extend helptext for RFC1918 rebind_protection (cherry picked from commit d75626efcdf322a2c16559c11d5a53bab6dbd8a3)
* Merge pull request #6400 from vintas/patch-2Paul Donald2023-12-041-1/+1
| | | | | docs: fix Client side JS API docs link (cherry picked from commit 6ddbb30ac360393a69bfc4c0566b32bd23d9bcd0)
* Merge pull request #6386 from egc112/egc112-openvpn-advanced-luaPaul Donald2023-12-041-0/+4
| | | | | | openvpn-advanced.lua request to add OpenVPN data-ciphers (cherry picked from commit 1c5ebc2a0c635130bd4f86f65dce29a686eb24c4)
* Merge pull request #6296 from jjm2473/patch-2Paul Donald2023-12-041-0/+4
| | | | | luci-theme-bootstrap: set scroll-margin-top for all elements (cherry picked from commit 16470a0ab89c7bcde66e9ce7334d8e4d0a4265d0)
* Merge pull request #6295 from jjm2473/patch-1Paul Donald2023-12-041-1/+5
| | | | | luci-mod-status: fix iptables jump on argon theme (cherry picked from commit 706668243b8617d5c5529ac76e54f84dc57203e3)
* Merge pull request #6216 from ne20002/luci-app-crowdsec-firewall-bouncerPaul Donald2023-12-046-0/+249
| | | | | | | | | | luci-app-crowdsec-firewall-bouncer: new app (cherry picked from commit dd3f5c65470c62ae977de047e975138195bf45e6) luci-app-crowdsec-firewall-bouncer: add newline correction Signed-off-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit e4dc88d875bbb63c90b71888d106b767e907140c)
* Merge pull request #5631 from coudu/luci-app-nut-fixesPaul Donald2023-12-042-36/+54
| | | | | luci-app-nut: nut-monitor fixes (cherry picked from commit 51a7e0b8e8db3709feccfa83176ae77372b2b1e7)
* Merge pull request #5520 from acooler15/luci-lib-dockerPaul Donald2023-12-041-1/+1
| | | | | luci-lib-docker: fix chunked decode (cherry picked from commit 4ade6bd04c6fb29203ade9cb44ecd37ab465a2d6)