Commit Graph

287 Commits

Author SHA1 Message Date
Uwe Steinmann
b39f84e67c fix html tags for version actions 2020-09-17 10:52:27 +02:00
Uwe Steinmann
c6d0a1d345 allow inline editing on document details page 2020-09-07 16:20:37 +02:00
Uwe Steinmann
d7fe2087d1 move code into getAttributeValue() 2020-08-28 11:53:34 +02:00
Uwe Steinmann
d4db6a2ba0 new version of font-awesome (4.7.1) 2020-08-27 07:52:52 +02:00
Uwe Steinmann
a17a190da1 add hooks showDocumentKeywords and showDocumentCategory 2020-08-12 07:26:28 +02:00
Uwe Steinmann
bff27eb42c use $latestContent->getDocument() to get document 2020-05-27 16:33:41 +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
60bcd68fb5 add js translations, use documentListRow(Start|End) 2020-05-13 09:28:39 +02:00
Uwe Steinmann
fad5c31cf2 run workflow action name through htmlspecialchars() 2020-05-08 07:42:38 +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
440f327bad minor layout improvements 2020-04-14 20:00:53 +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
1220de90bd run workflow action name through htmlspecialchars() 2020-03-26 08:03:58 +01:00
Uwe Steinmann
0e4a819e2b run various outputs through htmlspecialchars() 2020-02-28 18:20:44 +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
1f8c5fe7c3 workflows can be turned off completely 2019-12-19 16:08:10 +01:00
Uwe Steinmann
658d00fe42 allow preview of video/x-matroska videos 2019-12-10 06:20:31 +01:00
Uwe Steinmann
4f28cd19d1 show preview for all images supported by browser 2019-11-11 15:39:47 +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
e24e031b17 do not output header of section for reviewers if there is no reviewer 2019-09-10 17:42:58 +02:00
Uwe Steinmann
6f2fb3e646 fix possible xss 2019-06-28 11:02:10 +02:00
Uwe Steinmann
4b9a4ac010 add hook preViewDocument 2019-03-14 07:48:20 +01:00
Uwe Steinmann
2b2fcdad37 call hooks to get document content 2019-02-06 13:22:52 +01:00
Uwe Steinmann
dcb0a746a0 new parameter xsendfile 2019-01-18 13:07:39 +01:00
Uwe Steinmann
b70fd9c81a viewonlinefiletype may also contain mimetypes 2019-01-08 13:13:38 +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
699a4f4bc4 use get instead of post when calling out/out.TriggerWorkflow.php 2018-11-16 11:41:43 +01: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
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
23d2f53480 call new hook extraTabs 2018-04-13 14:53:06 +02:00
Uwe Steinmann
ce2a4596b4 hook extraVersionActions may return an array 2018-03-15 16:22:33 +01:00
Uwe Steinmann
e52b8f4b72 add avi and msvideo to preview 2018-02-08 08:37:32 +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
a20c2167c9 add video/webm to list of mimetypes which are previewed 2018-01-08 10:54:02 +01:00
Uwe Steinmann
67949fd1cc add link for editing data of attachments 2017-12-05 08:28:03 +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
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
bec7fc2735 check access of reviewer, approver on document 2017-07-21 16:06:03 +02:00
Uwe Steinmann
23c53d112d use ViewOnline instead of Download for preview 2017-06-20 09:14:45 +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
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
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
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
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
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
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
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
Uwe Steinmann
259c7ffc3c add hooks for showing preview of document 2016-12-22 09:11:40 +01:00
Uwe Steinmann
cf597a4bed get $dms from view in preview() 2016-12-22 07:54:07 +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
9f5aa9c8be add more documentation
explain in comment why 'Done' is output when a workflow transition
can be executed but the trigger is already there.
2016-11-18 08:42:56 +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
379a3d728e show svg in preview 2016-11-07 16:28:58 +01:00
Uwe Steinmann
b5626c2cdf Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-07 09:27:28 +01:00
Uwe Steinmann
84f9fd89f0 show pdf preview 2016-11-07 09:25:55 +01:00
Uwe Steinmann
58bee377a0 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-27 17:07:22 +02:00
Uwe Steinmann
682b5dafe7 do not check for enableOwnerRevApp anymore
a user who has been once added as a reviewer/approver may have become
the owner of the document later. Such a user may still be allowed
to review/approve. enableOwnerRevApp will only affect the list of
users when the reviewers/approvers are set.
2016-10-27 17:05:12 +02:00
Uwe Steinmann
10c89c9e5b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-06 08:24:38 +02:00
Uwe Steinmann
49cf88c5c2 show workflow graph only if involved in workflow or admin 2016-09-06 08:21:44 +02:00
Uwe Steinmann
fac5f44f65 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-05 07:48:09 +02:00
Uwe Steinmann
ae532b7b28 show workflow graph 2016-09-05 06:39:20 +02:00
Uwe Steinmann
03ff5dfc50 remove unneeded echo statement 2016-08-03 12:16:51 +02:00
Uwe Steinmann
fe0e67b2ad Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-05-23 12:30:54 +02:00
Uwe Steinmann
1c09327bc0 add preview function for audio files (not activated) 2016-05-09 08:21:21 +02:00
Uwe Steinmann
129b725414 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-05-03 06:32:54 +02:00
Uwe Steinmann
24e30529ab fix html markup 2016-04-26 18:20:22 +02:00
Uwe Steinmann
fcf85a88e0 move inclusion of "SeedDMS/Preview.php" into view 2016-04-26 12:16:29 +02:00
Uwe Steinmann
4206c5ef59 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-22 16:40:29 +02:00
Uwe Steinmann
877f5c80ed output access rights even if inherited 2016-04-22 16:36:47 +02:00
Uwe Steinmann
829d0911f0 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-20 18:11:36 +02:00
Uwe Steinmann
0ece3ef69a fix edit attributes of older versions
link always pointed to latest version
2016-04-20 18:10:55 +02:00
Uwe Steinmann
a1cd739293 fix links to out.EditOnline.php and out.RemoveVersion.php 2016-04-20 15:49:40 +02:00