Commit Graph

453 Commits

Author SHA1 Message Date
Uwe Steinmann
16cdb8a323 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-07-06 14:01:30 +02:00
Uwe Steinmann
dd8f1b7a8e fix SeedDMS_Core_DMS::addAttributeDefinition() when objtype is 0 2022-07-06 09:15:12 +02:00
Uwe Steinmann
d991978144 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-06-28 17:42:10 +02:00
Uwe Steinmann
65801f1181 start version 5.1.27 2022-06-28 17:08:45 +02:00
Uwe Steinmann
af93db836e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-20 12:31:25 +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
dfedd201dd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-10 18:33:41 +02:00
Uwe Steinmann
92ce4ff1bc add more types to getStatisticalData() 2022-05-09 15:22:35 +02:00
Uwe Steinmann
24146db478 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-25 10:19:40 +02:00
Uwe Steinmann
b9a993c2b3 start new version 5.1.26 2022-04-25 10:12:37 +02:00
Uwe Steinmann
1e8da679b5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-03-04 09:36:00 +01: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
87ee71a1a1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-18 18:15:05 +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
b9c613ff83 handle role in addUser() propperly 2022-02-17 12:29:37 +01:00
Uwe Steinmann
29a6882106 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-11 14:08:19 +01:00
Uwe Steinmann
5ff285c745 start new version 5.1.25 2021-12-11 14:00:22 +01:00
Uwe Steinmann
31fda7e60e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-08 14:36:39 +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
b6a308e630 set default $role='3' in addUser() 2021-09-28 15:44:12 +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
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
3b55c458c2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-22 10:54:54 +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