Commit Graph

525 Commits

Author SHA1 Message Date
Uwe Steinmann
871460899c use new SeedDMS_Theme_Style, replace plain html by methods in theme style 2021-04-18 07:08:00 +02:00
Uwe Steinmann
130afd7d25 pass name of user as parameter to checkout msg 2021-04-15 06:34:56 +02:00
Uwe Steinmann
59e92a836f minor formating change 2021-04-08 10:55:33 +02:00
Uwe Steinmann
c8aca99462 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-10 15:59:25 +01:00
Uwe Steinmann
1e7e1a08d5 set charset in Content-Type header for js 2021-03-10 15:58:22 +01:00
Uwe Steinmann
5e3f5fc8f0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-05 07:24:26 +01:00
Uwe Steinmann
32a855b740 initial support for drag and drop of attachments 2021-03-03 15:38:04 +01:00
Uwe Steinmann
9862eb5bf6 fix calculation of checksum 2021-01-27 16:27:24 +01:00
Uwe Steinmann
2d4c7b7581 fix calculation of checksum 2021-01-26 18:06:17 +01:00
Uwe Steinmann
599786bcb0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-26 13:31:02 +01:00
Uwe Steinmann
8a2224b669 check checksum of document version 2021-01-26 13:30:15 +01:00
Uwe Steinmann
590a93525c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-25 10:09:47 +01:00
Uwe Steinmann
cb4cd22caf add csrf protection 2021-01-25 10:04:45 +01:00
Uwe Steinmann
e847ff2647 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-11 09:07:06 +01:00
Uwe Steinmann
78dfd5269e run all mailto through htmlspecialchars to prevent clickjacking attacks 2021-01-11 07:59:32 +01:00
Uwe Steinmann
5323feca9b add hook preRecipientsTab 2020-12-16 10:41:52 +01:00
Uwe Steinmann
6dd96137bf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-07 20:45:32 +01:00
Uwe Steinmann
c29de3a7ca set audio preload to false 2020-12-05 15:27:40 +01:00
Uwe Steinmann
fcab6f5a09 format date with getLongReadableDate() 2020-12-01 21:59:02 +01:00
Uwe Steinmann
bf22fe7e6a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-01 21:48:21 +01:00
Uwe Steinmann
29c0d889cd format dates with getLongReadableDate() 2020-12-01 21:43:10 +01:00
Uwe Steinmann
152c943d5a SeedDMS_Core_Document::getCheckOutInfo() returns all checkout versions 2020-11-24 08:04:44 +01:00
Uwe Steinmann
15d05d6ace Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-11-13 11:24:43 +01:00
Uwe Steinmann
f094262e8b hook documentInfos() replaces title and container, new hook additionalDocumentInfos 2020-11-13 11:23:04 +01:00
Uwe Steinmann
831dff03db Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-16 16:01:54 +02:00
Uwe Steinmann
d08f6fe24c set button type which didn't have 2020-10-08 22:25:51 +02:00
Uwe Steinmann
3b0ee6c3e3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-08 09:36:41 +02:00
Uwe Steinmann
d1a5a6823b use new row, column methods instead of plain html 2020-10-08 07:57:23 +02:00
Uwe Steinmann
fdfad60c97 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-23 08:55:44 +02:00
Uwe Steinmann
0f9ac271ce do not show removed approvers/reviewers unless admin 2020-09-23 08:53:05 +02:00
Uwe Steinmann
0b5ced7efb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-23 08:47:06 +02:00
Uwe Steinmann
76c02d89c7 remove old code for getting timeline items 2020-09-23 08:44:47 +02:00
Uwe Steinmann
ca1dce466d backport printVersionAttributes(), nicer output of reviewers and approvers 2020-09-23 08:37:51 +02:00
Uwe Steinmann
dfad2e581b nicer layout for list of revisors and recepients 2020-09-23 07:25:31 +02:00
Uwe Steinmann
52e336ea4b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-18 19:24:59 +02:00
Uwe Steinmann
0a4fcb4c00 add new hooks prePreviousVersionsTab and preLatestVersionTab 2020-09-18 19:24:18 +02:00
Uwe Steinmann
9a1d92d250 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-18 19:16:58 +02:00
Uwe Steinmann
0649815e56 new hooks on view document page 2020-09-18 19:11:25 +02:00
Uwe Steinmann
2c43ef2c96 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-17 15:57:41 +02:00
Uwe Steinmann
b39f84e67c fix html tags for version actions 2020-09-17 10:52:27 +02:00
Uwe Steinmann
5a32f4b7c5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-07 16:21:15 +02:00
Uwe Steinmann
c6d0a1d345 allow inline editing on document details page 2020-09-07 16:20:37 +02:00
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