Ad Schellevis
afef1d9c9e
(mvc) add filters to model relations
2015-05-29 18:55:35 +02:00
Ad Schellevis
d5b9c78bde
(mvc) change regex behavior for interface field
2015-05-29 18:27:07 +02:00
Ad Schellevis
16018e4f69
(trafficshaper) add rule help messages
2015-05-29 15:47:46 +02:00
Ad Schellevis
5cd169ef29
(ipfw) make use of sort order on trafficshaper rule tags
2015-05-29 15:40:02 +02:00
Ad Schellevis
0008d12ce5
(configd) add optional sort order to list
2015-05-29 15:37:14 +02:00
Ad Schellevis
6b01cda117
(ipfw) fix template for rule interface selection
2015-05-29 15:11:40 +02:00
Ad Schellevis
6819cc3dc8
(trafficshaper) change interface selection to dropdown
2015-05-29 15:10:39 +02:00
Ad Schellevis
0edfbc3b41
(trafficshaper) change rule datatypes
2015-05-29 15:06:38 +02:00
Ad Schellevis
42c01cb89a
(mvc) add interface type model field
2015-05-29 15:04:47 +02:00
Franco Fichtner
b56ab59fbe
src: whitespace sweep
2015-05-29 12:37:04 +02:00
Franco Fichtner
a3faab2b87
settings: enable Simplified Chinsese selection for testing
2015-05-29 12:29:48 +02:00
Franco Fichtner
81afbb277c
locale: Simplified Chinese progress
...
Great progress here, xie-xie! :) Did a bit of editing and cherry-picking
of the submission, stripping only typos and unnecessary line noise.
Submitted by: Liu, 周
2015-05-29 12:17:14 +02:00
Ad Schellevis
d77fc01b4a
(mvc) make comment inline
2015-05-29 11:35:23 +02:00
Ad Schellevis
b8449cfcf8
(mvc) change option field to use inclusion in stead of regex match
2015-05-29 11:34:46 +02:00
Ad Schellevis
fbcec02f85
(mvc) add NetworkField type to model
2015-05-29 10:34:50 +02:00
Ad Schellevis
95b5c23723
(mvc) no validation message on valid data
2015-05-29 10:33:14 +02:00
Ad Schellevis
ac196fb326
(mvc) add NetworkValidator to check ip addresses and networks
2015-05-29 10:16:06 +02:00
Ad Schellevis
9975617359
(trafficshaper) enable portnumber validation on src/dst
2015-05-28 18:38:35 +02:00
Ad Schellevis
2e466b4de9
(mvc) add PortField to validate portnumbers
2015-05-28 18:38:08 +02:00
Ad Schellevis
e287e1065b
(mvc) improve ModelRelation validation
2015-05-28 18:37:41 +02:00
Ad Schellevis
212a5e48b7
(trafficshaper) UI prevent dialogs from closing accidentally
2015-05-28 15:52:28 +02:00
Ad Schellevis
e47455076c
(mvc) expand standard form dialog to large
2015-05-28 15:48:21 +02:00
Ad Schellevis
e6fe9e8b6a
(trafficshaper) add some help to pipe edit
2015-05-28 15:47:50 +02:00
Ad Schellevis
ba99059b4c
(mvc) OptionField support empty strings in validation
2015-05-28 15:19:44 +02:00
Ad Schellevis
59d5cad169
(trafficshaper) make use of __empty__ for direction tag
2015-05-28 15:05:02 +02:00
Ad Schellevis
6847e4f2ee
(mvc) add __empty__ item to OptionField as placeholder for an empty string
2015-05-28 15:04:06 +02:00
Ad Schellevis
4934ce1221
(trafficshaper) add direction to rule in template
2015-05-28 14:56:09 +02:00
Ad Schellevis
62352cbd84
(trafficshaper) improve error handling
2015-05-28 14:53:30 +02:00
Ad Schellevis
c85b9ed2e0
(trafficshaper) add ipfw reload action
2015-05-28 14:49:06 +02:00
Ad Schellevis
61e69b08ef
(ipfw) rename restart action to reload
2015-05-28 12:46:55 +00:00
Ad Schellevis
89f64ae41d
(trafficshaper) make use of helpers.toList()
2015-05-28 14:44:20 +02:00
Ad Schellevis
91fedb036f
(configd) add toList method to template helpers.
...
Using helpers.toList('parent.tag') makes it explicit that we expect an item to be a list and solves issues with lists containing only one item.
2015-05-28 14:40:55 +02:00
Ad Schellevis
33136c90b1
(trafficshaper) work in progress UI parts
2015-05-28 14:21:51 +02:00
Ad Schellevis
9f86d730fd
(trafficshaper) add mask tag to ipfw template
2015-05-28 14:21:22 +02:00
Ad Schellevis
5d8b97e2b8
(mvc) support "All" entries on grid filter
2015-05-28 14:19:59 +02:00
Ad Schellevis
e62668db6c
(ipfw) add initial configd template
2015-05-28 12:17:59 +00:00
Ad Schellevis
c0d89557f7
(mvc) add default datagrid wrapper
2015-05-28 11:55:47 +02:00
Ad Schellevis
27f161d97a
(trafficshaper) add template generation to service reload action
2015-05-28 10:15:17 +02:00
Ad Schellevis
eed931abd6
(trafficshaper) add rules to ipfw config
2015-05-28 09:59:42 +02:00
Ad Schellevis
78173c6cba
(configd) make template engine UUID aware
...
this commit adds two new helper functions to use uuid information from the config.xml.
1) get a tagname by uuid, or __not_found__ if uuid is not in the config.xml
{{ helpers.getUUIDtag('a8da740a-046a-4994-8535-89f5fff47393') }}
2) returns an object by uuid, ready to use
{{ helpers.getUUID('a8da740a-046a-4994-8535-89f5fff47393').number }}
2015-05-27 18:21:22 +02:00
Ad Schellevis
654def3e85
(trafficshaper) add initial rule setup to shaper UI
2015-05-27 17:49:36 +02:00
Ad Schellevis
afa6209b86
(trafficshaper) add rule sequence and target to shaper model
2015-05-27 17:48:44 +02:00
Ad Schellevis
fa1e2d40dc
(trafficshaper) add rule methods to shaper API
2015-05-27 17:47:52 +02:00
Ad Schellevis
b24ecb68d5
(trafficshaper) add fields and descriptions to pipe dialog form
2015-05-27 17:46:35 +02:00
Ad Schellevis
f26e8bb714
(mvc model) add ModelRelationField type, creates a optionlist populated by array type items from other entities.
...
Example definition from trafficshaper model, relating a pipe to a rule.
<target type="ModelRelationField">
<Model>
<pipes>
<source>OPNsense.TrafficShaper.TrafficShaper</source>
<items>pipes.pipe</items>
<display>description</display>
</pipes>
</Model>
</target>
2015-05-27 17:30:05 +02:00
Ad Schellevis
4a61e0006f
(mvc UI) mark unrelated option list items
2015-05-27 17:29:07 +02:00
Ad Schellevis
ef9a09d968
(mvc) add phpDoc
2015-05-27 17:27:28 +02:00
Ad Schellevis
20b2e7fecc
(proxy) combine validate and save action
2015-05-27 17:26:51 +02:00
Ad Schellevis
b7f55e9fcd
(mvc) send model validation messages to syslog
2015-05-27 13:40:01 +02:00
Ad Schellevis
9d52255d33
(mvc) add wrapper around bootstrap dialog for remove item dialog
2015-05-27 13:17:02 +02:00