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
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
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
c9d9bf6c7b
new function and controller for emptying a folder
2019-07-02 08:47:12 +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
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
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
7485dbba15
use only first char of $orderby
2019-06-24 11:46:25 +02:00
Uwe Steinmann
f8841e670e
start new version 5.1.11
2019-05-02 16:56:00 +02:00
Uwe Steinmann
9729d211eb
add missing `` in sql statement
2019-02-13 06:38: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
7060484594
check if next transitions exists
2018-11-23 21:00:01 +01:00
Uwe Steinmann
53a742b082
start new version 5.1.10
2018-11-16 08:16:45 +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
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
9d1a17fe87
start new version 5.1.9
2018-07-03 06:45:20 +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
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
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
c539693288
fix name for log files
2018-04-03 10:57:29 +02: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
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
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
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
433cfa4ac4
SeedDMS_Core_DMS::search() finds documents without status log
2018-02-14 09:07:03 +01:00
Uwe Steinmann
7c98ede3fd
fix indenting which broke in last merge
2018-02-08 14:30:33 +01:00
Uwe Steinmann
3e5d744d6d
Merge commit '10896ca183a4fa0b30c02fca8831d2f5497e6a76' into seeddms-5.1.x
2018-02-08 09:25:45 +01:00
Uwe Steinmann
e5b215936a
add new method SeedDMS_Core_Folder::getDocumentsMinMax()
2018-02-07 09:51:20 +01:00
Uwe Steinmann
5ee7110597
started new version 5.1.6
2018-01-03 09:29:34 +01:00
Uwe Steinmann
97946893ee
getInstance() returns null if object was not found in database
2017-12-22 13:02:14 +01:00
Uwe Steinmann
3330085f51
getInstance() returns null if folder was not found in db
2017-12-22 13:01:38 +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
abd8b77b2f
check if document exists before adding it to result array
2017-12-19 10:46:42 +01:00
Uwe Steinmann
b0747e74f0
add optional parameter $limit and $offset to SeedDMS_Core_Folder::getSubFolders
2017-12-19 07:05:08 +01:00
Uwe Steinmann
c8ce5e9ea9
add optional parameters $limit and $offset to SeedDMS_Core_Folder::getDocuments()
2017-12-19 06:34:26 +01:00
Uwe Steinmann
476e2d15d5
remove bogus methods from SeedDMS_Core_DocumentCategory
2017-12-19 06:23:44 +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