Commit Graph

98 Commits

Author SHA1 Message Date
Darren Embry
3a83296fe4 fix for Bug #2334 quality rrd graphs do not automatically refresh
id attributes can't have a period, someone didn't read w3c specs on id attributes ;-)
2012-04-19 14:27:36 -04:00
Darren Embry
31d6f24b12 pull jquery-ui.custom.css from themes/THEME if it exists there
otherwise pull /javascript/jquery/jquery-ui.custom.css,
which contains defaults.
2012-03-23 14:00:24 -04:00
Darren Embry
ce49a7c9f2 Add date/time picker to Custom RRD graphs.
from: http://trentrichardson.com/examples/timepicker/
2012-03-23 13:35:32 -04:00
Darren Embry
59418ceef6 Add date picker to the Custom RRD graph page to translate to unix time.
implements #1997.

http://redmine.pfsense.org/issues/1997
2012-03-22 12:17:45 -04:00
smos
cfbfd9412b The function split() is replaced by the function explode(). Starting with PHP 5.3 this is deprecated and with version 6 gone.
Replacing it surpresses all the warnings
2012-01-19 20:33:41 +01:00
Scott Ullrich
4ec48253ba Check uppercase strings 2011-11-16 10:47:10 -05:00
Scott Ullrich
5d7791a208 Ensure style is set to a valid item 2011-11-16 10:41:39 -05:00
smos
22aaee7dc0 Merge over the end period fix for the custom rrd graphs section. 2011-11-14 21:18:47 +01:00
Vinicius Coque
78d84a88e0 Converting from prototype to jQuery status_* 2011-10-22 17:02:04 -02:00
Evgeny Yurchenko
0da02ef5d9 Bug #1615. Half-fix. 2011-06-26 00:36:40 -04:00
Warren Baker
20413b72bf Added Captive Portal RRD graphs, there are two graphs one for the number of logged in users since last rrd poll, and concurrent number of users logged in. 2011-01-28 17:16:19 +02:00
Erik Fonnesbeck
97acf64675 Add new default option that makes RRD graphs with the old type of behavior for time periods, configurable on settings tab. 2010-12-31 03:18:41 -07:00
Erik Fonnesbeck
29640ceef3 Use correct variable for this condition. 2010-12-31 01:40:07 -07:00
jim-p
c23b4f0d80 Fix case statements, may fix rrd graph generation for certain periods. 2010-12-28 15:04:12 -05:00
Ermal
0d86d65018 Remove extra (. Reported-by: http://forum.pfsense.org/index.php/topic,31246.msg161929.html#msg161929 2010-12-22 14:02:35 +00:00
smos
c7cfbbd8a8 Reinvent the 8 hour graph period, this one should work properly, needs test 2010-12-20 23:30:04 +01:00
Scott Ullrich
034f08e7dd Fix Misc XSS issues 2010-11-09 11:38:27 -05:00
smos
d60f510a2c Unset the end time if we are graphing for the "current" period. That makes the graphs refresh correctly. 2010-10-11 09:58:28 +02:00
smos
7d80239407 Disable the 12 hour graph for now, it appears to have defective math. 2010-09-12 22:30:02 +02:00
Ermal
17a710031b Fixes #714. Do not show the cellular graphs if there is no ppp interface defined. 2010-08-27 18:05:13 +00:00
smos
dfeb680090 Correct math for the 12 hour graph so it doesn't show the empty hours 2010-08-27 09:23:41 +02:00
Erik Fonnesbeck
2103b25243 Skip the placeholder databases when outbound is selected, too. Also don't check the name against the gateway list on anything but the quality tab. 2010-08-23 23:24:22 -06:00
Erik Fonnesbeck
44aef5432b See if the name matches a gateway instead of showing everything ending in -quality. Also do a more restrictive match when checking which graph to display, so it doesn't match ones it shouldn't. (for example, WAN matching both WAN and GW_WAN) 2010-08-23 22:50:36 -06:00
Erik Fonnesbeck
9cd5e6f516 Allow System: Throughput RRD graph to be displayed. Ticket #715 2010-08-23 21:11:25 -06:00
Erik Fonnesbeck
85a4aab612 Fix showing the current graph selection on the system RRD graphs. 2010-08-23 19:51:53 -06:00
smos
58ed10132e Fix logic operator for graph endpoint 2010-08-23 22:31:54 +02:00
smos
a0bd34173c Do not show the empty part of the graph by request of many 2010-08-17 18:14:30 +02:00
Renato Botelho
3e6ec5dfba Use <?php instead of <? 2010-08-12 12:34:14 -03:00
Renato Botelho
e4b57d2681 Use <?php instead of the short form 2010-08-12 10:52:11 -03:00
Renato Botelho
c3ff89b458 Merge remote branch 'mainline/master'
Conflicts:
	usr/local/www/status_captiveportal.php
	usr/local/www/status_rrd_graph.php
	usr/local/www/status_wireless.php
2010-08-09 09:54:25 -03:00
smos
5bc838242b Add 12 hour period starting from 8 in the morning. Thinking that would correspond better to human workdays. 2010-08-05 09:18:45 +02:00
Carlos Eduardo Ramos
3dbd3be912 Fix gettext implementation on status_rrd_graph.php 2010-08-04 11:00:59 -03:00
Carlos Eduardo Ramos
b8219006dd Corrections gettext implementation on status_rrd_graph.php 2010-07-26 17:13:11 -03:00
Vinicius Coque
d9a0c4b8e8 Merge remote branch 'mainline/master'
Conflicts:
	usr/local/www/services_rfc2136.php
	usr/local/www/services_snmp.php
	usr/local/www/status_rrd_graph.php
	usr/local/www/status_rrd_graph_settings.php
2010-07-26 16:17:16 -03:00
smos
6216690bf0 Correct my email address, adjust copyright to 2010 2010-07-24 22:10:43 +02:00
smos
edd2d8b736 Add OpenVPN users database, sync the tabs on the settings page.
Graphing page doesn't know about openvpn users yet. But that's ok.
2010-07-23 16:04:39 +02:00
smos
6b0c5ae66c The custom graph option now works, this needs for a certain someone to
integrate a nice date picker that updates the fields with the correct
seconds.
Add tab for VPN databases which we don't have yet.
2010-07-23 11:40:11 +02:00
smos
9dc3798253 Further correct week graph, weeks start at monday, not sunday. Make
previous week work too.
2010-07-23 10:28:02 +02:00
smos
002bc4ab32 Fix the glob() to return only the files, not the pathnames, use chdir()
before.
Fix a possible injection of ../ in the database path by using basename()
Fix the week graph math so it is correct.
2010-07-23 09:59:58 +02:00
Carlos Eduardo Ramos
1d80829e11 Corrections gettext implementation on status_rrd_graph.php 2010-07-22 14:04:31 -03:00
Rafael Lucas
4dea46eef7 Implement gettext() calls on status_rrd_graph.php 2010-07-22 10:10:32 -03:00
jim-p
496dcc199b Replace this exec to find with a glob(). Fixes #751. 2010-07-20 08:26:39 -04:00
smos
47e68f4873 Commit first stab at a custom graph tab. Doesn't do anything yet, shouldn't break any existing graphs. 2010-07-18 22:20:19 +02:00
smos
0423bf2c65 round the date calculation result so that it results in 1 month instead
of 4 weeks which looks strange.
2010-07-15 20:43:49 +02:00
smos
6a8cf738d6 Fix the calculus so the date goes backwards 2010-07-15 20:33:02 +02:00
smos
161cd05c63 Remove debugging line
Improve the scale so that it matches up the length of the period.
Style fixes
2010-07-15 20:02:39 +02:00
smos
7d906758d5 Improve the RRD graph display 2010-07-15 17:21:24 +02:00
Seth Mos
7432ce7b8d Add more smarts to the RRD page, do not show tabs for database that do not exist, pick the 1st database for
wireless, cellular.
2010-01-03 20:09:50 +01:00
thompsa
ec51a2224e Add graphing for 3G cellular modems. 2009-12-27 11:36:47 +13:00
Ermal Luçi
5208e6481f Include needed files. Ticket #209. 2009-12-07 12:33:22 +00:00