Commit Graph

626 Commits

Author SHA1 Message Date
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
Uwe Steinmann
90074c3947 fix get value map separator 2021-09-16 16:07:31 +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
ad52fffd21 set file format to unix, fix indenting of comments 2021-09-16 16:02:16 +02:00
Uwe Steinmann
b111c1428e remove old database file unused for a long time 2021-09-15 21:49:44 +02:00
Uwe Steinmann
9334e1a6f2 make all class variables of SeedDMS_Core_User protected 2021-09-13 10:15:33 +02:00
Uwe Steinmann
33c10fc1db add some documentation in comments 2021-08-30 19:34:38 +02:00
Uwe Steinmann
160f427bea start new version 5.1.24 2021-08-20 10:42:26 +02:00
Uwe Steinmann
fa8356d729 in removeWorkflow() remove records from tblWorkflowLog before tblWorkflowDocumentContent 2021-08-20 10:38:33 +02:00
Uwe Steinmann
a4fb4230e8 add login to key when getting statistics for 'sizeperuser' 2021-08-18 12:21:48 +02:00
Uwe Steinmann
62d9241276 catch exeption when opening database connection 2021-08-05 08:40:13 +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
d955f07b7a new methods getFolders(), getDocumentLinks(), getDocumentFiles(), getDocumentContents() 2021-07-09 14:22:11 +02:00
Uwe Steinmann
14b1cd34cd new type foldersperuser in getStatisticalData() 2021-07-09 14:21:52 +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
8eb5882520 revert to regex for email validation 2021-06-29 10:20:31 +02:00
Uwe Steinmann
bc50f2f8b6 add new method SeedDMS_Core_Document::hasCategory() 2021-06-25 09:34:54 +02:00
Uwe Steinmann
369497ee3a fix validation of emails 2021-06-21 18:09:59 +02:00
Uwe Steinmann
116bf3d5dd getNextTransitions() returns false if passed state is empty 2021-06-01 10:49:32 +02:00
Uwe Steinmann
b624cd0a61 fix getWorkflowState(), can now handle empty state 2021-06-01 10:48:52 +02:00
Uwe Steinmann
9ed96e2a2a init $statusstartdate and $statusenddate in search() 2021-05-21 08:51:08 +02:00
Uwe Steinmann
24be00ccd1 add methods getApproveLog() and getReviewLog() 2021-05-19 20:40:45 +02:00
Uwe Steinmann
e5159ca7f9 add methods SeedDMS_Core_DocumentContent::getReviewers() and SeedDMS_Core_DocumentContent::getApprovers() 2021-05-14 21:54:34 +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
4d8da1a7bb smarter caching in SeedDMS_Core_Document::getDocumentFiles() 2021-03-17 08:07:45 +01:00
Uwe Steinmann
29cf87d85d fix SeedDMS_Core_Document::remove when version had its own attachments 2021-03-16 19:13:37 +01: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
3acd9a2237 add some comments 2021-03-06 15:27:03 +01:00
Uwe Steinmann
ceed62bf2b do not validate value in SeedDMS_Core_Attribute::setValue(), it should have been done before 2021-03-06 15:26:18 +01:00
Uwe Steinmann
03ef93df2c add parameter $incdisabled to SeedDMS_Core_Folder::getNotifyList() 2021-02-05 13:25:46 +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
4724935bec cast access mode to int when passing to constructor of SeedDMS_Core_GroupAccess or SeedDMS_Core_UserAccess 2021-02-02 14:56:15 +01:00