mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 08:55:54 +00:00
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
This commit is contained in:
commit
47db85c175
|
@ -66,10 +66,10 @@
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
Changes in version 4.3.32
|
Changes in version 4.3.32
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
- fix saving new mimetype for fulltext search, available languages
|
- fix saving new mimetype for fulltext search, available languages (Closes #308)
|
||||||
- put access rights of folder into popup box if more than 3 exists
|
- put access rights of folder into popup box if more than 3 exists
|
||||||
- do not execute code which uses apache_request_headers() if it does not exists,
|
- do not execute code which uses apache_request_headers() if it does not exists,
|
||||||
makes webdav work in fast cgi mode or on webservers other than apache
|
makes webdav work in fast cgi mode or on webservers other than apache (Closes #300)
|
||||||
- clean up of distribution created by makefile
|
- clean up of distribution created by makefile
|
||||||
- order groups in select boxes by name
|
- order groups in select boxes by name
|
||||||
- javascript added by addToFooterJS() will be written to a temp. file
|
- javascript added by addToFooterJS() will be written to a temp. file
|
||||||
|
@ -82,6 +82,7 @@
|
||||||
- replace lots of tables in forms by bootstraps control-group
|
- replace lots of tables in forms by bootstraps control-group
|
||||||
- add remove button to folder selector
|
- add remove button to folder selector
|
||||||
- editing of an exiting review/approval can be turned off
|
- editing of an exiting review/approval can be turned off
|
||||||
|
- add searching for id of folder/document (Closes #302)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
Changes in version 4.3.31
|
Changes in version 4.3.31
|
||||||
|
|
|
@ -691,7 +691,7 @@ class SeedDMS_Core_DMS {
|
||||||
|
|
||||||
// if none is checkd search all
|
// if none is checkd search all
|
||||||
if (count($searchin)==0)
|
if (count($searchin)==0)
|
||||||
$searchin=array(1, 2, 3, 4);
|
$searchin=array(1, 2, 3, 4, 5);
|
||||||
|
|
||||||
/*--------- Do it all over again for folders -------------*/
|
/*--------- Do it all over again for folders -------------*/
|
||||||
$totalFolders = 0;
|
$totalFolders = 0;
|
||||||
|
@ -853,6 +853,9 @@ class SeedDMS_Core_DMS {
|
||||||
$searchFields[] = "`tblDocumentAttributes`.`value`";
|
$searchFields[] = "`tblDocumentAttributes`.`value`";
|
||||||
$searchFields[] = "`tblDocumentContentAttributes`.`value`";
|
$searchFields[] = "`tblDocumentContentAttributes`.`value`";
|
||||||
}
|
}
|
||||||
|
if (in_array(5, $searchin)) {
|
||||||
|
$searchFields[] = "`tblDocuments`.`id`";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if (count($searchFields)>0) {
|
if (count($searchFields)>0) {
|
||||||
|
|
|
@ -106,6 +106,9 @@ class SeedDMS_Core_Folder extends SeedDMS_Core_Object {
|
||||||
if (in_array(4, $searchin)) {
|
if (in_array(4, $searchin)) {
|
||||||
$searchFields[] = "`tblFolderAttributes`.`value`";
|
$searchFields[] = "`tblFolderAttributes`.`value`";
|
||||||
}
|
}
|
||||||
|
if (in_array(5, $searchin)) {
|
||||||
|
$searchFields[] = "`tblFolders`.`id`";
|
||||||
|
}
|
||||||
return $searchFields;
|
return $searchFields;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
|
|
@ -1144,6 +1144,7 @@ SeedDMS_Core_DMS::getNotificationsByUser() are deprecated
|
||||||
<notes>
|
<notes>
|
||||||
- order groups by name returned by getReadAccessList()
|
- order groups by name returned by getReadAccessList()
|
||||||
- add optional parameter to SeedDMS_Core_DMS::filterDocumentLinks()
|
- add optional parameter to SeedDMS_Core_DMS::filterDocumentLinks()
|
||||||
|
- SeedDMS_Core_DMS::search() can search for document/folder id
|
||||||
</notes>
|
</notes>
|
||||||
</release>
|
</release>
|
||||||
<release>
|
<release>
|
||||||
|
|
|
@ -187,7 +187,7 @@ if ($action == "saveSettings")
|
||||||
|
|
||||||
// SETTINGS - ADVANCED - INDEX CMD
|
// SETTINGS - ADVANCED - INDEX CMD
|
||||||
$settings->_converters['fulltext'] = $_POST["converters"];
|
$settings->_converters['fulltext'] = $_POST["converters"];
|
||||||
$newmimetype = preg_replace('#[^A-Za-z0-9_/+.]+#', '', $_POST["converters_newmimetype"]);
|
$newmimetype = preg_replace('#[^A-Za-z0-9_/+.-]+#', '', $_POST["converters_newmimetype"]);
|
||||||
if($newmimetype && trim($_POST["converters_newcmd"])) {
|
if($newmimetype && trim($_POST["converters_newcmd"])) {
|
||||||
$settings->_converters['fulltext'][$newmimetype] = trim($_POST["converters_newcmd"]);
|
$settings->_converters['fulltext'][$newmimetype] = trim($_POST["converters_newcmd"]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -191,6 +191,7 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"] && $settings->_enableFullSe
|
||||||
case 2: // name
|
case 2: // name
|
||||||
case 3: // comment
|
case 3: // comment
|
||||||
case 4: // attributes
|
case 4: // attributes
|
||||||
|
case 5: // id
|
||||||
$searchin[$si] = $si;
|
$searchin[$si] = $si;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -199,7 +200,7 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"] && $settings->_enableFullSe
|
||||||
}
|
}
|
||||||
|
|
||||||
// if none is checkd search all
|
// if none is checkd search all
|
||||||
if (count($searchin)==0) $searchin=array(1, 2, 3, 4);
|
if (count($searchin)==0) $searchin=array(1, 2, 3, 4, 5);
|
||||||
|
|
||||||
// Check to see if the search has been restricted to a particular sub-tree in
|
// Check to see if the search has been restricted to a particular sub-tree in
|
||||||
// the folder hierarchy.
|
// the folder hierarchy.
|
||||||
|
|
|
@ -144,6 +144,7 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
|
||||||
<label class="checkbox" for="searchName"><input type="checkbox" name="searchin[]" id="searchName" value="2" <?php if(in_array('2', $searchin)) echo " checked"; ?>><?php printMLText("name");?></label>
|
<label class="checkbox" for="searchName"><input type="checkbox" name="searchin[]" id="searchName" value="2" <?php if(in_array('2', $searchin)) echo " checked"; ?>><?php printMLText("name");?></label>
|
||||||
<label class="checkbox" for="comment"><input type="checkbox" name="searchin[]" id="comment" value="3" <?php if(in_array('3', $searchin)) echo " checked"; ?>><?php printMLText("comment");?></label>
|
<label class="checkbox" for="comment"><input type="checkbox" name="searchin[]" id="comment" value="3" <?php if(in_array('3', $searchin)) echo " checked"; ?>><?php printMLText("comment");?></label>
|
||||||
<label class="checkbox" for="attributes"><input type="checkbox" name="searchin[]" id="attributes" value="4" <?php if(in_array('4', $searchin)) echo " checked"; ?>><?php printMLText("attributes");?></label>
|
<label class="checkbox" for="attributes"><input type="checkbox" name="searchin[]" id="attributes" value="4" <?php if(in_array('4', $searchin)) echo " checked"; ?>><?php printMLText("attributes");?></label>
|
||||||
|
<label class="checkbox" for="id"><input type="checkbox" name="searchin[]" id="id" value="5" <?php if(in_array('5', $searchin)) echo " checked"; ?>><?php printMLText("id");?></label>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user