1457 Commits

Author SHA1 Message Date
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
Ad Schellevis
f4055efd1c (mvc) use $.each for array iteration.... (fix for https://github.com/opnsense/core/issues/195 ) 2015-05-27 10:28:07 +02:00
Ad Schellevis
55bee2fd03 style cleanups 2015-05-27 08:34:11 +02:00
Ad Schellevis
ce244e804c (trafficshaper) work in progress traffic shaper, add initial rule configuration 2015-05-26 21:54:22 +02:00
Ad Schellevis
93a3c51cc6 (trafficshaper) add origin and mask to search results 2015-05-26 21:29:24 +02:00
Ad Schellevis
8bfcd16a1e (firmware) missing tag in template 2015-05-26 20:00:49 +02:00
Ad Schellevis
e160efa7c7 (trafficshaper) work in progress traffic shaper middleware and frontend components 2015-05-26 19:00:46 +02:00
Ad Schellevis
3926ad517f (mvc model) return if item was deleted on arrayfield's del action 2015-05-26 18:58:55 +02:00
Ad Schellevis
03a759dcd6 (mvc) add default input dialog 2015-05-26 18:58:10 +02:00
Ad Schellevis
b413b6dc80 (mvc templates) add some basic tag descriptions on default tr tags 2015-05-26 18:57:02 +02:00
Ad Schellevis
0856790601 (mvc-ui) add clear form validations method, add deferred objects on ajax calls 2015-05-26 15:11:04 +02:00
Ad Schellevis
0bb3ab26ab (mvc) fix comment in basefield type 2015-05-26 10:20:57 +02:00
Ad Schellevis
8e93b4c475 (firewall) remove some more unused code 2015-05-25 20:43:03 +00:00
Ad Schellevis
1c96e1a511 (firewall) remove some alias popup leftovers in nat page 2015-05-25 20:32:43 +00:00
Ad Schellevis
399e4f84d8 (firewall) remove non-functional alias popups 2015-05-25 20:15:04 +00:00
Ad Schellevis
38a6a82560 (firewall) javascript error preventing aliasses to work, related to https://github.com/opnsense/core/issues/196 2015-05-22 20:01:08 +00:00
Franco Fichtner
6bfece96b3 rc: wait for it... I mean wait for /var/run 2015-05-23 13:56:33 +02:00
Franco Fichtner
cd615e1896 src: whitespace and style 2015-05-23 08:05:52 +02:00
Ad Schellevis
a72ac678a4 (Traffic shaper) work in progress, initial searchable grid implementation 2015-05-22 18:56:29 +02:00