Commit Graph

19 Commits

Author SHA1 Message Date
Stan Grishin 5145514530 luci-app-https-dns-proxy: bugfix: provider edit
overview.js:
* use _provider.forcewrite to save provider edits

status.js:
* set ids/for: for status section labels to prevent JS console warnings

LICENSE:
* remove from OpenWrt luci repo and only keep upstream

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2026-03-04 12:24:27 -08:00
Stan Grishin 60b1eac5a4 luci-app-https-dns-proxy: update to 2025.12.29-4
This commit adds support for:
* new unified provider.json support to save space compared to individual
  provider json files
* new v.recipes provider (thanks @morytyann!)
* functional testing
* minor js/shell code improvements

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2026-03-03 17:44:02 -08:00
Stan Grishin 721ec94145 luci-app-https-dns-proxy: update to 2025.12.29-3
status.js:
* update the donate anchor
* replace RPCD call with direct ubus pull of service info for faster
  operation

Overview page include javascript file:
* replace RPCD call with ubus pull

RPCD script:
* remove obsolete getRuntime method
* bugfix: prevent execution of arbitrary code (thanks @iwallplace)

ACL file:
* remove obsolete getRuntime access and add access to service list

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2026-01-19 23:54:58 +00:00
Stan Grishin 4979338bbb luci-app-https-dns-proxy: update to 2025-12-29-1
* update version to match principal package
* split the main config section into service configs and the global
  instance configs
* add support for the new source_addr option; @karl82 I'd appreciate if
  you could look at the WebUI and documentation and suggest improvements
  for description
* add WebUI support for all available configs in both global configs and
  per-instance/provider modal window
* bugfix: store bootstrap_dns options from the provider json file when
  adding a new instance
* if listen_addr or listen_port or source_addr are not set, display nicer
  text in the GridSection view than `none`.

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2026-01-08 03:30:58 +00:00
Stan Grishin cebf4cccce luci-app-https-dns-proxy: bugfix: rename options in luci app
Signed-off-by: Stan Grishin <stangri@melmac.ca>
2025-11-28 23:40:07 +00:00
Stan Grishin 45e3d1ac19 luci-app-https-dns-proxy: update to 2025.05.11-4
* update license ID and copyright in Makefile
* add a short README with link to full documentation
* switch doc link from melmac.net to melmac.ca
* add donate text/URL
* attempt to fix bootstrap DNS loading/saving from json
* add DNS4EU provider (thanks @rikroe)
* add OpenNameServer provider (thanks @Phoenix616)

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2025-08-08 20:44:45 +00:00
Stan Grishin bd5cb1dd66 luci-app-https-dns-proxy: update to 2025.05.11
* fixes https://github.com/openwrt/luci/issues/7763
* fixes https://github.com/stangri/luci-app-https-dns-proxy/issues/9
* fix README link

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2025-05-12 02:10:23 +00:00
Stan Grishin e1887f25fe luci-app-https-dns-proxy: bugfixes and resolvers update
* fix templates loading when no template found (thanks @systemcrash!)
* fix redundant checks in view (thanks @systemcrash!)
* fix/update/delete/add resolvers

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2024-12-30 03:31:56 +00:00
Sergey Ponomarev e1d8f0e6f9 treewide: declare rpc calls with const
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-12-03 16:25:21 +01:00
Stan Grishin c70ec6f8c7 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>
2024-09-23 23:46:55 +00:00
Stan Grishin 9c836d1473 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>
2024-07-29 01:30:00 +00:00
Stan Grishin f196475364 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>
2024-04-10 21:40:13 +00:00
Stan Grishin ffc0ffe669 luci-app-https-dns-proxy: bugfix: dnsmasq_instance parsing
Signed-off-by: Stan Grishin <stangri@melmac.ca>
2024-02-14 22:21:48 +00:00
Paul Donald 1b18cea61d luci-mod-network: DNS forwardings -> DNS Forwards
Signed-off-by: Paul Donald <newtwen@gmail.com>
2024-02-12 01:20:54 +01:00
Stan Grishin f162289fe4 luci-app-https-dns-proxy: remove unnecessary translation call
Thank you @hnyman!

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2024-01-20 17:10:21 +00:00
Stan Grishin a83427fefe luci-app-https-dns-proxy: bugfix: editing providers with options
* 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>
2024-01-09 03:21:27 +00:00
Stan Grishin 799280877f luci-app-https-dns-proxy: update to 2023-10-25-5
* 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>
2023-12-11 13:06:20 +00:00
Stan Grishin dea2f135d7 luci-app-https-dns-proxy: add status->overview include file
* add status->overview include file
* sync version to principal package
* minor code formatting/styling fixes for js files
* improve HTTP/2 and HTTP/3 detection in RPCD script

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-10-26 14:47:34 +00:00
Stan Grishin 6df7b92a50 luci-app-https-dns-proxy: rewrite in javascript
Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-09-03 20:55:48 +00:00