mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
dns/dnscrypt: add description field (#1681)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
+6
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user