Ad Schellevis
7d286b231d
(dashboard, widgets) refactor gateways.widget.php, use callbacks and data from new widget api
2016-05-03 10:51:50 +02:00
Ad Schellevis
9e53bb9441
(dashboard widget api) add gateway data collector
2016-05-03 10:51:07 +02:00
Ad Schellevis
51e2c6cd1e
(dashboard/widgets) escape output
2016-05-03 10:49:56 +02:00
Franco Fichtner
ceafaf0ab4
config: remove unused code
2016-05-03 09:26:42 +02:00
Franco Fichtner
55d37aff0c
access: remove unused code
2016-05-03 09:09:39 +02:00
Franco Fichtner
fd4c8acfb0
firewall: remove unneeded code
2016-05-03 08:59:30 +02:00
Ad Schellevis
df5aa476dd
(dashboard) plugin new style ajax poller
...
use data-plugin to define the data collector (server side api/plugins/ plugin) and data-callback to define the javascript function to call after receiving data.
The callback uses 2 parameters (sender, remote data), where sender is the dom attribute on which the data-plugin was defined
2016-05-02 20:35:33 +02:00
Ad Schellevis
8e7bc1f679
(dashboard) the weirdness around stats.inc, getstats.php and ajax.js needs to be replaced with a more structural solution.
...
Because all current widgets depend on legacy code and we don't want to pollute new style mvc code with it, we choose to build a new broker in the old structure.
This commit only includes the basic setup for the broken and an empty gateway_api() function
2016-05-02 19:37:38 +02:00
Ad Schellevis
44b4ee49a7
(dashboard) cleanup. maybe we should eventually replace this for an icon, for now remove it
2016-05-02 18:00:52 +02:00
Ad Schellevis
f45cae15cf
(dashboard) gettext() in interface_list.widget.php
2016-05-02 17:51:29 +02:00
Ad Schellevis
905b4300e3
(dashboard) cleanup interface_list.widget.php
2016-05-02 17:38:32 +02:00
Ad Schellevis
77529f1d0d
(dashboard) gateways.widget.php, gettext()
2016-05-02 17:36:47 +02:00
Ad Schellevis
4a8994a97f
(dashboard) style
2016-05-02 17:29:32 +02:00
Ad Schellevis
c876b69448
(dashboard) restyle gateways.widget.php
2016-05-02 17:10:53 +02:00
Ad Schellevis
4e6d9e24cb
(dashboard) cleanup dyn_dns_status.widget.php
2016-05-02 16:39:17 +02:00
Ad Schellevis
6228e77d98
(dashboard) condense table
2016-05-02 16:37:07 +02:00
Ad Schellevis
5525e1fdd3
(dashboard) kill some spacing
2016-05-02 15:23:47 +02:00
Ad Schellevis
720bcff598
(dashboard) switchable column layout
2016-05-02 10:41:56 +02:00
Franco Fichtner
67a3a7e85c
rc: load required kernel modules
2016-05-02 09:01:15 +02:00
Franco Fichtner
73be890c3c
reporting: reorder menu, associate settings page correctly
2016-05-02 07:36:25 +02:00
Franco Fichtner
756389d0a9
system: add Turkish as available language
2016-05-02 07:25:30 +02:00
Ad Schellevis
a31f377df9
(dashboard/widgets) code cleanup carp_status.widget.php
2016-05-01 20:08:54 +02:00
Ad Schellevis
50c22a2725
(dashboard) respect existing (alphabetic) order and remove some unused code
2016-04-30 09:58:05 +02:00
Ad Schellevis
76649640bb
(dashboard) make widgets draggable and sortable again
...
still need to add a selectable number of columns (col-md-6 fixed now)
2016-04-30 09:41:01 +02:00
Ad Schellevis
6c1fe15378
(legacy / style) add jquery-sortable styles
2016-04-30 09:36:20 +02:00
Ad Schellevis
b22b7c33ae
(ui) add jquery-sortable.js to base ( https://johnny.github.io/jquery-sortable/ )
2016-04-30 09:32:42 +02:00
Ad Schellevis
4270902b9d
(dashboard) remove some more...
2016-04-29 16:19:59 +02:00
Ad Schellevis
cb336a65be
(dashboard) further cleanup... the same, but different
2016-04-29 15:21:56 +02:00
Ad Schellevis
4021045e31
(mvc) wrong default setter
2016-04-29 11:19:50 +02:00
Franco Fichtner
e5d57a43f4
Revert "php: remove ctype dependency; closes #917 "
...
This reverts commit ed81dd30de0ca621c244540c35d965aa17ca41d7.
The state of digit validation is highly controversial. I give
up. :)
2016-04-28 21:50:35 +02:00
Franco Fichtner
3f8c0fea4e
interfaces: port the last php module function, remove module
...
While this is a neat milestone, it becomes apparent how convuluted
the code path and interface info polling is. Looking at it, the
whole interface layer can probably make performance jumps to at least
twice the read or reconfigure speed...
2016-04-28 21:38:55 +02:00
Ad Schellevis
abdee6c40d
(dashboard) step by step cleanup, move changeTabDIV to ipsec.widget.php, remove unused widgetAjax
2016-04-28 18:24:43 +02:00
Ad Schellevis
9ff3fcc797
(captive portal) catch exception for process_accounting_messages.php
2016-04-28 17:01:35 +02:00
Ad Schellevis
16e3ddf2fa
(ids) add test ruleset for suricata
...
enable the opnsense test ruleset and try to download the eicar virus:
http://www.eicar.org/download/eicar.com.txt
it should block (over http)
closes https://github.com/opnsense/core/issues/884
2016-04-28 16:40:03 +02:00
Franco Fichtner
3272c7bb1f
interfaces: different strategy for status porting
2016-04-28 16:34:02 +02:00
Ad Schellevis
10d4cbfd0e
(ids) fix sort order of rulesets
2016-04-28 16:19:06 +02:00
Franco Fichtner
9b94d2f2f6
interfaces: port status-only probe
2016-04-28 16:10:15 +02:00
Franco Fichtner
c46d5ad0e9
interfaces: port flags-only fiddling
2016-04-28 15:43:20 +02:00
Franco Fichtner
a445548af4
interfaces: port mtu-only probe
2016-04-28 15:41:48 +02:00
Franco Fichtner
a404c216df
firewall: blue arrow for consistency
2016-04-28 13:22:11 +02:00
Franco Fichtner
b17d74faba
interfaces: fix typo in previous
2016-04-28 12:24:58 +02:00
Franco Fichtner
4e8debf8f3
interfaces: old switcheroo for eventual php module removal
...
Only one function left. :)
2016-04-28 12:21:08 +02:00
Franco Fichtner
2533e1103d
interfaces: portable alternative for php module function
...
BTW: 5000 commits on master branch, yay, party!
2016-04-28 12:20:15 +02:00
Franco Fichtner
6e5fbbc9aa
php: bcmath was used for pre-16.1 captive portal only
2016-04-28 09:40:42 +02:00
Franco Fichtner
ed81dd30de
php: remove ctype dependency; closes #917
...
Needs a bit of observation, but as far as I can see the only difference
is that is_numeric() will also take int values and return true for them,
ctype_digit() will only return true for string values that have digits.
2016-04-28 09:35:20 +02:00
Franco Fichtner
160c1245cf
CONTRIBUTING: minor tweaks
2016-04-28 08:53:39 +02:00
Franco Fichtner
aa21adfe18
firewall: mark deprecated ICMP types; closes #912
...
Taken from: http://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml
2016-04-28 08:40:26 +02:00
Franco Fichtner
571bdae6ee
interfaces: allow bridges with one interface for #61
2016-04-27 20:28:58 +02:00
Franco Fichtner
7bf795b15e
interfaces: fix numerous iterators
2016-04-27 19:24:10 +02:00
Franco Fichtner
50e4df6cb7
src: three crash reports
2016-04-27 13:52:41 +02:00