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>
This commit is contained in:
Stan Grishin
2026-04-25 01:17:15 +00:00
parent cb0e171fd4
commit e42b52a348
4 changed files with 30 additions and 39 deletions
@@ -211,7 +211,7 @@ var status = baseclass.extend({
} else {
text = _("Not installed or not found");
}
var statusText = E("output", { id: pkg.Name + "-status", class: "cbi-value-description" }, text);
var statusText = E("output", { id: pkg.Name + "-status" }, text);
var statusField = E("div", { class: "cbi-value-field" }, statusText);
var statusDiv = E("div", { class: "cbi-value" }, [
statusTitle,
@@ -225,14 +225,6 @@ var status = baseclass.extend({
{ class: "cbi-value-title", for: pkg.Name + "-instances" },
_("Service Instances")
);
text = _("See the %sREADME%s for details.").format(
'<a href="' +
pkg.URL +
'#a-word-about-default-routing " target="_blank">',
"</a>"
);
var instancesDescr = E("div", { class: "cbi-value-description" }, "");
text = "";
Object.values(reply.ubus.instances).forEach((element) => {
var resolver;
@@ -289,15 +281,17 @@ var status = baseclass.extend({
"<br />"
);
});
text +=
"<br />" +
_("Please %sdonate%s to support development of this project.").format(
var instancesText = E("output", { id: pkg.Name + "-instances" }, text);
var instancesDescr = E("div", { class: "cbi-value-description" },
_(
"Please %sdonate%s to support development of this project.",
).format(
"<a href='" + pkg.DonateURL + "' target='_blank'>",
"</a>"
);
var instancesText = E("output", { id: pkg.Name + "-instances", class: "cbi-value-description" }, text);
"</a>",
));
var instancesField = E("div", { class: "cbi-value-field" }, [
instancesText,
E("br"),
instancesDescr,
]);
instancesDiv = E("div", { class: "cbi-value" }, [