Commit Graph

295 Commits

Author SHA1 Message Date
Uwe Steinmann
dd8f1b7a8e fix SeedDMS_Core_DMS::addAttributeDefinition() when objtype is 0 2022-07-06 09:15:12 +02:00
Uwe Steinmann
65801f1181 start version 5.1.27 2022-06-28 17:08:45 +02:00
Uwe Steinmann
f718f565ff SeedDMS_Core_DMS::getAllAttributeDefinitions() has second parameter to filter attributes by type 2022-05-20 12:03:47 +02:00
Uwe Steinmann
92ce4ff1bc add more types to getStatisticalData() 2022-05-09 15:22:35 +02:00
Uwe Steinmann
b9a993c2b3 start new version 5.1.26 2022-04-25 10:12:37 +02:00
Uwe Steinmann
37d49474fd fix searching for document content with a custom attribute having a value set 2022-03-04 08:14:20 +01:00
Uwe Steinmann
10876c6495 check if attribute is a string before using it in an sql statement 2022-03-03 12:45:49 +01:00
Uwe Steinmann
cc5d7d1ecd search for document by name in root folder if requested 2022-02-18 17:58:39 +01:00
Uwe Steinmann
5ff285c745 start new version 5.1.25 2021-12-11 14:00:22 +01:00
Uwe Steinmann
a0566372f7 add sorting by id in search(), set default to unsorted 2021-11-08 12:25:06 +01:00
Uwe Steinmann
007e3faa0a various minor changes ported back from SeedDMS 6 2021-09-28 16:20:33 +02:00
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
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
a5e12cb444 fix errors in coding style 2021-09-20 16:31:42 +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
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
b0d13f9518 replace array_search by in_array, makeTimestamp() returns an error if days > max days of month 2021-09-16 16:05:04 +02:00
Uwe Steinmann
160f427bea start new version 5.1.24 2021-08-20 10:42:26 +02:00
Uwe Steinmann
a4fb4230e8 add login to key when getting statistics for 'sizeperuser' 2021-08-18 12:21:48 +02:00
Uwe Steinmann
cd9d1fe25f fix hard coded version number 2021-08-05 08:39:39 +02:00
Uwe Steinmann
39eda2a180 add method concat() and use it in getStatistics() for docspersuser and foldersperuser 2021-07-11 20:41:53 +02:00
Uwe Steinmann
14b1cd34cd new type foldersperuser in getStatisticalData() 2021-07-09 14:21:52 +02:00
Uwe Steinmann
9ed96e2a2a init $statusstartdate and $statusenddate in search() 2021-05-21 08:51:08 +02:00
Uwe Steinmann
3029bb195e SeedDMS_Core_DMS::getTimeline() uses status log instead of document content 2021-05-07 11:45:06 +02:00
Uwe Steinmann
b103d9f30d SeedDMS_Core_DMS::search() support searching for date of last document status change 2021-03-15 16:07:57 +01:00
Uwe Steinmann
66917cd156 add support for date range search for attributes of type 'date' 2021-03-12 10:05:17 +01:00
Uwe Steinmann
4e5139616c add new parameter to SeedDMS_Core_DMS->getDocumentList() for skipping expired documents 2021-02-04 12:25:22 +01:00
Uwe Steinmann
9c97564cb4 use $dms->getDocument() in function for checking objects 2020-12-18 07:51:13 +01:00