ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/reports/php/historical/browser.php
Revision 1.46 - (view) (annotate) - [select for diffs]
Sat Jun 30 12:12:48 2007 UTC (17 years, 4 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 , to selected 1.17
More short tag fixes.

Revision 1.45 - (view) (annotate) - [select for diffs]
Sat Jun 30 11:24:39 2007 UTC (17 years, 4 months ago) by tdb
Branch: MAIN
Changes since 1.44: +38 -38 lines
Diff to previous 1.44 , to selected 1.17
Tidy up PHP short tags.

Revision 1.44 - (view) (annotate) - [select for diffs]
Fri Mar 11 12:23:32 2005 UTC (19 years, 8 months ago) by tdb
Branch: MAIN
Changes since 1.43: +0 -3 lines
Diff to previous 1.43 , to selected 1.17
Updates from skel (Daniel Piddock):

 - Fix undefined variable warnings
 - Comment out auto-scroll code since it doesn't really work
 - Fix some minor formatting problems

Also various other updates to the main page and comments.

Revision 1.43 - (view) (annotate) - [select for diffs]
Sun Aug 1 10:40:26 2004 UTC (20 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42 , to selected 1.17
Catch a lot of old URL's and update them. Also remove a couple of old files
that aren't used.

Revision 1.42 - (view) (annotate) - [select for diffs]
Tue May 21 16:47:15 2002 UTC (22 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.41: +1 -0 lines
Diff to previous 1.41 , to selected 1.17
Added URL to GPL headers.

Revision 1.41 - (view) (annotate) - [select for diffs]
Sat May 18 18:15:57 2002 UTC (22 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.40: +19 -0 lines
Diff to previous 1.40 , to selected 1.17
i-scream is now licensed under the GPL. I've added the GPL headers to every
source file, and put a full copy of the license in the appropriate places.
I think I've covered everything. This is going to be a mad commit ;)

Revision 1.40 - (view) (annotate) - [select for diffs]
Wed Mar 21 18:48:27 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Changes since 1.39: +4 -1 lines
Diff to previous 1.39 , to selected 1.17
Historical reports now have a link to the alerts associated with them.

Revision 1.39 - (view) (annotate) - [select for diffs]
Fri Mar 16 18:58:33 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.38: +14 -5 lines
Diff to previous 1.38 , to selected 1.17
Now works nicely when a report is accessed without necessarily existing.

Revision 1.38 - (view) (annotate) - [select for diffs]
Tue Mar 13 19:29:11 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.37: +5 -5 lines
Diff to previous 1.37 , to selected 1.17
Everything including the chart can now be brought from a directory which
is not necessarily a subdirectory of the directory in which the script
is executed.

Revision 1.37 - (view) (annotate) - [select for diffs]
Tue Mar 13 19:22:44 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 , to selected 1.17
The web directory is now specified in the config file

Revision 1.36 - (view) (annotate) - [select for diffs]
Tue Mar 13 19:16:36 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 , to selected 1.17
The machine name and report name includes are now found from the
directory pointed to in the configuration file.

Revision 1.35 - (view) (annotate) - [select for diffs]
Tue Mar 13 19:14:47 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34 , to selected 1.17
Date listings can be produced from a directory that is not a subdirectory
of the current directory (although it will still need to be web-visible
for graphs to be viewed.)

Revision 1.34 - (view) (annotate) - [select for diffs]
Tue Mar 13 19:12:32 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 , to selected 1.17
The is_dir function in PHP is broken.  It doesn't work for anything that
is not a subdirectory of the current directory.

Revision 1.33 - (view) (annotate) - [select for diffs]
Tue Mar 13 18:54:02 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.32: +1 -25 lines
Diff to previous 1.32 , to selected 1.17
Moved the configuration to an external file.

Revision 1.32 - (view) (annotate) - [select for diffs]
Tue Mar 13 18:44:30 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.31: +1 -27 lines
Diff to previous 1.31 , to selected 1.17
Now gets the directory listing function from a shared include file.

Revision 1.31 - (view) (annotate) - [select for diffs]
Thu Mar 8 20:55:29 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.30: +2 -3 lines
Diff to previous 1.30 , to selected 1.17
Moved the historical reports directory, as the root shall now need to
accommodate realtime reports.

Revision 1.30 - (view) (annotate) - [select for diffs]
Fri Mar 2 10:49:54 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.29: +4 -0 lines
Diff to previous 1.29 , to selected 1.17
Thought it was bad HCI to get the date to reset to the first one each
time.  So when you select a date, the same date is selected when you look
at the list again.

Revision 1.29 - (view) (annotate) - [select for diffs]
Fri Mar 2 10:13:56 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 , to selected 1.17
Fixed the problem of minFileSize being out of scope in a call to a
function.  Fixed this by passing it in the function call, rather than
making an icky global variable.

Revision 1.28 - (view) (annotate) - [select for diffs]
Fri Mar 2 10:06:59 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.27: +3 -1 lines
Diff to previous 1.27 , to selected 1.17
Added a preg_match so that only directories that match a short date format
of YYYY-MM-DD are added to the dropdown date list.

Revision 1.27 - (view) (annotate) - [select for diffs]
Fri Mar 2 09:58:16 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.26: +6 -0 lines
Diff to previous 1.26 , to selected 1.17
*** empty log message ***

Revision 1.26 - (view) (annotate) - [select for diffs]
Fri Mar 2 09:53:36 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 , to selected 1.17
The forms are now submitted to $thisPage, so the filename of browser.php
can be changed (if desired) to anything you want without having to change
anything other than the configuration.  Page name awareness is not really
an issue with newer browsers, but leaving the form's action attribute
blank in Netscape 3 seems to have badass effects.

Revision 1.25 - (view) (annotate) - [select for diffs]
Fri Mar 2 09:51:34 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.24: +4 -4 lines
Diff to previous 1.24 , to selected 1.17
The chart data file name can also be specified within the configuration.
The method used to submit the form may als obe configured - at this
current moment in time, this should only really be set to either "POST"
or "GET".  GET sends the form with the parameters specified in the query
string (at the end of the URL).  POST sends them over HTTP without being
displayed in the URL.  We shall stay with the GET method for now -
although it produces rather ugly, long URLs in the browser, they are on
the other hand quite handy because you can then copy it and email the URL
to somebody to show them are particular chart and say something like,
"ooh, what happened to raptor there?"

Revision 1.24 - (view) (annotate) - [select for diffs]
Fri Mar 2 09:47:04 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 , to selected 1.17
Guess what?  The filename of each chart (normally a gif image) is now part
of the configuration!

Revision 1.23 - (view) (annotate) - [select for diffs]
Fri Mar 2 09:45:56 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 , to selected 1.17
The file that is included to obtain the minimum and maximum y-axis scales
is in the configuration.

Revision 1.22 - (view) (annotate) - [select for diffs]
Fri Mar 2 09:44:57 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 , to selected 1.17
The include files for generating the drop down machine and report lists
are part of the configuration.

Revision 1.21 - (view) (annotate) - [select for diffs]
Fri Mar 2 09:43:00 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20 , to selected 1.17
The HTML footer filename is also part of the configuration.

Revision 1.20 - (view) (annotate) - [select for diffs]
Fri Mar 2 09:42:27 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19 , to selected 1.17
The title include is now part of the configuration.

Revision 1.19 - (view) (annotate) - [select for diffs]
Fri Mar 2 09:41:49 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 , to selected 1.17
Colour of separator lines may now be configured.  This works only in newer
browsers, however, the colour is not crucial to the operation of the
reports and they thus work (and look) fine even in Netscape 3.

Revision 1.18 - (view) (annotate) - [select for diffs]
Fri Mar 2 09:38:54 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
A customised scale may now be included by altering the $scaleImage
attribute.

Revision 1.17 - (view) (annotate) - [selected]
Fri Mar 2 09:37:06 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16
Can now change a single setting to move the reports directory.

Revision 1.16 - (view) (annotate) - [select for diffs]
Fri Mar 2 09:35:53 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.15: +33 -5 lines
Diff to previous 1.15 , to selected 1.17
Only reports from the last week are now shown in the drop down menu
box.  This is easily configurable by altering one of the configuration
settings at the top of the file.

Revision 1.15 - (view) (annotate) - [select for diffs]
Fri Mar 2 09:25:05 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.14: +6 -2 lines
Diff to previous 1.14 , to selected 1.17
Preparations to make the whole file more configurable.

Revision 1.14 - (view) (annotate) - [select for diffs]
Fri Mar 2 09:13:09 2001 UTC (23 years, 8 months ago) by pjm2
Branch: MAIN
Changes since 1.13: +11 -1 lines
Diff to previous 1.13 , to selected 1.17
Reports that contain no data are no longer displayed.  This is useful for
reports about windows machines as these do not currently send values for
load.

Revision 1.13 - (view) (annotate) - [select for diffs]
Wed Feb 28 11:43:35 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.12: +13 -3 lines
Diff to previous 1.12 , to selected 1.17
Previous selections on the machine_name and report drop down lists are
now remembered!

Revision 1.12 - (view) (annotate) - [select for diffs]
Sun Feb 25 17:32:34 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 , to selected 1.17
.

Revision 1.11 - (view) (annotate) - [select for diffs]
Sun Feb 25 16:21:19 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.10: +73 -20 lines
Diff to previous 1.10 , to selected 1.17
The data list now stroes 20 of the most recent dates.

Revision 1.10 - (view) (annotate) - [select for diffs]
Sun Feb 25 14:48:44 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.9: +5 -32 lines
Diff to previous 1.9 , to selected 1.17
Preparations for the new browsing structure.  Each day's directory will
contain the list of reports and machines for that day.  The user may
select which day to browse first.

Revision 1.9 - (view) (annotate) - [select for diffs]
Sun Feb 4 15:01:03 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8 , to selected 1.17
The 'browse other dates' list is now sorted in reverse order so that the
user does not hae to scroll down far to see the latest reports.

Revision 1.8 - (view) (annotate) - [select for diffs]
Sun Feb 4 14:49:36 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 , to selected 1.17
Error message is not shown if the user fails to select a report to
view.  The bung button is now called a somewhat more appropriate "Show".

Revision 1.7 - (view) (annotate) - [select for diffs]
Sun Feb 4 14:25:47 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.6: +7 -3 lines
Diff to previous 1.6 , to selected 1.17
Left menu is top aligned, other dates appear in a list and the dropdown
boxes now have an empty default value.

Revision 1.6 - (view) (annotate) - [select for diffs]
Sun Feb 4 13:13:20 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.5: +28 -23 lines
Diff to previous 1.5 , to selected 1.17
Now uses the include files for layout out the i-scream design.

Revision 1.5 - (view) (annotate) - [select for diffs]
Sun Feb 4 13:01:50 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 , to selected 1.17
Include file for the bottom of the historical reports page.

Revision 1.4 - (view) (annotate) - [select for diffs]
Sun Feb 4 12:44:17 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 , to selected 1.17
The chart now has a title of the report being viewed.
Changed the background explicitly to white in preparation for
i-screamifying the look and feel.

Revision 1.3 - (view) (annotate) - [select for diffs]
Sat Feb 3 22:51:48 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 , to selected 1.17
Now uses the 24 hour scale beneath the graph, er I meant Chart.

Revision 1.2 - (view) (annotate) - [select for diffs]
Sat Feb 3 22:35:15 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Changes since 1.1: +15 -7 lines
Diff to previous 1.1 , to selected 1.17
Now shows the images inline in the same document.  Missing images are dealt with appropriately.

Revision 1.1 - (view) (annotate) - [select for diffs]
Sat Feb 3 22:34:02 2001 UTC (23 years, 9 months ago) by pjm2
Branch: MAIN
Diff to selected 1.17
A PHP script to provide a drop-down selection of the previous day's reports.  Also provides links to the other reports for previous
days.

Convenience Links

Links to HEAD: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a