Commit 60138461 authored by Ad Schellevis's avatar Ad Schellevis

(proxy) add filter to model and form

parent 2acf1ff1
......@@ -17,6 +17,14 @@
<type>text</type>
<help>Enter an url to fetch the blacklist from.</help>
</field>
<field>
<id>blacklist.filter</id>
<label>filter list</label>
<type>text</type>
<type>select_multiple</type>
<style>tokenize</style>
<help><![CDATA[select categories to use, leave empty for all. Categories are visible after initial download.]]></help>
</field>
<field>
<id>blacklist.description</id>
<label>Description</label>
......
......@@ -237,6 +237,12 @@
<Required>Y</Required>
<ValidationMessage>This does not look like a valid url.</ValidationMessage>
</url>
<filter type="JsonKeyValueStoreField">
<Required>N</Required>
<SourceField>filename</SourceField>
<SourceFile>/tmp/%s.index</SourceFile>
<SelectAll>Y</SelectAll>
</filter>
<description type="TextField">
<Required>Y</Required>
<mask>/^([\t\n\v\f\r 0-9a-zA-Z.,_\x{00A0}-\x{FFFF}]){1,255}$/u</mask>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment