Commit Graph

134 Commits

Author SHA1 Message Date
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
536067200e add method isDescendant() 2019-07-01 13:05:40 +02:00
Uwe Steinmann
9729d211eb add missing `` in sql statement 2019-02-13 06:38:56 +01:00
Uwe Steinmann
7060484594 check if next transitions exists 2018-11-23 21:00:01 +01:00
Uwe Steinmann
c5778b2d44 take out old code 2018-10-11 12:39:36 +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
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
535a91db7e getNotifyList() can also return disable user 2018-06-20 20:41:16 +02:00
Uwe Steinmann
7e4514c450 onPreRemoveDocument hook returns when return value is a boolean 2018-03-07 12:21:22 +01:00
Uwe Steinmann
3e5d744d6d Merge commit '10896ca183a4fa0b30c02fca8831d2f5497e6a76' into seeddms-5.1.x 2018-02-08 09:25:45 +01:00
Uwe Steinmann
81536cb2fe getInstance() returns null if document was not found in db 2017-12-22 13:00:51 +01:00
Sebastian Bartus-Kunz
f3daa6d0e2 Fixed wrong return object in getDocumentLink() 2017-12-20 16:12:32 +01:00
Uwe Steinmann
da972bbc2b fix SeedDMS_Core_DocumentFile::setDate() 2017-12-12 09:48:05 +01:00
Uwe Steinmann
a78747cc10 addDocumentFile() returns object of file, new method SeedDMS_Core_DocumentFile::setDate() 2017-12-12 09:33:13 +01:00
Uwe Steinmann
0640b39c85 check for === false after calling onPreRemoveDocument 2017-12-07 08:53:40 +01:00
Uwe Steinmann
b68cfe3893 add SeedDMS_Core_Document::transferToUser() 2017-12-05 18:31:04 +01:00
Uwe Steinmann
e3d1cc172b add method to set name, comment, version, public flag of document files 2017-12-05 08:27:14 +01:00
Uwe Steinmann
b29f7b1e9c add method getParent() 2017-11-21 11:28:18 +01:00
Jörg Neugebauer
3f2e24f80d inc.ClassFolder.php 2017-10-28 14:28:12 +02:00
Jörg Neugebauer
ab73fe5298 inc.ClassDMS.php 2017-10-24 14:00:56 +02:00
Jörg Neugebauer
2ab5db0c6d inc.ClassObject.php 2017-10-24 12:12:38 +02:00
Uwe Steinmann
5bf132b170 add virtual access mode for links and attachments 2017-10-06 17:58:46 +02:00
Uwe Steinmann
0b8b92076a remove linked files of a version if the version is deleted 2017-10-05 07:37:21 +02:00
Uwe Steinmann
f1f439af8c add support for access restrictions on document content 2017-09-28 07:23:15 +02:00
Uwe Steinmann
d5f79f5f7c various small improvements back ported from 6.0.x 2017-09-27 18:36:59 +02:00
Uwe Steinmann
cb17de44fc getNotifyList() returns only users which are not disabled 2017-07-28 10:28:57 +02:00
Uwe Steinmann
93380ab261 add hook on(Pre|Post)RemoveContent 2017-06-24 07:15:37 +02:00
Uwe Steinmann
3c9c0b7e3a check if onPreRemove[Document|Folder] returns bool or null 2017-05-12 08:16:05 +02:00
Uwe Steinmann
2fca40953d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-09 11:09:34 +01:00
Uwe Steinmann
233111e818 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-09 11:09:23 +01:00
Uwe Steinmann
2e99b1ba38 rewrite...Log() can handle entries with none exiting users 2017-03-09 11:07:40 +01:00
Uwe Steinmann
52deebbf6e Merge branch 'seeddms-5.0.x-attachment' into seeddms-5.1.x 2017-02-20 15:37:44 +01:00
Uwe Steinmann
19f77a37c8 add missing changes which got lost during last rebase 2017-02-20 15:33:15 +01:00
Uwe Steinmann
606effb759 fix sql to retrieve attachments 2017-02-20 15:24:06 +01:00
Uwe Steinmann
0053213856 pass $dms to getSearchFields() and cast id to text 2017-02-16 15:27:01 +01:00
Uwe Steinmann
307abdf493 pass tablename to getInsertID(), add pgsql as new db driver 2017-02-16 15:27:01 +01:00
Uwe Steinmann
568e8a19e4 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-15 08:24:08 +01:00
Uwe Steinmann
a16b58a9fa set workflow in addContent() after initial status has been set 2017-02-15 08:23:34 +01:00
Uwe Steinmann
f251e30f5a fix sql error 2017-02-14 08:38:57 +01:00
Uwe Steinmann
9c7605d40a add method getSearchFields() ind ClassDocument and use in search() 2017-02-14 08:29:03 +01:00
Uwe Steinmann
d9aaad16d3 add missing backticks around identifier in sql statement 2017-02-14 06:29:23 +01:00
Uwe Steinmann
0a6034a92e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-14 06:23:49 +01:00
Uwe Steinmann
0fbc5cc289 do not use x,y syntax in limit clause 2017-02-14 06:22:36 +01:00
Uwe Steinmann
a4eac8affc remove double backticks in sql statement 2017-02-13 18:20:21 +01:00
Uwe Steinmann
572fabfd1a add missing backticks around identifier 2017-02-13 18:16:24 +01:00
Uwe Steinmann
38ea469b12 add missing backticks 2017-02-13 12:48:54 +01:00
Uwe Steinmann
a65f4d56b5 add missing backticks around identifiers in sql statements 2017-02-13 12:47:15 +01:00
Uwe Steinmann
6e41c58beb add backticks around identifier in sql statements 2017-02-10 08:04:19 +01:00