20 Commits

Author SHA1 Message Date
Franco Fichtner
b6671c2b59 src: use new configdp_run() where appropriate 2018-12-25 09:27:47 +01:00
Franco Fichtner
90ff8defcb reporting: remove unneeded margin 2018-08-04 10:40:17 +02:00
Franco Fichtner
b92654ca08 reporting: adjust buttons in previous 2018-06-15 11:00:03 +02:00
Ad Schellevis
8f060d4a7a Netflow/insight and the endless UFS instability... in some cases sqlite can't figure out database inconsistencies by itself. In these cases it is practical to force a repair (rebuild) of the underlaying files manually.
This commit adds an option in reporting_settings.php to request a dump/import from https://github.com/opnsense/core/blob/18.1.9/src/opnsense/site-python/sqlite3_helper.py#L69
2018-06-15 10:31:00 +02:00
Franco Fichtner
390c0b3378 www: more style in various pages 2018-06-05 17:34:33 +00:00
NOYB
6ef9a127ff HTML Compliance - Attribute "type" on Element <script>
Warning: The type attribute is unnecessary for JavaScript resources.

HTML5: Edition for Web Authors
http://www.w3.org/TR/2014/REC-html5-20141028/scripting-1.html
The default, which is used if the attribute is absent, is "text/javascript".

The Script element
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type.
2018-01-22 19:13:34 +01:00
NOYB
76aab5cb52 HTML Compliance - Obsolete table attributes
width, align, valign, cellpadding, cellspacing, border, summary

Error: The width attribute on the table element is obsolete. Use CSS instead.
Error: The align attribute on the table element is obsolete. Use CSS instead.
Error: The valign attribute on the table element is obsolete. Use CSS instead.
Error: The cellpadding attribute on the table element is obsolete. Use CSS instead.
Error: The cellspacing attribute on the table element is obsolete. Use CSS instead.
Error: The border attribute on the table element is obsolete. Use CSS instead.
Error: The summary attribute on the table element is obsolete. Consider describing the structure of the table in a caption element or in a figure element containing the table; or, simplify the structure of the table so that no description is needed.
2018-01-04 18:26:02 +01:00
Franco Fichtner
4450de5f53 reporting: better fix for previous 2017-12-16 09:27:40 +01:00
Franco Fichtner
4fb9c58de3 reporting: fix a crash report, something has changed...
... with autovivification in PHP 7.1.
2017-12-15 19:50:11 +01:00
Franco Fichtner
c5d4002541 src: add Scott's e-mail everywhere 2017-08-05 20:57:29 +02:00
Franco Fichtner
c7a488dcb5 rrd: naming conventions and a side note
We have a function pair rrd_import() / rrd_export() now, which do
wildly different things even though they've been used for a single
purpose:

(1) rrd_export() writes a string, appends it to the config.xml

(2) rrd_import() takes a parsed config portion, but not as an
    argument, rather as a global config element

(3) There was also an older backup clue which exported files, but
    simply packed them up for restore after boot

If we can get the system to unify the usage we'll end up with a
neat way of backing, restoring and migrating RRD data, although
I'm not sure if this can be fully compatible with the old files.
2017-03-28 01:06:53 +02:00
Franco Fichtner
02f9143e24 reporting: fix a crash report 2016-09-23 08:07:13 +02:00
Ad Schellevis
0c42941315 (reporting/settings) option to flush all local netflow data. closes https://github.com/opnsense/core/issues/983 2016-07-25 17:33:49 +02:00
Ad Schellevis
6bbfe4e0ca style fix for reporting_settings.php 2016-07-24 16:58:27 +02:00
Ad Schellevis
b7657a6fdf (rrd) add configd "systemhealth flush" command, add flush single report. closes https://github.com/opnsense/core/issues/984 2016-07-24 12:54:38 +02:00
Ad Schellevis
4e3b66c257 zapp pfsense-utils.inc 2016-06-20 16:59:19 +02:00
Ad Schellevis
845cb7aff1 add opnsense_standard_table_form class to forms (2) 2016-05-20 18:13:49 +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
d17aef5fc1 reporting: fix previous 2016-04-24 12:25:31 +02:00
Franco Fichtner
7a5eef5bef reporting: rename previous 2016-04-24 12:00:39 +02:00