Commit Graph

752 Commits

Author SHA1 Message Date
Uwe Steinmann
c6567b2f90 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-24 13:49:37 +01:00
Uwe Steinmann
b9a7f622d1 remove backticks in sql statement
for some strange reason a select `document` ... UNION select `document`
will result in a php array where '`document`' and not 'document' is
the key. This makes getTimeline() fail.
2017-02-24 13:46:58 +01:00
Uwe Steinmann
8d7c8a0bdf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-22 13:22:51 +01:00
Uwe Steinmann
5b3ff3e4df Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-22 12:33:20 +01:00
Uwe Steinmann
2ef1a5896f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-22 11:40:20 +01:00
Uwe Steinmann
473118b7bb new version 4.3.33 2017-02-22 11:31:59 +01:00
Uwe Steinmann
b03fcc5b6a fix versions 2017-02-21 06:20:03 +01:00
Uwe Steinmann
7fc7ffd708 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-21 06:16:32 +01:00
Uwe Steinmann
71892eba6c new version 5.1.0 2017-02-20 20:10:05 +01:00
Uwe Steinmann
864c56b54a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-20 18:05:34 +01:00
Uwe Steinmann
09ef3a86ba new version 5.0.10 2017-02-20 17:43:51 +01:00
Uwe Steinmann
fa5721c2cb Merge branch 'seeddms-6.0.x-postgres' into seeddms-6.0.x 2017-02-20 17:38:35 +01:00
Uwe Steinmann
4c794381e6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-20 17:34:43 +01:00
Uwe Steinmann
283c51b193 print_r detailed error msg 2017-02-20 17:11:37 +01:00
Uwe Steinmann
a18b3c6879 add sql statement for pgsql in TableList() 2017-02-20 17:11:37 +01:00
Uwe Steinmann
bfbd845bab add sql code for creating temp tables ttreceiptid and ttrevisionid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
50919f40c1 add sql for creating temp tables ttreviewid and ttapproveid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
1a03adebbd add create of temp table ttstatid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
2c775b560f add creation of temp table ttcontentid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
7467df155d fix getInsertID() for identifier in upper/lower case 2017-02-20 17:11:37 +01:00
Uwe Steinmann
cafdd457c8 pass tablename to getInsertID() 2017-02-20 17:11:37 +01:00
Uwe Steinmann
0239edd4ee adjust date function to postgresql 2017-02-20 17:11:37 +01:00
Uwe Steinmann
c55b595ae9 pass tablename to getInsertID(), add pgsql as new db driver 2017-02-20 17:11:37 +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
32d484a924 remove mergeAccessList() 2017-02-20 15:21:06 +01:00
Uwe Steinmann
75f21ddf02 add filterDocumentFiles() 2017-02-20 15:21:06 +01:00
Uwe Steinmann
2b154cc468 set pwdExpiration to null 2017-02-20 15:01:58 +01:00
Uwe Steinmann
534e93d7d9 new version 5.1.0 2017-02-20 08:55:29 +01:00
Uwe Steinmann
5921b1e731 set default value for pwdExpiration when unsetting it 2017-02-18 07:38:26 +01:00
Uwe Steinmann
a5e984587d add getDriver() which returns the database driver 2017-02-18 07:37:45 +01:00
Uwe Steinmann
e320d4a376 add sql statement for pgsql in TableList() 2017-02-16 15:27:01 +01:00
Uwe Steinmann
ff486fdcd9 fix sql error 2017-02-16 15:27:01 +01:00
Uwe Steinmann
7c84cc1b52 set pwdexpiration to null if no date is set 2017-02-16 15:27:01 +01:00
Uwe Steinmann
90cca10460 set pwdExpiration to NULL instead of '0000-00-00 ...' 2017-02-16 15:27:01 +01:00
Uwe Steinmann
0cf35641d1 add sql for creating temp tables ttreviewid and ttapproveid 2017-02-16 15:27:01 +01:00
Uwe Steinmann
0053213856 pass $dms to getSearchFields() and cast id to text 2017-02-16 15:27:01 +01:00
Uwe Steinmann
3da6d66ee1 add method castToText()
it takes a fieldname and returns it with a cast to 'text'
2017-02-16 15:27:01 +01:00
Uwe Steinmann
e020ebaf39 add create of temp table ttstatid 2017-02-16 15:27:01 +01:00
Uwe Steinmann
20491cd8e3 add creation of temp table ttcontentid 2017-02-16 15:27:01 +01:00
Uwe Steinmann
7ebd92d53a add '"' arount sequence in getInsertID() 2017-02-16 15:27:01 +01:00
Uwe Steinmann
3bfeba738f adjust date function to postgresql 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
502b5c5414 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-16 15:26:46 +01:00
Uwe Steinmann
658d556c3d getTimeline() checks also for new attachments 2017-02-16 15:01:20 +01:00
Uwe Steinmann
be16e7edce Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-15 08:24:23 +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
4aaf7f78e8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 21:13:10 +01:00
Uwe Steinmann
0d99ffc04b add missing backticks 2017-02-14 21:12:50 +01:00
Uwe Steinmann
b310d3065d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 21:08:56 +01:00
Uwe Steinmann
6cb83bec25 add missing backticks 2017-02-14 21:08:43 +01:00
Uwe Steinmann
7dfbad5451 add missing backticks around identifier in sql statement 2017-02-14 16:59:52 +01:00
Uwe Steinmann
05cf0b83f4 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 14:58:41 +01:00
Uwe Steinmann
83c498418b add field to group by, because it will be selected 2017-02-14 12:24:55 +01:00
Uwe Steinmann
c34ea0ed02 add another field to group by, because it shall be selected 2017-02-14 12:21:58 +01:00
Uwe Steinmann
823e57c4c2 take out order field as it is not needed 2017-02-14 12:13:03 +01:00
Uwe Steinmann
0bba1445c9 fix case of identifiers in sql statement 2017-02-14 12:07:23 +01:00
Uwe Steinmann
90982d5774 add missing backticks in sql statement 2017-02-14 12:00:08 +01:00
Uwe Steinmann
7f1dc2dfe1 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 11:43:17 +01:00
Uwe Steinmann
e6e0611937 pwdexpiration can be 'never' or 'now' 2017-02-14 11:34:10 +01:00
Uwe Steinmann
586dffe403 setPwdExpiration() accepts keywords 'now' and 'never' 2017-02-14 11:24:11 +01:00
Uwe Steinmann
e58f0888b5 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 09:06:23 +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
f976bf0e83 check if temp table ttcontentid exists in sql statement 2017-02-14 07:15:14 +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
f0b710b266 change fullname to fullName 2017-02-13 20:21:22 +01:00
Uwe Steinmann
c785906ffb Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 18:23:46 +01:00
Uwe Steinmann
28af59db73 remove double backticks in sql statement 2017-02-13 18:23:24 +01:00
Uwe Steinmann
27a323a38f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 18:20:49 +01:00
Uwe Steinmann
a4eac8affc remove double backticks in sql statement 2017-02-13 18:20:21 +01:00
Uwe Steinmann
602903de46 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 18:16:50 +01:00
Uwe Steinmann
572fabfd1a add missing backticks around identifier 2017-02-13 18:16:24 +01:00
Uwe Steinmann
e74a9a4295 add missing backticks around identifier 2017-02-13 17:32:22 +01:00
Uwe Steinmann
38ea469b12 add missing backticks 2017-02-13 12:48:54 +01:00
Uwe Steinmann
42c050588b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 12:48:20 +01:00
Uwe Steinmann
a65f4d56b5 add missing backticks around identifiers in sql statements 2017-02-13 12:47:15 +01:00
Uwe Steinmann
f6aded2428 put backticks around identifiers in sql statements 2017-02-13 12:37:26 +01:00
Uwe Steinmann
7d82b73208 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 12:12:07 +01:00
Uwe Steinmann
eae27d0646 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-11 16:33:48 +01:00
Uwe Steinmann
290ab91fc7 use 'fullName' instead of 'fullname' 2017-02-11 16:32:09 +01:00
Uwe Steinmann
0229d329e3 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-10 08:07:17 +01:00
Uwe Steinmann
c74caf1d43 fix sql statement in setOwner() 2017-02-10 08:06:22 +01:00
Uwe Steinmann
6e41c58beb add backticks around identifier in sql statements 2017-02-10 08:04:19 +01:00
Uwe Steinmann
2f0cb09e31 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-09 17:49:21 +01:00
Uwe Steinmann
fd5b5034db add method rbt() 2017-02-09 16:45:58 +01:00
Uwe Steinmann
247f27fa54 add more notes to 5.1.2 2017-01-25 14:58:41 +01:00
Uwe Steinmann
0d5f7a607a finishRevision() puts document version in to 'waiting'
need to be able to start a new revision
2017-01-25 14:49:37 +01:00
Uwe Steinmann
c98ff36977 minor uncrucial corrections 2017-01-25 14:49:05 +01:00
Uwe Steinmann
b07cd2d442 fix getRevisionStatus()
it didn't always return the last entry of the revision log
2017-01-25 14:48:12 +01:00
Uwe Steinmann
cf3dba89e0 add note to 5.1.2 2017-01-25 11:55:33 +01:00
Uwe Steinmann
ec4712b5bf limit sql statement in getDuplicateDocumentContent() to 1000 hits 2017-01-25 11:54:36 +01:00
Uwe Steinmann
86530371f4 add changes to 5.1.2 2017-01-25 09:55:15 +01:00
Uwe Steinmann
761247fe0d add new methods getDocumentsInReception() and getDocumentsInRevision() 2017-01-25 09:52:48 +01:00
Uwe Steinmann
bbcff75b00 create temp table for document revisions 2017-01-25 09:52:16 +01:00
Uwe Steinmann
8c63cc607b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-24 14:23:48 +01:00
Uwe Steinmann
15d45dc493 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-24 14:23:36 +01:00
Uwe Steinmann
6a43c85eb9 getUnlinkedDocumentContent, getNoFileSizeDocumentContent, getNoChecksumDocumentContent return only false if db query fails 2017-01-24 14:21:55 +01:00
Uwe Steinmann
c1e38ec059 add note to 5.1.2 2017-01-20 14:30:26 +01:00
Uwe Steinmann
db22c3f348 getReviewersStatus() and getReceiptStatus() only return last version
the return lists will no longer include a revision, receipt for version
of a document not being the last version
2017-01-20 14:26:55 +01:00
Uwe Steinmann
c63f994a5f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-18 15:13:18 +01:00
Uwe Steinmann
47db85c175 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-18 15:11:45 +01:00
Uwe Steinmann
62c997db19 add note for 4.3.32 2017-01-18 14:46:24 +01:00
Uwe Steinmann
8959a9e167 add searching for document id 2017-01-18 14:45:40 +01:00
Uwe Steinmann
825c4378a0 add latest version 5.1.2 which somehow got lost 2017-01-18 11:08:17 +01:00
Uwe Steinmann
ba4a6558b4 add new document list ReceiveOwner, list docs with revision in AppRevOwner 2017-01-17 13:44:19 +01:00
Uwe Steinmann
f6d3e9785f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-16 15:52:19 +01:00
Uwe Steinmann
c37910e473 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-16 15:12:16 +01:00
Uwe Steinmann
57498f84a1 add optional parameter to filterDocumentLinks() 2017-01-16 12:59:02 +01:00
Uwe Steinmann
c09146796f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-12 21:06:54 +01:00
Uwe Steinmann
deceea4494 new version 5.0.9 2017-01-12 21:05:15 +01:00
Uwe Steinmann
b832ace635 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-12 18:22:21 +01:00
Uwe Steinmann
25f23544d2 fix order of releases 2017-01-12 18:19:45 +01:00
Uwe Steinmann
662d6149b7 remove wrong entry in notes 2017-01-12 18:18:37 +01:00
Uwe Steinmann
d0662a6132 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-12 18:08:24 +01:00
Uwe Steinmann
950449ac04 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-12 18:03:01 +01:00
Uwe Steinmann
7e34053ece new version 4.3.32 2017-01-12 17:45:36 +01:00
Uwe Steinmann
97fe1e5d38 new version 4.3.32 2017-01-12 17:44:29 +01:00
Uwe Steinmann
2d2ebdc887 add ordering to all list in getDocumentList() 2017-01-10 21:25:15 +01:00
Uwe Steinmann
229ae54234 order groups by name in getAccessList() 2017-01-10 17:53:52 +01:00
Uwe Steinmann
e80987de9a order groups by name getAccessList() 2017-01-10 17:51:46 +01:00
Uwe Steinmann
6cb5dec1a9 fix search for documents with reception acknowledgement 2016-11-22 17:58:28 +01:00
Uwe Steinmann
662d9d0d85 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-22 10:34:15 +01:00
Uwe Steinmann
a4bec45158 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-22 10:28:29 +01:00
Uwe Steinmann
f339a77227 add note on new method SeedDMS_Core_Workflow::checkForCycles() 2016-11-18 08:41:44 +01:00
Uwe Steinmann
b3657b039a rename check() to checkForCycles() 2016-11-18 08:40:49 +01:00
Uwe Steinmann
3459f18c72 add check for cycles in workflow 2016-11-18 08:38:46 +01:00
Uwe Steinmann
c5a67874cf Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-14 11:27:18 +01:00
Uwe Steinmann
046f33f2e1 validate() is less strict on multi value attributes
if the attribute has just one value the leading separator can be
omitted
2016-11-14 11:26:26 +01:00
Uwe Steinmann
a8f5892562 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-14 11:11:11 +01:00
Uwe Steinmann
7d7bff7b22 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-14 11:11:00 +01:00
Uwe Steinmann
38cdbe04d2 add notes 2016-11-14 11:07:03 +01:00
Uwe Steinmann
a1f6bd9a7d getAttributeValue() checks if value starts with seperator 2016-11-14 11:05:57 +01:00
Uwe Steinmann
530d75fdf0 getValueAsArray() checks if value starts with separator
new funtion parseValue()
2016-11-14 11:04:57 +01:00
Uwe Steinmann
106f849e82 minor documentation fix 2016-11-11 16:20:10 +01:00
Uwe Steinmann
ba338191cb new version 5.1.2 2016-11-08 14:06:37 +01:00
Uwe Steinmann
ca76b64ba8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-08 12:00:44 +01:00
Uwe Steinmann
2ed68b22d2 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-08 11:39:02 +01:00
Uwe Steinmann
b3571c360b new version 4.3.31 2016-11-08 11:27:28 +01:00
Uwe Steinmann
10a8b14eff take out search for reception 2016-11-04 20:28:22 +01:00
Uwe Steinmann
e5016cf4f1 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-03 19:46:07 +01:00
Uwe Steinmann
f1f970b0e0 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-02 18:13:18 +01:00
Uwe Steinmann
e92dc2498b start new version 4.3.31 2016-11-02 18:07:30 +01:00
Uwe Steinmann
6c3a9c6734 add method getTransitions() to class SeedDMS_Core_Workflow[Action|State] 2016-11-02 17:57:23 +01:00
Uwe Steinmann
758ce0a24d validate() returns early if error was found 2016-10-27 17:47:47 +02:00
Uwe Steinmann
cc387a1f52 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-27 09:39:08 +02:00