Commit Graph

2146 Commits

Author SHA1 Message Date
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
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