Commit Graph

7312 Commits

Author SHA1 Message Date
Uwe Steinmann
88e0dcc58d check if passed id > 0 in getWorkflow(), getWorkflowAction(), getWorkflowState() 2021-09-27 10:08:20 +02:00
Uwe Steinmann
79bcdb6086 getting category or attributedef. returns null not false if none was found 2021-09-27 10:07:19 +02:00
Uwe Steinmann
84ffa71d24 use upper case for all sql keywords in sql statements 2021-09-27 10:06:07 +02:00
Uwe Steinmann
a002a23c9b do not dump table sqlite_sequence 2021-09-24 10:23:50 +02:00
Uwe Steinmann
8c3c49e3b5 add method useViews() to turn on/off the use of views 2021-09-24 10:23:11 +02:00
Uwe Steinmann
9d926fb55c better documentation of getAccessMode() 2021-09-24 10:22:28 +02:00
Uwe Steinmann
959c75ff79 check parameter $mode of addAccess() 2021-09-24 10:21:32 +02:00
Uwe Steinmann
ce124bb862 fix indenting 2021-09-24 10:21:10 +02:00
Uwe Steinmann
8e302bc770 hasDocuments() doesn't use internal cache anymore 2021-09-24 10:20:19 +02:00
Uwe Steinmann
3cf58fbc86 add some documentation for isDescendant() and isSubFolder() 2021-09-24 10:19:31 +02:00
Uwe Steinmann
3d7357fca9 clear _notifyList in clearCache() 2021-09-24 10:17:04 +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
fbe13a87f1 lot of changes in 5.1.24 2021-09-22 10:00:21 +02:00
Uwe Steinmann
e95b5a971e edit comment and sequence of folders can be turned off 2021-09-22 09:59:33 +02:00
Uwe Steinmann
3e1dcc3c75 add new configuration noFolderFormFields 2021-09-22 09:53:53 +02:00
Uwe Steinmann
da8765fe33 add method getFoldersMinMax() 2021-09-22 09:48:12 +02:00
Uwe Steinmann
5a587e5c85 add more documentation for isSubFolder() 2021-09-22 09:47:40 +02:00
Uwe Steinmann
674002c02f init class variables for internal cache, add method to clear cache 2021-09-22 09:46:20 +02:00
Uwe Steinmann
16e48bbb16 search() will not find docs without expiration date if filtered by expiration date 2021-09-22 09:45:06 +02:00
Uwe Steinmann
37a30e6082 start and end date of expiration are within the range in search() 2021-09-22 09:43:51 +02:00
Uwe Steinmann
e23b9f09ad check expiration date in search() 2021-09-22 09:43:12 +02:00
Uwe Steinmann
96f858cbdd getDocumentContent() returns null if no document was found 2021-09-22 09:42:31 +02:00
Uwe Steinmann
b6452faa9b order documents by id, return null if getDocumentByOriginalFilename() does not find any documents 2021-09-22 09:41:23 +02:00
Uwe Steinmann
96f8c1db21 order documents by id in getDocumentByName(), return null if not document was found 2021-09-22 09:40:25 +02:00
Uwe Steinmann
b777b786dd check expiration date in search() 2021-09-22 09:39:18 +02:00
Uwe Steinmann
8e7d2547b4 remove constructor, because it was the same like in the parent class 2021-09-20 16:42:14 +02:00
Uwe Steinmann
63ae861257 many code style cleanups 2021-09-20 16:41:48 +02:00
Uwe Steinmann
822a07485c getImage() returns null if no image exists 2021-09-20 16:41:07 +02:00
Uwe Steinmann
4322b97fe2 better checking of quota when set by setQuota() 2021-09-20 16:40:30 +02:00
Uwe Steinmann
472b066d4b cast $newRole to int when passed to setRole() 2021-09-20 16:40:00 +02:00
Uwe Steinmann
af9178aa93 set internal pwd expiration to null when set to 'never' or '' 2021-09-20 16:39:08 +02:00
Uwe Steinmann
08836de4d8 number of counted folders/documents is converted to int before return 2021-09-20 16:37:45 +02:00
Uwe Steinmann
47e07ae2d1 return null if no folder was found by getParent() 2021-09-20 16:37:10 +02:00
Uwe Steinmann
247e8b09ca set date to current timestamp if $date passed to setDate() is false 2021-09-20 16:36:24 +02:00
Uwe Steinmann
6d01627553 fix comment (document -> folder) 2021-09-20 16:34:57 +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
a5e12cb444 fix errors in coding style 2021-09-20 16:31:42 +02:00
Uwe Steinmann
851e81a9b9 check if login != '' in setLogin() 2021-09-18 17:51:17 +02:00
Uwe Steinmann
578aa30bc5 better checking of passed arguments 2021-09-18 17:50:32 +02:00