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
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
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
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
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
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
f9eabdb252
run decorators, new method isType(), do not access variable _dms anymore
2019-08-08 08:42:02 +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
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
fa64bb3200
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
2019-07-01 21:34:08 +02:00
Uwe Steinmann
536067200e
add method isDescendant()
2019-07-01 13:05:40 +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
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
770daa330c
SeedDMS_Core_Document::getTimeline() returns revision only for latest content
2019-02-12 08:18:10 +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
7060484594
check if next transitions exists
2018-11-23 21:00:01 +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
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
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
535a91db7e
getNotifyList() can also return disable user
2018-06-20 20:41:16 +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
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