5082 Commits

Author SHA1 Message Date
Ad Schellevis
23619829de (dashboard, widgets) work in progress sys info widget backend 2016-05-05 18:06:38 +02:00
Franco Fichtner
b472a1283f rc: consistent naming makes sense; fix previous 2016-05-05 15:25:29 +02:00
Franco Fichtner
612e039b78 rc: persistent firmware cache dirs on MFS; closes #924
This adds the following directories to avoid problems with
smaller embedded systems that do not have enough RAM:

	/var/cache/opnsense-update
	/var/cache/pkg

This is particularly bad for Nano systems with enough RAM
as it may grind the flash storage, but since this is a
"luxury" problem with Nano the scope is limited to that.
It's either being able to upgrade the firmware for all or
not at all.

FWIW, firmware upgrades will have to move to persistent
storage as soon as we hit FreeBSD 11 for the simple fact
that we'll have to do partial upgrade stages for the ABI
jumps of the kernel / base system anyway and cannot expect
to fetch more packages after reboot.

Proper garbage collection exists in both tools that shall
avoid overloading the persistant storage.
2016-05-05 15:17:34 +02:00
Ad Schellevis
a40388b484 (dashboard, widgets) work in progress restructure system_information.widget.php (not finished yet) 2016-05-05 12:40:40 +02:00
Franco Fichtner
2aca9405df console: fix a crash report 2016-05-05 12:29:21 +02:00
Ad Schellevis
b7eb3c8b66 (reporting -> settings) wrong form target, closes https://github.com/opnsense/core/issues/925 2016-05-04 21:15:55 +02:00
Franco Fichtner
e5ec6a4f28 Merge pull request #924 from fabianfrz/translation2
translation and style fixes
2016-05-04 16:58:50 +02:00
Fabian Franz
619b089c1b translation and style fixes 2016-05-04 15:19:44 +02:00
Ad Schellevis
8a6fde9c36 & 2016-05-04 13:46:44 +02:00
Ad Schellevis
f286da8ea0 (dashboard) widget heading text alignment 2016-05-04 13:02:56 +02:00
Ad Schellevis
53c1001b5a (hasync) add dns resolver to sync, service restart not included, probably needs a seperate page at some point. closes https://github.com/opnsense/core/issues/923 2016-05-04 11:47:28 +02:00
Franco Fichtner
32c280519d csrf: time to make this mandatory 2016-05-04 11:37:45 +02:00
Ad Schellevis
18ad5dac74 (dashboard) html issue 2016-05-04 11:34:27 +02:00
Ad Schellevis
8a6f8559ce (dashboard, widgets) refactor wake_on_lan.widget.php 2016-05-04 11:30:41 +02:00
Ad Schellevis
686378d97b (dashboard, widgets) small style cleanups for legacy traffic graph 2016-05-04 11:11:17 +02:00
Ad Schellevis
e860003585 remove unused ipsec.js 2016-05-03 20:17:39 +02:00
Ad Schellevis
90a31b13da (dashboard, widgets) replace thermal_sensors.widget.php 2016-05-03 20:12:49 +02:00
Franco Fichtner
53f6dace75 www: remove old cache disable, only used twice and uneeded 2016-05-03 17:18:13 +02:00
Ad Schellevis
6097278e98 gettext() 2016-05-03 17:17:13 +02:00
Franco Fichtner
d218b225cc csrf: tighten csrf code paths a little
o restructure session open/close for better visibility
o remove potentially insecure "try again" button
o remove override for switching csrf off (defer)
2016-05-03 17:02:00 +02:00
Franco Fichtner
bef4c80115 system: zap unneeded nocsrf assignment 2016-05-03 17:00:17 +02:00
Ad Schellevis
2b8bdc0c87 (dashboard, widgets) cleanup system_log.widget.php 2016-05-03 16:15:44 +02:00
Ad Schellevis
865b51da54 (dashboard, widgets) refactor services_status.widget.php 2016-05-03 16:06:48 +02:00
Ad Schellevis
85149c0eea (dashboard, widgets) cleanup rss.widget.php 2016-05-03 15:45:59 +02:00
Ad Schellevis
768fdcc003 (dashboar, widgets) cleanup openvpn.widget.php, use status_openvpn.php for ajax action 2016-05-03 15:42:14 +02:00
Ad Schellevis
c40b18244d spacing and cleanups in picture.widget.php 2016-05-03 15:40:49 +02:00
Ad Schellevis
569365fb10 duplicate tag 2016-05-03 15:39:30 +02:00
Ad Schellevis
759038b552 (dashboard) reallocate form ending 2016-05-03 15:32:17 +02:00
Ad Schellevis
73441cd923 (dashboard, widget) small cleanups load_balancer_status.widget.php 2016-05-03 15:00:53 +02:00
Ad Schellevis
07f02a8830 ipsec.widget.php missing </div> 2016-05-03 14:55:12 +02:00
Ad Schellevis
13dee9ef9f missing <tr> dyn_dns_status.widget.php 2016-05-03 14:48:19 +02:00
Ad Schellevis
7a670d6541 (dashboard, widget) spacing and small layout changes in ntp_status.widget.php, very anchient and unreadable code.... not spending more time on this now 2016-05-03 14:09:52 +02:00
Ad Schellevis
b9333627b7 remove nocsrf in log.widget.php 2016-05-03 13:59:55 +02:00
Ad Schellevis
c81a157a3a spacing in load_balancer_status.widget.php 2016-05-03 13:55:09 +02:00
Ad Schellevis
8b939fa2cc (dashboard, widgets) spacing ipsec.widget.php 2016-05-03 13:49:15 +02:00
Ad Schellevis
ca19fb0393 (dashboard, widgets) refactor interface_statistics.widget.php, use callbacks to update data 2016-05-03 13:41:27 +02:00
Ad Schellevis
ecb13223c7 (dashboard, widgets) add errors and collisions to plugins/interfaces.inc 2016-05-03 13:40:20 +02:00
Ad Schellevis
23d7e6f1ce (dashboard, widget) remove getstats.php dependency in interface_list.widget.php 2016-05-03 13:22:08 +02:00
Ad Schellevis
071bdba509 (dashboard, widget api) add collector for interface data 2016-05-03 13:01:01 +02:00
Ad Schellevis
74ebbbbe98 (dashboards, widgets) change plugin file extension 2016-05-03 11:03:04 +02:00
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