Commit Graph

483 Commits

Author SHA1 Message Date
Uwe Steinmann
9f491dce6d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-28 12:34:26 +02:00
Uwe Steinmann
d7fe2087d1 move code into getAttributeValue() 2020-08-28 11:53:34 +02:00
Uwe Steinmann
aa3384f28b update icons from font-awesome 3.2.x to 4.7.x 2020-08-27 08:48:43 +02:00
Uwe Steinmann
600d14ed88 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-27 08:27:19 +02:00
Uwe Steinmann
d4db6a2ba0 new version of font-awesome (4.7.1) 2020-08-27 07:52:52 +02:00
Uwe Steinmann
db6456d698 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-12 07:27:01 +02:00
Uwe Steinmann
a17a190da1 add hooks showDocumentKeywords and showDocumentCategory 2020-08-12 07:26:28 +02:00
Uwe Steinmann
9f49460ee9 show container around add attachment button only if button is visible 2020-07-21 16:07:51 +02:00
Uwe Steinmann
f4a9182ead fix getting document id for image preview 2020-05-27 16:35:11 +02:00
Uwe Steinmann
4f014a51e4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-27 16:34:07 +02:00
Uwe Steinmann
bff27eb42c use $latestContent->getDocument() to get document 2020-05-27 16:33:41 +02:00
Uwe Steinmann
fd668ce709 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-20 06:26:07 +02:00
Uwe Steinmann
aea42b9bf5 show access rights of folder/document if user has write access 2020-05-19 17:57:34 +02:00
Uwe Steinmann
8884b1b54d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-13 13:53:37 +02:00
Uwe Steinmann
60bcd68fb5 add js translations, use documentListRow(Start|End) 2020-05-13 09:28:39 +02:00
Uwe Steinmann
8ae40fbc9e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-08 07:44:49 +02:00
Uwe Steinmann
fad5c31cf2 run workflow action name through htmlspecialchars() 2020-05-08 07:42:38 +02:00
Uwe Steinmann
48353cfa81 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-05 16:36:55 +02:00
Uwe Steinmann
2ca619045d place comment of version below version data (remove extra column) 2020-04-21 11:56:20 +02:00
Uwe Steinmann
00cd7fc700 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-04-16 17:21:10 +02:00
Uwe Steinmann
440f327bad minor layout improvements 2020-04-14 20:00:53 +02:00
Uwe Steinmann
16613a1e27 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-04-14 17:44:27 +02:00
Uwe Steinmann
24925bf2de get document from latestversion where ever the version is concerned
latestVersion could be changed by a hook, which also changes the
related document
2020-04-10 07:50:22 +02:00
Uwe Steinmann
297bdcb3a0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-26 08:04:33 +01:00
Uwe Steinmann
1220de90bd run workflow action name through htmlspecialchars() 2020-03-26 08:03:58 +01:00
Uwe Steinmann
bf9a409a71 add new method printVersionAttributes() 2020-03-19 10:13:12 +01:00
Uwe Steinmann
9c3b34b41e move printAttribute() into parent class 2020-03-19 09:47:35 +01:00
Uwe Steinmann
111d433c8a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-28 18:21:33 +01:00
Uwe Steinmann
0e4a819e2b run various outputs through htmlspecialchars() 2020-02-28 18:20:44 +01:00
Uwe Steinmann
c8df1533e6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-28 11:18:09 +01:00
Uwe Steinmann
13b7de9c60 support one page mode on search page 2020-02-28 09:48:43 +01:00
Uwe Steinmann
a424268514 click on related documents works in onepage mode 2020-02-28 08:28:58 +01:00
Uwe Steinmann
9672f19bc4 call new hook checkOutInfo 2020-02-06 17:01:26 +01:00
Uwe Steinmann
6fc73a9a77 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-12-31 15:51:33 +01:00
Uwe Steinmann
1f8c5fe7c3 workflows can be turned off completely 2019-12-19 16:08:10 +01:00
Uwe Steinmann
7b1835774d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-12-15 08:03:36 +01:00
Uwe Steinmann
658d00fe42 allow preview of video/x-matroska videos 2019-12-10 06:20:31 +01:00
Uwe Steinmann
0d4c970029 replace check for guest by generic acl check 2019-11-25 09:35:59 +01:00
Uwe Steinmann
55727bd1a2 do not use $this->check_access() anymore 2019-11-20 13:47:57 +01:00
Uwe Steinmann
6f06faabc0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-19 07:28:13 +01:00
Uwe Steinmann
4f28cd19d1 show preview for all images supported by browser 2019-11-11 15:39:47 +01:00
Uwe Steinmann
511152be68 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-10-28 08:15:20 +01:00
Uwe Steinmann
8c73f36151 show[Document|Folder]Attribute may return a string 2019-10-19 09:17:49 +02:00
Uwe Steinmann
937f8a5678 add hooks preContent, postContent 2019-10-18 11:06:42 +02:00
Uwe Steinmann
a870602324 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-10-17 07:22:16 +02:00
Uwe Steinmann
e24e031b17 do not output header of section for reviewers if there is no reviewer 2019-09-10 17:42:58 +02:00
Uwe Steinmann
fa64bb3200 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-07-01 21:34:08 +02:00
Uwe Steinmann
6f2fb3e646 fix possible xss 2019-06-28 11:02:10 +02:00
Uwe Steinmann
7ceb0e9718 may not edit reception if rejecting a reception is turned off 2019-04-12 08:54:25 +02:00
Uwe Steinmann
e2c3cbe3cf do not show update user for revisions in status 0 2019-04-05 13:23:38 +02:00
Uwe Steinmann
a2fbb7cca0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-03-14 09:08:07 +01:00
Uwe Steinmann
4b9a4ac010 add hook preViewDocument 2019-03-14 07:48:20 +01:00
Uwe Steinmann
b27895e4ea Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-07 15:03:43 +01:00
Uwe Steinmann
2b2fcdad37 call hooks to get document content 2019-02-06 13:22:52 +01:00
Uwe Steinmann
4b76b5e6ae Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-01 09:30:32 +01:00
Uwe Steinmann
dcb0a746a0 new parameter xsendfile 2019-01-18 13:07:39 +01:00
Uwe Steinmann
770d9223af fix syntax error after merge 2019-01-15 11:54:06 +01:00
Uwe Steinmann
48cf4b2ff3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-01-15 09:13:23 +01:00
Uwe Steinmann
b70fd9c81a viewonlinefiletype may also contain mimetypes 2019-01-08 13:13:38 +01:00
Uwe Steinmann
e252af2df4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-12-18 06:19:18 +01:00
Uwe Steinmann
df40691533 add hook startLeftColumn 2018-12-13 15:46:25 +01:00
Uwe Steinmann
d66a702295 fix various javascript errors 2018-11-16 20:29:31 +01:00
Uwe Steinmann
046d07bbf1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-11-16 19:17:19 +01:00
Uwe Steinmann
699a4f4bc4 use get instead of post when calling out/out.TriggerWorkflow.php 2018-11-16 11:41:43 +01:00
Uwe Steinmann
93b8ee1750 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-08-08 07:28:22 +02:00
Uwe Steinmann
cce2406f82 pass additional parameter to hook documentListItem
This is the 3rd parameter and $context moves to the 4th position
2018-08-08 06:55:56 +02:00
Uwe Steinmann
6553f7a379 call hook showVersionComment() for previous versions, check if comment is set at all 2018-07-13 12:27:30 +02:00
Uwe Steinmann
ec80f5aa0e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-07-03 10:54:26 +02:00
Uwe Steinmann
0926009d3f remove width of columns in approvers/reviewers table 2018-06-27 22:14:34 +02:00
Uwe Steinmann
92c0c4c611 place reviewers and approvers side by side
this is much better serialized on small displays
2018-06-27 18:55:14 +02:00
Uwe Steinmann
1fa1644fce use formField() instead of plain html 2018-06-21 11:56:05 +02:00
Uwe Steinmann
0398229bca Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-13 19:15:20 +02:00
Uwe Steinmann
23d2f53480 call new hook extraTabs 2018-04-13 14:53:06 +02:00
Uwe Steinmann
5882fc10a9 major change of workflow/document management 2018-04-05 12:04:37 +02:00
Uwe Steinmann
86e7b0a13f add hook showVersionComment 2018-04-04 21:47:40 +02:00
Uwe Steinmann
fd5920fc8d take enable[Revision|Receipt]Workflow into account 2018-04-03 09:32:36 +02:00
Uwe Steinmann
05626a4759 use GET instead of POST 2018-03-29 15:39:39 +02:00
Uwe Steinmann
26d3c7a504 do not set status for scheduled_revision in timeline data 2018-03-20 11:06:38 +01:00
Uwe Steinmann
ce2a4596b4 hook extraVersionActions may return an array 2018-03-15 16:22:33 +01:00
Uwe Steinmann
1ea5575fa8 fix output of extra actions for previous versions 2018-02-27 18:12:59 +01:00
Uwe Steinmann
414532db25 hook extraVersionItem() may return an array or a string 2018-02-20 17:30:29 +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
e52b8f4b72 add avi and msvideo to preview 2018-02-08 08:37:32 +01:00
Uwe Steinmann
233cf9b1f1 fix error in listing approvers 2018-02-05 14:10:18 +01:00
Uwe Steinmann
7eb76b4c99 fix syntax error introduced by merging 2018-01-30 08:08:21 +01:00
Uwe Steinmann
89ad08a537 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-30 08:05:00 +01:00
Uwe Steinmann
07dc8b0118 list linked documents in the same way as in regular document list 2018-01-26 18:51:59 +01:00
Uwe Steinmann
6dc4611f04 add x-msvideo as previewable video 2018-01-24 16:26:28 +01:00
Uwe Steinmann
3502ce5de7 show scheduled revisions in timeline 2018-01-18 17:29:10 +01:00
Uwe Steinmann
c3e413c476 move many access checks from view into controller
issue message on receive tab if document isn't released yet, but there
are already receivers
2018-01-16 18:13:41 +01:00
Uwe Steinmann
b51b3bb9f3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-09 15:37:40 +01:00
Uwe Steinmann
a20c2167c9 add video/webm to list of mimetypes which are previewed 2018-01-08 10:54:02 +01:00
Uwe Steinmann
a42c42f335 do not show users removed from process unless admin 2017-12-18 13:20:33 +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
87308a3c21 fix icon for revision by group 2017-12-06 13:01:35 +01:00
Uwe Steinmann
67949fd1cc add link for editing data of attachments 2017-12-05 08:28:03 +01:00
Uwe Steinmann
c657dabcda Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-11-24 09:30:22 +01:00
Uwe Steinmann
6cf40f8312 add preview for videos 2017-11-22 15:28:09 +01:00
Uwe Steinmann
313054e1cb set pdf converters 2017-11-22 13:53:30 +01:00
Uwe Steinmann
5149511aaa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-10-27 15:01:18 +02:00
Uwe Steinmann
72b5fc7e8d pass context 'viewitem' to hook documentListItem 2017-10-26 07:57:19 +02:00
Uwe Steinmann
cd075c720f fix params for hook documentListItem 2017-10-26 07:54:16 +02:00
Uwe Steinmann
4889a8a6f2 minor change in comment 2017-10-16 09:07:04 +02:00
Uwe Steinmann
547eb06725 show logs to owner of document 2017-07-31 15:37:05 +02:00
Uwe Steinmann
b0dfeca98b show progress of receptions also to owner of document, show numbers 2017-07-31 15:12:12 +02:00
Uwe Steinmann
bec7fc2735 check access of reviewer, approver on document 2017-07-21 16:06:03 +02:00
Uwe Steinmann
6847e1b6db check if user has access and is not disabled іf reviewer, approver, etc.
also check if group has members if set as reviewer, approver, etc.
2017-07-21 13:52:57 +02:00
Uwe Steinmann
cfc73b1183 check if user is disabled in list of receiver, revisors 2017-07-20 17:02:09 +02:00
Uwe Steinmann
bb4c6fe83b show if user has no access on document he/she has to receipt 2017-07-05 10:49:39 +02:00
Uwe Steinmann
919f4cb39c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-06-26 10:20:48 +02:00
Uwe Steinmann
23c53d112d use ViewOnline instead of Download for preview 2017-06-20 09:14:45 +02:00
Uwe Steinmann
510067a714 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-04-11 06:42:27 +02:00
Uwe Steinmann
ebc4a29505 show origfilename of attachments only if not equal to name of attachment 2017-04-04 18:28:37 +02:00
Uwe Steinmann
df27dcf878 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-20 11:54:55 +01:00
Uwe Steinmann
ef2043b9bb skip container in documentListItem 2017-03-15 21:54:42 +01:00
Uwe Steinmann
ca82a0df7b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-15 18:09:40 +01:00
Uwe Steinmann
fa3d540d2a add hook extraVersionActions for older versions 2017-03-15 18:09:11 +01:00
Uwe Steinmann
815cafb2b5 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-15 18:02:42 +01:00
Uwe Steinmann
c708a038cf add hook extraVersionActions 2017-03-15 18:02:25 +01:00
Uwe Steinmann
8afaf3c748 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-15 16:46:04 +01:00
Uwe Steinmann
c823981bd9 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-15 16:45:02 +01:00
Uwe Steinmann
82d0bfde44 set preview with for document icons 2017-03-15 16:41:32 +01:00
Uwe Steinmann
ae33edbcdc put documentListItem from Bootstrap base class in ViewDocument 2017-03-10 20:08:01 +01:00
Uwe Steinmann
132f146a9f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-06 10:52:36 +01:00
Uwe Steinmann
4d2aec52fe Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-06 10:51:36 +01:00
Uwe Steinmann
cabe4371e7 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-06 10:51:24 +01:00
Uwe Steinmann
d392ca727e show also number of reverse links in tab header 2017-03-06 08:53:36 +01:00
Uwe Steinmann
390a653b94 do not show 'AddFile' link if access is not allowed 2017-03-03 14:10:03 +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
19f77a37c8 add missing changes which got lost during last rebase 2017-02-20 15:33:15 +01:00
Uwe Steinmann
9346fa6072 use new function filterDocumentFiles() 2017-02-20 15:21:06 +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
d5dc6b125d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-08 15:52:00 +01:00
Uwe Steinmann
341aa12a05 call new hook 'documentPreview' 2017-02-07 11:52:38 +01:00
Uwe Steinmann
ea85b65818 do not output anything if attachment file is missing
previously outputs an icon which didn't make sense at all
2017-01-31 17:25:22 +01:00
Uwe Steinmann
eb82f8cc19 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-26 14:44:47 +01:00
Uwe Steinmann
7a674b9162 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-26 14:44:33 +01:00
Uwe Steinmann
1314f27660 list access rights in popup box if more than 3 2017-01-26 14:44:07 +01:00
Uwe Steinmann
56e7f567c7 enable turn off of updating document reception 2017-01-17 14:20:33 +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
20e57e8e76 check if enableUpdateRevApp is set 2017-01-16 13:02:15 +01:00
Uwe Steinmann
d31951748c pass 'target' or 'source' to filterDocumentLinks()
will check if access rights on linked documents are sufficient
2017-01-16 13:01:09 +01:00
Uwe Steinmann
b5f8e9efcc readd [post|pre]PreviewDocument hooks 2017-01-04 17:23:59 +01:00
Uwe Steinmann
8b1b9fdb2a set $dms in preview() 2017-01-04 17:14:45 +01:00
Uwe Steinmann
7d8f4f54c0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-04 17:11:39 +01:00
Uwe Steinmann
8d20d39a07 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-22 09:36:15 +01:00
Uwe Steinmann
3242714fda move document infos into own method 2016-12-22 09:31:46 +01:00
Uwe Steinmann
d47982a671 do not allow to edit content if file doesn't exist 2016-12-22 09:25:10 +01:00
Uwe Steinmann
db0021d65b pass content instead of document to preview hooks 2016-12-22 09:21:20 +01:00