Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
d9dfdc44
Commit
d9dfdc44
authored
Feb 29, 2016
by
Ad Schellevis
Committed by
Franco Fichtner
Mar 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(proxy) add filter to model and form
(cherry picked from commit
60138461
)
parent
048b953a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
dialogEditBlacklist.xml
.../controllers/OPNsense/Proxy/forms/dialogEditBlacklist.xml
+8
-0
Proxy.xml
src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml
+6
-0
No files found.
src/opnsense/mvc/app/controllers/OPNsense/Proxy/forms/dialogEditBlacklist.xml
View file @
d9dfdc44
...
@@ -17,6 +17,14 @@
...
@@ -17,6 +17,14 @@
<type>
text
</type>
<type>
text
</type>
<help>
Enter an url to fetch the blacklist from.
</help>
<help>
Enter an url to fetch the blacklist from.
</help>
</field>
</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>
<field>
<id>
blacklist.description
</id>
<id>
blacklist.description
</id>
<label>
Description
</label>
<label>
Description
</label>
...
...
src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml
View file @
d9dfdc44
...
@@ -237,6 +237,12 @@
...
@@ -237,6 +237,12 @@
<Required>
Y
</Required>
<Required>
Y
</Required>
<ValidationMessage>
This does not look like a valid url.
</ValidationMessage>
<ValidationMessage>
This does not look like a valid url.
</ValidationMessage>
</url>
</url>
<filter
type=
"JsonKeyValueStoreField"
>
<Required>
N
</Required>
<SourceField>
filename
</SourceField>
<SourceFile>
/tmp/%s.index
</SourceFile>
<SelectAll>
Y
</SelectAll>
</filter>
<description
type=
"TextField"
>
<description
type=
"TextField"
>
<Required>
Y
</Required>
<Required>
Y
</Required>
<mask>
/^([\t\n\v\f\r 0-9a-zA-Z.,_\x{00A0}-\x{FFFF}]){1,255}$/u
</mask>
<mask>
/^([\t\n\v\f\r 0-9a-zA-Z.,_\x{00A0}-\x{FFFF}]){1,255}$/u
</mask>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment