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
60138461
Commit
60138461
authored
Feb 29, 2016
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(proxy) add filter to model and form
parent
2acf1ff1
Changes
2
Hide 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 @
60138461
...
...
@@ -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>
...
...
src/opnsense/mvc/app/models/OPNsense/Proxy/Proxy.xml
View file @
60138461
...
...
@@ -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>
...
...
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