mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
9e4eae8206
12
CHANGELOG
12
CHANGELOG
|
@ -1,3 +1,8 @@
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Changes in version 6.0.22
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
- merge changes up to 5.1.28
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
Changes in version 6.0.21
|
Changes in version 6.0.21
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
@ -238,6 +243,13 @@
|
||||||
- add document list which can be exported as an archive
|
- add document list which can be exported as an archive
|
||||||
- search results can be exported
|
- search results can be exported
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Changes in version 5.1.29
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
- fix php errors in restapi
|
||||||
|
- fix 'maximum size' error when uploading a file with drag&drop
|
||||||
|
>>>>>>> seeddms-5.1.x
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
Changes in version 5.1.28
|
Changes in version 5.1.28
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
|
@ -1062,7 +1062,11 @@ class SeedDMS_Core_Folder extends SeedDMS_Core_Object {
|
||||||
}
|
}
|
||||||
|
|
||||||
if($categories) {
|
if($categories) {
|
||||||
$document->setCategories($categories);
|
if(!$document->setCategories($categories)) {
|
||||||
|
$document->remove();
|
||||||
|
$db->rollbackTransaction();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($attributes) {
|
if($attributes) {
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
<email>uwe@steinmann.cx</email>
|
<email>uwe@steinmann.cx</email>
|
||||||
<active>yes</active>
|
<active>yes</active>
|
||||||
</lead>
|
</lead>
|
||||||
<date>2022-11-18</date>
|
<date>2022-11-21</date>
|
||||||
<time>13:44:55</time>
|
<time>13:44:55</time>
|
||||||
<version>
|
<version>
|
||||||
<release>6.0.21</release>
|
<release>6.0.21</release>
|
||||||
<api>6.0.21</api>
|
<api>6.0.22</api>
|
||||||
</version>
|
</version>
|
||||||
<stability>
|
<stability>
|
||||||
<release>stable</release>
|
<release>stable</release>
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
</stability>
|
</stability>
|
||||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||||
<notes>
|
<notes>
|
||||||
- all changes from 5.1.28 merged
|
- all changes from 5.1.29 merged
|
||||||
</notes>
|
</notes>
|
||||||
<contents>
|
<contents>
|
||||||
<dir baseinstalldir="SeedDMS" name="/">
|
<dir baseinstalldir="SeedDMS" name="/">
|
||||||
|
@ -2440,5 +2440,21 @@ better error checking in SeedDMS_Core_Document::cancelCheckOut()
|
||||||
- SeedDMЅ_Core_DMS::getDocumentsInRevision() returns status from revision log
|
- SeedDMЅ_Core_DMS::getDocumentsInRevision() returns status from revision log
|
||||||
</notes>
|
</notes>
|
||||||
</release>
|
</release>
|
||||||
|
<release>
|
||||||
|
<date>2022-11-18</date>
|
||||||
|
<time>13:44:55</time>
|
||||||
|
<version>
|
||||||
|
<release>6.0.21</release>
|
||||||
|
<api>6.0.21</api>
|
||||||
|
</version>
|
||||||
|
<stability>
|
||||||
|
<release>stable</release>
|
||||||
|
<api>stable</api>
|
||||||
|
</stability>
|
||||||
|
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||||
|
<notes>
|
||||||
|
- all changes from 5.1.28 merged
|
||||||
|
</notes>
|
||||||
|
</release>
|
||||||
</changelog>
|
</changelog>
|
||||||
</package>
|
</package>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
class SeedDMS_Version { /* {{{ */
|
class SeedDMS_Version { /* {{{ */
|
||||||
|
|
||||||
const _number = "6.0.21";
|
const _number = "6.0.22";
|
||||||
const _string = "SeedDMS";
|
const _string = "SeedDMS";
|
||||||
|
|
||||||
function __construct() {
|
function __construct() {
|
||||||
|
|
|
@ -2268,19 +2268,19 @@ class RestapiController { /* {{{ */
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
function addUserAccessToFolder($request, $response, $args) { /* {{{ */
|
function addUserAccessToFolder($request, $response, $args) { /* {{{ */
|
||||||
return changeFolderAccess($request, $response, $args, 'add', 'user');
|
return $this->changeFolderAccess($request, $response, $args, 'add', 'user');
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
function addGroupAccessToFolder($request, $response, $args) { /* {{{ */
|
function addGroupAccessToFolder($request, $response, $args) { /* {{{ */
|
||||||
return changeFolderAccess($request, $response, $args, 'add', 'group');
|
return $this->changeFolderAccess($request, $response, $args, 'add', 'group');
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
function removeUserAccessFromFolder($request, $response, $args) { /* {{{ */
|
function removeUserAccessFromFolder($request, $response, $args) { /* {{{ */
|
||||||
return changeFolderAccess($request, $response, $args, 'remove', 'user');
|
return $this->changeFolderAccess($request, $response, $args, 'remove', 'user');
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
function removeGroupAccessFromFolder($request, $response, $args) { /* {{{ */
|
function removeGroupAccessFromFolder($request, $response, $args) { /* {{{ */
|
||||||
return changeFolderAccess($request, $response, $args, 'remove', 'group');
|
return $this->changeFolderAccess($request, $response, $args, 'remove', 'group');
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
function changeFolderAccess($request, $response, $args, $operationType, $userOrGroup) { /* {{{ */
|
function changeFolderAccess($request, $response, $args, $operationType, $userOrGroup) { /* {{{ */
|
||||||
|
|
|
@ -235,7 +235,7 @@ $('body').on('click', '.order-btn', function(ev) {
|
||||||
if($showtree == 1)
|
if($showtree == 1)
|
||||||
$this->printNewTreeNavigationJs($folder->getID(), M_READ, 0, 'maintree', ($expandFolderTree == 1) ? -1 : 3, $orderby);
|
$this->printNewTreeNavigationJs($folder->getID(), M_READ, 0, 'maintree', ($expandFolderTree == 1) ? -1 : 3, $orderby);
|
||||||
|
|
||||||
if ($enableDropUpload && $folder->getAccessMode($user) >= M_READWRITE) {
|
if ($enableDropUpload /*&& $folder->getAccessMode($user) >= M_READWRITE*/) {
|
||||||
echo "SeedDMSUpload.setUrl('".$this->params['settings']->_httpRoot."op/op.Ajax.php');";
|
echo "SeedDMSUpload.setUrl('".$this->params['settings']->_httpRoot."op/op.Ajax.php');";
|
||||||
echo "SeedDMSUpload.setAbortBtnLabel('".getMLText("cancel")."');";
|
echo "SeedDMSUpload.setAbortBtnLabel('".getMLText("cancel")."');";
|
||||||
echo "SeedDMSUpload.setEditBtnLabel('".getMLText("edit_document_props")."');";
|
echo "SeedDMSUpload.setEditBtnLabel('".getMLText("edit_document_props")."');";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user