Commit Graph

56 Commits

Author SHA1 Message Date
Frank Fegert
414af8a1eb - Fixed typo with ADODB result set introduced in previous revision.
- For PollD_MP run getServerVersion() only once every polling inter-
  val, not for every query.
2009-07-12 19:33:28 +00:00
Frank Fegert
97afaa73a6 - Added STDOUT logging for PollD_MP if no logfile is configured.
- Added new exception handling and logging for ADODB.
2009-07-12 17:12:14 +00:00
Frank Fegert
8882989945 - Minor formatting changes. 2009-07-12 16:24:33 +00:00
Michael Clemens
9bab7c9275 first implementation of TSM 6.1 compability 2009-07-07 15:46:15 +00:00
Frank Fegert
d3b0d1dddd - Fixed Bug #0000011: Added '.exe' suffix to dsmadmc and php binary string in installer. 2009-07-05 16:03:32 +00:00
Frank Fegert
8809708d3d - First try of a multi-process poller implementation. Probably still
buggy and needs alterations to the DB backend.
2009-07-03 15:37:02 +00:00
Frank Fegert
e82d671bdd - Some formatting cleanup.
- Added DB config to global config array.
- Switched from ADODB::PConnect() to ADODB:NConnect() to avoid some strange
  DB-connection related problems. See:
    http://phplens.com/lens/adodb/docs-adodb.htm#connect
  for details on the difference between PConnect() and NConnect().
2009-07-03 10:50:38 +00:00
Frank Fegert
3f1dfaea2e - Fixed Bug #0000010: Do not commit empty user passwords to DB.
- Removed navbar from admin.php since its broken there anyway.
- Catch empty results in "Overview" page.
- Some formating and cleanup.
2009-06-25 19:40:21 +00:00
Frank Fegert
706a738ff1 - Fixed Bug #0000005: Search field/Clear search not working for timetable/timetable2.
- Fixed Bug #0000006: Navbar should always be visible.
- Added navbar to head of tables for easier navigation with large line numbers.
2009-06-24 22:34:52 +00:00
Frank Fegert
c723a74a1b - Fixed Bug #0000003: Incorrect calculation for group display of overlapping events in timetable2. 2009-06-24 21:57:06 +00:00
Frank Fegert
577a78e337 - Added missing config entry.
- Fixed Bug #0000002.
2009-06-23 06:57:26 +00:00
Frank Fegert
6f95782ec3 - Some pre-release cleanup.
- First attempt to reduce the PollD runtime, by querying only the events
  for backups_all/archives_all that occured since the last PollD run.
2009-06-21 22:04:17 +00:00
Frank Fegert
f951f398e2 - Some pre-release cleanup. 2009-06-21 16:14:06 +00:00
Frank Fegert
8071794ae2 - Database changes:
- Fixed wrong beta release version.
  - Changed 'archives_24h' query from append to update to match 'backups_24h'.
  - Removed example server entries.
- Workaround for cases where PHP-option 'magic_quotes_gpc = on' messes up
  quoted data in POSTs.
- Workaround for truncated single line input fields. If strlen > 150, use
  textbox instead of input/text. Might be browser dependent, adjust limit
  as needed.
2009-06-19 21:40:25 +00:00
Frank Fegert
252b04ad95 - Some pre-release cleanup and format beautification. 2009-06-19 21:34:23 +00:00
Michael Clemens
6f9003206b beautyfied table footer 2009-06-17 12:32:13 +00:00
Michael Clemens
3663681af4 fixed some problems with "poll now" feature 2009-06-17 11:31:54 +00:00
Michael Clemens
940a9c3f9f fixed problem with sorting by columns, column names with blanks and urlencode 2009-06-12 10:49:46 +00:00
Frank Fegert
96975133c0 - Added alternate timetable version, which collapses all events
of the same node into one line.
- Fixed bug with urlencode() in page navigation.
2009-06-09 20:59:41 +00:00
Frank Fegert
7bd1b0356c - urlencode()'ed all URL parameters.
- added OS switch for popen() mode.
2009-06-08 10:47:55 +00:00
Frank Fegert
961d466758 - removed debugging output. 2009-06-05 15:04:19 +00:00
Frank Fegert
b428bddf54 - Fixed numeric sort order for varchar() columns with numeric content.
- Fixed sort order for "# Nodes" by urlencode()'ing the "sort=" parameter.
  This is only a quick fix, all URL parameters should be urlencode()'ed.
