Uwe Steinmann
|
ada7c1d692
|
add method clearCache()
|
2021-09-24 10:05:00 +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
|
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 |
|
Uwe Steinmann
|
e765737d93
|
trim name passed to various methods
|
2021-09-18 17:49:26 +02:00 |
|
Uwe Steinmann
|
90aac2f1ad
|
new method createDump() which was in SeedDMS_Core_DMS
|
2021-09-17 19:00:57 +02:00 |
|
Uwe Steinmann
|
2789e017eb
|
check function pass to setCallback() and addCallback() is callable, remove createDump()
|
2021-09-17 19:00:06 +02:00 |
|
Uwe Steinmann
|
59c16b3ce4
|
trim name passed to addDocumentCategory() and check if != ''
|
2021-09-17 18:59:06 +02:00 |
|
Uwe Steinmann
|
3ed0854e13
|
check if id passed to getDocumentCategory() is < 1
|
2021-09-17 18:58:29 +02:00 |
|
Uwe Steinmann
|
e809297cfd
|
getAllUserKeywordCategories() calls getAllKeywordCategories(), better checking of parameters pass to addDocumentCategory()
|
2021-09-17 18:31:19 +02:00 |
|
Uwe Steinmann
|
2ee30ccd5b
|
ensure user ids passed to getAllKeywordCategories() are all integers
|
2021-09-17 18:29:33 +02:00 |
|
Uwe Steinmann
|
7d7deeb313
|
check if id passed to getKeywordCategory() is greater 0
|
2021-09-17 18:28:40 +02:00 |
|
Uwe Steinmann
|
e06cd59f6c
|
fix wrong spell callback name 'onPostAddUser'
|
2021-09-17 18:28:01 +02:00 |
|
Uwe Steinmann
|
a39355f2ed
|
ensure $logicalmode in search() is either 'OR' or 'AND'
|
2021-09-17 18:27:16 +02:00 |
|
Uwe Steinmann
|
31290fbcf7
|
document meaning of 5 in $seachin passed to search()
|
2021-09-17 18:26:11 +02:00 |
|
Uwe Steinmann
|
9687c8f081
|
check if user passed to setUser() is a real user
|
2021-09-17 18:25:23 +02:00 |
|
Uwe Steinmann
|
0cd4c9b727
|
check if the folder set by setRootFolderID() actually exists
|
2021-09-17 18:24:32 +02:00 |
|
Uwe Steinmann
|
ffd5cd9a7b
|
use upper case in sql statements for reserved words
|
2021-09-17 18:23:25 +02:00 |
|
Uwe Steinmann
|
9309497e75
|
init $user to null in constructor
|
2021-09-17 18:22:35 +02:00 |
|
Uwe Steinmann
|
f9afc08355
|
add more documentation
|
2021-09-17 18:21:57 +02:00 |
|
Uwe Steinmann
|
16da190e06
|
setRegex() checks regex only if not ''
|
2021-09-16 17:10:41 +02:00 |
|
Uwe Steinmann
|
a7e2ec7b01
|
ensure isHidden and isDisabled is a boolean
|
2021-09-16 16:18:26 +02:00 |
|
Uwe Steinmann
|
adba550a63
|
minor simplification of sql statement
|
2021-09-16 16:17:24 +02:00 |
|
Uwe Steinmann
|
1d031e44a2
|
return null not false if getInstanceByName() didn't find a folder
|
2021-09-16 16:16:21 +02:00 |
|
Uwe Steinmann
|
95b4bb9d22
|
init value set, separator, trim value set in setValue()
|
2021-09-16 16:14:51 +02:00 |
|
Uwe Steinmann
|
4aa4556df8
|
add more documentation
|
2021-09-16 16:14:21 +02:00 |
|
Uwe Steinmann
|
32dda4b3e9
|
return ',' as separator for most attr types, if value map is not set
|
2021-09-16 16:12:54 +02:00 |
|
Uwe Steinmann
|
c50be6d215
|
init separator and validation error in constructor
|
2021-09-16 16:12:27 +02:00 |
|
Uwe Steinmann
|
ffe4b50c7f
|
many value validation improvements, use constants for validation errors
|
2021-09-16 16:11:13 +02:00 |
|
Uwe Steinmann
|
cd1800c19d
|
add docs for var $separator
|
2021-09-16 16:09:18 +02:00 |
|