Commit Graph

855 Commits

Author SHA1 Message Date
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
0199019ee6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-12 15:57:21 +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
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
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
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
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
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
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
Uwe Steinmann
2b5f9ab3b3 add callback to SeedDMS_Core_Document::getAccessMode() 2018-01-16 18:06:19 +01:00
Uwe Steinmann
903a491016 getDocumentList() returns list of documents without a receiver 2018-01-16 18:04:53 +01:00
Uwe Steinmann
544e151135 getStatistics() returns propper values for each single value in a valueset 2018-01-16 18:03:05 +01:00
Uwe Steinmann
62f5dd1a9f pass 0 as default to getObjects() 2018-01-09 15:29:31 +01:00
Uwe Steinmann
3244f20dcc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-03 09:41:03 +01:00
Uwe Steinmann
5ee7110597 started new version 5.1.6 2018-01-03 09:29:34 +01:00
Uwe Steinmann
3c4be73678 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-01 09:17:24 +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
Uwe Steinmann
3cd766468d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-21 15:27:33 +01:00
Sebastian Bartus-Kunz
f3daa6d0e2 Fixed wrong return object in getDocumentLink() 2017-12-20 16:12:32 +01:00
Uwe Steinmann
70ea4c2314 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-19 11:33:00 +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
228bfffba1 set allday flag for scheduled revision 2017-12-19 08:26:46 +01:00
Uwe Steinmann
3b3b5efafe getTimeline() returns documents with a scheduled revision 2017-12-19 08:19:48 +01:00
Uwe Steinmann
7129b9737c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-19 07:10:07 +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
1048e3d181 add new method countTasks() 2017-12-18 08:45:31 +01:00
Uwe Steinmann
6b7eb1cf3e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-12 22:12:17 +01:00
Uwe Steinmann
da972bbc2b fix SeedDMS_Core_DocumentFile::setDate() 2017-12-12 09:48:05 +01:00
Uwe Steinmann
b63ffa490b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-12 09:35:00 +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
6d8652f393 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-09 07:28:18 +01:00
Uwe Steinmann
f4c25576bc addRevisor() puts recheck into waiting if recheck has already begun
previously it was put into sleeping, which didn't the user/group
to do the recheck.
2017-12-08 10:52:23 +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
822e6c13f2 add optional parameters to getDocumentsByCategory, new method countDocumentsByCategory 2017-12-04 15:22:48 +01:00
Uwe Steinmann
78f4d62e36 optimized code to get various document lists 2017-11-21 11:51:12 +01:00
Uwe Steinmann
8af798fe86 views instead of temp. tables can be used 2017-11-21 11:28:49 +01:00
Uwe Steinmann
b29f7b1e9c add method getParent() 2017-11-21 11:28:18 +01:00
Uwe Steinmann
b6ce91c8ee fix validation return value 2017-11-21 11:27:17 +01:00
Jörg Neugebauer
fd5f341cb9 SeedDMS_Core 2017-11-08 13:54:49 +01:00
Uwe Steinmann
4410868874 started new version 5.1.5 2017-11-07 06:43:25 +01:00
Jörg Neugebauer
3f2e24f80d inc.ClassFolder.php 2017-10-28 14:28:12 +02:00
Uwe Steinmann
3d6dcbd181 take out duplicate getLatestContent() 2017-10-27 16:47:50 +02:00
Uwe Steinmann
68ccb13a72 add 'ExpiredOwner' to getDocumentList() 2017-10-27 16:47:09 +02:00
Uwe Steinmann
5149511aaa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-10-27 15:01:18 +02:00
Jörg Neugebauer
ab73fe5298 inc.ClassDMS.php 2017-10-24 14:00:56 +02:00
Jörg Neugebauer
e1fc45b69a inc.ClassDMS.php 2017-10-24 13:36:07 +02:00
Jörg Neugebauer
61382afc7b inc.ClassAttribute.php 2017-10-24 12:44:22 +02:00
Jörg Neugebauer
2ab5db0c6d inc.ClassObject.php 2017-10-24 12:12:38 +02:00
Jörg Neugebauer
b34b936b24 Einfügen DocBlock 2017-10-24 11:53:31 +02:00
Jörg Neugebauer
db678e08da Einfügen DocBlock 2017-10-24 11:10:41 +02:00
Uwe Steinmann
f3ee2d495c Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-10-06 18:08:35 +02:00
Uwe Steinmann
5bf132b170 add virtual access mode for links and attachments 2017-10-06 17:58:46 +02:00
Uwe Steinmann
89eeb98d82 add new method getDocumentsExpired() 2017-10-06 17:58:13 +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
f3d4b86bae remove unused revisionDate in SeedDMS_Core_DocumentFile 2017-09-28 07:27:43 +02:00
Uwe Steinmann
22dce2fdf1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-09-28 07:26:49 +02:00
Uwe Steinmann
f1f439af8c add support for access restrictions on document content 2017-09-28 07:23:15 +02:00
Uwe Steinmann
031887de0a add var noReadForStatus and method getLoggedInUser() 2017-09-28 07:21:08 +02:00
Uwe Steinmann
d5f79f5f7c various small improvements back ported from 6.0.x 2017-09-27 18:36:59 +02:00
Uwe Steinmann
2c1374bea5 take out echo 2017-09-27 06:20:48 +02:00
Uwe Steinmann
4c5dc52fa0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-09-05 09:35:23 +02:00
Uwe Steinmann
4ba5db88e9 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-09-05 09:32:03 +02:00
Uwe Steinmann
45d0c2618f start new version 4.3.37 2017-09-05 09:27:55 +02:00
Uwe Steinmann
f1b502b2f2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-29 06:21:53 +02:00
Uwe Steinmann
14a10eaf22 add method getDocumentByOriginalFilename() 2017-08-28 13:44:42 +02:00
Uwe Steinmann
81b153ccd5 add removal of receipts and revisions for users/group no longer available 2017-08-22 18:00:06 +02:00
Uwe Steinmann
01fb6feeca Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-22 06:24:59 +02:00
Uwe Steinmann
2e26504ae7 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-22 06:22:28 +02:00
Uwe Steinmann
c68c8b5e52 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-22 06:22:16 +02:00
Uwe Steinmann
e53beb45f4 add comment in removeProcessWithoutUserGroup() 2017-08-03 21:48:55 +02:00
Uwe Steinmann
c5a67c2aeb initial version of removeProcessWithoutUserGroup() 2017-08-03 21:41:03 +02:00
Uwe Steinmann
f181ca044d ReceiveOwner list does not contain old versions anymore 2017-08-03 12:42:56 +02:00
Uwe Steinmann
d82f8c44d1 add receipts and revisions in getProcessWithoutUserGroup() 2017-08-03 07:11:25 +02:00
Uwe Steinmann
e878f438fd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-02 18:03:44 +02:00
Uwe Steinmann
50e969452c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-02 17:41:04 +02:00
Uwe Steinmann
141895b80d quote names in sql statements of getProcessesWithoutUserGroup() 2017-08-02 17:40:27 +02:00
Uwe Steinmann
d0b9084ad6 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-02 17:32:12 +02:00
Uwe Steinmann
098f15202c add method getProcessWithoutUserGroup()
checks for reviews/approvals which have lost its user or group
2017-08-02 17:30:54 +02:00
Uwe Steinmann
5396829d7f take out echos 2017-07-31 14:23:16 +02:00
Uwe Steinmann
7b5412ff36 remove from process only if status[receipt], status[revision] is not set 2017-07-31 14:21:24 +02:00
Uwe Steinmann
596cb2afd6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 14:18:18 +02:00
Uwe Steinmann
2a4b8ffcfc remove from process only if status[review], status[approval] is not set 2017-07-31 14:17:41 +02:00
Uwe Steinmann
07d760d7d8 fix remove from process for receipts and revisions 2017-07-31 14:13:02 +02:00
Uwe Steinmann
014b7ac201 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 13:22:28 +02:00
Uwe Steinmann
c32bff5074 separate removal of reviews and approval 2017-07-31 13:21:01 +02:00
Uwe Steinmann
114a8a3ac1 move code in remove() into __removeFromProcesses() 2017-07-31 11:54:24 +02:00
Uwe Steinmann
afefe1d66c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 11:49:43 +02:00
Uwe Steinmann
58ddbca857 add new methods transferDocumentsFolders() transferEvents() 2017-07-31 11:25:33 +02:00
Uwe Steinmann
a2802f124d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 18:25:49 +02:00
Uwe Steinmann
a0600573dc add methods isMandatoryReviewerOf() and isMandatoryApproverOf() 2017-07-28 18:22:53 +02:00
Uwe Steinmann
e953d9dcbb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 15:12:00 +02:00
Uwe Steinmann
d0ab0d0f9f add option parameter $states to __removeFromProcesses()
restricts removal to certain approval/review states
2017-07-28 14:56:18 +02:00
Uwe Steinmann
cb17de44fc getNotifyList() returns only users which are not disabled 2017-07-28 10:28:57 +02:00
Uwe Steinmann
378e071232 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 10:25:54 +02:00
Uwe Steinmann
d55d266731 add new methods to SeedDMS_Core_User
removeFromProcesses(), getWorkflowsInvolved(), getKeywordCategories()
2017-07-28 09:35:12 +02:00
Uwe Steinmann
29bc0c1fda getNotifyList() returns only users which are not disabled 2017-07-27 22:10:44 +02:00
Uwe Steinmann
268d844b43 fix some comments 2017-07-27 21:17:58 +02:00
Uwe Steinmann
c953d02604 views instead of temp. tables can be used
This speeds up many sql statements for mysql and pgsql
2017-07-27 12:34:46 +02:00
Uwe Steinmann
f5333e7c8d fix field name in getDocumentList(), 'maxLogId' must be 'maxLogID'
otherwise the statement fails for pgsql
2017-07-27 12:32:27 +02:00
Uwe Steinmann
752f4e8760 take out order by in temp. tables 2017-07-26 12:14:56 +02:00
Uwe Steinmann
d954b4df1d getReverseSubstitutes() works with roles 2017-07-21 14:41:39 +02:00
Uwe Steinmann
37e03e2e9e SeedDMS_Core_Document::checkForDueRevisionWorkflow() also checks if there are any waiting or pending revisions at all 2017-07-21 11:48:01 +02:00