Commit [d3e8a0] Maximize Restore History

Added CHANGELOG. View those for nitty gritty. Summary: RC1.1 commit.

albinscott albinscott 2012-01-10

added COPYING
changed etc/config.ini
changed include/classes/class.common.php
changed include/classes/class.frontend.php
changed include/classes/class.main.php
changed include/classes/class.mysqlDB.php
changed include/css/nagtrap.css
changed include/defines/global.php
changed INSTALL
changed index.php
changed install.py
copied search.php -> CHANGELOG
COPYING Diff Switch to side-by-side view
Loading...
etc/config.ini Diff Switch to side-by-side view
Loading...
include/classes/class.common.php Diff Switch to side-by-side view
Loading...
include/classes/class.frontend.php Diff Switch to side-by-side view
Loading...
include/classes/class.main.php Diff Switch to side-by-side view
Loading...
include/classes/class.mysqlDB.php Diff Switch to side-by-side view
Loading...
include/css/nagtrap.css Diff Switch to side-by-side view
Loading...
include/defines/global.php Diff Switch to side-by-side view
Loading...
INSTALL Diff Switch to side-by-side view
Loading...
index.php Diff Switch to side-by-side view
Loading...
install.py Diff Switch to side-by-side view
Loading...
search.php to CHANGELOG
--- a/search.php
+++ b/CHANGELOG
@@ -1,52 +1,14 @@
-<?php
-require("./include/defines/global.php");
-require("./include/functions/functions.debug.php");
-require("./include/classes/class.main.php");
-require("./include/classes/class.mysqlDB.php");
+RC1.1 - 1/10/2012
 
-$searchType = $_REQUEST['searchType'];
+- Added note that php-mysql is required to be compiled into apache.
+- Changed install.py to be compatible with Python 2.4, at the cost of better error codes.
+- Fixed debug error message for showTrapIconsFooter as it was referring to variables of another function.
+- Fixed reference to CONST_VER is curly brackets in frontend::openSite()
+- Fixed trap read CSS, was missing tr rule for text-decoration.
+- Removed all @ symbols from mysql relevant functions.
+- Removed search.php as it had deprecated.
+- Fixed dangling $_GET request
+RC1.0 - 1/9/2012
 
-$MAIN = new main();
-
-// Read config.ini.php
-$configINI = $MAIN->readConfig(CONST_MAINCFG);
-
-// Set table
-$table = $MAIN->setTable($tableName,$_REQUEST['severity'],$_REQUEST['trapSelect']);
-
-if (DEBUG&&DEBUGLEVEL&1) debug('Start search: '.$searchType);
-$DATABASE = new database($configINI);
-$DATABASE->connect();
-
-if ($searchType == 'trapoid') {
-   $searchTrapoid = $_POST['searchTrapoid'];
-   $result = $DATABASE->search($searchType,$searchTrapoid);
-} elseif ($searchType == 'hostname') {
-   $searchHostname = $_POST['searchHostname'];
-   $result = $DATABASE->search($searchType,$searchHostname);
-} elseif ($searchType == 'category') {
-   $searchCategory = $_POST['searchCategory'];
-   $result = $DATABASE->search($searchType,$searchCategory);
-} elseif ($searchType == 'severity') {
-   $searchSeverity = $_POST['searchSeverity'];
-   $result = $DATABASE->search($searchType,$searchSeverity);
-} else {
-   if (DEBUG&&DEBUGLEVEL&1) debug('Start search: FALSE - Search type '.$searchType.' not defined!');
-}
-
-//print list
-if($result) {
-   echo "<ul>\n";
-   foreach($result as $key => $possible_host) {
-      echo "<li>".$possible_host."</li>\n";
-   }
-   echo "</ul>\n";
-} else {
-   echo "<ul>\n";
-   echo "<li></li>\n";
-   echo "</ul>\n";
-} 
-
-if (DEBUG&&DEBUGLEVEL&1) debug('END search');
-?>
-
+- Initial commit.
+- Added INSTALL and README files.