2009-06-05 14:54:36 +00:00
Frank Fegert
01fb98ed1c - Fixed display bug on admin page with drop-down selection of number of lines/rows to display per page.
- Fixed getTableFields() to return valid data on empty tables.
- Added placeholder text for empty query results.
2009-06-05 10:50:25 +00:00
Frank Fegert
65322d9858 - Fixed memory exhaustion bug if DB query returned empty result set.
- Fixed POST/SESSION variable inconsistency with search form.
- Cosmetics (removed whitespace at end of line).
2009-05-24 19:22:45 +00:00
Frank Fegert
e310e91542 - Added drop-down selection for number of lines/rows to display per page
for all calls to fetchSplitArrayDB.
- Fixed formatting issue with drop down box.
2009-05-24 17:45:08 +00:00
Frank Fegert
73befaaa6e - Added drop-down selection for number of lines/rows to display per page. 2009-05-24 15:25:29 +00:00
Frank Fegert
ed9b42ff44 Implemented alternate submenu navigation for - hopefully - better overview. 2009-05-24 13:20:15 +00:00
Frank Fegert
79bade6748 - Escaped backslashes before insert into DB. This fixes display errors
for e.g. Windows filespaces. This is also only a ugly workaround. A
  DB dependend escape of SQL statments via ADODBs 'qstr()' would be much
  better, but needs code refactoring.
- Allow to save empty config field values. Needed to enable/disable file
  logging.
- Fallback logging to STDOUT if given logfile not accessible.
2009-05-23 21:10:59 +00:00
Frank Fegert
5ce2f693d6 - Added SQL file for new DB entries (only temporarily until first release).
- Added runtime profiling output to PollD.
- Fixed minor bug in PollD for query runtime > 900 sec situations.
- Added log to file functionality to PollD.
2009-05-23 16:50:14 +00:00
Frank Fegert
253659a825 - Hide 'version' row in cfg_config from web interface. 2009-05-23 14:38:29 +00:00
Michael Clemens
2bd9496e47 implemented debug levels and try/catch blocks into polld 2009-05-20 13:52:50 +00:00
Michael Clemens
45983ec077 this and that 2009-05-18 15:34:04 +00:00
Michael Clemens
9fc372d337 implemented methiod renderZebraTableRow() 2009-05-18 15:06:42 +00:00
Michael Clemens
5624331190 reformatted/beautified most files 2009-05-18 11:37:07 +00:00
Michael Clemens
75611f3f8f renamed layout.js to functions.js 2009-05-18 08:29:09 +00:00
Michael Clemens
de4d901ac4 fixed problems with PDF output 2009-05-18 08:27:49 +00:00
Michael Clemens
6614fd94dd some compatibility fixes (IE makes me wanna cry) 2009-05-16 22:00:13 +00:00
Michael Clemens
cb24bebdeb added print stylesheet 2009-05-15 17:07:36 +00:00
Michael Clemens
6506cd4bc0 implemented GUI control for debug mode (in admin backend)
some GUI improvements
some bugfixes
2009-05-15 11:54:36 +00:00
Michael Clemens
f83ed97a42 removed extra result tables for timetable results
added combobox for result view switching (normal table / timetable)
2009-05-14 09:19:21 +00:00
Michael Clemens
9d84e239e0 splitted stylesheets into layout and colour stylesheets
added stylesheets
minor UI improvements
2009-05-13 15:20:13 +00:00
Michael Clemens
a02490e0d8 added style orange3d, horizon, grey3d
fixed problems with empty dsmadmc resultsets
2009-05-13 09:50:39 +00:00
Michael Clemens
d1bb95bdcb ... 2009-05-13 08:38:57 +00:00
Michael Clemens
8e5e0648a5 integrated adodb into PollD
added external switchable debug mode for class ADOdb
2009-05-13 08:29:01 +00:00
Michael Clemens
94c879b58b forgot to modify show_pdf.php... 2009-05-12 20:22:22 +00:00
Michael Clemens
53b848f605 put database/adodb related code into adodb.php
class ADOdb is now instantiated in global.php
2009-05-12 20:20:18 +00:00
Michael Clemens
a22f2f312e fixed problems with admin interface since migration to oo tsmmonitor 2009-05-12 13:56:03 +00:00
Michael Clemens
d7f826c831 consolidated PDF classes to one class
added show_pdf.php
2009-05-12 00:51:21 +00:00
Michael Clemens
19d46e48b4 first step of migration to object oriented version of TSM Monitor
deleted functions.php, replaced with tsmmonitor.php which includes new class TSMMonitor
2009-05-12 00:30:45 +00:00
Michael Clemens
fa2e7dbf5e cleanups
deletion of dsmerror.log
2009-05-11 16:55:09 +00:00