Commit Graph

628 Commits

Author SHA1 Message Date
Uwe Steinmann
7b5412ff36 remove from process only if status[receipt], status[revision] is not set 2017-07-31 14:21:24 +02:00
Uwe Steinmann
596cb2afd6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 14:18:18 +02:00
Uwe Steinmann
2a4b8ffcfc remove from process only if status[review], status[approval] is not set 2017-07-31 14:17:41 +02:00
Uwe Steinmann
07d760d7d8 fix remove from process for receipts and revisions 2017-07-31 14:13:02 +02:00
Uwe Steinmann
014b7ac201 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 13:22:28 +02:00
Uwe Steinmann
c32bff5074 separate removal of reviews and approval 2017-07-31 13:21:01 +02:00
Uwe Steinmann
114a8a3ac1 move code in remove() into __removeFromProcesses() 2017-07-31 11:54:24 +02:00
Uwe Steinmann
afefe1d66c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 11:49:43 +02:00
Uwe Steinmann
58ddbca857 add new methods transferDocumentsFolders() transferEvents() 2017-07-31 11:25:33 +02:00
Uwe Steinmann
a2802f124d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 18:25:49 +02:00
Uwe Steinmann
a0600573dc add methods isMandatoryReviewerOf() and isMandatoryApproverOf() 2017-07-28 18:22:53 +02:00
Uwe Steinmann
e953d9dcbb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 15:12:00 +02:00
Uwe Steinmann
d0ab0d0f9f add option parameter $states to __removeFromProcesses()
restricts removal to certain approval/review states
2017-07-28 14:56:18 +02:00
Uwe Steinmann
cb17de44fc getNotifyList() returns only users which are not disabled 2017-07-28 10:28:57 +02:00
Uwe Steinmann
378e071232 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 10:25:54 +02:00
Uwe Steinmann
d55d266731 add new methods to SeedDMS_Core_User
removeFromProcesses(), getWorkflowsInvolved(), getKeywordCategories()
2017-07-28 09:35:12 +02:00
Uwe Steinmann
29bc0c1fda getNotifyList() returns only users which are not disabled 2017-07-27 22:10:44 +02:00
Uwe Steinmann
268d844b43 fix some comments 2017-07-27 21:17:58 +02:00
Uwe Steinmann
c953d02604 views instead of temp. tables can be used
This speeds up many sql statements for mysql and pgsql
2017-07-27 12:34:46 +02:00
Uwe Steinmann
f5333e7c8d fix field name in getDocumentList(), 'maxLogId' must be 'maxLogID'
otherwise the statement fails for pgsql
2017-07-27 12:32:27 +02:00
Uwe Steinmann
752f4e8760 take out order by in temp. tables 2017-07-26 12:14:56 +02:00
Uwe Steinmann
d954b4df1d getReverseSubstitutes() works with roles 2017-07-21 14:41:39 +02:00
Uwe Steinmann
37e03e2e9e SeedDMS_Core_Document::checkForDueRevisionWorkflow() also checks if there are any waiting or pending revisions at all 2017-07-21 11:48:01 +02:00
Uwe Steinmann
bbad479580 use define S_LOG_USER_REMOVED 2017-07-20 18:21:05 +02:00
Uwe Steinmann
a5688a7c3b turn on new sql statements in getDocumentList() 2017-07-18 13:35:01 +02:00
Uwe Steinmann
a8a939cb3d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-17 17:59:56 +02:00
Uwe Steinmann
9ea079d580 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-17 17:58:46 +02:00
Uwe Steinmann
de6564c7e9 fix sql statement for creating temp. tables ttreviewid and ttapproveid 2017-07-17 17:57:01 +02:00
Uwe Steinmann
3fd1dfe87a fix sql for creating temp table ttreviewid and ttapproveid 2017-07-17 17:52:19 +02:00
Uwe Steinmann
3213aa168f more efficient sql code in getDocumentList() 2017-07-17 17:51:38 +02:00
Uwe Steinmann
a0651239dd Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-13 18:03:15 +02:00
Uwe Steinmann
e029e8e55a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-13 17:56:31 +02:00
Uwe Steinmann
b43200703b start new version 4.3.36 2017-07-11 18:12:31 +02:00
Uwe Steinmann
99682a11d1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-10 07:50:33 +02:00
Uwe Steinmann
1249d069c7 add note on deprecated $noReadForStatus 2017-07-05 10:47:23 +02:00
Uwe Steinmann
0e2b8df36b fix sql statement to create temp table ttrevisionid and ttreceiptid 2017-07-05 10:45:12 +02:00
Uwe Steinmann
1326f825d3 $dms->noReadForStatus no longer needed
SeedDMS_Core_DocumentContent::getAccessMode() retrieves the role based
access restrictions from the role of the given user
2017-07-05 10:43:14 +02:00
Uwe Steinmann
8531371f67 also take out ORDER BY in temp. tables for pgsql driver 2017-06-28 15:29:17 +02:00
Uwe Steinmann
1db5675990 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-06-28 15:27:50 +02:00
Uwe Steinmann
4a590ef8e4 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-06-28 15:11:29 +02:00
Uwe Steinmann
a2fc405eae do not sort some temp. tables anymore
it causes an error if sql_mode=only_full_group_by is set in mysql
2017-06-28 14:59:29 +02:00
Uwe Steinmann
2471aab8cc check for callback onAttributeValidate 2017-06-27 17:06:32 +02:00
Uwe Steinmann
919f4cb39c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-06-26 10:20:48 +02:00
Uwe Steinmann
93380ab261 add hook on(Pre|Post)RemoveContent 2017-06-24 07:15:37 +02:00
Uwe Steinmann
440c7032f0 add method getDocumentList(), limit number of duplicate contents to 1000 2017-05-12 18:08:56 +02:00
Uwe Steinmann
092967004a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-05-12 08:23:42 +02:00
Uwe Steinmann
3c9c0b7e3a check if onPreRemove[Document|Folder] returns bool or null 2017-05-12 08:16:05 +02:00
Uwe Steinmann
3cc572a1cd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-05-02 06:47:42 +02:00
Uwe Steinmann
d55236f49d SeedDMS_Core_DMS::filterDocumentFiles() returns file if author of doc 2017-04-24 16:47:57 +02:00
Uwe Steinmann
3a615b6e06 optimize sql code to get locked documents 2017-03-24 13:29:00 +01:00