1442 Commits

Author SHA1 Message Date
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
Ad Schellevis
a6198444b7 (mvc) add support class for easy datagrid usage
// create a new model
$model = new Model();
// link model to support class
$grid = new UIModelGrid($model->container->arrayTypeObject);
// fetch data and return into array which our frontend grid component can use
$result = $grid->fetch($fields, $itemsPerPage, $currentPage, $sortBy, $sortDescending, $searchPhrase);
2015-05-22 18:53:22 +02:00
Franco Fichtner
7ad3be51a5 ipsec: two small issues noticed by @reep; fixes #193 2015-05-22 16:31:06 +02:00
Franco Fichtner
ca18801b96 crypto: address a few potential loopholes for #logjam
o Regenerate all dhparam files.  (Looksie, we don't have under 1024!)

o Make beast mitigation the default, been around since 2011.

o Tweak the cipher settings via recommendations below.

Open points are the zapping of 1024 bit dhparam and how we should
handle dhparam shipping in the future.  Please write in to discuss.  :)

Taken from: https://weakdh.org/sysadmin.html
2015-05-22 14:26:31 +02:00
Franco Fichtner
ee4486d8df src: whitespace sweep 2015-05-22 08:47:40 +02:00
Ad Schellevis
6735d533ec (traffic shaper) work in progress 2015-05-21 18:27:24 +02:00
Ad Schellevis
ceda9d08dd (mvc) improve API for array type model objects
Integrate uuid generation into the core of the model system so items are uniquely identified and can be directly accessed using their uuids.

For example:
// set recurring pipe item to 1001
$model->setNodeByReference('pipes.pipe.86f19d48-bc91-4c70-a81c-e05cdd3a4372.queue', "1001");

// echo the contents back
echo $model->getNodeByReference('pipes.pipe.86f19d48-bc91-4c70-a81c-e05cdd3a4372.queue');
2015-05-21 18:21:57 +02:00
Ad Schellevis
69d4aa9f11 (mvc, base model) fix attribute copy 2015-05-21 15:26:20 +02:00
Ad Schellevis
4ee4a93894 (mvc) add Bootgrind (http://www.jquery-bootgrid.com/) to core UI 2015-05-21 14:12:25 +02:00
Ad Schellevis
acc3ad9f31 (traffic shaper) add basic shaper rules to template 2015-05-21 09:04:08 +02:00
Ad Schellevis
485225f46b (proxy) check for existing log file in diag_logs_proxy.php (https://github.com/opnsense/core/issues/186 ) 2015-05-20 17:42:25 +00:00
Ad Schellevis
9fe1b63553 add isset (https://github.com/opnsense/core/issues/189) 2015-05-20 17:33:44 +00:00
Ad Schellevis
d35ce90cbe (firmware) fix countdown timer 2015-05-20 09:45:50 +02:00
Franco Fichtner
a8c558cf11 rc: no hay trabajo 2015-05-20 09:41:43 +02:00
Ad Schellevis
c4c18bd8de (configd) oops, forgot this part 2015-05-20 09:28:35 +02:00
Ad Schellevis
9ed964ea9e replace missing icons (https://github.com/opnsense/core/issues/187) 2015-05-20 06:32:49 +00:00