Uwe Steinmann
|
ec1f99229e
|
rename getLastWorkflowTransition() to getLastWorkflowLow(), returns a log even after the workflow was ended
|
2022-02-18 18:02:08 +01:00 |
|
Uwe Steinmann
|
cffad48b61
|
add method descrition for getWorkflowLog()
|
2022-02-18 18:01:35 +01:00 |
|
Uwe Steinmann
|
d91787bf44
|
check if !workflow instead of isset(workflow)
|
2022-02-18 18:00:50 +01:00 |
|
Uwe Steinmann
|
897f6ce64b
|
fix indenting of lines
|
2021-12-03 19:12:53 +01:00 |
|
Uwe Steinmann
|
9c5e5905c9
|
check if version exists and is not the latest version in removeVersion()
|
2021-10-04 20:22:21 +02:00 |
|
Uwe Steinmann
|
cd061e8c2f
|
file is removed after cleaning up the database in _removeContent()
|
2021-10-04 20:21:41 +02:00 |
|
Uwe Steinmann
|
a0b95e8792
|
check if argument passed to setDefaultAccess() is in valid range
|
2021-10-04 20:20:45 +02:00 |
|
Uwe Steinmann
|
b5a6ea330b
|
check if argument passed to setOwner() is a user
|
2021-10-04 20:20:08 +02:00 |
|
Uwe Steinmann
|
fb86b4330c
|
check if passed argument to setFolder() is a folder
|
2021-10-04 20:17:21 +02:00 |
|
Uwe Steinmann
|
b5ef570ea5
|
fix method comment
|
2021-10-02 07:34:18 +02:00 |
|
Uwe Steinmann
|
4913607e84
|
addGrpReviewer() returns false on sql error
|
2021-10-02 07:33:37 +02:00 |
|
Uwe Steinmann
|
68a1500ea6
|
check if date passed to setStatus() is valid
|
2021-10-02 07:32:49 +02:00 |
|
Uwe Steinmann
|
9ad56c418d
|
set if updateUser passed to setStatus() is a user
|
2021-10-02 07:31:44 +02:00 |
|
Uwe Steinmann
|
905b2aa621
|
format class method comment
|
2021-10-02 07:29:54 +02:00 |
|
Uwe Steinmann
|
0163159c84
|
new method setMimeType()
|
2021-10-02 07:29:15 +02:00 |
|
Uwe Steinmann
|
fbf86b0fe6
|
date passed to setDate() can be string with format Y-m-d H:i:s
|
2021-10-02 07:28:23 +02:00 |
|
Uwe Steinmann
|
bca394176e
|
cast date to int in constructor of SeedDMS_Core_DocumentContent
|
2021-10-02 07:27:29 +02:00 |
|
Uwe Steinmann
|
a0d214eac2
|
add getInheritAccess() as a replacement for inheritsAccess()
|
2021-10-02 07:26:37 +02:00 |
|
Uwe Steinmann
|
228b891e3a
|
do not clean notify list in setDefaultAccess() if rights are inherited
|
2021-10-02 07:25:48 +02:00 |
|
Uwe Steinmann
|
7ba418f25a
|
use upper case for sql keywords
|
2021-10-02 07:24:59 +02:00 |
|
Uwe Steinmann
|
bae7e939a1
|
fix line indenting
|
2021-10-02 07:23:23 +02:00 |
|
Uwe Steinmann
|
0260b8dad9
|
init categories in getCategories()
|
2021-09-30 15:44: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
|
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
|
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
|
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
|
2c4dc73be3
|
add new method removeApproval()
|
2021-07-02 08:32:18 +02:00 |
|
Uwe Steinmann
|
0cd9910c25
|
add new method SeedDMS_Core_DocumentContent::removeReview()
|
2021-07-01 11:44:49 +02:00 |
|
Uwe Steinmann
|
bc50f2f8b6
|
add new method SeedDMS_Core_Document::hasCategory()
|
2021-06-25 09:34:54 +02:00 |
|
Uwe Steinmann
|
b624cd0a61
|
fix getWorkflowState(), can now handle empty state
|
2021-06-01 10:48:52 +02:00 |
|
Uwe Steinmann
|
24be00ccd1
|
add methods getApproveLog() and getReviewLog()
|
2021-05-19 20:40:45 +02:00 |
|