Commit Graph

566 Commits

Author SHA1 Message Date
Uwe Steinmann
c4cdf7b92e add method getDMS() 2020-12-14 17:20:06 +01:00
Uwe Steinmann
ec5a17f4f3 pass attribute value to callback 'onAttributeValidate' 2020-12-14 14:32:40 +01:00
Uwe Steinmann
f2c376cadc sync call of getReadAccessList() with SeedDMS_Core_Document::getReadAccessList() 2020-12-12 16:27:01 +01:00
Uwe Steinmann
f02e0ca977 add more documentation 2020-12-12 16:26:21 +01:00
Uwe Steinmann
d867e5d0b8 SeedDMS_Folder_DMS::getAccessList() and getDefaultAccess() do not return fals anymore if the parent does not exists. They just stop inheritance. 2020-10-03 10:18:04 +02:00
Uwe Steinmann
73b957281f start version 5.1.21 2020-09-29 16:37:50 +02:00
Uwe Steinmann
ab464b633d pass update user to callback onSetStatus 2020-09-23 15:56:29 +02:00
Uwe Steinmann
ad9afab6e0 set dms of user instances 2020-09-23 11:39:00 +02:00
Uwe Steinmann
999f4f76c9 removing a document version will not remove attachments of the document anymore 2020-09-17 09:26:08 +02:00
Uwe Steinmann
1ffcfdeb81 getDocumentList() returns false, if an unknown list passed 2020-09-03 20:09:41 +02:00
Uwe Steinmann
fef827a7db start new version 5.1.20 2020-09-03 14:17:23 +02:00
Uwe Steinmann
dd94bb0bae fix searching within attributes of document contents 2020-09-01 14:59:50 +02:00
Uwe Steinmann
ce2ee995fc getValueSetSeparator() returns ',' for type_user and type_group 2020-09-01 14:59:16 +02:00
Uwe Steinmann
051fac8281 add validation and parsing of new types (user, group, etc.) 2020-09-01 09:22:48 +02:00
Uwe Steinmann
9117f8f64a add new attribute types 'document', 'folder', 'user', 'group' 2020-08-28 11:45:37 +02:00
Uwe Steinmann
b083ebb40e add new method SeedDMS_Core_Document::isLatestContent() 2020-08-21 13:19:22 +02:00
Uwe Steinmann
990621ae99 invalidate list of versions after removing a version 2020-08-21 12:34:35 +02:00
Uwe Steinmann
328b1b2b1a add method setParent() as an alias for setFolder() 2020-08-05 18:41:53 +02:00
Uwe Steinmann
7c2959be02 add fold marks 2020-08-01 13:47:24 +02:00
Uwe Steinmann
245e54f893 some additional documentation for getDocumentByName() 2020-07-28 18:12:13 +02:00
Uwe Steinmann
a605ba6c67 start new version 5.1.19 2020-07-28 11:54:57 +02:00
Uwe Steinmann
51b1a476bf cast id to integer 2020-06-24 16:15:13 +02:00
Uwe Steinmann
98945e57df cast id to int 2020-06-24 16:14:58 +02:00
Uwe Steinmann
a68f644ba5 create temp table ttcontentid in getDocumentByOriginalFilename() 2020-06-23 09:58:38 +02:00
Uwe Steinmann
f817fc4489 fix parsing of file size 2020-06-19 11:36:51 +02:00
Uwe Steinmann
3cf091099b fix many remaining todos (moѕtly wrong var names) 2020-06-05 18:06:27 +02:00
Uwe Steinmann
c70f1cc6f8 start new version 5.1.18 2020-05-28 11:51:55 +02:00
Uwe Steinmann
a4b84f5558 add docs for hasExpired(), doc expires with the first second of the next 2020-05-27 12:01:40 +02:00
Uwe Steinmann
f737b20830 add new parameter and documentation for getDocumentsExpired() 2020-05-27 12:00:58 +02:00
Uwe Steinmann
dd146a6f5e fix getDocumentsExpired(), need to create temp tables 2020-05-22 16:25:50 +02:00
Uwe Steinmann
35afca7996 rename callback onUpdateStatusDocumentContent to onSetStatus 2020-05-15 08:20:37 +02:00
Uwe Steinmann
7343108914 add new callback onChangeStatusDocumentContent 2020-05-14 19:05:01 +02:00
Uwe Steinmann
d0259109e1 rework getDocumentList()
WorkflowByMe just returns those documents which still need action.
propperly handle $param1 = null
2020-05-08 07:40:04 +02:00
Uwe Steinmann
4021d62cb3 better error handling in addDocumentFile() 2020-04-14 17:06:38 +02:00
Uwe Steinmann
c6924de065 init $lasterror before calling hook 2020-03-25 08:05:41 +01:00
Uwe Steinmann
c6f85fc6e9 fix call of hooks, add new variable 'lasterror' 2020-03-25 08:04:39 +01:00
Uwe Steinmann
25b979d9ef start new version 5.1.16 2020-03-04 17:51:25 +01:00
Uwe Steinmann
6bf6a4b582 start new version 5.1.15 2020-02-17 12:57:48 +01:00
Uwe Steinmann
80ca2a7174 remove debug echo 2020-02-13 13:25:35 +01:00
Uwe Steinmann
30ca5c71cd new method SeedDMS_Document_Content::repair, restore old getPath() behaviour
getPath() didn't return a single '.' in the fileType
2020-02-11 07:45:30 +01:00
Uwe Steinmann
23b994ac23 add new Iterator class
not used yet
2020-02-06 11:34:08 +01:00
Uwe Steinmann
699152d95b use getDMS() instead of accessing _dms 2020-01-10 14:48:14 +01:00
Uwe Steinmann
61f1ddbd08 minimize number of sql statements
add new method getInstanceByData(), get folders and documents from
first sql statement which fetches the subfolders and documents of
a folder instead of fetching each single document and folder.
2019-12-13 09:03:44 +01:00
Uwe Steinmann
c06ec0de2e more documentation in SeedDMS_Core_DocumentContent::verifyStatus() 2019-10-17 07:40:01 +02:00
Uwe Steinmann
d1a8546f1f fix comment 2019-10-17 07:18:51 +02:00
Uwe Steinmann
f2e7063a56 better documentation of SeedDMS_Core_DocumentContent::verifyStatus 2019-10-17 07:09:08 +02:00
Uwe Steinmann
ae4a65e8bc discard fileType if just '.' 2019-10-01 14:05:29 +02:00
Uwe Steinmann
712a504d9b remove debug output 2019-08-27 14:13:03 +02:00
Uwe Steinmann
4767bf69d0 new version 5.1.13 2019-08-08 09:37:33 +02:00
Uwe Steinmann
078847ab9b fix line indenting 2019-08-08 09:04:58 +02:00