Commit Graph

2265 Commits

Author SHA1 Message Date
Uwe Steinmann
c1a2411882 remove plain html for error and warning msgs 2021-07-15 17:43:50 +02:00
Uwe Steinmann
9b6f376be8 get access list before checking for workflow mode 2021-07-14 21:10:21 +02:00
Uwe Steinmann
34ebc280e8 remove extra '/' in path 2021-07-14 15:45:06 +02:00
Uwe Steinmann
b369ab3d31 add class fileupload-group to input field of document chooser 2021-07-14 14:52:28 +02:00
Uwe Steinmann
55a7667c1e check for null passed as folder to getFolderList() 2021-07-14 12:02:15 +02:00
Uwe Steinmann
d4b05b61f2 remove old code 2021-07-13 12:05:18 +02:00
Uwe Steinmann
fcff7b2a1d add missing access checks, remove old code 2021-07-13 12:05:01 +02:00
Uwe Steinmann
180b9a4b7e remove some spaces 2021-07-13 11:48:54 +02:00
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
aab0e356bb add logo in global navigation 2021-06-22 10:00:24 +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
07919b0810 add code to use bootstrap's custom file input (currently not used) 2021-05-28 12:23:04 +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
aef421a581 fix color change of header after substituion of user 2021-05-22 13:14:17 +02:00
Uwe Steinmann
635c40bd84 put menu items into one global menu 2021-05-21 14:54:23 +02:00
Uwe Steinmann
165eaec67e set zIndexOffset of datepicker to 1040, which is above the header 2021-05-21 14:53:42 +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
6c1327d893 add missing space between attributes of html tag 2021-05-09 08:12:49 +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
c1e6a8360f improve layout of clipboard on small devices 2021-05-07 09:32:32 +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
dd95c1ed8a set title of modal box from data-modal-title 2021-05-07 08:48:38 +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
8406d0764b show search form only if user is logged in 2021-05-07 07:32:34 +02:00
Uwe Steinmann
0142de1c03 collapse search form after searching 2021-05-06 22:22:37 +02:00
Uwe Steinmann
6542972a12 make body margin bottom 10px larger 2021-05-06 21:24:21 +02:00
Uwe Steinmann
37192040e7 make page list smaller to fit on smal devices 2021-05-06 21:15:48 +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
f48bdb1280 set class of modal box link 2021-05-06 14:33:24 +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
9be41bca0b set class of modal box link button 2021-05-06 12:53:05 +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
b58c16bdee smaller font size on small displays 2021-05-06 11:03:50 +02:00
Uwe Steinmann
81fd140a92 replace ul.actions by ul.unstyled 2021-05-06 11:03:26 +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
36240ed21e do not collapse search form 2021-05-06 06:54:27 +02:00
Uwe Steinmann
cb1f49277c minor correction of nav bar color 2021-05-06 06:54:13 +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
aa87fffd74 set width of select2 to 100% 2021-05-05 15:30:53 +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
805dbe212a fix html for date picker and accordion 2021-05-05 13:46:05 +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
585fa964d5 add class 'form-control' to some select tags 2021-05-04 17:41:21 +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
62d8197751 add formField of type 'plain', fix printAccordion() 2021-05-04 17:28:04 +02:00
Uwe Steinmann
ef42392e7f add formField of type 'plain' 2021-05-04 17:27:27 +02:00
Uwe Steinmann
6b0b72a062 move all init function into one function and call after loading html 2021-05-04 15:56:43 +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
1c6c36eb52 fix update of pwd strength bar 2021-05-04 13:40:49 +02:00
Uwe Steinmann
5fe8ab1615 set width of pwd strength bar to 100% 2021-05-04 13:40:05 +02:00
Uwe Steinmann
d3958e73f9 add border botton to contentHeading 2021-05-04 13:17:07 +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
30bed2abdf add methods for creating panes 2021-05-04 12:08:05 +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
196b19d42a enlarge margin bottom on smaller devices 2021-05-04 09:56:56 +02:00
Uwe Steinmann
a8dfcd9528 showNavigationBar() checks if 'link' is set 2021-05-03 17:49:15 +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
f95c9d6795 do not include bootbox.min.js, make currenttab active if none is selected 2021-05-03 09:01:33 +02:00
Uwe Steinmann
85992322d7 set padding-left of ul.actions to 0 2021-05-03 08:05:39 +02:00
Uwe Steinmann
25a7a57112 make tables smaller (no column for status anymore) 2021-05-03 08:04:54 +02:00
Uwe Steinmann
cc09cd419c fix margin of body and height of footer for small devices 2021-05-02 14:41:03 +02:00
Uwe Steinmann
db63f8526c set footer height and body margin on smaller devices 2021-05-02 13:05:48 +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
9644153d7b fix layout of dropdown folder/document search 2021-05-01 13:52:21 +02:00
Uwe Steinmann
42cf1e9d05 use identical layout on all remove pages 2021-05-01 13:19:47 +02:00
Uwe Steinmann
a3d2f844b0 limit img.mimeicon in width 2021-05-01 08:58:46 +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
751e91ceaf sync with bootstrap style, remove old hooks 2021-04-30 09:03:11 +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
79d2a5efb1 new theme based on bootstrap 4 2021-04-19 15:53:04 +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