Commit Graph

868 Commits

Author SHA1 Message Date
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
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
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
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
496020ca59 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-22 16:30:05 +02:00
Uwe Steinmann
dd146a6f5e fix getDocumentsExpired(), need to create temp tables 2020-05-22 16:25:50 +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
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
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
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
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
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
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