Commit Graph

1514 Commits

Author SHA1 Message Date
Uwe Steinmann
e2960219c8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-09 14:53:16 +02:00
Uwe Steinmann
c889e075f7 add notes for 5.1.23 2021-07-09 14:23:31 +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
486a685873 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-02 08:36:23 +02:00
Uwe Steinmann
2c4dc73be3 add new method removeApproval() 2021-07-02 08:32:18 +02:00
Uwe Steinmann
2a23dbb0ef Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-01 12:25:19 +02:00
Uwe Steinmann
0cd9910c25 add new method SeedDMS_Core_DocumentContent::removeReview() 2021-07-01 11:44:49 +02:00
Uwe Steinmann
8c4e20e649 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-29 11:27:25 +02:00
Uwe Steinmann
8eb5882520 revert to regex for email validation 2021-06-29 10:20:31 +02:00
Uwe Steinmann
39fc81b64b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-25 09:35:35 +02:00
Uwe Steinmann
bc50f2f8b6 add new method SeedDMS_Core_Document::hasCategory() 2021-06-25 09:34:54 +02:00
Uwe Steinmann
bfcad700af Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-21 18:10:50 +02:00
Uwe Steinmann
369497ee3a fix validation of emails 2021-06-21 18:09:59 +02:00
Uwe Steinmann
7c818d0913 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-01 11:02:45 +02:00
Uwe Steinmann
1ef9e60297 add note for 5.1.23 2021-06-01 10:50:28 +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
05a3405f07 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-21 10:11:42 +02:00
Uwe Steinmann
9ed96e2a2a init $statusstartdate and $statusenddate in search() 2021-05-21 08:51:08 +02:00
Uwe Steinmann
8de5b0ab15 add notes for 5.1.23 2021-05-19 20:44:37 +02:00
Uwe Steinmann
24be00ccd1 add methods getApproveLog() and getReviewLog() 2021-05-19 20:40:45 +02:00
Uwe Steinmann
447c035065 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-17 06:59:44 +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
b2f0f2fa30 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-07 12:23:17 +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
d8b2433edd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-28 18:49:17 +02:00
Uwe Steinmann
e128e0e9dd add changes for 6.0.16 2021-04-28 14:26:34 +02:00
Uwe Steinmann
2c7ab1cfb1 move checkForDueRevisionWorkflow() into document version 2021-04-28 14:24:40 +02:00
Uwe Steinmann
a7deac7948 removeFromProcess() writes into log when a user was replaced (not just removed) 2021-04-28 07:05:15 +02:00
Uwe Steinmann
606f8d8df8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-21 12:39:54 +02:00
Uwe Steinmann
68b307cf34 add missing notes for 5.1.23 2021-04-21 08:52:37 +02:00
Uwe Steinmann
c0377d4e34 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-13 08:42:36 +02:00
Uwe Steinmann
5efc5802b7 start version 5.1.23 2021-04-13 08:39:07 +02:00
Uwe Steinmann
aa045478dd pass number of days to getDocumentList('DueRevisions') 2021-04-03 07:53:12 +02:00
Uwe Steinmann
64e6e8f1c4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-17 08:09:13 +01:00
Uwe Steinmann
4d8da1a7bb smarter caching in SeedDMS_Core_Document::getDocumentFiles() 2021-03-17 08:07:45 +01:00
Uwe Steinmann
18cfdb3efe Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-16 19:15:23 +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
1710e5278b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-15 16:37:07 +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
c39fbcb70d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-12 10:12:30 +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
347c740f1f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-06 16:27:48 +01:00
Uwe Steinmann
34c81e7220 add note for 5.1.22 2021-03-06 15:27: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
5ac51f3c89 getDocumentList() can return sleeping revision 2021-02-11 12:24:07 +01:00
Uwe Steinmann
0d43c618cd getCurrentDatetime() takes parameter for day offset 2021-02-11 12:23:35 +01:00
Uwe Steinmann
68a16ce372 SeedDMS_Core_DMS::getDocumentList() uses ambiguous column name when sorting by status 2021-02-11 08:36:07 +01:00
Uwe Steinmann
c524add775 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-05 13:28:34 +01:00
Uwe Steinmann
03ef93df2c add parameter $incdisabled to SeedDMS_Core_Folder::getNotifyList() 2021-02-05 13:25:46 +01:00
Uwe Steinmann
2f23a09f24 update changes for 6.0.15 2021-02-05 07:31:47 +01:00
Uwe Steinmann
9186cf66c3 expired documents can be skipped from counting in countTasks() 2021-02-05 07:28:46 +01:00
Uwe Steinmann
3ac58509cc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-04 12:26:59 +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
8197f37117 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-02 14:56:53 +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
Uwe Steinmann
aa8290e03b add searching fro revision date 2021-01-29 14:19:44 +01:00
Uwe Steinmann
768345a2ef Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-29 10:35:45 +01:00
Uwe Steinmann
8aa7662f31 add SeedDMS_Core_User->isType() and SeedDMS_Core_Group->isType() 2021-01-29 10:33:09 +01:00
Uwe Steinmann
8c2aac4d98 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-29 10:02:45 +01:00
Uwe Steinmann
32ca8ccae3 add method getDMS() to class SeedDMS_Core_User and SeedDMS_Core_Group 2021-01-28 21:05:52 +01:00
Uwe Steinmann
768c02866c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-27 16:30:10 +01:00
Uwe Steinmann
52a8f2d268 update release date 2021-01-27 16:27:53 +01:00
Uwe Steinmann
d5629361da fixed wrong parameter description 2021-01-27 09:55:11 +01:00
Uwe Steinmann
518eecde18 fix syntax error 2021-01-18 08:45:21 +01:00
Uwe Steinmann
59c59f136a fix typo in comment 2021-01-18 07:16:21 +01:00
Uwe Steinmann
5a30032375 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-08 12:00:36 +01:00
Uwe Steinmann
323e3c49ae start new version 5.1.22 2021-01-04 21:45:55 +01:00
Uwe Steinmann
40adb027db new method hasTable(), beautify some sql statements 2021-01-04 21:45:16 +01:00
Uwe Steinmann
3ddd18eb84 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-29 08:27:43 +01:00
Uwe Steinmann
144d35849b check if attr def exists when setting attribute value 2020-12-28 08:14:05 +01:00
Uwe Steinmann
f80cb6c24f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-18 10:44:33 +01:00
Uwe Steinmann
ead4ad45e7 fix clearing home folder of user 2020-12-18 10:05:04 +01:00
Uwe Steinmann
9c97564cb4 use $dms->getDocument() in function for checking objects 2020-12-18 07:51:13 +01:00
Uwe Steinmann
8e1e94e01a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-16 16:51:00 +01:00
Uwe Steinmann
68ae8c17a5 check if folder/document is below rootDir can be turned on (default off) 2020-12-16 16:47:49 +01:00
Uwe Steinmann
2d4007d62f fix comment 2020-12-15 17:05:04 +01:00
Uwe Steinmann
6e2133747d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-14 18:47:11 +01:00
Uwe Steinmann
6e46e95702 pass current object and $new to validate() 2020-12-14 18:46:38 +01:00
Uwe Steinmann
f7bedcdbd8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-14 18:18:40 +01:00
Uwe Steinmann
55e0204054 new parameter 'new' of SeedDMS_Core_AttributeDefinition::validate() 2020-12-14 18:16:35 +01:00
Uwe Steinmann
f3cc82a780 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-14 17:20:37 +01:00
Uwe Steinmann
c4cdf7b92e add method getDMS() 2020-12-14 17:20:06 +01:00
Uwe Steinmann
a80f177691 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-14 15:00:31 +01:00
Uwe Steinmann
ec5a17f4f3 pass attribute value to callback 'onAttributeValidate' 2020-12-14 14:32:40 +01:00
Uwe Steinmann
c369950458 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-13 09:11: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
b65c62e370 fix error when checking for manager 2020-12-12 15:57:14 +01:00
Uwe Steinmann
2158225795 put revision date into log messages 2020-12-01 12:37:13 +01:00
Uwe Steinmann
67a8d10797 add discarding of checked out document 2020-11-26 09:14:03 +01:00
Uwe Steinmann
c9a2aaca9c add notes for 6.0.14 2020-11-26 09:13:37 +01:00
Uwe Steinmann
152c943d5a SeedDMS_Core_Document::getCheckOutInfo() returns all checkout versions 2020-11-24 08:04:44 +01:00
Uwe Steinmann
3014b94111 fix syntax error 2020-10-28 14:35:05 +01:00
Uwe Steinmann
73fe0e37ff Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-05 17:15:09 +02: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
94e57c6a5b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-29 16:40:03 +02:00
Uwe Steinmann
73b957281f start version 5.1.21 2020-09-29 16:37:50 +02:00
Uwe Steinmann
237fb9af42 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-29 13:53:41 +02:00
Uwe Steinmann
dc33ad774a update release date, fix typo 2020-09-29 13:45:50 +02:00
Uwe Steinmann
ab464b633d pass update user to callback onSetStatus 2020-09-23 15:56:29 +02:00
Uwe Steinmann
b8b88b1ba3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-23 13:12:41 +02:00
Uwe Steinmann
ad9afab6e0 set dms of user instances 2020-09-23 11:39:00 +02:00
Uwe Steinmann
d06e5fa3fb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-17 09:27:08 +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
52dfa8f401 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-04 09:31:30 +02:00
Uwe Steinmann
a75fe94d95 add notes for 5.1.20 2020-09-03 20:10:41 +02:00
Uwe Steinmann
1ffcfdeb81 getDocumentList() returns false, if an unknown list passed 2020-09-03 20:09:41 +02:00
Uwe Steinmann
a78800e036 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-03 14:21:30 +02:00
Uwe Steinmann
fef827a7db start new version 5.1.20 2020-09-03 14:17:23 +02:00
Uwe Steinmann
a5994e3011 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-01 15:15:07 +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
1a9e7bde1b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-01 11:17:02 +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
012dbeaf27 fix access on workflow object 2020-08-31 15:31:29 +02:00
Uwe Steinmann
9e5224a661 fix typo in var name 2020-08-31 13:01:40 +02:00
Uwe Steinmann
d1ad6383d2 update notes for 5.1.19 2020-08-28 15:37:02 +02:00
Uwe Steinmann
031408fdae remove duplicate release 5.1.17 2020-08-28 15:33:59 +02:00
Uwe Steinmann
9f491dce6d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-28 12:34:26 +02:00
Uwe Steinmann
9117f8f64a add new attribute types 'document', 'folder', 'user', 'group' 2020-08-28 11:45:37 +02:00
Uwe Steinmann
19502debea Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-21 14:06:21 +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
b89b2a9254 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-05 18:45:09 +02:00
Uwe Steinmann
d705ff4618 notes for 5.1.19 2020-08-05 18:42:22 +02:00
Uwe Steinmann
328b1b2b1a add method setParent() as an alias for setFolder() 2020-08-05 18:41:53 +02:00
Uwe Steinmann
446472c3b1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-01 13:50:43 +02:00
Uwe Steinmann
7c2959be02 add fold marks 2020-08-01 13:47:24 +02:00
Uwe Steinmann
709d362b02 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-07-30 11:06:28 +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
a34cd8b4ee add new revisor when transfering processes even in status 'sleeping' 2020-07-20 19:31:47 +02:00
Uwe Steinmann
8eec73b4be add more documentation is addRevisor() 2020-07-20 19:30:36 +02:00
Uwe Steinmann
cd3026a88a remove spaces 2020-06-28 13:57:34 +02:00
Uwe Steinmann
395d71b705 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-24 21:23:08 +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
ac1ea2d58e add note for 5.1.18 2020-06-23 09:59:57 +02:00
Uwe Steinmann
a68f644ba5 create temp table ttcontentid in getDocumentByOriginalFilename() 2020-06-23 09:58:38 +02:00
Uwe Steinmann
ba91151cea add note for 5.1.18 2020-06-19 11:38:52 +02:00
Uwe Steinmann
f817fc4489 fix parsing of file size 2020-06-19 11:36:51 +02:00
Uwe Steinmann
5bb78b6468 fix sorting by name in getInstanceBy(), init _dms to null 2020-06-16 08:29:33 +02:00
Uwe Steinmann
1c8452ecea docs in S_IN_REVISION are in list AppRev (had been removed after merge) 2020-06-06 16:15:32 +02:00
Uwe Steinmann
50fb928988 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-05 18:10:23 +02:00
Uwe Steinmann
3cf091099b fix many remaining todos (moѕtly wrong var names) 2020-06-05 18:06:27 +02:00
Uwe Steinmann
b974f4c4e9 filterAccess() propperly checks for documents 2020-06-05 17:45:31 +02:00
Uwe Steinmann
cc6fd60168 start new version 6.0.11 2020-06-05 17:45:17 +02:00
Uwe Steinmann
e1a6497b05 start new version 5.1.18 2020-05-28 12:49:53 +02:00
Uwe Steinmann
b2c606f37f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-28 11:54:09 +02:00
Uwe Steinmann
c70f1cc6f8 start new version 5.1.18 2020-05-28 11:51:55 +02:00
Uwe Steinmann
d497eebc01 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-27 12:05:39 +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
973f7eea65 update release date 2020-05-22 16:30:23 +02:00
Uwe Steinmann
496020ca59 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-22 16:30:05 +02:00
Uwe Steinmann
8548765ef8 add note for 5.1.17 2020-05-22 16:27:58 +02:00
Uwe Steinmann
dd146a6f5e fix getDocumentsExpired(), need to create temp tables 2020-05-22 16:25:50 +02:00
Uwe Steinmann
204387237f add changelog for 5.1.17 2020-05-19 06:15:13 +02:00
Uwe Steinmann
2e31004982 pass updating user to callback onSetStatus, finish revision when document status changes form inrevision to released 2020-05-15 17:24:04 +02:00
Uwe Steinmann
35afca7996 rename callback onUpdateStatusDocumentContent to onSetStatus 2020-05-15 08:20:37 +02:00
Uwe Steinmann
06de96a552 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-15 08:17:12 +02:00
Uwe Steinmann
a31524df09 delRevisor() returns -4 if user has placed revision already 2020-05-15 08:05:46 +02:00
Uwe Steinmann
7343108914 add new callback onChangeStatusDocumentContent 2020-05-14 19:05:01 +02:00
Uwe Steinmann
84aa83d1d9 rework countDocuments()
check if user is actually set, 'WorkflowByMe' now uses a single sql
statement
2020-05-08 12:42:44 +02:00
Uwe Steinmann
8ae40fbc9e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-08 07:44:49 +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
20e3826316 add dummy note in 6.0.9 2020-04-17 14:09:56 +02:00
Uwe Steinmann
7485e0b57a fix notes 2020-04-14 18:04:08 +02:00
Uwe Steinmann
7cc6ed952e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-04-14 18:02:35 +02:00
Uwe Steinmann
d1b3b00815 add notes for 5.1.16 2020-04-14 18:02:19 +02:00
Uwe Steinmann
16613a1e27 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-04-14 17:44:27 +02:00
Uwe Steinmann
4021d62cb3 better error handling in addDocumentFile() 2020-04-14 17:06:38 +02:00
Uwe Steinmann
7a8fffadfc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-25 09:19:54 +01:00
Uwe Steinmann
a2cb94cbe8 new notes for 5.1.16 2020-03-25 08:10:13 +01: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
30112e4b21 use __construct for constructors instead of class name 2020-03-10 09:43:04 +01:00
Uwe Steinmann
d928c43981 fix bug #465 2020-03-04 18:27:10 +01:00
Uwe Steinmann
b5eddc2296 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-04 18:19:43 +01:00
Uwe Steinmann
92b291d4d2 start new version 5.1.16 2020-03-04 18:16:40 +01:00
Uwe Steinmann
45acd496d6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-04 17:58:01 +01:00
Uwe Steinmann
25b979d9ef start new version 5.1.16 2020-03-04 17:51:25 +01:00
Uwe Steinmann
67e5eb5efe set notes for 5.1.15 2020-03-02 11:50:55 +01:00
Uwe Steinmann
a41e03425b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-02 11:50:03 +01:00
Uwe Steinmann
e543f100d5 update release date and notes 2020-03-02 09:43:39 +01:00
Uwe Steinmann
33c4f88636 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-25 17:14:36 +01:00
Uwe Steinmann
6bf6a4b582 start new version 5.1.15 2020-02-17 12:57:48 +01:00
Uwe Steinmann
5f900b7ab1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-17 10:22:23 +01:00
Uwe Steinmann
4b402a131f update release date 2020-02-17 10:21:01 +01:00
Uwe Steinmann
ac1c2a55e2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-13 13:25:59 +01:00
Uwe Steinmann
80ca2a7174 remove debug echo 2020-02-13 13:25:35 +01:00
Uwe Steinmann
9b24827598 add new method setFileType() 2020-02-13 12:19:43 +01:00
Uwe Steinmann
efec0c36bf add method getWrongFiletypeDocumentContent() 2020-02-13 12:19:16 +01:00
Uwe Steinmann
5ff1333c9f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-12 17:29:52 +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
c3ef148ca6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-06 11:35:55 +01:00
Uwe Steinmann
2b685a835e include new Iterator class 2020-02-06 11:34:42 +01:00
Uwe Steinmann
23b994ac23 add new Iterator class
not used yet
2020-02-06 11:34:08 +01:00
Uwe Steinmann
58412c8179 use getDMS() instead of access varialbe _dms in folder or document 2020-01-24 08:53:04 +01:00
Uwe Steinmann
cfdd951369 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-01-13 09:45:05 +01:00
Uwe Steinmann
699152d95b use getDMS() instead of accessing _dms 2020-01-10 14:48:14 +01:00
Uwe Steinmann
7b1835774d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-12-15 08:03:36 +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
769b9e5beb add changes for 6.0.7 2019-11-28 14:07:19 +01:00
Uwe Steinmann
1593ca5f34 removeFromProcess() can transfer to new user for all processes 2019-11-28 13:48:50 +01:00
Uwe Steinmann
3011f96372 add optional parameter $newuser to removeFromProcesses()
if set, the process will be transfered to a new user
2019-11-28 09:16:23 +01:00
Uwe Steinmann
2ec6534079 fix documentation for rewriteRevisionLog() 2019-11-28 09:15:26 +01:00
Uwe Steinmann
270770782f verifyStatus() handles status change when S_EXPIRED is set 2019-11-20 13:11:24 +01:00
Uwe Steinmann
65212329a7 fix invaled xml 2019-10-28 08:23:27 +01:00
Uwe Steinmann
95aede5c2b fix SeedDMS_Core_DocumentContent::verifyЅtatus()
the method can now handle revisions with status==-1. Status will not
change if status is already S_NEEDS_CORRECTION
2019-10-18 07:19:51 +02:00
Uwe Steinmann
065bf4eb26 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-10-17 07:41:17 +02:00
Uwe Steinmann
c06ec0de2e more documentation in SeedDMS_Core_DocumentContent::verifyStatus() 2019-10-17 07:40:01 +02:00
Uwe Steinmann
a870602324 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-10-17 07:22:16 +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
9bc5b73771 do not access SeedDMS_Core_DocumentContent::_version anymore 2019-09-10 17:15:27 +02:00
Uwe Steinmann
670597ea5f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-09-06 14:51:21 +02:00
Uwe Steinmann
712a504d9b remove debug output 2019-08-27 14:13:03 +02:00
Uwe Steinmann
f378aeb013 add new file class.Decorator.php 2019-08-08 15:49:08 +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
Uwe Steinmann
851ca7013b start new version 5.1.13 2019-08-08 09:00:12 +02:00
Uwe Steinmann
99238a34f4 run decorators, new method isType(), use $this instead of self:: 2019-08-08 08:43:20 +02:00
Uwe Steinmann
f9eabdb252 run decorators, new method isType(), do not access variable _dms anymore 2019-08-08 08:42:02 +02:00
Uwe Steinmann
cebf0e3796 add generic decorator class 2019-08-08 08:41:12 +02:00
Uwe Steinmann
9a0b6c4d3d add methods for setting and getting decorators 2019-08-08 08:39:53 +02:00
Uwe Steinmann
4a7d572f95 add method isType(), make functions explicitly public 2019-08-07 08:10:05 +02:00
Uwe Steinmann
37db957c41 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-07-19 15:41:05 +02:00
Uwe Steinmann
ba9f4ba749 rename SeedDMS_Core_Folder::empty to emptyFolder 2019-07-17 10:50:52 +02:00
Uwe Steinmann
e71c9c2e4e fix sql statement for searching when setting a limit 2019-07-16 20:16:50 +02:00
Uwe Steinmann
c5e6131c14 use getVersion() instead of accessing _version which is now protected 2019-07-12 16:39:44 +02:00
Uwe Steinmann
d11887311c declare variables in SeedDMS_Core_DocumentContent 2019-07-11 17:14:56 +02:00
Uwe Steinmann
801f0f0ed2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-07-05 08:10:42 +02:00
Uwe Steinmann
c9d9bf6c7b new function and controller for emptying a folder 2019-07-02 08:47:12 +02:00
Uwe Steinmann
fa64bb3200 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-07-01 21:34:08 +02:00
Uwe Steinmann
d18a3389bc sіmplify and possibly fix method isDescendant() 2019-07-01 13:06:08 +02:00
Uwe Steinmann
536067200e add method isDescendant() 2019-07-01 13:05:40 +02:00
Uwe Steinmann
e9d5381aa6 more notes for 5.1.12, update release date 2019-07-01 10:47:42 +02:00
Uwe Steinmann
164282cfb9 add new method hasSubFolderByName(), fix hasDocumetByName()
hasDocumetByName() returned a positiv integer if documents of the folder
has been loaded before.
2019-07-01 10:46:27 +02:00
Uwe Steinmann
e8c9fd5e4e add changes for 5.1.12 2019-06-26 20:41:19 +02:00
Uwe Steinmann
86c03d3ee4 check if $orderby is set before using it 2019-06-26 18:02:26 +02:00
Uwe Steinmann
b8bc69bb11 add sorting by name,date for documents in search() 2019-06-26 18:01:53 +02:00
Uwe Steinmann
3e4d90fe91 parameters for search() can be an array, add support for sorting the output 2019-06-26 13:38:39 +02:00
Uwe Steinmann
b3a2e0bb32 search() sorts hits by name 2019-06-26 11:47:34 +02:00
Uwe Steinmann
eccbc5ebd6 start new version 5.1.12 2019-06-24 11:55:24 +02:00
Uwe Steinmann
0a4d7359b2 new version 5.1.12 2019-06-24 11:46:46 +02:00
Uwe Steinmann
7485dbba15 use only first char of $orderby 2019-06-24 11:46:25 +02:00
Uwe Steinmann
5e8c34ad54 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-05-14 20:44:47 +02:00
Uwe Steinmann
f8841e670e start new version 5.1.11 2019-05-02 16:56:00 +02:00
Uwe Steinmann
d0cf90032f a revision call also be started if some of the revisors have already reviewed the document 2019-04-04 14:02:46 +02:00
Uwe Steinmann
fd5bfe246f various minor corrections of sql statements
improves compatibility with postgres
2019-03-14 09:37:21 +01:00
Uwe Steinmann
83e8f900e5 fix setting role 2019-03-11 18:27:20 +01:00
Uwe Steinmann
3ccc9f5176 add more notes for 6.0.7 2019-02-14 12:46:11 +01:00
Uwe Steinmann
08fac559c9 add new list type 'DueRevision' in getDocumentList 2019-02-14 12:33:50 +01:00
Uwe Steinmann
feee5600c4 add new list type ´DueRevision' in getDocumentList() 2019-02-14 12:33:11 +01:00
Uwe Steinmann
fa96dca929 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-13 06:50:36 +01:00
Uwe Steinmann
9729d211eb add missing `` in sql statement 2019-02-13 06:38:56 +01:00
Uwe Steinmann
b2fa733a0d new note for 6.0.7 2019-02-12 08:18:16 +01:00
Uwe Steinmann
770daa330c SeedDMS_Core_Document::getTimeline() returns revision only for latest content 2019-02-12 08:18:10 +01:00
Uwe Steinmann
f4a638ce14 new version 6.0.7 2019-01-16 17:57:13 +01:00
Uwe Steinmann
2709231dfc add dummy notes 2019-01-15 18:15:45 +01:00
Uwe Steinmann
48cf4b2ff3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-01-15 09:13:23 +01:00
Uwe Steinmann
d522ced2e1 add note for 5.1.10 2019-01-11 09:17:56 +01:00
Uwe Steinmann
8545b89d95 log file pointer can be set by calling a method 2019-01-11 09:17:26 +01:00
Uwe Steinmann
e252af2df4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-12-18 06:19:18 +01:00
Uwe Steinmann
34985e4a0e start new version 5.1.10 2018-11-23 21:01:31 +01:00
Uwe Steinmann
7060484594 check if next transitions exists 2018-11-23 21:00:01 +01:00
Uwe Steinmann
046d07bbf1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-11-16 19:17:19 +01:00
Uwe Steinmann
53a742b082 start new version 5.1.10 2018-11-16 08:16:45 +01:00
Uwe Steinmann
4e0a34966c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-11-13 08:59:02 +01:00
Uwe Steinmann
e4533f3488 set correct date 2018-11-13 07:31:27 +01:00
Uwe Steinmann
a4ddbd6605 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-11-12 13:33:56 +01:00
Uwe Steinmann
c5778b2d44 take out old code 2018-10-11 12:39:36 +02:00
Uwe Steinmann
93b8ee1750 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-08-08 07:28:22 +02:00
Uwe Steinmann
d72d92d487 add note for 5.1.9 2018-08-07 11:11:59 +02:00
Uwe Steinmann
148f37a54c new optional parameter for getReadAccessList()
if set guest will be returned as well
2018-08-07 11:10:46 +02:00
Uwe Steinmann
3958714bff Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-07-13 11:01:36 +02:00
Uwe Steinmann
8416bb7375 add notes for 5.1.9 2018-07-12 22:38:09 +02:00
Uwe Steinmann
951ca85e96 call hook onCheckAccessFolder and pass $context 2018-07-12 22:01:40 +02:00
Uwe Steinmann
abdbaf5de0 pass context in getAccessMode() to onCheckAccessDocument hook 2018-07-12 22:01:04 +02:00
Uwe Steinmann
34255ecded add callback onCheckAccessDocument(), reload workflow 2018-07-12 21:10:16 +02:00
Uwe Steinmann
ec80f5aa0e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-07-03 10:54:26 +02:00
Uwe Steinmann
9d1a17fe87 start new version 5.1.9 2018-07-03 06:45:20 +02:00
Uwe Steinmann
3e7fa6e1c1 add note for 5.1.8 2018-06-27 21:00:15 +02:00
Uwe Steinmann
952a1ad1fa turn some passed vars into integer if they are expected
some where used in an sql statement and could be used for sql injection
2018-06-27 18:51:59 +02:00
Uwe Steinmann
535a91db7e getNotifyList() can also return disable user 2018-06-20 20:41:16 +02:00
Uwe Steinmann
18bd1fdf55 sync with package file from 5.1.7 2018-04-12 16:02:40 +02:00
Uwe Steinmann
0199019ee6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-12 15:57:21 +02:00
Uwe Steinmann
fdd2e3ab37 changes for 5.1.8 2018-04-12 12:34:48 +02:00
Uwe Steinmann
8f62039994 do not use views 2018-04-12 12:33:06 +02:00
Uwe Steinmann
70015878d0 search() returns false in case of an error 2018-04-12 12:32:32 +02:00
Uwe Steinmann
659a62e133 Merge branch 'seeddms-6.0.x-workflow' into seeddms-6.0.x 2018-04-06 06:39:29 +02:00
Uwe Steinmann
0cdba79f59 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-05 17:30:41 +02:00
Uwe Steinmann
2413da8c0b start new version 5.1.8 2018-04-05 17:28:00 +02:00
Uwe Steinmann
798a4b99b3 new version 5.1.7 2018-04-05 16:30:06 +02:00
Uwe Steinmann
f1fb23c7e7 fix sql statement to retrieve workflow log 2018-04-05 12:21:09 +02:00
Uwe Steinmann
5882fc10a9 major change of workflow/document management 2018-04-05 12:04:37 +02:00
Uwe Steinmann
57dc5fa31a do not set the uploader of a document to the owner
use the currently logged in user instead
2018-04-03 11:27:12 +02:00
Uwe Steinmann
8ecc721f3c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-03 11:00:08 +02:00
Uwe Steinmann
c539693288 fix name for log files 2018-04-03 10:57:29 +02:00
Uwe Steinmann
2259acc3f2 add counting documents in workflow and need correction in countTasks() 2018-03-29 16:30:02 +02:00
Uwe Steinmann
6211014896 new version 6.0.6 2018-03-20 10:09:23 +01:00
Uwe Steinmann
0c0669fbbd do not release a document in verifyStatus() if in draft status 2018-03-14 17:05:27 +01:00
Uwe Steinmann
953e94cd8e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-03-09 13:11:11 +01:00
Uwe Steinmann
cfec7323d7 add hooks on[Post|Pre]RemoveFromDatabaseFolder
on[Post|Pre]RemoveFolder is called before and after any removal
2018-03-07 12:22:35 +01:00
Uwe Steinmann
7e4514c450 onPreRemoveDocument hook returns when return value is a boolean 2018-03-07 12:21:22 +01:00
Uwe Steinmann
0066d29650 add listNeedsCorrection 2018-03-01 21:29:12 +01:00
Uwe Steinmann
e3664780e9 started new version 6.0.5 2018-02-27 07:42:11 +01:00
Uwe Steinmann
a575714218 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-23 09:06:03 +01:00
Uwe Steinmann
15bf603825 add note for 5.1.6 2018-02-22 19:14:06 +01:00
Uwe Steinmann
f392e35072 fix search for attribute values if value is passed as string 2018-02-22 19:11:25 +01:00
Uwe Steinmann
c4addcd4aa getStatistics() returns single values, add removeValue(), fix sql in getObjects() 2018-02-22 19:10:39 +01:00
Uwe Steinmann
fffdf0a0ba optimize query for documents in search() 2018-02-21 15:33:47 +01:00
Uwe Steinmann
656c4b0b7f optimize query for searching documents 2018-02-21 15:28:27 +01:00
Uwe Steinmann
a6d16911e8 fix xml error 2018-02-21 12:40:45 +01:00
Uwe Steinmann
6548776cb3 new version 6.0.4 2018-02-21 12:39:51 +01:00
Uwe Steinmann
cb287741d0 add and use SeedDMS_Core_DocumentContent::getInstance() 2018-02-21 12:34:51 +01:00
Uwe Steinmann
5e478d749d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-20 07:14:50 +01:00
Uwe Steinmann
ad8d0d9bba Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-02-20 06:38:22 +01:00
Uwe Steinmann
fc434419fe Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-02-20 06:36:20 +01:00
Uwe Steinmann
71ac5428ca fix wrong parameter comment of addDocument() 2018-02-20 06:35:48 +01:00
Uwe Steinmann
1640682a10 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-14 22:00:34 +01:00
Uwe Steinmann
840feec9fa Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-02-14 09:10:32 +01:00
Uwe Steinmann
922f6a0f7f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-02-14 09:09:49 +01:00
Uwe Steinmann
611290292c add entry for 4.3.37 2018-02-14 09:07:26 +01:00
Uwe Steinmann
433cfa4ac4 SeedDMS_Core_DMS::search() finds documents without status log 2018-02-14 09:07:03 +01:00
Uwe Steinmann
795ca98b8f create temp table ttreceiptid before using it 2018-02-13 18:32:01 +01:00
Uwe Steinmann
6ad630edf4 turn of views as default 2018-02-13 17:07:45 +01:00
Uwe Steinmann
52ceaaf98e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-08 14:31:43 +01:00
Uwe Steinmann
7c98ede3fd fix indenting which broke in last merge 2018-02-08 14:30:33 +01:00
Uwe Steinmann
5d51f18c5b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-08 14:26:36 +01:00
Uwe Steinmann
3e5d744d6d Merge commit '10896ca183a4fa0b30c02fca8831d2f5497e6a76' into seeddms-5.1.x 2018-02-08 09:25:45 +01:00
Uwe Steinmann
ab7776bdb9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-07 22:32:18 +01:00
Uwe Steinmann
e5b215936a add new method SeedDMS_Core_Folder::getDocumentsMinMax() 2018-02-07 09:51:20 +01:00
Uwe Steinmann
7e0b1b6907 start new version 6.0.4 2018-02-05 15:19:59 +01:00
Uwe Steinmann
b3c372e270 show only released documents in ReceiveOwner list 2018-02-01 12:05:48 +01:00
Uwe Steinmann
13119773bf update release date and notes for 6.0.3 2018-02-01 08:29:27 +01:00
Uwe Steinmann
17478a52ef add note for 6.0.4 2018-01-31 20:05:34 +01:00
Uwe Steinmann
39b94d4c75 add fast sql statement to getReceiptStatus() if limit=1 2018-01-31 20:03:22 +01:00
Uwe Steinmann
231af615af status may be S_NEED_CORRECTiON in setStatus() 2018-01-30 19:17:44 +01:00
Uwe Steinmann
8931759f84 new status S_NEEDS_CORRECTION 2018-01-29 11:40:25 +01:00
Uwe Steinmann
a8fad905a0 add note for 6.0.3 2018-01-28 07:54:36 +01:00
Uwe Steinmann
85a3041b9b add lists of drafts and obsolete docs in getDocumentList() 2018-01-28 07:48:29 +01:00
Uwe Steinmann
cbf7f1a161 list of documents without receivers on lists released documents 2018-01-24 09:01:35 +01:00
Uwe Steinmann
4dfade96f7 check if $files are given to filterFiles() 2018-01-23 20:50:44 +01:00
Uwe Steinmann
4b8fad4605 set propper date in timeline for scheduled revisions 2018-01-18 17:27:31 +01:00