Commit Graph

2856 Commits

Author SHA1 Message Date
Uwe Steinmann
80a49262f4 propperly check for sufficient access rights 2015-06-15 14:14:31 +02:00
Uwe Steinmann
d12f9993dd add mayReceipt() 2015-06-15 14:13:38 +02:00
Uwe Steinmann
d8df113676 add class 'help' 2015-06-15 09:24:56 +02:00
Uwe Steinmann
e7ed3f7789 add optional parameter class to contentContainerStart() 2015-06-15 09:21:20 +02:00
Uwe Steinmann
67d10d10ae use access operation to check if document may be reviewed 2015-06-15 09:05:20 +02:00
Uwe Steinmann
03d8d6c247 mayApprove() checks if document is in review 2015-06-15 09:03:22 +02:00
Uwe Steinmann
15a708fbf2 use access operation to check if approval is allowed
Conflicts:
	op/op.ApproveDocument.php

Conflicts:
	op/op.ApproveDocument.php
2015-06-15 09:02:45 +02:00
Uwe Steinmann
ecafa39d1e mayApprove() checks if document is in review 2015-06-15 09:01:16 +02:00
Uwe Steinmann
da7c04d250 actually use uploaded file 2015-06-12 12:56:17 +02:00
Uwe Steinmann
34a7df9180 rename approveLogId to approveLogID
Conflicts:
	views/bootstrap/class.ViewDocument.php
2015-06-12 12:46:03 +02:00
Uwe Steinmann
42d822a48d output link to approval/review file 2015-06-12 11:23:44 +02:00
Uwe Steinmann
77794294b1 download review/approval files 2015-06-12 09:01:57 +02:00
Uwe Steinmann
b3c9cb2728 add function get_extension()
returns file extension by mimetype

Conflicts:
	inc/inc.Utils.php
2015-06-12 09:01:41 +02:00
Uwe Steinmann
fcddfb0162 allow to upload a file with each review/approval
Conflicts:
	op/op.ApproveDocument.php
	op/op.ReviewDocument.php
2015-06-11 21:37:41 +02:00
Uwe Steinmann
5bac2e9a4e manage file uploaded with review or approval 2015-06-11 21:32:45 +02:00
Uwe Steinmann
01ce03ca5c redirect relative to http_root 2015-06-11 14:10:12 +02:00
Uwe Steinmann
2fceade3a2 show docs in root folder of document chooser 2015-06-11 11:27:14 +02:00
Uwe Steinmann
5bc915f487 add directory for help files 2015-06-11 06:55:28 +02:00
Uwe Steinmann
0e8a385b6d allow context sensitive help files 2015-06-11 06:42:33 +02:00
Uwe Steinmann
2cd37d90b1 send end date to end of day 2015-06-10 19:14:28 +02:00
Uwe Steinmann
f2a7811f0c use SeedDMS_Core_DMS::getClassname() to check for propper class 2015-06-09 21:51:09 +02:00
Uwe Steinmann
4cc1704915 add table tblCachedAccess (not used) 2015-06-09 21:36:06 +02:00
Uwe Steinmann
6809645256 take out download of version info, take out next revision unless
document is released
2015-06-09 21:35:10 +02:00
Uwe Steinmann
0c053d410c put creation of excel file into its own method 2015-06-09 21:34:07 +02:00
Uwe Steinmann
6a7b9c8a65 mayRecipients() and mayRevision() return only true if document ist
released
2015-06-09 21:33:08 +02:00
Uwe Steinmann
394a23fa57 add download of documents 2015-06-09 21:31:13 +02:00
Uwe Steinmann
a178ab9bc0 add missing translations 2015-06-09 13:53:16 +02:00
Uwe Steinmann
d7f7a40f06 add phrases for initial document status and new document status 2015-06-09 13:50:00 +02:00
Uwe Steinmann
7791ae1b0d open the right tab when jumping to ViewDocument 2015-06-09 11:19:16 +02:00
Uwe Steinmann
82190c7d0e check for current tab 2015-06-09 09:00:22 +02:00
Uwe Steinmann
380ac2f1bd add currenttab to link when redirecting to out/out.ViewDocument.php 2015-06-09 08:59:25 +02:00
Uwe Steinmann
bd85c0c25a set missing parameter [url] in email notification 2015-06-09 07:16:34 +02:00
Uwe Steinmann
15bb6177d8 pass version to url checking for new versions 2015-06-09 07:03:03 +02:00
Uwe Steinmann
fb2e7dfe12 utf8_decode file name in zip file 2015-06-08 22:03:08 +02:00
Uwe Steinmann
20f28bb7df use /tmp for tempnam() 2015-06-08 22:00:27 +02:00
Uwe Steinmann
46dc4ea6e3 add code for downloading file into contoller 2015-06-08 21:59:56 +02:00
Uwe Steinmann
da0b3e71b3 approval can be added again 2015-06-08 21:58:17 +02:00
Uwe Steinmann
c2e2b1e9be take resultmode from view parameters 2015-06-08 09:10:34 +02:00
Uwe Steinmann
4b23765042 show button to approve document if status is null
was only shown if the status of the document was S_APP_DRAFT
2015-06-08 09:09:03 +02:00
Uwe Steinmann
f7c8d39b5d pass resultmode to view 2015-06-08 09:08:32 +02:00
Uwe Steinmann
94744862a5 create excel file with meta data for for files in zip archive 2015-06-08 09:06:59 +02:00
Uwe Steinmann
13a977f84f add export button if search returned documents 2015-06-02 17:29:33 +02:00
Uwe Steinmann
11bac92d2f if $_GE['export'] is set the search result will be downloaded as a
zipfile
2015-06-02 17:28:09 +02:00
Uwe Steinmann
a6085279c9 add class for downloading a bunch of document versions 2015-06-02 17:27:35 +02:00
Uwe Steinmann
dea874de02 set $_initialDocumentStatus to 2 instead of S_RELEASED
the constant S_RELEASED isn't know at that time
2015-06-02 17:26:41 +02:00
Uwe Steinmann
ec78639d94 do not hide review if workflow mode is traditional_only_approve
otherwise old documents which are still in review can't be reviewed
anymore
2015-06-02 10:18:37 +02:00
Uwe Steinmann
1123611371 rename mayOverwriteStatus() to mayOverrideStatus() 2015-06-02 10:04:35 +02:00
Uwe Steinmann
1bc5e6116c document status S_DRAFT can be set 2015-06-02 10:04:01 +02:00
Uwe Steinmann
5a29cde314 set initial document status 2015-06-02 10:03:34 +02:00
Uwe Steinmann
944b059abe set initial document status 2015-06-02 10:03:09 +02:00