From 6f840ef6651469e4d3f1739d2f0afe31c41fda33 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Thu, 28 Oct 2010 14:21:44 +0200 Subject: [PATCH] Added changelog entry --- ChangeLog | 7 +++++++ src/include/db_template.txt | 2 ++ src/include/functions_common.php | 2 +- src/lang/de/admin.php | 4 ++-- src/lang/en/admin.php | 4 ++-- src/lang/it_IT/admin.php | 4 ++-- src/lang/pt_BR/admin.php | 4 ++-- 7 files changed, 18 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 584ff74..0701ace 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,11 @@ --------------------------------------------------------------------------- +Version 3.0.3 (beta), 2010-10-28 +- Added support for using custom filter for charts, for example if you + want to create charts for single servers. +- Added support for using custom default filters in logstream sources. + This filter will always prepended for all other custom search filters. +- Added new UserDB fields and updated database version to 10 +--------------------------------------------------------------------------- Version 3.0.2 (beta), 2010-10-22 - Added support to use a proxy server for internal url request. For example the update check request which is done during login diff --git a/src/include/db_template.txt b/src/include/db_template.txt index c859483..1726f72 100644 --- a/src/include/db_template.txt +++ b/src/include/db_template.txt @@ -81,6 +81,7 @@ CREATE TABLE `logcon_sources` ( `DBTableName` varchar(64) default NULL, `DBEnableRowCounting` tinyint(1) default NULL, `DBRecordsPerQuery` int(11) NOT NULL default '100', + `defaultfilter` VARCHAR(1024) NOT NULL AFTER, `userid` int(11) default NULL, `groupid` int(11) default NULL, PRIMARY KEY (`ID`) @@ -127,6 +128,7 @@ CREATE TABLE IF NOT EXISTS `logcon_charts` ( `chart_type` int(11) NOT NULL, `chart_width` int(11) NOT NULL, `chart_field` varchar(255) NOT NULL, + `chart_defaultfilter` VARCHAR(1024) NOT NULL, `maxrecords` int(11) NOT NULL, `showpercent` tinyint(1) NOT NULL, `userid` int(11) default NULL, diff --git a/src/include/functions_common.php b/src/include/functions_common.php index 19e5def..ca487e8 100644 --- a/src/include/functions_common.php +++ b/src/include/functions_common.php @@ -66,7 +66,7 @@ $LANG_EN = "en"; // Used for fallback $LANG = "en"; // Default language // Default Template vars -$content['BUILDNUMBER'] = "3.0.2"; +$content['BUILDNUMBER'] = "3.0.3"; $content['UPDATEURL'] = "http://loganalyzer.adiscon.com/files/version.txt"; $content['TITLE'] = "Adiscon LogAnalyzer :: Release " . $content['BUILDNUMBER']; // Default page title $content['BASEPATH'] = $gl_root_path; diff --git a/src/lang/de/admin.php b/src/lang/de/admin.php index b778e93..4fb67ed 100644 --- a/src/lang/de/admin.php +++ b/src/lang/de/admin.php @@ -282,7 +282,7 @@ $content['LN_SOURCES_ERROR_INVALIDCLEANUP'] = "Ungültiger Lösch-Typ"; $content['LN_SOURCES_WARNDELETEDATA'] = "Sind Sie sicher, dass Sie alle Daten löschen wollen welche in der '%1' Quelle enthalten sind? Dies kann nicht mehr rückgängig gemacht werden!"; $content['LN_SOURCES_ERROR_DELDATA'] = "Es konnten keine Daten in der Quelle '%1' gelöscht werden"; $content['LN_SOURCES_HASBEENDELDATA'] = "Die Daten in der Quelle '%1'wurden erfolgreich gelöscht, '%2' Zeilen wurden entfern. "; -$content['LN_SOURCES_FILTERSTRING'] = "Default Searchfilter"; +$content['LN_SOURCES_FILTERSTRING'] = "Custom Searchfilter"; $content['LN_SOURCES_FILTERSTRING_HELP'] = "Use the same syntax as in the search field. For example if you want to show only messages from 'server1', use this searchfilter: source:=server1"; // Database Upgrade @@ -313,7 +313,7 @@ $content['LN_CHARTS_ERROR_IDNOTFOUND'] = "Die Chart-ID konnte in der Datenbank n $content['LN_CHARTS_WARNDELETESEARCH'] = "Sind Sie sicher, dass Sie den Chart '%1' löschen wollen? Dies kann nicht mehr rückgängig gemacht werden!"; $content['LN_CHARTS_ERROR_DELCHART'] = "Löschen des Chart mit der id '%1' fehlgeschlagen!"; $content['LN_CHARTS_ERROR_HASBEENDEL'] = "Der Chart '%1' wurde erfolgreich gelöscht!"; -$content['LN_CHARTS_FILTERSTRING'] = "Default Filter"; +$content['LN_CHARTS_FILTERSTRING'] = "Custom Filter"; $content['LN_CHARTS_FILTERSTRING_HELP'] = "Use the same syntax as in the search field. For example if you want to generate a chart for 'server1', use this filter: source:=server1"; // Fields Options diff --git a/src/lang/en/admin.php b/src/lang/en/admin.php index d97d125..2f75175 100644 --- a/src/lang/en/admin.php +++ b/src/lang/en/admin.php @@ -240,7 +240,7 @@ $content['LN_DBMP_HASBEENADDED'] = "The Custom Database Mapping '%1' has been su $content['LN_DBMP_ERROR_NOCOLUMNS'] = "You need to add at least one column in order to add a new Custom Database Mapping."; $content['LN_DBMP_HASBEENEDIT'] = "The Custom Database Mapping '%1' has been successfully edited."; $content['LN_DBMP_ERROR_MISSINGFIELDNAME'] = "Missing mapping for the '%1' field."; -$content['LN_SOURCES_FILTERSTRING'] = "Default Searchfilter"; +$content['LN_SOURCES_FILTERSTRING'] = "Custom Searchfilter"; $content['LN_SOURCES_FILTERSTRING_HELP'] = "Use the same syntax as in the search field. For example if you want to show only messages from 'server1', use this searchfilter: source:=server1"; // Custom Sources center @@ -326,7 +326,7 @@ $content['LN_CHARTS_HASBEENEDIT'] = "The Chart '%1' has been successfully edited $content['LN_CHARTS_ID'] = "ID"; $content['LN_CHARTS_ASSIGNTO'] = "Assigned To"; $content['LN_CHARTS_PREVIEW'] = "Preview Chart in a new Window"; -$content['LN_CHARTS_FILTERSTRING'] = "Default Filter"; +$content['LN_CHARTS_FILTERSTRING'] = "Custom Filter"; $content['LN_CHARTS_FILTERSTRING_HELP'] = "Use the same syntax as in the search field. For example if you want to generate a chart for 'server1', use this filter: source:=server1"; diff --git a/src/lang/it_IT/admin.php b/src/lang/it_IT/admin.php index 534e273..96eca62 100644 --- a/src/lang/it_IT/admin.php +++ b/src/lang/it_IT/admin.php @@ -285,7 +285,7 @@ $content['LN_SOURCES_ERROR_INVALIDCLEANUP'] = "Invalid Data Cleanup type"; $content['LN_SOURCES_WARNDELETEDATA'] = "Are you sure that you want to clear logdata in the '%1' source? This cannot be undone!"; $content['LN_SOURCES_ERROR_DELDATA'] = "Could not delete data in the '%1' source"; $content['LN_SOURCES_HASBEENDELDATA'] = "Successfully deleted data from the '%1' source, '%2' rows were affected. "; -$content['LN_SOURCES_FILTERSTRING'] = "Default Searchfilter"; +$content['LN_SOURCES_FILTERSTRING'] = "Custom Searchfilter"; $content['LN_SOURCES_FILTERSTRING_HELP'] = "Use the same syntax as in the search field. For example if you want to show only messages from 'server1', use this searchfilter: source:=server1"; // Database Upgrade @@ -324,7 +324,7 @@ $content['LN_CHARTS_HASBEENEDIT'] = "The Chart '%1' has been successfully edited $content['LN_CHARTS_ID'] = "ID"; $content['LN_CHARTS_ASSIGNTO'] = "Assigned To"; $content['LN_CHARTS_PREVIEW'] = "Preview Chart in a new Window"; -$content['LN_CHARTS_FILTERSTRING'] = "Default Filter"; +$content['LN_CHARTS_FILTERSTRING'] = "Custom Filter"; $content['LN_CHARTS_FILTERSTRING_HELP'] = "Use the same syntax as in the search field. For example if you want to generate a chart for 'server1', use this filter: source:=server1"; // Fields Options diff --git a/src/lang/pt_BR/admin.php b/src/lang/pt_BR/admin.php index b6e755a..a1f117d 100644 --- a/src/lang/pt_BR/admin.php +++ b/src/lang/pt_BR/admin.php @@ -282,7 +282,7 @@ $content['LN_SOURCES_ERROR_INVALIDCLEANUP'] = "Invalid Data Cleanup type"; $content['LN_SOURCES_WARNDELETEDATA'] = "Are you sure that you want to clear logdata in the '%1' source? This cannot be undone!"; $content['LN_SOURCES_ERROR_DELDATA'] = "Could not delete data in the '%1' source"; $content['LN_SOURCES_HASBEENDELDATA'] = "Successfully deleted data from the '%1' source, '%2' rows were affected. "; -$content['LN_SOURCES_FILTERSTRING'] = "Default Searchfilter"; +$content['LN_SOURCES_FILTERSTRING'] = "Custom Searchfilter"; $content['LN_SOURCES_FILTERSTRING_HELP'] = "Use the same syntax as in the search field. For example if you want to show only messages from 'server1', use this searchfilter: source:=server1"; // Database Upgrade @@ -313,7 +313,7 @@ $content['LN_CHARTS_ERROR_IDNOTFOUND'] = "The Chart-ID could not be found in the $content['LN_CHARTS_WARNDELETESEARCH'] = "Are you sure that you want to delete the Chart '%1'? This cannot be undone!"; $content['LN_CHARTS_ERROR_DELCHART'] = "Deleting of the Chart with id '%1' failed!"; $content['LN_CHARTS_ERROR_HASBEENDEL'] = "The Chart '%1' has been successfully deleted!"; -$content['LN_CHARTS_FILTERSTRING'] = "Default Filter"; +$content['LN_CHARTS_FILTERSTRING'] = "Custom Filter"; $content['LN_CHARTS_FILTERSTRING_HELP'] = "Use the same syntax as in the search field. For example if you want to generate a chart for 'server1', use this filter: source:=server1"; // Fields Options