Commit Graph

65 Commits

Author SHA1 Message Date
Frank Fegert
5fcf79d57b - Fixed Bug #0000012: Allow PollD to run forever. PHPs 'max_execution_time' cannot apply here. 2009-07-03 21:49:38 +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
Michael Clemens
109bbac963 minor bugfix 2009-06-22 21:41:00 +00:00
Michael Clemens
bb969b1e47 added some missing config entries 2009-06-22 21:09:13 +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
93f877b70e - Fixed bug in Add/Edit servers, where the password field should remain
plain text.
2009-06-21 21:37:40 +00:00
Frank Fegert
d26e06e92b - Workaround for escaped backslashes in file path input fields when
PHP-option 'magic_quotes_gpc' is set.
- Extended installer tests for valid logfile/logpath input.
2009-06-21 16:16:32 +00:00
Frank Fegert
f951f398e2 - Some pre-release cleanup. 2009-06-21 16:14:06 +00:00
Frank Fegert
10d433a3c6 - More pre-release cleanup - changed versions to 0.0.x for beta-release. 2009-06-19 22:14:10 +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
00027e1f98 - Added own logfile config path for PollD to installer.
- Force default stylesheet for installer and reset after installer is finished.
2009-06-05 08:54:43 +00:00
Frank Fegert
1cba138b95 Improved installer. Added page to set initial admin password. Added
page to configure and check TSM servers.
2009-06-04 22:12:22 +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
Frank Fegert
918467a703 - Fixed typo.
- Switched comments from german -> english.
- Extended cfg_config.confval to 255 characters to be able to hold long paths.
- Added entries for tsmmonitor and polld logfiles to cfg_config.
2009-05-23 12:25:11 +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
5d24954cea added tsmmonitor.sql for initial db import 2009-05-14 10:34:52 +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
d6761898a7 renamed all styles 2009-05-13 13:13:46 +00:00
Michael Clemens
62237e967c recuced user stylesheets to color styles only 2009-05-13 13:10:17 +00:00
Michael Clemens
33fad60ecc added stylesheets 2009-05-13 13:09:05 +00:00
Michael Clemens
a02490e0d8 added style orange3d, horizon, grey3d
fixed problems with empty dsmadmc resultsets
2009-05-13 09:50:39 +00:00