Commit Graph

2347 Commits

Author SHA1 Message Date
Uwe Steinmann
5f1460757a add new method printAttribute(), just like in class.ViewDocument.php 2021-07-12 19:44:25 +02:00
Uwe Steinmann
51b72eb7b2 fix checking if a document link may be deleted 2021-07-11 20:08:13 +02:00
Uwe Steinmann
42bb24358c output number of folders, links, files, versions 2021-07-09 14:24:20 +02:00
Uwe Steinmann
a9b2b267a4 new chart foldersperuser 2021-07-09 14:24:03 +02:00
Uwe Steinmann
13f0f6aafb use errorMsg() instead of plain html 2021-07-08 14:18:49 +02:00
Uwe Steinmann
d67e85be06 add class fileupload-group to dropfolder and file upload, used by validation 2021-07-08 14:17:47 +02:00
Uwe Steinmann
91170c7db3 add hook addDocumentContentFile() for extra form field getting data for file upload (e.g. a web page), better validation 2021-07-08 14:16:13 +02:00
Uwe Steinmann
ee55fc6688 use html_url() where possible 2021-07-07 08:26:13 +02:00
Uwe Steinmann
75b2ba4132 add missing logo images 2021-07-06 17:09:46 +02:00
Uwe Steinmann
8de6c64f1c add missing css and js files (formerly in styles/bootstrap) 2021-07-06 09:55:57 +02:00
Uwe Steinmann
b7885ad6f6 use check_xxx_access() and html_link(), backported from 6.0.x 2021-07-06 09:32:02 +02:00
Uwe Steinmann
6ce08a531f replace relative links by absolute links 2021-07-06 06:13:57 +02:00
Uwe Steinmann
40beffff14 remove lots of relative links because the can break with faked urls 2021-07-05 16:30:26 +02:00
Uwe Steinmann
4d7e041388 approvals can be removed by admins 2021-07-02 08:34:06 +02:00
Uwe Steinmann
948184b5b0 fix comment in header 2021-07-02 08:32:56 +02:00
Uwe Steinmann
1360fbc478 allow removal of reviews 2021-07-01 12:17:04 +02:00
Uwe Steinmann
d6419d38ef add new config var enableRemoveRevApp 2021-07-01 12:14:55 +02:00
Uwe Steinmann
2ea83e65d5 set class of table 2021-07-01 11:46:33 +02:00
Uwe Steinmann
1f22a0dd22 add more access checking 2021-06-29 11:26:55 +02:00
Uwe Steinmann
84b0f6ac35 check for type and value and showConfigVar() 2021-06-28 12:04:27 +02:00
Uwe Steinmann
b0478bec3c show a message if conf var is disabled, but do not hide it completely 2021-06-28 09:00:35 +02:00
Uwe Steinmann
1eb2c3ed9f check if partitionsize is greater the max upload size 2021-06-26 11:56:25 +02:00
Uwe Steinmann
a18bc970df do not explode hiddenConfFields, because it's done when reading the xml 2021-06-24 22:34:04 +02:00
Uwe Steinmann
1ee2744256 index current folder before tree 2021-06-24 11:39:46 +02:00
Uwe Steinmann
ec46d40194 indent folders, place folder icon in front of folder name 2021-06-24 09:26:37 +02:00
Uwe Steinmann
98e5c868a4 pass access object to view 2021-06-23 17:48:46 +02:00
Uwe Steinmann
932835ef03 add field in configuration for hidden other fields in settings form 2021-06-23 16:27:09 +02:00
Uwe Steinmann
f8d81bd734 theme can be set in user manager 2021-06-23 14:49:53 +02:00
Uwe Steinmann
e21ef794c4 add access control 2021-06-23 08:58:55 +02:00
Uwe Steinmann
0f98640ba3 make login form smaller and put it into a div 2021-06-22 10:00:55 +02:00
Uwe Steinmann
846e8d490e remove output of favicon in global navigation, add logo in global nav 2021-06-22 09:59:17 +02:00
Uwe Steinmann
fff27af7e6 better documentation 2021-06-18 13:56:18 +02:00
Uwe Steinmann
a38f7fd408 secure locking/inlocking documents with security token 2021-06-16 14:23:53 +02:00
Uwe Steinmann
22c4649d27 fix html for unfolding search form 2021-06-14 17:23:42 +02:00
Uwe Steinmann
59130d1756 fix listing users in form 2021-06-14 17:20:16 +02:00
Uwe Steinmann
ab546099f1 fix possible CSRF attack by setting document name 2021-06-14 09:09:36 +02:00
Uwe Steinmann
dfb6061b41 fix classes of table 2021-06-08 18:16:43 +02:00
Uwe Steinmann
290a01c2b1 logo can be set in extraheader 2021-06-08 09:01:30 +02:00
Uwe Steinmann
2ef409c197 make it look like Review/Approval summary 2021-06-01 10:54:32 +02:00
Uwe Steinmann
0f072fc9a9 check if current workflow state != null 2021-06-01 10:54:06 +02:00
Uwe Steinmann
822aef2e53 check if current workflow state != null 2021-06-01 10:52:45 +02:00
Uwe Steinmann
0ba0724e82 add class 'table-sm' 2021-06-01 10:52:26 +02:00
Uwe Steinmann
3366d9a149 check for workflow state != null 2021-06-01 10:52:00 +02:00
Uwe Steinmann
6de32dcc2c add class 'table-sm' 2021-06-01 10:51:16 +02:00
Uwe Steinmann
d5b21e0eca place submit button outside of content container 2021-06-01 07:15:52 +02:00
Uwe Steinmann
04a5f21a07 place submit button and graph outside of content container 2021-06-01 07:06:37 +02:00
Uwe Steinmann
f187a80ac5 fix php warning because of missing $workflow 2021-05-31 21:54:16 +02:00
Uwe Steinmann
4d931b74e5 use jquery validation 2021-05-31 19:38:26 +02:00
Uwe Steinmann
9ae4a01705 check if download/viewonline is allowed 2021-05-31 19:32:39 +02:00
Uwe Steinmann
13d1e92434 use jquery validation 2021-05-31 19:14:19 +02:00
Uwe Steinmann
d325340e0b use jquery validation 2021-05-28 14:18:26 +02:00
Uwe Steinmann
16e4675d93 add comment 2021-05-28 10:36:39 +02:00
Uwe Steinmann
1b566f8fde add '\n' after js statement 2021-05-28 10:36:15 +02:00
Uwe Steinmann
c75ae806ae switch to jquery validation of forms 2021-05-27 21:57:12 +02:00
Uwe Steinmann
3a3b4ec953 add default values for jquery validation 2021-05-27 21:56:33 +02:00
Uwe Steinmann
cf411df04f add data-target-highlight for jquery validation 2021-05-27 21:55:34 +02:00
Uwe Steinmann
ea45ed5b7b issue warning if document has expired, validate form to add link 2021-05-27 21:53:49 +02:00
Uwe Steinmann
bbb9d5c0d6 set class="btn" in link to open modal box, otherwise the button disappears 2021-05-25 15:15:27 +02:00
Uwe Steinmann
19600dd7ca no need to include bootbox.js anymore 2021-05-21 10:37:09 +02:00
Uwe Steinmann
1d4bd6d1f0 place submit outside of content area 2021-05-19 17:01:18 +02:00
Uwe Steinmann
72dcae36a2 place submit button outside content area 2021-05-17 13:31:32 +02:00
Uwe Steinmann
1ac8f31105 check if shift key was preset when clicked in a folder/document row 2021-05-14 19:05:02 +02:00
Uwe Steinmann
0b2ba1a893 fix layout of filter field 2021-05-13 16:46:18 +02:00
Uwe Steinmann
c56901147b add class action-list to list of version actions 2021-05-12 15:32:25 +02:00
Uwe Steinmann
c60f8f660d fix layout 2021-05-12 09:36:39 +02:00
Uwe Steinmann
1575cdb154 remove old call of sanitizeString() 2021-05-12 09:35:42 +02:00
Uwe Steinmann
fb366307bf fix second parameter of showEndPaneContent() 2021-05-11 17:21:11 +02:00
Uwe Steinmann
4d9a36b080 make string of $seq, otherwise a 0 value can be set 2021-05-11 17:20:08 +02:00
Uwe Steinmann
ed4b5e34a4 item in list with badges can be set active 2021-05-07 17:35:29 +02:00
Uwe Steinmann
38b18488d8 show path of document/folder instead of comment 2021-05-07 15:48:07 +02:00
Uwe Steinmann
ea37036bb1 add obsolete documents 2021-05-07 11:45:23 +02:00
Uwe Steinmann
a0a392ff98 add classes table-sm, table-condensed 2021-05-07 09:32:06 +02:00
Uwe Steinmann
9d87ff9ff3 minor layout improvements 2021-05-07 08:49:13 +02:00
Uwe Steinmann
8c77c1fd06 do not show file size on small devices, fix toggling checkbox 2021-05-07 08:26:29 +02:00
Uwe Steinmann
4adf79bb3f add a logout button in navbar (only visible on small devices) 2021-05-07 07:52:52 +02:00
Uwe Steinmann
4baba28ed6 move search form out of collapsable nav, add logo in header 2021-05-07 07:32:53 +02:00
Uwe Steinmann
0142de1c03 collapse search form after searching 2021-05-06 22:22:37 +02:00
Uwe Steinmann
ce84a8d9c8 put heading above form and search result 2021-05-06 21:15:31 +02:00
Uwe Steinmann
0356d65cce add form-control and placeholder to filter field 2021-05-06 20:55:48 +02:00
Uwe Steinmann
1746842aa3 better layout for small devices 2021-05-06 20:51:13 +02:00
Uwe Steinmann
4ea54923d3 add class table-sm to table 2021-05-06 15:18:01 +02:00
Uwe Steinmann
5d00837489 use warningMsg() instead of plain html 2021-05-06 15:12:11 +02:00
Uwe Steinmann
cdd75239e3 fix wrong call of parent method 2021-05-06 15:08:33 +02:00
Uwe Steinmann
2001f4f0d3 slightly improved layout 2021-05-06 15:08:11 +02:00
Uwe Steinmann
8a2aa4bdda better html layout 2021-05-06 14:49:10 +02:00
Uwe Steinmann
75d033d73c use showVersionDetails() for previous versions 2021-05-06 13:42:18 +02:00
Uwe Steinmann
be7df6ffab get previewwidthdetail from view in showVersionDetails() 2021-05-06 13:13:12 +02:00
Uwe Steinmann
0cbfba4d41 pass previewer to showVersionDetails() 2021-05-06 12:52:24 +02:00
Uwe Steinmann
8807257aa2 check if array element exists 2021-05-06 12:18:51 +02:00
Uwe Steinmann
f63315f6c0 move version details in own method showVersionDetails() 2021-05-06 12:17:32 +02:00
Uwe Steinmann
ca4022ce7c add method showActions(), move version actions in second column 2021-05-06 11:02:20 +02:00
Uwe Steinmann
80689dc9c1 add method getModalBoxLinkAttributes() 2021-05-06 11:01:50 +02:00
Uwe Steinmann
8bb02689e4 output categories od document in lists 2021-05-05 17:13:32 +02:00
Uwe Steinmann
5549aa2b13 limit datepicker input file in width 2021-05-05 16:52:32 +02:00
Uwe Steinmann
5bf6ba8db5 add missing parameter 'type' for formField 2021-05-05 14:12:36 +02:00
Uwe Steinmann
e870e2071b redo the search form 2021-05-05 13:47:38 +02:00
Uwe Steinmann
26b3762962 fix layout 2021-05-04 18:11:18 +02:00
Uwe Steinmann
073ba8281c place submit button outside of contentContainer 2021-05-04 17:50:18 +02:00
Uwe Steinmann
b5116e3c1b place submit button outside of contentContainer 2021-05-04 17:49:36 +02:00
Uwe Steinmann
f6fbcbadfa do not show message anymore, if keyword list is empty 2021-05-04 17:35:24 +02:00
Uwe Steinmann
7da093ff4e replace most of the html 2021-05-04 17:29:30 +02:00
Uwe Steinmann
9990fdb57d replace table with form controll 2021-05-04 17:29:07 +02:00
Uwe Steinmann
ef42392e7f add formField of type 'plain' 2021-05-04 17:27:27 +02:00
Uwe Steinmann
10e3ae560c set class of ul list for attachments 2021-05-04 15:56:09 +02:00
Uwe Steinmann
620783d17d move submit button out of contentContainer 2021-05-04 15:55:35 +02:00
Uwe Steinmann
bd73b57a63 move submit out of contentContainer 2021-05-04 15:55:10 +02:00
Uwe Steinmann
5fe8ab1615 set width of pwd strength bar to 100% 2021-05-04 13:40:05 +02:00
Uwe Steinmann
4cb9ed294e place submit button outside of contentContainer 2021-05-04 13:16:35 +02:00
Uwe Steinmann
07affc574b fix layout, show icon on buttons only on small devices 2021-05-04 13:16:01 +02:00
Uwe Steinmann
23b1ab9e06 use pane function from parent class 2021-05-04 12:09:44 +02:00
Uwe Steinmann
a3caa4a0c1 use getModalBox() and getModalBoxLink() 2021-05-04 12:09:20 +02:00
Uwe Steinmann
460cad8290 move author below description, use getModalBox() and getModalBoxLink() 2021-05-04 12:08:32 +02:00
Uwe Steinmann
d3674886ae add methods for creating panes, make modal boxes wide 2021-05-04 12:07:18 +02:00
Uwe Steinmann
b4b0258fbd use nav-pills instead of nav-tabs, set attribute role 2021-05-04 09:57:23 +02:00
Uwe Steinmann
9578bc87d2 colorize tables 2021-05-03 17:48:51 +02:00
Uwe Steinmann
9531568586 fix editing category, place submit button outside of container 2021-05-03 17:48:12 +02:00
Uwe Steinmann
b10c3bf9af do not include bootbox.min.js, make docinfo tab active if none is selected 2021-05-03 09:02:32 +02:00
Uwe Steinmann
25a7a57112 make tables smaller (no column for status anymore) 2021-05-03 08:04:54 +02:00
Uwe Steinmann
1afda0e677 add class table-sm to table 2021-05-02 07:54:38 +02:00
Uwe Steinmann
262ba1345b take out submit from contentContainer, add class btn-primary to buttons 2021-05-01 14:50:04 +02:00
Uwe Steinmann
feee7732ca fix layout of buttons, place submit button outside of container around form 2021-05-01 14:08:50 +02:00
Uwe Steinmann
23bc6ad49c add class btn-danger and btn-sm to delete buttons 2021-05-01 13:54:42 +02:00
Uwe Steinmann
8a4b520754 add class form-control to select menu 2021-05-01 13:54:14 +02:00
Uwe Steinmann
42cf1e9d05 use identical layout on all remove pages 2021-05-01 13:19:47 +02:00
Uwe Steinmann
49e46a6aab add style wordwrap to second column of folder/doc table 2021-05-01 08:58:14 +02:00
Uwe Steinmann
0ba7aaf9b1 add css class to make look nice with bootstrap4 2021-04-30 14:49:38 +02:00
Uwe Steinmann
98f7fc85f4 run htmlspecialchars on workflow names 2021-04-30 09:27:59 +02:00
Uwe Steinmann
c1d2b46b2e put list of open tasks into table 2021-04-28 17:40:55 +02:00
Uwe Steinmann
1a6f2e9b17 add js for operations on documents 2021-04-27 21:00:26 +02:00
Uwe Steinmann
6033a702c6 fix icon for sustitute user 2021-04-27 19:36:54 +02:00
Uwe Steinmann
1956cf74ce add class table-sm 2021-04-27 19:36:41 +02:00
Uwe Steinmann
cce5b69c23 show list of documents affected 2021-04-27 19:36:12 +02:00
Uwe Steinmann
74a2e39ff4 put form into column 2021-04-27 17:10:42 +02:00
Uwe Steinmann
734ff7d33f add path to documentListRow, make column for form wider 2021-04-27 17:06:19 +02:00
Uwe Steinmann
62eb152b01 indicate if extension is enabled/disabled 2021-04-23 10:18:23 +02:00
Uwe Steinmann
a7e214b5a9 check for missing class 'finfo', add style table-sm 2021-04-23 09:55:58 +02:00
Uwe Steinmann
fd90623de4 use callHook() instead of interating over hookObjects 2021-04-23 09:55:25 +02:00
Uwe Steinmann
1a114830a5 do not include page navigation with ajax anymore 2021-04-23 09:54:36 +02:00
Uwe Steinmann
f275ea1927 add example on how to set viewAliasName 2021-04-23 06:54:43 +02:00
Uwe Steinmann
1c4b17f053 move notifier into left column 2021-04-22 14:47:38 +02:00
Uwe Steinmann
566e3b713d add 4th parameter $type to formSubmit() 2021-04-22 14:38:23 +02:00
Uwe Steinmann
7f4c9a036d check if parent folder exists in getListRowPath() 2021-04-22 10:22:03 +02:00
Uwe Steinmann
b291149644 show path of found folder 2021-04-22 09:59:37 +02:00
Uwe Steinmann
7d4ed3a975 move search for documents to first position in select box 2021-04-22 09:29:42 +02:00
Uwe Steinmann
6245a53bae allow autocompletion 2021-04-21 17:39:23 +02:00
Uwe Steinmann
92ddf1b4b7 add class btn-sm to go-to-parent button 2021-04-21 12:45:15 +02:00
Uwe Steinmann
3299c75d18 set type of alert for clipboard drop area 2021-04-21 12:43:57 +02:00
Uwe Steinmann
06962e39c2 add new method getListRowPath() 2021-04-20 22:24:16 +02:00
Uwe Steinmann
c559afd97c remove old code, fix link to MyDocuments 2021-04-19 19:49:24 +02:00
Uwe Steinmann
3d7a74ec32 fix line indenting 2021-04-19 08:36:07 +02:00
Uwe Steinmann
d57a4c69b2 add class table-sm to table 2021-04-19 08:35:57 +02:00
Uwe Steinmann
bbe919118f add class table-sm to table 2021-04-19 08:35:05 +02:00
Uwe Steinmann
70985572dc use colums und rows from theme style 2021-04-19 08:34:40 +02:00
Uwe Steinmann
08e2c2d5ef fix line indenting 2021-04-19 06:25:04 +02:00
Uwe Steinmann
4d24b0a11d call dummy check_[view|controller]_access method 2021-04-18 19:41:09 +02:00
Uwe Steinmann
8141ce72ec some minor corrections taken over from new bootstrap4 theme 2021-04-18 08:44:01 +02:00
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
1b7a5c48ba replace SeedDMS_Bootstrap_Style by SeedDMS_Theme_Style 2021-04-15 15:36:32 +02:00
Uwe Steinmann
4a9d3666f1 move css and js files into theme directory 2021-04-15 15:35:53 +02:00
Uwe Steinmann
0278989a7e switch to new class name SeedDMS_Theme_Style 2021-04-15 10:33:29 +02:00
Uwe Steinmann
3e81ad7654 rename SeedDMS_Bootstrap_Style to SeedDMS_Theme_Style 2021-04-15 10:32:42 +02:00
Uwe Steinmann
37c322af10 remove empty nav bar from adminTools navigation 2021-04-11 13:00:15 +02:00
Uwe Steinmann
d48db0675c use tag 'main' and role=main for contentStart 2021-04-11 12:54:12 +02:00
Uwe Steinmann
dbe98b3a9d remove extra '"' in attribute of input element 2021-04-06 18:56:30 +02:00
Uwe Steinmann
23c9edd5a4 check if $this->extraheader['favicon'] has a value 2021-04-01 07:42:07 +02:00
Uwe Steinmann
c238b3003f checking for missing proc_open 2021-03-30 13:03:26 +02:00
Uwe Steinmann
2e21c7c6a0 action 'typeahead' also returns the id of the folder/document 2021-03-26 07:48:07 +01:00
Uwe Steinmann
ee3e619050 add icon for .ogg extension 2021-03-26 07:47:30 +01:00
Uwe Steinmann
69d6287fd1 pass 3rd parameter to formField() if returned by hook 2021-03-19 10:54:30 +01:00
Uwe Steinmann
56ae6a89f7 pass 3rd parameter to formField() if returned by hook 2021-03-19 10:49:51 +01:00
Uwe Steinmann
1210763111 formField() regards 'min' parameter 2021-03-16 19:13:51 +01:00
Uwe Steinmann
9d5c4a784f use .http_build_query() instead of own buggy code 2021-03-15 16:45:23 +01:00
Uwe Steinmann
fad2020cfd add searching for last date of a document status 2021-03-15 16:08:51 +01:00
Uwe Steinmann
4ef7d3b06e show message if there is not user the doc can be transfered to 2021-03-15 10:13:08 +01:00
Uwe Steinmann
00e6efed58 display translation of no_docs_expired instead of key 2021-03-15 10:12:41 +01:00
Uwe Steinmann
2cb2de2846 remove container 2021-03-14 14:05:11 +01:00
Uwe Steinmann
e9d606ce27 add optgroup in formField() 2021-03-14 13:57:21 +01:00
Uwe Steinmann
7fffe3867d remove html code with formField() 2021-03-14 13:56:29 +01:00
Uwe Steinmann
cc7618fde1 show date attributes as range 2021-03-12 10:09:23 +01:00
Uwe Steinmann
5729944384 add postfix for name of attribute in getAttributeEditField() 2021-03-12 10:02:33 +01:00
Uwe Steinmann
42cb475f34 get page navigation from ViewFolder via ajax 2021-03-10 16:37:00 +01:00
Uwe Steinmann
1e7e1a08d5 set charset in Content-Type header for js 2021-03-10 15:58:22 +01:00
Uwe Steinmann
cc2b57e486 add includeSubDomains; preload to Strict-Transport-Security header 2021-03-10 11:58:54 +01:00
Uwe Steinmann
6dfe43a4c4 version attributes were not used due to wrong parameter name 2021-03-06 15:35:23 +01:00
Uwe Steinmann
2a5a5b2053 pass $document not $folder to hook addDocumentContentAttributes 2021-03-05 18:46:20 +01:00
Uwe Steinmann
88ed21488c add optional paramter $target to formSubmit() 2021-03-05 07:10:36 +01:00
Uwe Steinmann
dbc79f62aa output nice folder row in object check list 2021-03-03 17:51:11 +01:00
Uwe Steinmann
32a855b740 initial support for drag and drop of attachments 2021-03-03 15:38:04 +01:00
Uwe Steinmann
23d0925556 fix typo in id of drop area 2021-03-03 15:26:29 +01:00
Uwe Steinmann
be4f2d4113 use chzn-select for groups and users 2021-03-02 07:31:23 +01:00
Uwe Steinmann
1f1fe940f8 use same user selection as on UsrMgr page 2021-03-01 18:37:49 +01:00
Uwe Steinmann
2f2472f79f add icon for m4a 2021-02-20 20:13:01 +01:00
Uwe Steinmann
b4fd707a60 change to two column layout 2021-02-16 14:35:16 +01:00
Uwe Steinmann
c8956a365d much better html formatting 2021-02-16 13:58:24 +01:00
Uwe Steinmann
400c8f11d1 fix button for sorting 2021-02-15 19:17:58 +01:00
Uwe Steinmann
248d106852 pass more data to view, do not use $_GET in view anymore 2021-02-09 11:16:20 +01:00
Uwe Steinmann
e7b40e21f3 use htmlspecialchars() in getAttributeValue() for user/group name 2021-02-06 18:01:26 +01:00
Uwe Steinmann
9ed6f688bf list user which has been disabled 2021-02-05 13:26:03 +01:00
Uwe Steinmann
37d3577603 show difference in number of documents on chart page 2021-01-31 13:48:25 +01:00
Uwe Steinmann
9862eb5bf6 fix calculation of checksum 2021-01-27 16:27:24 +01:00
Uwe Steinmann
072b1d2eb9 check if user creating the version is currently editing 2021-01-27 09:54:46 +01:00
Uwe Steinmann
8a2224b669 check checksum of document version 2021-01-26 13:30:15 +01:00
Uwe Steinmann
4b91c390c3 add button for setting access rights in list of folders/documents 2021-01-25 10:07:18 +01:00
Uwe Steinmann
cb4cd22caf add csrf protection 2021-01-25 10:04:45 +01:00
Uwe Steinmann
dc3cd2e1de add csrf protection 2021-01-25 10:00:20 +01:00
Uwe Steinmann
b5d769fc1c remove old table structur in form, add csrf protection 2021-01-25 09:09:02 +01:00
Uwe Steinmann
44813338b1 add csrf protection 2021-01-25 09:08:40 +01:00
Uwe Steinmann
ef20172f57 add csrf protection 2021-01-25 09:08:12 +01:00
Uwe Steinmann
0638dab4f8 add csrf protection 2021-01-25 09:07:49 +01:00
Uwe Steinmann
c5694c21b4 add csrf protection, check if target is equal source folder 2021-01-25 09:07:12 +01:00
Uwe Steinmann
64152e0d0b add csrf protection 2021-01-25 09:00:28 +01:00
Uwe Steinmann
6dbcd3362f add csrf protection 2021-01-25 09:00:03 +01:00
Uwe Steinmann
3fa952c5cb fix possible csrf attack due to missing form token 2021-01-24 17:05:13 +01:00
Uwe Steinmann
1399a3547e placeholder of select can be set 2021-01-14 22:35:03 +01:00
Uwe Steinmann
526d833ab1 replace icon on Statistics button 2021-01-13 13:17:33 +01:00
Uwe Steinmann
0767dadf39 loading more items on ViewFolder page obeys sort order 2021-01-13 07:42:35 +01:00
Uwe Steinmann
de4dec03cc add icon for mp4 2021-01-12 22:03:47 +01:00
Uwe Steinmann
78dfd5269e run all mailto through htmlspecialchars to prevent clickjacking attacks 2021-01-11 07:59:32 +01:00
Uwe Steinmann
ac03479391 unfold all folders within current path 2020-12-28 19:43:36 +01:00
Uwe Steinmann
9f7933f030 place preview icons left of menu item on mouse over 2020-12-23 16:09:29 +01:00
Uwe Steinmann
0a8ca01615 place preview of drop folder menu left of menu 2020-12-23 12:19:49 +01:00
Uwe Steinmann
75e68c75d9 replace phrase documents_to_trigger_rejected by document_rejected 2020-12-23 06:22:00 +01:00
Uwe Steinmann
6971a46be8 show a list of apache extensions 2020-12-22 17:05:45 +01:00
Uwe Steinmann
9e239a3c65 put full name into first line of user selector
makes it possible to search for it
2020-12-18 12:43:07 +01:00
Uwe Steinmann
19afdb9dc3 use $dms->getRootFolder() instead of $settings->_rootFolderId 2020-12-18 10:22:29 +01:00
Uwe Steinmann
24a919aed1 init task list before using it 2020-12-18 10:21:32 +01:00
Uwe Steinmann
28bbff0cc7 check if root folder is accessible 2020-12-18 10:20:46 +01:00
Uwe Steinmann
760265d136 check if folder for jstree is actually accesible 2020-12-18 10:19:49 +01:00
Uwe Steinmann
7d37ef3ae2 pass $dms->getRootFolder() to DocumentChooser 2020-12-18 10:18:55 +01:00
Uwe Steinmann
6da57affb0 set link behind brand to out.ViewFolder.php without a specific folderid 2020-12-18 10:17:37 +01:00
Uwe Steinmann
1581043714 propperly set date format for date chooser used by attributes 2020-12-18 10:16:34 +01:00
Uwe Steinmann
4708e8b393 add new config var _useHomeAsRootFolder 2020-12-18 08:06:01 +01:00
Uwe Steinmann
613d234d86 set folder id in global nav to $dms->getRootFolder() 2020-12-18 07:53:07 +01:00
Uwe Steinmann
02a0ef95f9 check if document != null 2020-12-18 06:42:35 +01:00
Uwe Steinmann
41584479b7 echo number of pending reviews at right place in code 2020-12-18 06:41:56 +01:00
Uwe Steinmann
924a125d88 remove old scripts for searching 2020-12-18 06:24:28 +01:00
Uwe Steinmann
7746fb72db replace rootFolderId with $dms->getHomeFolder() 2020-12-17 21:31:03 +01:00
Uwe Steinmann
d9fa867582 add support for configurable date format 2020-12-17 13:41:00 +01:00
Uwe Steinmann
efe6fe085d add support for using configured date format 2020-12-17 11:44:19 +01:00
Uwe Steinmann
88f3205be7 dateformat of date picker is created from configured date format 2020-12-17 11:43:31 +01:00
Uwe Steinmann
22cf24250c check if getting document succeeded 2020-12-16 16:48:30 +01:00
Uwe Steinmann
70c5b90643 add hook documentListRowBelowTitle 2020-12-15 17:42:07 +01:00
Uwe Steinmann
31e45022f1 fix checking if search result came from database or fulltext 2020-12-14 10:46:05 +01:00
Uwe Steinmann
98c1220260 start to add suggesestion to opensearchengіne (not working yet) 2020-12-14 07:08:48 +01:00
Uwe Steinmann
beaa54ac92 call hook folderListItem 2020-12-13 14:45:55 +01:00
Uwe Steinmann
1e9e7c0e2f turn typeahead search on for fulltext search 2020-12-13 09:38:12 +01:00
Uwe Steinmann
582c00ce4e use new typeahead search using json objects 2020-12-13 09:10:50 +01:00
Uwe Steinmann
efed9f2b9c add support for indexing folders 2020-12-12 16:29:56 +01:00
Uwe Steinmann
858b01fac1 rename hash for footerjs into hashjs 2020-12-11 09:27:42 +01:00
Uwe Steinmann
120ab5a0a9 show path and name of selected doc/folder in doc/folder chooser as title 2020-12-11 09:17:08 +01:00
Uwe Steinmann
ad6f8b5ff1 show image in dropfoldermenu after mouseover, make menu 400px wide 2020-12-10 13:50:21 +01:00
Uwe Steinmann
0aad307607 do not make nodes in tree selectable, unfold if clicked on a folder 2020-12-10 13:49:15 +01:00
Uwe Steinmann
7162a2b2e1 check if session exists in globalNavigation() 2020-12-09 17:35:39 +01:00
Uwe Steinmann
c29de3a7ca set audio preload to false 2020-12-05 15:27:40 +01:00
Uwe Steinmann
e407f82d3a add extra output of date attributes 2020-12-01 22:04:19 +01:00
Uwe Steinmann
29c0d889cd format dates with getLongReadableDate() 2020-12-01 21:43:10 +01:00
Uwe Steinmann
6bb4218e44 initial support customizable date format 2020-12-01 18:25:22 +01:00
Uwe Steinmann
f482c42db3 pass 'asc' as order dir to hook searchHeaderList 2020-12-01 18:24:55 +01:00
Uwe Steinmann
132c643433 user getReadableDate() instead of date() 2020-12-01 18:24:29 +01:00
Uwe Steinmann
1ce88fcb13 pass orderby and orderdir to hook searchListHeader, fix icons 2020-12-01 12:41:09 +01:00
Uwe Steinmann
d64af2b3b1 add new methode typeahead() which is to replace the restapi method 2020-11-30 15:41:33 +01:00
Uwe Steinmann
32b03b1e58 fix another cross site scripting hole (CVE-2020-28727) 2020-11-24 17:13:36 +01:00
Uwe Steinmann
877844cbba fix security issue CVE-2020-28726
escape input form field value
2020-11-24 08:23:23 +01:00
Uwe Steinmann
386e37db0d saving the settings will no longer reenable an extention with no configuration 2020-11-22 12:35:26 +01:00
Uwe Steinmann
42a0df1d52 rename hook folderInfo to folderInfos, add hook additionalDocumentInfos 2020-11-13 11:23:56 +01:00
Uwe Steinmann
f094262e8b hook documentInfos() replaces title and container, new hook additionalDocumentInfos 2020-11-13 11:23:04 +01:00
Uwe Steinmann
c36d5c9cb9 replace fa-bar icon with fa-bars 2020-11-11 17:41:58 +01:00
Uwe Steinmann
768ea3544c theme in configuration can override theme of each user 2020-11-09 15:14:09 +01:00
Uwe Steinmann
fc4c16c01b move favicon 2020-11-05 08:41:29 +01:00
Uwe Steinmann
277cc52025 check if extraheader[favicon] is set 2020-11-03 17:36:35 +01:00
Uwe Steinmann
a358d8565a add list of rejected documents 2020-10-23 17:06:19 +02:00
Uwe Steinmann
d7a7b251fd ? 2020-10-23 16:24:29 +02:00
Uwe Steinmann
19ab11f595 more parameters can be passed to getModalBoxLink() and getModalBox() 2020-10-22 18:16:44 +02:00
Uwe Steinmann
80453c7e2e use new methods getModalBoxLink() and getModalBox(), remove printCategoryChooser() 2020-10-22 17:19:47 +02:00
Uwe Steinmann
196ea676be minor backports from 6.0.x 2020-10-22 13:12:02 +02:00
Uwe Steinmann
0c07a0568e do not allow a second user substitution 2020-10-22 12:45:15 +02:00
Uwe Steinmann
1924e1901d unset formtoken before creating link to footer js file 2020-10-22 12:42:54 +02:00
Uwe Steinmann
16836bf283 add new methods getModelBox() and getModelBoxLink() 2020-10-22 12:30:49 +02:00
Uwe Steinmann
27d85cd156 add link to document/folder details in list row when onepage mode is on 2020-10-22 07:39:09 +02:00
Uwe Steinmann
feb0b2a6f1 set btn-danger 2020-10-08 22:28:55 +02:00
Uwe Steinmann
d08f6fe24c set button type which didn't have 2020-10-08 22:25:51 +02:00
Uwe Steinmann
8198fd333f replace btn-default by btn-secondary 2020-10-08 22:13:33 +02:00
Uwe Steinmann
5f8879a8e5 new conf variable for workflows in extensions 2020-10-08 21:58:20 +02:00
Uwe Steinmann
33b1e1f65f fix js error after upgrade to cytoscrape.js 3.x 2020-10-08 21:35:46 +02:00
Uwe Steinmann
d35d815376 set missing attributes of tree nodes to make drag&drop work again 2020-10-08 19:49:22 +02:00
Uwe Steinmann
31e55a500e add class btn-danger for removal buttons 2020-10-08 09:17:23 +02:00
Uwe Steinmann
a72e974db2 add class btn-danger to removal buttons 2020-10-08 09:08:33 +02:00
Uwe Steinmann
68a46bb78d make buttons primary or danger 2020-10-08 09:07:40 +02:00
Uwe Steinmann
7bd399afda add icon on button 2020-10-08 09:05:46 +02:00
Uwe Steinmann
ec6e369e4a remove extra closing div 2020-10-08 09:05:33 +02:00
Uwe Steinmann
e33a37ca93 make remove button btn-danger 2020-10-08 08:51:37 +02:00
Uwe Steinmann
089b74ec38 replace html code for rows and columns 2020-10-08 08:51:20 +02:00
Uwe Steinmann
63236e7f93 replace old html code 2020-10-08 08:34:55 +02:00
Uwe Steinmann
d1a5a6823b use new row, column methods instead of plain html 2020-10-08 07:57:23 +02:00
Uwe Steinmann
28e7b32ddf replace html code with row and column methods 2020-10-07 19:04:39 +02:00
Uwe Steinmann
1c71887293 make box for number of hits of type info 2020-10-07 18:52:14 +02:00
Uwe Steinmann
919fdd6590 use new methods for rows and columns 2020-10-07 18:33:22 +02:00
Uwe Steinmann
b5f252cd54 add methods [row|column][Start|End]() 2020-10-07 18:32:50 +02:00
Uwe Steinmann
a3898e36de fix getAttributeEditField() for boolean attributes 2020-10-07 07:45:06 +02:00
Uwe Steinmann
74a07c9593 close button of modal boxes is never primary 2020-10-06 18:35:33 +02:00
Uwe Steinmann
7862f5bc80 do not export empty groups 2020-09-29 17:07:16 +02:00
Uwe Steinmann
904eef7816 fix selection of owner 2020-09-29 16:42:10 +02:00
Uwe Steinmann
0979d2bd54 get category, mimetype and facets from view 2020-09-29 16:42:09 +02:00
Uwe Steinmann
364612f497 do not show occurences because not each fulltext engine supports it 2020-09-29 16:42:09 +02:00
Uwe Steinmann
1fda490bbe pass a config array to search engine, search returns hits and total count 2020-09-29 16:42:09 +02:00
Uwe Steinmann
4bdb3c7061 put fulltext search into central service 2020-09-29 16:42:09 +02:00
Uwe Steinmann
08e04e3170 new icon for TransferObjects and RemoveFromProcesses 2020-09-25 08:58:02 +02:00
Uwe Steinmann
05a6917102 add simple task manager in js 2020-09-24 16:50:50 +02:00
Uwe Steinmann
e2f2021b19 use same edit attributes code as for add document 2020-09-24 08:32:09 +02:00
Uwe Steinmann
df313d316c export users of a group as csv file 2020-09-23 11:39:19 +02:00
Uwe Steinmann
0f9ac271ce do not show removed approvers/reviewers unless admin 2020-09-23 08:53:05 +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
83fc0a59b1 add expiration in 3 years 2020-09-22 10:03:30 +02:00
Uwe Steinmann
0a4fcb4c00 add new hooks prePreviousVersionsTab and preLatestVersionTab 2020-09-18 19:24:18 +02:00
Uwe Steinmann
0649815e56 new hooks on view document page 2020-09-18 19:11:25 +02:00
Uwe Steinmann
245a103b35 fix selection of documents/folders 2020-09-17 13:01:14 +02:00
Uwe Steinmann
b39f84e67c fix html tags for version actions 2020-09-17 10:52:27 +02:00
Uwe Steinmann
db1db1787c major update to make it look like the view document page, fixed preview 2020-09-17 10:51:37 +02:00
Uwe Steinmann
b9748576dc add new method htmlAddJsHeader() which adds script with nonces 2020-09-15 12:14:15 +02:00
Uwe Steinmann
c555354f35 check if return value of hook addFolderAttribute is a string 2020-09-08 13:44:19 +02:00
Uwe Steinmann
c6d0a1d345 allow inline editing on document details page 2020-09-07 16:20:37 +02:00
Uwe Steinmann
a75257c7c2 add title to enable/disable button of extension 2020-09-07 11:45:11 +02:00
Uwe Steinmann
e21850c92f make buttons primary 2020-09-01 15:17:49 +02:00
Uwe Steinmann
dad650fb9b show help cursor on form field label if help is available 2020-09-01 09:24:17 +02:00
Uwe Steinmann
d5d70e4802 some more help text, show propper type in list of attributes 2020-09-01 09:23:32 +02:00
Uwe Steinmann
49321d2dbe check for $fieldwrap[1] 2020-08-31 12:59:14 +02:00
Uwe Steinmann
b15c47117e out message if no groups/users are available 2020-08-28 13:11:05 +02:00
Uwe Steinmann
b977d7c7fd no need to call printFolderChooserJs() anymore 2020-08-28 11:54:52 +02:00
Uwe Steinmann
f3c0c1847c give folder tree a unique id 2020-08-28 11:54:12 +02:00
Uwe Steinmann
d7fe2087d1 move code into getAttributeValue() 2020-08-28 11:53:34 +02:00
Uwe Steinmann
f1d1c01c70 take out js from html code 2020-08-28 11:52:36 +02:00
Uwe Steinmann
d58100c678 edit and show new attribute types, major overhaul of folder tree to make several trees on a page possible 2020-08-28 11:50:29 +02:00
Uwe Steinmann
af792b52ad add support for new attribute types 2020-08-28 11:46:46 +02:00
Uwe Steinmann
619f90b4df do not pass parent folder to hook add[Folder|Document]Attribute 2020-08-28 07:39:16 +02:00
Uwe Steinmann
76ed086f5d use cytoscape in views/bootstrap/vendors 2020-08-27 08:13:34 +02:00
Uwe Steinmann
d4db6a2ba0 new version of font-awesome (4.7.1) 2020-08-27 07:52:52 +02:00
Uwe Steinmann
6d881fed60 take out authentication and secure script with a token 2020-08-26 11:40:04 +02:00
Uwe Steinmann
22fa26bdb7 user md5 of formname and form for formid in folder chooser 2020-08-25 21:43:23 +02:00
Uwe Steinmann
8638858d05 pass form field name to printFolderChooserJs() 2020-08-25 21:42:24 +02:00
Uwe Steinmann
2372cb8d09 no need to pass parameter to hook additionalCache 2020-08-21 13:20:07 +02:00
Uwe Steinmann
991268a18b put ClearCache into controller, add hooks when clearing the cache 2020-08-21 10:03:22 +02:00
Uwe Steinmann
6651601995 add help to form field, formSubmit can output several buttons 2020-08-20 19:59:09 +02:00
Uwe Steinmann
d4ae4eed24 use user selection for auto login 2020-08-19 14:18:01 +02:00
Uwe Steinmann
1726d1f1f2 configuring a user id in the settings uses a list of existing users 2020-08-19 13:21:51 +02:00
Uwe Steinmann
395afcbcd4 run help of config var through htmlspecialchars() 2020-08-19 11:49:48 +02:00
Uwe Steinmann
65c1bccf82 show latest changelog of uninstalled extensions 2020-08-14 11:11:40 +02:00
Uwe Steinmann
a17a190da1 add hooks showDocumentKeywords and showDocumentCategory 2020-08-12 07:26:28 +02:00
Uwe Steinmann
969c9daba4 make save button primary, translate options of select menu 2020-08-12 07:25:35 +02:00
Uwe Steinmann
f2ae4e97bd make select button of keyword selector primary 2020-08-11 18:22:43 +02:00