Commit Graph

10 Commits

Author SHA1 Message Date
Stan Grishin e42b52a348 luci-app-https-dns-proxy: update to 2025.12.29-5
Maintainer: me
Compile tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.1
Run tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.1

Description:
update to PKG_RELEASE 5 and status page improvements

  - Bump PKG_RELEASE from 4 to 5.

htdocs/luci-static/resources/https-dns-proxy/status.js:
  - Remove redundant 'cbi-value-description' class from statusText element.
  - Remove old README link from instances description.
  - Restructure instances description to correctly display donate link.
  - Add a line break element after the instancesText output.

po/templates/https-dns-proxy.pot:
  - Update POT file to reflect changes in status.js.

root/usr/libexec/rpcd/luci.https-dns-proxy:
  - Redirect stderr for is_enabled and is_running functions to /dev/null.
  - Correctly retrieve service name in `get_init_list` using basename.
  - Remove extraneous `json_close_array` call from `get_init_status`.
  - Ensure `ubus_get_ports` uses correct JSON quoting.

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2026-04-26 14:34:37 -07:00
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 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 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 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 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 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