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>
This commit is contained in:
Stan Grishin
2025-08-08 20:38:28 +00:00
parent 7e74171feb
commit 45e3d1ac19
7 changed files with 217 additions and 51 deletions
@@ -18,12 +18,21 @@ var pkg = {
},
get URL() {
return (
"https://docs.openwrt.melmac.net/" +
"https://docs.openwrt.melmac.ca/" +
pkg.Name +
"/" +
(pkg.ReadmeCompat ? pkg.ReadmeCompat + "/" : "")
);
},
get DonateURL() {
return (
"https://docs.openwrt.melmac.ca/" +
pkg.Name +
"/" +
(pkg.ReadmeCompat ? pkg.ReadmeCompat + "/" : "") +
"#Donate"
);
},
templateToRegexp: function (template) {
if (template)
return new RegExp(
@@ -203,7 +212,7 @@ var status = baseclass.extend({
} else {
text = _("Not installed or not found");
}
var statusText = E("div", {}, text);
var statusText = E("div", { class: "cbi-value-description" }, text);
var statusField = E("div", { class: "cbi-value-field" }, statusText);
var statusDiv = E("div", { class: "cbi-value" }, [
statusTitle,
@@ -281,7 +290,13 @@ var status = baseclass.extend({
"<br />"
);
});
var instancesText = E("div", {}, text);
text +=
"<br />" +
_("Please %sdonate%s to support development of this project.").format(
"<a href='" + pkg.DonateURL + "' target='_blank'>",
"</a>"
);
var instancesText = E("div", { class: "cbi-value-description" }, text);
var instancesField = E("div", { class: "cbi-value-field" }, [
instancesText,
instancesDescr,