Commit Graph

354 Commits

Author SHA1 Message Date
Uwe Steinmann
19266f1647 set return value and new status in verifyStatus() 2021-09-29 18:50:48 +02:00
Uwe Steinmann
ab5aec99ba Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-29 18:25:54 +02:00
Uwe Steinmann
7e17ea145c set strict_types 2021-09-29 17:24:30 +02:00
Uwe Steinmann
2b1f637e9c adding a review returns the log id not 0 2021-09-29 17:23:59 +02:00
Uwe Steinmann
989572e069 return false not -1 if sql fails 2021-09-29 17:23:03 +02:00
Uwe Steinmann
b9fb7e2585 fix indenting 2021-09-29 17:21:58 +02:00
Uwe Steinmann
335c2ffee5 more documentation, better parameter checking, return false is sql fails 2021-09-29 17:21:19 +02:00
Uwe Steinmann
7366644d19 ensure strict types 2021-09-29 17:16:33 +02:00
Uwe Steinmann
43e98643ee verifyStatus() returns new status (or old status if not changed) 2021-09-29 14:55:55 +02:00
Uwe Steinmann
007e3faa0a various minor changes ported back from SeedDMS 6 2021-09-28 16:20:33 +02:00
Uwe Steinmann
0c1a795113 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-28 10:33:44 +02:00
Uwe Steinmann
0f5b189838 pass document itself to callback onPostRemoveDocument 2021-09-24 10:16:25 +02:00
Uwe Steinmann
233e464692 addDocumentFiles() clears internal list, make removeDocumentFile() more robust 2021-09-24 10:15:06 +02:00
Uwe Steinmann
08887fcbd9 just added some spaces in parameter list 2021-09-24 10:14:19 +02:00
Uwe Steinmann
efa85c70a0 fix documentation of getDocumentFiles() 2021-09-24 10:12:51 +02:00
Uwe Steinmann
7a606ca1fb much better checking of passed parameters in addDocumentLink() 2021-09-24 10:12:05 +02:00
Uwe Steinmann
77de9bfaae better documentation of getReverseDocumentLinks() and getDocumentLinks() 2021-09-24 10:11:13 +02:00
Uwe Steinmann
2f9148e5b9 method which return content will return null if no content was found
false is only returned if an error occured
2021-09-24 10:09:13 +02:00
Uwe Steinmann
01e243e966 fix indenting of comment for method getContentByVersion() 2021-09-24 10:07:18 +02:00
Uwe Steinmann
2c7b7344dd check paramert $mode of addAccess() has valid value 2021-09-24 10:06:41 +02:00
Uwe Steinmann
85f838b354 remove old unused code 2021-09-24 10:05:59 +02:00
Uwe Steinmann
ada7c1d692 add method clearCache() 2021-09-24 10:05:00 +02:00
Uwe Steinmann
3b55c458c2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-22 10:54:54 +02:00
Uwe Steinmann
7ed1a83453 check if $user, $requestUser is passed to addIndReviewer() addIndApprover() 2021-09-20 16:33:25 +02:00
Uwe Steinmann
69e3ad87f9 add note in comment about a possible wrong check for a return value 2021-09-20 16:32:34 +02:00
Uwe Steinmann
1398b614cd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-01 16:29:01 +02:00
Uwe Steinmann
33c10fc1db add some documentation in comments 2021-08-30 19:34:38 +02:00
Uwe Steinmann
fa8356d729 in removeWorkflow() remove records from tblWorkflowLog before tblWorkflowDocumentContent 2021-08-20 10:38:33 +02:00
Uwe Steinmann
486a685873 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-02 08:36:23 +02:00
Uwe Steinmann
2c4dc73be3 add new method removeApproval() 2021-07-02 08:32:18 +02:00
Uwe Steinmann
2a23dbb0ef Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-01 12:25:19 +02:00
Uwe Steinmann
0cd9910c25 add new method SeedDMS_Core_DocumentContent::removeReview() 2021-07-01 11:44:49 +02:00
Uwe Steinmann
39fc81b64b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-25 09:35:35 +02:00
Uwe Steinmann
bc50f2f8b6 add new method SeedDMS_Core_Document::hasCategory() 2021-06-25 09:34:54 +02:00
Uwe Steinmann
7c818d0913 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-01 11:02:45 +02:00
Uwe Steinmann
b624cd0a61 fix getWorkflowState(), can now handle empty state 2021-06-01 10:48:52 +02:00
Uwe Steinmann
05a3405f07 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-21 10:11:42 +02:00
Uwe Steinmann
24be00ccd1 add methods getApproveLog() and getReviewLog() 2021-05-19 20:40:45 +02:00
Uwe Steinmann
447c035065 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-17 06:59:44 +02:00
Uwe Steinmann
e5159ca7f9 add methods SeedDMS_Core_DocumentContent::getReviewers() and SeedDMS_Core_DocumentContent::getApprovers() 2021-05-14 21:54:34 +02:00
Uwe Steinmann
2c7ab1cfb1 move checkForDueRevisionWorkflow() into document version 2021-04-28 14:24:40 +02:00
Uwe Steinmann
64e6e8f1c4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-17 08:09:13 +01:00
Uwe Steinmann
4d8da1a7bb smarter caching in SeedDMS_Core_Document::getDocumentFiles() 2021-03-17 08:07:45 +01:00
Uwe Steinmann
18cfdb3efe Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-16 19:15:23 +01:00
Uwe Steinmann
29cf87d85d fix SeedDMS_Core_Document::remove when version had its own attachments 2021-03-16 19:13:37 +01:00
Uwe Steinmann
8197f37117 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-02 14:56:53 +01:00
Uwe Steinmann
4724935bec cast access mode to int when passing to constructor of SeedDMS_Core_GroupAccess or SeedDMS_Core_UserAccess 2021-02-02 14:56:15 +01:00
Uwe Steinmann
768c02866c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-27 16:30:10 +01:00
Uwe Steinmann
d5629361da fixed wrong parameter description 2021-01-27 09:55:11 +01:00
Uwe Steinmann
3ddd18eb84 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-29 08:27:43 +01:00