dns/dnscrypt: add description field (#1681)

This commit is contained in:
Michael
2020-01-31 18:47:55 +01:00
committed by GitHub
parent 1c7203f633
commit 364ca60e2f
5 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
PLUGIN_NAME= dnscrypt-proxy
PLUGIN_VERSION= 1.6
PLUGIN_VERSION= 1.7
PLUGIN_COMMENT= Flexible DNS proxy supporting DNSCrypt and DoH
PLUGIN_DEPENDS= dnscrypt-proxy2
PLUGIN_MAINTAINER= m.muenz@gmail.com
+4
View File
@@ -5,6 +5,10 @@ such as DNSCrypt v2 and DNS-over-HTTPS.
Plugin Changelog
================
1.7
* Add comment field to whitelist section
1.6
* Removed discontinued DNSBL Zeus Tracker list
@@ -40,7 +40,7 @@ class WhitelistController extends ApiMutableModelControllerBase
public function searchWhitelistAction()
{
return $this->searchBase('whitelists.whitelist', array("enabled", "name"));
return $this->searchBase('whitelists.whitelist', array("enabled", "name", "description"));
}
public function getWhitelistAction($uuid = null)
{
@@ -11,4 +11,10 @@
<type>text</type>
<help>Set the domain, IP or expression to whitelist, e.g. ads.* or *.example.com</help>
</field>
<field>
<id>whitelist.description</id>
<label>Description</label>
<type>text</type>
<help>Optional comment field</help>
</field>
</form>
@@ -12,6 +12,9 @@
<name type="TextField">
<Required>Y</Required>
</name>
<description type="TextField">
<Required>N</Required>
</description>
</whitelist>
</whitelists>
</items>