From 664911ed66914127ee2610534fa40c85538e4079 Mon Sep 17 00:00:00 2001 From: kevin_fourie Date: Wed, 24 Oct 2007 02:51:38 +0000 Subject: [PATCH] Merged in from DEV trunk... --- plugins/housekeeper/HouseKeeperPlugin.php | 7 ++++++- plugins/ktstandard/AdminVersionPlugin/AdminVersionDashlet.php | 88 ++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------- plugins/ktstandard/AdminVersionPlugin/AdminVersionPage.php | 354 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- plugins/ktstandard/AdminVersionPlugin/AdminVersionPlugin.php | 72 ++++++++++++++++++++++++++++++++++++------------------------------------ search2/ajax/ajax.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/ajax/metadata.php | 37 +++++++++++++++++++++++++++++++++++++ search2/ajax/parseExpr.php | 35 +++++++++++++++++++++++++++++++++++ search2/ajax/saveExpr.php | 36 ++++++++++++++++++++++++++++++++++++ search2/ajax/savedSearches.php | 36 ++++++++++++++++++++++++++++++++++++ search2/ajax/searchFields.php | 36 +++++++++++++++++++++++++++++++++++- search2/ajax/treeNodes.php | 36 +++++++++++++++++++++++++++++++++++- search2/indexing/bin/cronIndexer.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/bin/cronMigration.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/bin/diagnose.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/bin/optimise.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/bin/recreateIndex.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/bin/registerTypes.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/bin/shutdown.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/extractorCore.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/extractors/ExifExtractor.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/extractors/OOPresentationExtractor.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/extractors/OOSpreadsheetExtractor.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/extractors/OOTextExtractor.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/extractors/PDFExtractor.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/extractors/PSExtractor.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/extractors/PlainTextExtractor.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/extractors/RTFExtractor.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/extractors/ScriptExtractor.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/extractors/XMLExtractor.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/indexerCore.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/indexers/JavaXMLRPCLuceneIndexer.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/indexing/indexers/PHPLuceneIndexer.inc.php | 41 +++++++++++++++++++++++++++++++++++++++++ search2/indexing/lib/XmlRpcLucene.inc.php | 37 +++++++++++++++++++++++++++++++++++++ search2/search/SearchCommandLexer.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/bin/cronSavedSearch.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/bin/search.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/expr.inc.php | 35 +++++++++++++++++++++++++++++++++++ search2/search/exprConstants.inc.php | 36 +++++++++++++++++++++++++++++++++++- search2/search/fieldRegistry.inc.php | 36 +++++++++++++++++++++++++++++++++++- search2/search/fields/AnyMetadataField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/CheckedOutByField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/CheckedOutDeltaField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/CheckedOutField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/CreatedByField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/CreatedDeltaField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/CreatedField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/DiscussionTextField.inc.php | 35 +++++++++++++++++++++++++++++++++++ search2/search/fields/DocumentIdField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/DocumentTextField.inc.php | 40 +++++++++++++++++++++++++++++++++++----- search2/search/fields/DocumentTypeField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/FilenameField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/FilesizeField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/FolderField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/FolderFieldID.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/GeneralTextField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/IsCheckedOutField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/IsImmutableField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/MimeTypeField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/ModifiedByField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/ModifiedDeltaField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/ModifiedField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/TagField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/TitleField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/WorkflowField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/WorkflowIDField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/WorkflowStateField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/fields/WorkflowStateIDField.inc.php | 36 ++++++++++++++++++++++++++++++++++++ search2/search/search.inc.php | 36 +++++++++++++++++++++++++++++++++++- 68 files changed, 2565 insertions(+), 268 deletions(-) diff --git a/plugins/housekeeper/HouseKeeperPlugin.php b/plugins/housekeeper/HouseKeeperPlugin.php index 5e56272..57468b9 100644 --- a/plugins/housekeeper/HouseKeeperPlugin.php +++ b/plugins/housekeeper/HouseKeeperPlugin.php @@ -121,7 +121,12 @@ class HouseKeeperPlugin extends KTPlugin function setup() { - $this->registerDashlet('DiskUsageDashlet', 'ktcore.diskusage.dashlet', 'DiskUsageDashlet.inc.php'); + if (OS_UNIX) + { + // unfortunately, df only seems to be working under linux at this stage. we had + // issues getting gnuwin32's df to run in the stack. the application kept on core dumping! ;( + $this->registerDashlet('DiskUsageDashlet', 'ktcore.diskusage.dashlet', 'DiskUsageDashlet.inc.php'); + } $this->registerDashlet('FolderUsageDashlet', 'ktcore.folderusage.dashlet', 'FolderUsageDashlet.inc.php'); $oTemplating =& KTTemplating::getSingleton(); diff --git a/plugins/ktstandard/AdminVersionPlugin/AdminVersionDashlet.php b/plugins/ktstandard/AdminVersionPlugin/AdminVersionDashlet.php index bc88e90..2e89643 100644 --- a/plugins/ktstandard/AdminVersionPlugin/AdminVersionDashlet.php +++ b/plugins/ktstandard/AdminVersionPlugin/AdminVersionDashlet.php @@ -1,5 +1,5 @@ -sTitle = _kt('New Version Available'); - } - - /*function is_active($oUser) { - $this->oUser = $oUser; - return true; - } - */ - - function is_active($oUser) { - $this->oUser = $oUser; - return Permission::userIsSystemAdministrator($oUser); - } - - function render() { - global $main; - $main->requireJSResource("plugins/ktstandard/AdminVersionPlugin/js/update.js"); - - $oPlugin =& $this->oPlugin; - - $oTemplating =& KTTemplating::getSingleton(); - $oTemplate = $oTemplating->loadTemplate('AdminVersionPlugin/dashlet'); - - $aTemplateData = array( - 'context' => $this, - 'url' => $oPlugin->getPagePath('versions'), - - ); - - - return $oTemplate->render($aTemplateData); - } -} + * Contributor( s): ______________________________________ + * + */ + +class AdminVersionDashlet extends KTBaseDashlet { + var $oUser; + var $sClass = 'ktError'; + + function AdminVersionDashlet(){ + $this->sTitle = _kt('New Version Available'); + } + + /*function is_active($oUser) { + $this->oUser = $oUser; + return true; + } + */ + + function is_active($oUser) { + $this->oUser = $oUser; + return Permission::userIsSystemAdministrator($oUser); + } + + function render() { + global $main; + $main->requireJSResource("plugins/ktstandard/AdminVersionPlugin/js/update.js"); + + $oPlugin =& $this->oPlugin; + + $oTemplating =& KTTemplating::getSingleton(); + $oTemplate = $oTemplating->loadTemplate('AdminVersionPlugin/dashlet'); + + $aTemplateData = array( + 'context' => $this, + 'url' => $oPlugin->getPagePath('versions'), + + ); + + + return $oTemplate->render($aTemplateData); + } +} ?> \ No newline at end of file diff --git a/plugins/ktstandard/AdminVersionPlugin/AdminVersionPage.php b/plugins/ktstandard/AdminVersionPlugin/AdminVersionPage.php index 7d8620e..44fb158 100644 --- a/plugins/ktstandard/AdminVersionPlugin/AdminVersionPage.php +++ b/plugins/ktstandard/AdminVersionPlugin/AdminVersionPage.php @@ -1,5 +1,5 @@ - (24*60*60)) { - return; - } - } - $now = time(); - $diff = $now - $iLastCheck; - if ($diff > (24*60*60)) { - return; - } - return $sLastValue; - } - - function do_main() { - session_write_close(); - - $sCache = $this->_checkCache(); - if (!is_null($sCache)) { - $sCachedVersion = $sCache; - - $sVName = ""; - $sVNum = ""; - - $sTrimmer = str_replace('{', '', str_replace('}', '', str_replace('\'', '', $sCachedVersion))); - $aCachedVersionsTemp = explode(',',$sTrimmer); - - for($i=0;$i"; - print_r($aCachedVersions); - echo ""; - echo "
";
-        	print_r($aVersions);
-        	echo "
"; - exit; -*/ - - foreach ($aVersions as $k => $v) { - foreach($aCachedVersions as $j => $l) { - if (($k == $j) && (version_compare($aVersions[$k], $aCachedVersions[$j]) == -1)) - { - //save new name and version - $sVName = $j; - $sVNum = $l; - } - }//end foreach - - }//end foreach - - if ($sVName != "") - { - return "
"; - } - else - { - return ""; - } - } - - $sUrl = KT_VERSION_URL; - $aVersions = KTUtil::getKTVersions(); - - foreach ($aVersions as $k => $v) { - $sUrl .= '?' . sprintf("%s=%s", $k, $v); - } - $sIdentifier = KTUtil::getSystemIdentifier(); - $sUrl .= '&' . sprintf("system_identifier=%s", $sIdentifier); - - if (!function_exists('curl_init')) { - if (OS_WINDOWS) { - return ""; - } - - $stuff = @file_get_contents($sUrl); - if ($stuff === false) { - $stuff = ""; - } - } else { - - $ch = @curl_init($sUrl); - if (!$ch) { - return ""; - } - curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); - curl_setopt($ch, CURLOPT_TIMEOUT, 10); - $stuff = curl_exec($ch); - curl_close($ch); - if (!$stuff) { - $stuff = ""; - } - } - KTUtil::setSystemSetting('ktadminversion_lastcheck', time()); - KTUtil::setSystemSetting('ktadminversion_lastvalue', (string)$stuff); - - $sVName = ""; - $sVNum = ""; - - $trim_stuff = str_replace('{', '', str_replace('}', '', str_replace('\'', '', $stuff))); - $aRemoteVersionstemp = explode(',',$trim_stuff); - - for($i=0;$i"; - print_r($aRemoteVersions); - echo ""; - echo "
";
-        	print_r($aVersions);
-        echo "
"; - exit; -*/ - foreach ($aVersions as $k => $v) { - foreach($aRemoteVersions as $j => $l) { - if (($k == $j) && (version_compare($aVersions[$k], $aRemoteVersions[$j]) == -1)) - { - //save new name and version - $sVName = $j; - $sVNum = $l; - } - } - } - - if ($sVName != "") - { - return "
"; - } - else - { - return ""; - } - } - - function handleOutput($sOutput) { - print $sOutput; - } -} - + * Contributor( s): ______________________________________ + * + */ + + +require_once(KT_LIB_DIR . "/plugins/plugin.inc.php"); +require_once(KT_LIB_DIR . "/plugins/pluginregistry.inc.php"); +require_once(KT_LIB_DIR . "/dashboard/dashlet.inc.php"); + +define('KT_VERSION_URL', 'http://version.knowledgetree.com/kt_versions'); + +class AdminVersionPage extends KTStandardDispatcher { + + function _checkCache() { + global $default; + $iLastCheck = KTUtil::getSystemSetting('ktadminversion_lastcheck'); + if (empty($iLastCheck)) { + return; + } + $sLastValue = KTUtil::getSystemSetting('ktadminversion_lastvalue'); + if (empty($sLastValue)) { + $now = time(); + $diff = $now - $iLastCheck; + if ($diff > (24*60*60)) { + return; + } + } + $now = time(); + $diff = $now - $iLastCheck; + if ($diff > (24*60*60)) { + return; + } + return $sLastValue; + } + + function do_main() { + session_write_close(); + + $sCache = $this->_checkCache(); + if (!is_null($sCache)) { + $sCachedVersion = $sCache; + + $sVName = ""; + $sVNum = ""; + + $sTrimmer = str_replace('{', '', str_replace('}', '', str_replace('\'', '', $sCachedVersion))); + $aCachedVersionsTemp = explode(',',$sTrimmer); + + for($i=0;$i"; + print_r($aCachedVersions); + echo ""; + echo "
";
+        	print_r($aVersions);
+        	echo "
"; + exit; +*/ + + foreach ($aVersions as $k => $v) { + foreach($aCachedVersions as $j => $l) { + if (($k == $j) && (version_compare($aVersions[$k], $aCachedVersions[$j]) == -1)) + { + //save new name and version + $sVName = $j; + $sVNum = $l; + } + }//end foreach + + }//end foreach + + if ($sVName != "") + { + return "
"; + } + else + { + return ""; + } + } + + $sUrl = KT_VERSION_URL; + $aVersions = KTUtil::getKTVersions(); + + foreach ($aVersions as $k => $v) { + $sUrl .= '?' . sprintf("%s=%s", $k, $v); + } + $sIdentifier = KTUtil::getSystemIdentifier(); + $sUrl .= '&' . sprintf("system_identifier=%s", $sIdentifier); + + if (!function_exists('curl_init')) { + if (OS_WINDOWS) { + return ""; + } + + $stuff = @file_get_contents($sUrl); + if ($stuff === false) { + $stuff = ""; + } + } else { + + $ch = @curl_init($sUrl); + if (!$ch) { + return ""; + } + curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); + curl_setopt($ch, CURLOPT_TIMEOUT, 10); + $stuff = curl_exec($ch); + curl_close($ch); + if (!$stuff) { + $stuff = ""; + } + } + KTUtil::setSystemSetting('ktadminversion_lastcheck', time()); + KTUtil::setSystemSetting('ktadminversion_lastvalue', (string)$stuff); + + $sVName = ""; + $sVNum = ""; + + $trim_stuff = str_replace('{', '', str_replace('}', '', str_replace('\'', '', $stuff))); + $aRemoteVersionstemp = explode(',',$trim_stuff); + + for($i=0;$i"; + print_r($aRemoteVersions); + echo ""; + echo "
";
+        	print_r($aVersions);
+        echo "
"; + exit; +*/ + foreach ($aVersions as $k => $v) { + foreach($aRemoteVersions as $j => $l) { + if (($k == $j) && (version_compare($aVersions[$k], $aRemoteVersions[$j]) == -1)) + { + //save new name and version + $sVName = $j; + $sVNum = $l; + } + } + } + + if ($sVName != "") + { + return "
"; + } + else + { + return ""; + } + } + + function handleOutput($sOutput) { + print $sOutput; + } +} + ?> \ No newline at end of file diff --git a/plugins/ktstandard/AdminVersionPlugin/AdminVersionPlugin.php b/plugins/ktstandard/AdminVersionPlugin/AdminVersionPlugin.php index eead3ea..5d902d8 100644 --- a/plugins/ktstandard/AdminVersionPlugin/AdminVersionPlugin.php +++ b/plugins/ktstandard/AdminVersionPlugin/AdminVersionPlugin.php @@ -1,5 +1,5 @@ -sFriendlyName = _kt('Admin Version Notifier'); - return $res; - - } - - function setup() { - - $this->registerDashlet('AdminVersionDashlet', 'ktstandard.adminversion.dashlet', 'AdminVersionDashlet.php'); - $this->registerPage('versions', 'AdminVersionPage', 'AdminVersionPage.php'); - - require_once(KT_LIB_DIR . "/templating/templating.inc.php"); - $oTemplating =& KTTemplating::getSingleton(); - $oTemplating->addLocation('AdminVersionDashlet', '/plugins/ktstandard/AdminVersionPlugin/templates'); - } - } -$oPluginRegistry =& KTPluginRegistry::getSingleton(); -$oPluginRegistry->registerPlugin('AdminVersionPlugin', 'ktstandard.adminversion.plugin', __FILE__); - -?> + * Contributor( s): ______________________________________ + * + */ + +require_once(KT_LIB_DIR . "/plugins/plugin.inc.php"); +require_once(KT_LIB_DIR . "/plugins/pluginregistry.inc.php"); + + class AdminVersionPlugin extends KTPlugin + { + var $sNamespace = 'ktstandard.adminversion.plugin'; + var $autoRegister = true; + + function AdminVersionPlugin($sFilename = null) { + + $res = parent::KTPlugin($sFilename); + $this->sFriendlyName = _kt('Admin Version Notifier'); + return $res; + + } + + function setup() { + + $this->registerDashlet('AdminVersionDashlet', 'ktstandard.adminversion.dashlet', 'AdminVersionDashlet.php'); + $this->registerPage('versions', 'AdminVersionPage', 'AdminVersionPage.php'); + + require_once(KT_LIB_DIR . "/templating/templating.inc.php"); + $oTemplating =& KTTemplating::getSingleton(); + $oTemplating->addLocation('AdminVersionDashlet', '/plugins/ktstandard/AdminVersionPlugin/templates'); + } + } +$oPluginRegistry =& KTPluginRegistry::getSingleton(); +$oPluginRegistry->registerPlugin('AdminVersionPlugin', 'ktstandard.adminversion.plugin', __FILE__); + +?> diff --git a/search2/ajax/ajax.inc.php b/search2/ajax/ajax.inc.php index 6d8c008..ff93a60 100644 --- a/search2/ajax/ajax.inc.php +++ b/search2/ajax/ajax.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + require_once('../../config/dmsDefaults.php'); session_start(); diff --git a/search2/ajax/metadata.php b/search2/ajax/metadata.php index 26a5ae8..224c791 100644 --- a/search2/ajax/metadata.php +++ b/search2/ajax/metadata.php @@ -1,4 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + require_once('ajax.inc.php'); $what = AjaxSearchHelper::checkGET('what', AjaxSearchHelper::STATUS_MISSING_WHAT , _kt('What is required? fieldsets or fields?')); diff --git a/search2/ajax/parseExpr.php b/search2/ajax/parseExpr.php index f469b33..997ed67 100644 --- a/search2/ajax/parseExpr.php +++ b/search2/ajax/parseExpr.php @@ -1,4 +1,39 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ require_once('ajax.inc.php'); diff --git a/search2/ajax/saveExpr.php b/search2/ajax/saveExpr.php index 39d63d9..6965394 100644 --- a/search2/ajax/saveExpr.php +++ b/search2/ajax/saveExpr.php @@ -1,4 +1,40 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + require_once('ajax.inc.php'); $userID = AjaxSearchHelper::getSessionUser(); diff --git a/search2/ajax/savedSearches.php b/search2/ajax/savedSearches.php index 1c0a010..87532b5 100644 --- a/search2/ajax/savedSearches.php +++ b/search2/ajax/savedSearches.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + require_once('ajax.inc.php'); $userID = AjaxSearchHelper::getSessionUser(); diff --git a/search2/ajax/searchFields.php b/search2/ajax/searchFields.php index c4c22ed..07cbe99 100644 --- a/search2/ajax/searchFields.php +++ b/search2/ajax/searchFields.php @@ -1,5 +1,39 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ require_once('ajax.inc.php'); $reg = ExprFieldRegistry::getRegistry(); diff --git a/search2/ajax/treeNodes.php b/search2/ajax/treeNodes.php index d8ec8a5..13128de 100644 --- a/search2/ajax/treeNodes.php +++ b/search2/ajax/treeNodes.php @@ -1,5 +1,39 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ require_once('ajax.inc.php'); $folderID = AjaxSearchHelper::checkGET('folderid', AjaxSearchHelper::STATUS_MISSING_FOLDER, _kt('Folder id is not specified.')); diff --git a/search2/indexing/bin/cronIndexer.php b/search2/indexing/bin/cronIndexer.php index fd6eb2d..7b29bbc 100644 --- a/search2/indexing/bin/cronIndexer.php +++ b/search2/indexing/bin/cronIndexer.php @@ -1,6 +1,42 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + +/** * PURPOSE: * * This script is to be called periodically to index documents. diff --git a/search2/indexing/bin/cronMigration.php b/search2/indexing/bin/cronMigration.php index 4fa9a83..e94367c 100644 --- a/search2/indexing/bin/cronMigration.php +++ b/search2/indexing/bin/cronMigration.php @@ -1,6 +1,42 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + +/** * PURPOSE: * * This script is to be called periodically to migrate current indexes to Lucene. diff --git a/search2/indexing/bin/diagnose.php b/search2/indexing/bin/diagnose.php index 4071912..fa58ccb 100644 --- a/search2/indexing/bin/diagnose.php +++ b/search2/indexing/bin/diagnose.php @@ -1,6 +1,42 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + +/** * PURPOSE: * * This script provides diagnosis for the various text extractors. diff --git a/search2/indexing/bin/optimise.php b/search2/indexing/bin/optimise.php index 76d5d49..d6fc680 100644 --- a/search2/indexing/bin/optimise.php +++ b/search2/indexing/bin/optimise.php @@ -1,6 +1,42 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + +/** * PURPOSE: * * This script optimises the lucene index. diff --git a/search2/indexing/bin/recreateIndex.php b/search2/indexing/bin/recreateIndex.php index 9840942..06387aa 100644 --- a/search2/indexing/bin/recreateIndex.php +++ b/search2/indexing/bin/recreateIndex.php @@ -1,6 +1,42 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + +/** * PURPOSE: * * This script has the purpose of recreating the lucene index. diff --git a/search2/indexing/bin/registerTypes.php b/search2/indexing/bin/registerTypes.php index 726f7b3..65faf97 100644 --- a/search2/indexing/bin/registerTypes.php +++ b/search2/indexing/bin/registerTypes.php @@ -1,6 +1,42 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + +/** * PURPOSE: * * The purpose of this script is to register types. diff --git a/search2/indexing/bin/shutdown.php b/search2/indexing/bin/shutdown.php index 992066d..b66a085 100644 --- a/search2/indexing/bin/shutdown.php +++ b/search2/indexing/bin/shutdown.php @@ -1,6 +1,42 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + +/** * PURPOSE: * * This script has the purpose of shutting down the java lucene server. diff --git a/search2/indexing/extractorCore.inc.php b/search2/indexing/extractorCore.inc.php index ecf908a..ba0e5e9 100644 --- a/search2/indexing/extractorCore.inc.php +++ b/search2/indexing/extractorCore.inc.php @@ -1,6 +1,42 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + +/** * DocumentExtractor is the base class for all text extractors. * */ diff --git a/search2/indexing/extractors/ExifExtractor.inc.php b/search2/indexing/extractors/ExifExtractor.inc.php index 1bee685..6ec8617 100644 --- a/search2/indexing/extractors/ExifExtractor.inc.php +++ b/search2/indexing/extractors/ExifExtractor.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class ExifExtractor extends DocumentExtractor { public function getDisplayName() diff --git a/search2/indexing/extractors/OOPresentationExtractor.inc.php b/search2/indexing/extractors/OOPresentationExtractor.inc.php index c6c6c22..7a4a9ec 100644 --- a/search2/indexing/extractors/OOPresentationExtractor.inc.php +++ b/search2/indexing/extractors/OOPresentationExtractor.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + require_once('OOTextExtractor.inc.php'); require_once('PDFExtractor.inc.php'); diff --git a/search2/indexing/extractors/OOSpreadsheetExtractor.inc.php b/search2/indexing/extractors/OOSpreadsheetExtractor.inc.php index b05dbd6..9c64c53 100644 --- a/search2/indexing/extractors/OOSpreadsheetExtractor.inc.php +++ b/search2/indexing/extractors/OOSpreadsheetExtractor.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + require_once('OOTextExtractor.inc.php'); class OOSpreadsheetExtractor extends OOTextExtractor diff --git a/search2/indexing/extractors/OOTextExtractor.inc.php b/search2/indexing/extractors/OOTextExtractor.inc.php index b85976b..532e834 100644 --- a/search2/indexing/extractors/OOTextExtractor.inc.php +++ b/search2/indexing/extractors/OOTextExtractor.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class OOTextExtractor extends ExternalDocumentExtractor { protected $python; diff --git a/search2/indexing/extractors/PDFExtractor.inc.php b/search2/indexing/extractors/PDFExtractor.inc.php index e2510f9..54fb672 100644 --- a/search2/indexing/extractors/PDFExtractor.inc.php +++ b/search2/indexing/extractors/PDFExtractor.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class PDFExtractor extends ApplicationExtractor { public function __construct() diff --git a/search2/indexing/extractors/PSExtractor.inc.php b/search2/indexing/extractors/PSExtractor.inc.php index 1b85470..8fff6d0 100644 --- a/search2/indexing/extractors/PSExtractor.inc.php +++ b/search2/indexing/extractors/PSExtractor.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class PSExtractor extends ApplicationExtractor { public function __construct() diff --git a/search2/indexing/extractors/PlainTextExtractor.inc.php b/search2/indexing/extractors/PlainTextExtractor.inc.php index 7ce4ea9..16e0d5f 100644 --- a/search2/indexing/extractors/PlainTextExtractor.inc.php +++ b/search2/indexing/extractors/PlainTextExtractor.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class PlainTextExtractor extends TextExtractor { public function getDisplayName() diff --git a/search2/indexing/extractors/RTFExtractor.inc.php b/search2/indexing/extractors/RTFExtractor.inc.php index 9afc7ab..06fce72 100644 --- a/search2/indexing/extractors/RTFExtractor.inc.php +++ b/search2/indexing/extractors/RTFExtractor.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + require_once('OOTextExtractor.inc.php'); class RTFExtractor extends OOTextExtractor diff --git a/search2/indexing/extractors/ScriptExtractor.inc.php b/search2/indexing/extractors/ScriptExtractor.inc.php index 09305d9..77e6f50 100644 --- a/search2/indexing/extractors/ScriptExtractor.inc.php +++ b/search2/indexing/extractors/ScriptExtractor.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class ScriptExtractor extends TextExtractor { public function getDisplayName() diff --git a/search2/indexing/extractors/XMLExtractor.inc.php b/search2/indexing/extractors/XMLExtractor.inc.php index 573f585..5587ec6 100644 --- a/search2/indexing/extractors/XMLExtractor.inc.php +++ b/search2/indexing/extractors/XMLExtractor.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class XMLExtractor extends TextExtractor { public function getDisplayName() diff --git a/search2/indexing/indexerCore.inc.php b/search2/indexing/indexerCore.inc.php index e04249c..7017c85 100644 --- a/search2/indexing/indexerCore.inc.php +++ b/search2/indexing/indexerCore.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + require_once('indexing/extractorCore.inc.php'); diff --git a/search2/indexing/indexers/JavaXMLRPCLuceneIndexer.inc.php b/search2/indexing/indexers/JavaXMLRPCLuceneIndexer.inc.php index 5fd3113..b354531 100644 --- a/search2/indexing/indexers/JavaXMLRPCLuceneIndexer.inc.php +++ b/search2/indexing/indexers/JavaXMLRPCLuceneIndexer.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + require_once('indexing/lib/XmlRpcLucene.inc.php'); class JavaXMLRPCLuceneIndexer extends Indexer diff --git a/search2/indexing/indexers/PHPLuceneIndexer.inc.php b/search2/indexing/indexers/PHPLuceneIndexer.inc.php index cabc819..fd36a30 100644 --- a/search2/indexing/indexers/PHPLuceneIndexer.inc.php +++ b/search2/indexing/indexers/PHPLuceneIndexer.inc.php @@ -1,5 +1,46 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + +/** + * TODO: must fix text higlighting! + * TODO: must check that expunge does not bomb out... + */ + require_once 'Zend/Search/Lucene.php'; class PHPLuceneIndexer extends Indexer diff --git a/search2/indexing/lib/XmlRpcLucene.inc.php b/search2/indexing/lib/XmlRpcLucene.inc.php index c6c871e..d6cd5d3 100644 --- a/search2/indexing/lib/XmlRpcLucene.inc.php +++ b/search2/indexing/lib/XmlRpcLucene.inc.php @@ -1,4 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + require_once('xmlrpc.inc'); class XmlRpcLucene diff --git a/search2/search/SearchCommandLexer.php b/search2/search/SearchCommandLexer.php index e1cb404..cc7c1aa 100644 --- a/search2/search/SearchCommandLexer.php +++ b/search2/search/SearchCommandLexer.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class SearchCommandLexer { private $data; diff --git a/search2/search/bin/cronSavedSearch.php b/search2/search/bin/cronSavedSearch.php index 403385a..b6b9bf6 100644 --- a/search2/search/bin/cronSavedSearch.php +++ b/search2/search/bin/cronSavedSearch.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + require_once(realpath('../../../config/dmsDefaults.php')); //require_once('indexing/indexerCore.inc.php'); diff --git a/search2/search/bin/search.php b/search2/search/bin/search.php index af70dbb..d5c7cc2 100644 --- a/search2/search/bin/search.php +++ b/search2/search/bin/search.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + require_once(realpath('../../../config/dmsDefaults.php')); require_once(KT_DIR . '/ktapi/ktapi.inc.php'); diff --git a/search2/search/expr.inc.php b/search2/search/expr.inc.php index 0cf55d9..2965a13 100644 --- a/search2/search/expr.inc.php +++ b/search2/search/expr.inc.php @@ -1,4 +1,39 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ //require_once('../../config/dmsDefaults.php'); diff --git a/search2/search/exprConstants.inc.php b/search2/search/exprConstants.inc.php index caedacb..55b4194 100644 --- a/search2/search/exprConstants.inc.php +++ b/search2/search/exprConstants.inc.php @@ -1,5 +1,39 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ class ExprOp { const IS = 'is'; diff --git a/search2/search/fieldRegistry.inc.php b/search2/search/fieldRegistry.inc.php index 9a1b498..41eb9b2 100644 --- a/search2/search/fieldRegistry.inc.php +++ b/search2/search/fieldRegistry.inc.php @@ -1,5 +1,39 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ require_once('search/expr.inc.php'); class ResolutionException extends Exception {} diff --git a/search2/search/fields/AnyMetadataField.inc.php b/search2/search/fields/AnyMetadataField.inc.php index 2e51f96..5f1fa8d 100644 --- a/search2/search/fields/AnyMetadataField.inc.php +++ b/search2/search/fields/AnyMetadataField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class AnyMetadataField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/CheckedOutByField.inc.php b/search2/search/fields/CheckedOutByField.inc.php index b5c7098..1a8d057 100644 --- a/search2/search/fields/CheckedOutByField.inc.php +++ b/search2/search/fields/CheckedOutByField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class CheckedOutByField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/CheckedOutDeltaField.inc.php b/search2/search/fields/CheckedOutDeltaField.inc.php index 798093c..44841bd 100644 --- a/search2/search/fields/CheckedOutDeltaField.inc.php +++ b/search2/search/fields/CheckedOutDeltaField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class CheckedOutDeltaField extends DBFieldExpr { private $modifiedName; diff --git a/search2/search/fields/CheckedOutField.inc.php b/search2/search/fields/CheckedOutField.inc.php index 1847016..2777c09 100644 --- a/search2/search/fields/CheckedOutField.inc.php +++ b/search2/search/fields/CheckedOutField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class CheckedOutField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/CreatedByField.inc.php b/search2/search/fields/CreatedByField.inc.php index 3a75026..59fd8f8 100644 --- a/search2/search/fields/CreatedByField.inc.php +++ b/search2/search/fields/CreatedByField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class CreatedByField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/CreatedDeltaField.inc.php b/search2/search/fields/CreatedDeltaField.inc.php index 0a3e1d6..6a04a03 100644 --- a/search2/search/fields/CreatedDeltaField.inc.php +++ b/search2/search/fields/CreatedDeltaField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class CreatedDeltaField extends DBFieldExpr { private $modifiedName; diff --git a/search2/search/fields/CreatedField.inc.php b/search2/search/fields/CreatedField.inc.php index d71b8fb..11d9722 100644 --- a/search2/search/fields/CreatedField.inc.php +++ b/search2/search/fields/CreatedField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class CreatedField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/DiscussionTextField.inc.php b/search2/search/fields/DiscussionTextField.inc.php index 65babd4..29f0d14 100644 --- a/search2/search/fields/DiscussionTextField.inc.php +++ b/search2/search/fields/DiscussionTextField.inc.php @@ -1,5 +1,40 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ class DiscussionTextField extends SearchableText { diff --git a/search2/search/fields/DocumentIdField.inc.php b/search2/search/fields/DocumentIdField.inc.php index 3c19b5f..2cb9a38 100644 --- a/search2/search/fields/DocumentIdField.inc.php +++ b/search2/search/fields/DocumentIdField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class DocumentIdField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/DocumentTextField.inc.php b/search2/search/fields/DocumentTextField.inc.php index cf9634e..18fd112 100644 --- a/search2/search/fields/DocumentTextField.inc.php +++ b/search2/search/fields/DocumentTextField.inc.php @@ -1,5 +1,40 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ class DocumentTextField extends SearchableText { @@ -19,11 +54,6 @@ class DocumentTextField extends SearchableText return DefaultOpCollection::validateParent($this, DefaultOpCollection::$contains); } - - - - - } ?> \ No newline at end of file diff --git a/search2/search/fields/DocumentTypeField.inc.php b/search2/search/fields/DocumentTypeField.inc.php index 753a10a..54b3c26 100644 --- a/search2/search/fields/DocumentTypeField.inc.php +++ b/search2/search/fields/DocumentTypeField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class DocumentTypeField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/FilenameField.inc.php b/search2/search/fields/FilenameField.inc.php index 9ae3f55..ac387d5 100644 --- a/search2/search/fields/FilenameField.inc.php +++ b/search2/search/fields/FilenameField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class FilenameField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/FilesizeField.inc.php b/search2/search/fields/FilesizeField.inc.php index e72b351..68d76f4 100644 --- a/search2/search/fields/FilesizeField.inc.php +++ b/search2/search/fields/FilesizeField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class FilesizeField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/FolderField.inc.php b/search2/search/fields/FolderField.inc.php index 68c7419..b9f89c2 100644 --- a/search2/search/fields/FolderField.inc.php +++ b/search2/search/fields/FolderField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class FolderField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/FolderFieldID.inc.php b/search2/search/fields/FolderFieldID.inc.php index 009494e..6fb21e1 100644 --- a/search2/search/fields/FolderFieldID.inc.php +++ b/search2/search/fields/FolderFieldID.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class FolderIDField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/GeneralTextField.inc.php b/search2/search/fields/GeneralTextField.inc.php index 467147b..e94d66e 100644 --- a/search2/search/fields/GeneralTextField.inc.php +++ b/search2/search/fields/GeneralTextField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class GeneralTextField extends SearchableText { public function __construct() diff --git a/search2/search/fields/IsCheckedOutField.inc.php b/search2/search/fields/IsCheckedOutField.inc.php index 9a79b38..324395f 100644 --- a/search2/search/fields/IsCheckedOutField.inc.php +++ b/search2/search/fields/IsCheckedOutField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class IsCheckedOutField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/IsImmutableField.inc.php b/search2/search/fields/IsImmutableField.inc.php index c605c8b..c3ab85d 100644 --- a/search2/search/fields/IsImmutableField.inc.php +++ b/search2/search/fields/IsImmutableField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class IsImmutableField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/MimeTypeField.inc.php b/search2/search/fields/MimeTypeField.inc.php index 867bb82..62801f2 100644 --- a/search2/search/fields/MimeTypeField.inc.php +++ b/search2/search/fields/MimeTypeField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class MimeTypeField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/ModifiedByField.inc.php b/search2/search/fields/ModifiedByField.inc.php index 0280e08..b35031c 100644 --- a/search2/search/fields/ModifiedByField.inc.php +++ b/search2/search/fields/ModifiedByField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class ModifiedByField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/ModifiedDeltaField.inc.php b/search2/search/fields/ModifiedDeltaField.inc.php index 9a5a2f6..48317ea 100644 --- a/search2/search/fields/ModifiedDeltaField.inc.php +++ b/search2/search/fields/ModifiedDeltaField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class ModifiedDeltaField extends DBFieldExpr { private $modifiedName; diff --git a/search2/search/fields/ModifiedField.inc.php b/search2/search/fields/ModifiedField.inc.php index 82387a3..58c0355 100644 --- a/search2/search/fields/ModifiedField.inc.php +++ b/search2/search/fields/ModifiedField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class ModifiedField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/TagField.inc.php b/search2/search/fields/TagField.inc.php index 0b545c0..19209f2 100644 --- a/search2/search/fields/TagField.inc.php +++ b/search2/search/fields/TagField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class TagField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/TitleField.inc.php b/search2/search/fields/TitleField.inc.php index 4bf3a8b..b7afb28 100644 --- a/search2/search/fields/TitleField.inc.php +++ b/search2/search/fields/TitleField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class TitleField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/WorkflowField.inc.php b/search2/search/fields/WorkflowField.inc.php index a9b9c79..8409017 100644 --- a/search2/search/fields/WorkflowField.inc.php +++ b/search2/search/fields/WorkflowField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class WorkflowField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/WorkflowIDField.inc.php b/search2/search/fields/WorkflowIDField.inc.php index fb076fc..399d832 100644 --- a/search2/search/fields/WorkflowIDField.inc.php +++ b/search2/search/fields/WorkflowIDField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class WorkflowIDField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/WorkflowStateField.inc.php b/search2/search/fields/WorkflowStateField.inc.php index 77772e0..c816947 100644 --- a/search2/search/fields/WorkflowStateField.inc.php +++ b/search2/search/fields/WorkflowStateField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class WorkflowStateField extends DBFieldExpr { public function __construct() diff --git a/search2/search/fields/WorkflowStateIDField.inc.php b/search2/search/fields/WorkflowStateIDField.inc.php index 0e6e667..04285a5 100644 --- a/search2/search/fields/WorkflowStateIDField.inc.php +++ b/search2/search/fields/WorkflowStateIDField.inc.php @@ -1,5 +1,41 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ + class WorkflowStateIDField extends DBFieldExpr { public function __construct() diff --git a/search2/search/search.inc.php b/search2/search/search.inc.php index b1b83f0..4ae5136 100644 --- a/search2/search/search.inc.php +++ b/search2/search/search.inc.php @@ -1,5 +1,39 @@ . + * + * You can contact The Jam Warehouse Software (Pty) Limited, Unit 1, Tramber Place, + * Blake Street, Observatory, 7925 South Africa. or email info@knowledgetree.com. + * + * The interactive user interfaces in modified source and object code versions + * of this program must display Appropriate Legal Notices, as required under + * Section 5 of the GNU General Public License version 3. + * + * In accordance with Section 7(b) of the GNU General Public License version 3, + * these Appropriate Legal Notices must retain the display of the "Powered by + * KnowledgeTree" logo and retain the original copyright notice. If the display of the + * logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices + * must display the words "Powered by KnowledgeTree" and retain the original + * copyright notice. + * Contributor( s): ______________________________________ + * + */ require_once('search/SearchCommandParser.php'); require_once('search/SearchCommandLexer.php'); -- libgit2 0.21.4