Commit Graph

2404 Commits

Author SHA1 Message Date
Uwe Steinmann
fdc7aa5ab7 drag&drop handler can call function after upload 2022-08-11 17:47:28 +02:00
Uwe Steinmann
d02f813205 add tabs above folder content 2022-08-09 15:54:12 +02:00
Uwe Steinmann
4179a0398f set title of document/folder delete button 2022-07-29 21:43:43 +02:00
Uwe Steinmann
ca2739b96e add hooks folderRowAction and documentRowAction 2022-07-07 16:47:42 +02:00
Uwe Steinmann
fac375a371 do not use callHook() because the return value of the last hook must be passed to the next hook 2022-07-07 16:47:21 +02:00
Uwe Steinmann
96ef457183 first create a list of action buttons and then render it in documetListRow 2022-07-06 09:20:44 +02:00
Uwe Steinmann
d47e2377bb do not explode() attrtype and objtype, if an array is needed it can be set in conf.php 2022-07-06 09:16:47 +02:00
Uwe Steinmann
c9e61ccf30 set role to button for each nav-item 2022-06-22 16:45:37 +02:00
Uwe Steinmann
d3e6cecaa7 do not call hook documentNavigationBar with callHook, but iterate over hookObjs 2022-06-16 12:44:53 +02:00
Uwe Steinmann
573fe293ac better layout of footer, especially of disclaimer is turned off 2022-06-10 16:44:11 +02:00
Uwe Steinmann
6e6851d165 fix upload with fine-uploader 2022-06-09 16:00:38 +02:00
Uwe Steinmann
83fa62a386 add imagick to list of required php extensions, sqlite -> sqlite3 2022-06-08 16:08:18 +02:00
Uwe Steinmann
4f995dcd23 set propper date value in custom date fields 2022-06-07 17:44:42 +02:00
Uwe Steinmann
249e42f956 remove colon after name of config vars 2022-06-01 15:02:00 +02:00
Uwe Steinmann
ece2eec128 add sqlite to list of required php extensions 2022-05-25 08:19:16 +02:00
Uwe Steinmann
298f345cea fix clear clipboard link in menu 2022-05-24 08:39:21 +02:00
Uwe Steinmann
4e7fb4a6e9 add btn-sm to remove button, manager cannot remove himself from group 2022-05-23 16:14:04 +02:00
Uwe Steinmann
a1f2ecf22d set width of progress bar in % instead of px 2022-05-23 09:34:22 +02:00
Uwe Steinmann
c974c29578 fix setting max upload file size 2022-05-21 19:35:15 +02:00
Uwe Steinmann
218934fea6 make sendFileToServer() and createStatusbar() public, add getMaxFileSize() and getMaxFileSizeMsg() 2022-05-21 19:10:06 +02:00
Uwe Steinmann
4483b21d05 use a instead of button from .btn-file, because firefox submits the form when clicking on it 2022-05-21 19:06:59 +02:00
Uwe Steinmann
cb18ea8756 add list of notification services 2022-05-21 10:59:08 +02:00
Uwe Steinmann
649fcbbc8b add all custom attributes of type date to calendar 2022-05-20 12:05:04 +02:00
Uwe Steinmann
8f6402c51f extension config can filter attributes by type 2022-05-20 12:04:24 +02:00
Uwe Steinmann
afddc5a4d6 remove spaces when showing content of popup box 2022-05-19 08:05:47 +02:00
Uwe Steinmann
f306c186cf set line-height, max-width, white-space of popupbox 2022-05-19 08:05:24 +02:00
Uwe Steinmann
c9d6d840d9 use preview converters or conversion mgr 2022-05-17 07:51:17 +02:00
Uwe Steinmann
9522d38cfb fix editing of custom attributes of type date 2022-05-09 15:27:19 +02:00
Uwe Steinmann
2b6a68cc28 restrict operation on selected documents 2022-05-09 09:58:05 +02:00
Uwe Steinmann
d234673748 add hook additionalDocumentContentInfo 2022-05-06 12:54:11 +02:00
Uwe Steinmann
dbb2340269 backport assigning processes to other user 2022-05-06 09:54:55 +02:00
Uwe Steinmann
99d1d1455c use conversion manager 2022-05-03 18:14:50 +02:00
Uwe Steinmann
da17e00422 place submit button outside of content container 2022-05-03 06:43:10 +02:00
Uwe Steinmann
49842f9728 readd hook actionMenu 2022-05-03 06:42:25 +02:00
Uwe Steinmann
52fbe0128f use small button to remove link 2022-05-01 15:08:58 +02:00
Uwe Steinmann
637c9279aa make iframe height = 1.41 time width 2022-05-01 15:08:35 +02:00
Uwe Steinmann
bfc436b5f0 set overflow: hidden for legend 2022-05-01 15:02:26 +02:00
Uwe Steinmann
e20d7a21f8 output number of folders/docs only if not 0 2022-04-30 15:55:19 +02:00
Uwe Steinmann
b5120113f7 fix status column of folder 2022-04-30 15:52:18 +02:00
Uwe Steinmann
50c4931834 fix font-size of status column, use icons for folder count in status column 2022-04-30 14:58:28 +02:00
Uwe Steinmann
5cd7dbec89 - move folder status column into own method 2022-04-30 14:39:49 +02:00
Uwe Steinmann
2194c92801 - use more icons in status column of document/folder list, fix getReadableDate() 2022-04-30 14:10:51 +02:00
Uwe Steinmann
af6f48db48 use new method getMaximumUploadSize() 2022-04-29 18:30:46 +02:00
Uwe Steinmann
9d2dd94662 readd space below navigation 2022-04-29 18:30:21 +02:00
Uwe Steinmann
8d7791a0c5 do not underline a.accordion2-toggle 2022-04-28 13:31:48 +02:00
Uwe Steinmann
1916147d43 undo fixed menubars to head 2022-04-28 13:30:40 +02:00
Uwe Steinmann
c8bca55368 getFormData() can handle undefined data 2022-04-27 12:30:15 +02:00
Uwe Steinmann
e5755d593f update to bootstrap 4.6.1, make navigation, breadcrumbs fixed to top, add new printAccordion2() method 2022-04-26 18:50:22 +02:00
Uwe Steinmann
dd37e509b9 make printAccordion() public 2022-04-19 18:37:41 +02:00
Uwe Steinmann
4bfe18a7de fix check of extension available from repos 2022-04-19 18:11:24 +02:00
Uwe Steinmann
5ec682592e add title to button for showing changelog 2022-04-19 11:23:17 +02:00
Uwe Steinmann
612a6d1473 pass 'add' or 'update' to hook 'addDocumentContentFile' 2022-04-14 17:00:44 +02:00
Uwe Steinmann
3a8ab4286c add expiring documents to calendar 2022-04-08 06:51:40 +02:00
Uwe Steinmann
1a9825f999 add expired docs in the future 2022-04-07 18:18:09 +02:00
Uwe Steinmann
1e0172dd8f move workflow protocol on workflow tab 2022-04-02 11:07:31 +02:00
Uwe Steinmann
e483796c85 add field to filter user list 2022-03-30 11:36:35 +02:00
Uwe Steinmann
78e701d585 date can be passed to AddEvent 2022-03-28 19:11:00 +02:00
Uwe Steinmann
fe03d58100 adjust colors and title of event 2022-03-28 19:10:45 +02:00
Uwe Steinmann
58de462ff5 show user who has created event 2022-03-28 19:10:03 +02:00
Uwe Steinmann
8d3077cd34 set placeholder of textarea in formField() 2022-03-24 16:09:03 +01:00
Uwe Steinmann
6fc17be5d9 fix xss attack in DefaultKeywords 2022-03-23 11:27:42 +01:00
Uwe Steinmann
a7212a0708 read categories and keywords from drag and drop area 2022-03-09 08:39:20 +01:00
Uwe Steinmann
22b054f764 comment and attributes can passed to document uploaded by drag&drop 2022-03-07 15:19:42 +01:00
Uwe Steinmann
c5dbe1995d fix possible cross side scripting 2022-03-04 08:27:46 +01:00
Uwe Steinmann
1c4fbbed96 fix php warning in getAttributeEditField() 2022-03-04 08:27:17 +01:00
Uwe Steinmann
b747cc4224 extensions cannot be disabled/enabled if configuration file is not writeable 2022-02-25 08:04:10 +01:00
Uwe Steinmann
ff49e2b31f make large modal box wider 2022-02-24 08:18:45 +01:00
Uwe Steinmann
74b3f896ff do not show class of modal box link if empty 2022-02-24 07:31:57 +01:00
Uwe Steinmann
1e85c6c5c6 set default value of checkbox with hidden input field 2022-02-22 17:54:08 +01:00
Uwe Steinmann
6cac794913 set type of input field for search query to 'search' 2022-02-22 13:16:43 +01:00
Uwe Steinmann
2ad448581a add new parameter 'addon' used by input fields 2022-02-11 07:07:54 +01:00
Uwe Steinmann
7a21fa77b5 add new parameter 'addon' in formField() used by input fields 2022-02-11 07:07:19 +01:00
Uwe Steinmann
fb29402194 allow placeholder for textarea 2022-02-11 07:07:01 +01:00
Uwe Steinmann
82d9a42968 comment old unused code 2022-02-09 08:10:17 +01:00
Uwe Steinmann
ea5218ea03 add SeeddmsAjax for running function after updating div.ajax 2022-01-05 08:04:38 +01:00
Uwe Steinmann
22915df3e1 add method documentListRowStatus() 2022-01-05 07:34:51 +01:00
Uwe Steinmann
a93fdd91c8 remove old code 2022-01-03 19:14:53 +01:00
Uwe Steinmann
84f1afc1d3 use new method folderListHeader() 2022-01-03 19:14:35 +01:00
Uwe Steinmann
cff6b66d1c use new method folderListHeader() 2022-01-03 19:14:13 +01:00
Uwe Steinmann
771b9674cc use new methods to show list of docs/folders 2022-01-03 13:35:12 +01:00
Uwe Steinmann
5c93d53e60 add methods to show list headers and columns of doc/folder lists 2022-01-03 13:29:24 +01:00
Uwe Steinmann
4efc8226c8 show header of additional preview only if hook returns a text 2021-12-17 21:46:28 +01:00
Uwe Steinmann
52a9a41d5c add hook documentListPreview 2021-12-15 17:17:23 +01:00
Uwe Steinmann
97bdb0773d certain fields in configuration can be disabled for editing 2021-12-15 08:39:11 +01:00
Uwe Steinmann
004af591a9 do not allow to select category if no categories exists 2021-12-03 11:31:37 +01:00
Uwe Steinmann
14d8a1bd91 show date in configured format, skip groups of user if not exsit 2021-12-03 10:49:59 +01:00
Uwe Steinmann
84442d68f0 move submit button at end of form 2021-12-03 10:49:27 +01:00
Uwe Steinmann
489e01d2c6 remove old form validation 2021-12-03 09:31:03 +01:00
Uwe Steinmann
2c182e3d09 add form validation 2021-12-03 09:30:43 +01:00
Uwe Steinmann
11dabf2cb0 make jqtree look nice again 2021-12-01 11:13:26 +01:00
Uwe Steinmann
1e64083faa fix css of jquery tree 2021-11-29 18:58:12 +01:00
Uwe Steinmann
9cff7df236 propper icon on buttons of bootbox 2021-11-29 11:22:23 +01:00
Uwe Steinmann
a4bb363799 get total number of hits, some code formating 2021-11-19 13:49:46 +01:00
Uwe Steinmann
bb10ff084b replace old form validation with jquery validation 2021-11-17 20:57:42 +01:00
Uwe Steinmann
5049169d09 show fulltext search tab if fulltext search was used 2021-11-10 08:33:52 +01:00
Uwe Steinmann
a46549a7b2 propperly eval return of hook addDocumentContentFile 2021-11-09 09:33:54 +01:00
Uwe Steinmann
2558450993 fix line indenting 2021-11-09 09:33:36 +01:00
Uwe Steinmann
dc8cdb9db9 fix list of documents with workflow action by group 2021-11-08 14:18:13 +01:00
Uwe Steinmann
76dffe2497 use jquery validate 2021-11-08 12:26:13 +01:00
Uwe Steinmann
3d3bee169f add selection of sort field to form 2021-11-08 12:25:34 +01:00
Uwe Steinmann
334639cbb5 fix checking of extensions 2021-11-04 17:43:58 +01:00
Uwe Steinmann
623b1bf0f4 fix cols of formField 'textarea' 2021-10-26 10:16:27 +02:00
Uwe Steinmann
eaddd31198 hook addDocumentContentFile returns an array of form fields to upload a file 2021-10-25 12:52:13 +02:00
Uwe Steinmann
61a53f8e90 start of week can be passed to datepicker (not used yet) 2021-10-20 07:58:09 +02:00
Uwe Steinmann
ae08602e68 add hook getCspRules() in htmlStartPage() 2021-10-20 07:09:39 +02:00
Uwe Steinmann
9734d57ff3 rerun filter after toggling an extension 2021-10-08 12:15:37 +02:00
Uwe Steinmann
898943dd6e add new conversion manager and services 2021-10-06 15:03:03 +02:00
Uwe Steinmann
12c79d8773 type of conf vars of extension can be 'number' 2021-10-06 15:01:08 +02:00
Uwe Steinmann
7119b431f8 fix line indenting 2021-10-02 07:35:02 +02:00
Uwe Steinmann
e14ae4b252 add comment 2021-09-29 15:01:07 +02:00
Uwe Steinmann
b10241f3f1 replace attribute required by required="required" 2021-09-27 10:26:10 +02:00
Uwe Steinmann
e982737630 run some urls through htmlentities 2021-09-27 10:25:39 +02:00
Uwe Steinmann
145d4021a9 class tags (img, meta, link) with '/>' 2021-09-27 10:23:46 +02:00
Uwe Steinmann
e95b5a971e edit comment and sequence of folders can be turned off 2021-09-22 09:59:33 +02:00
Uwe Steinmann
3e1dcc3c75 add new configuration noFolderFormFields 2021-09-22 09:53:53 +02:00
Uwe Steinmann
56a352caca add placeholder with example for regex 2021-09-16 17:11:14 +02:00
Uwe Steinmann
f1db74929c pass sortusersinlist of view 2021-09-16 16:25:36 +02:00
Uwe Steinmann
0d37021f6d no need to check isHidden()=='1' anymore, isHidden() returns a bool 2021-09-16 16:21:58 +02:00
Uwe Steinmann
da0f5d3053 more settings to disable import and download of extensions 2021-09-09 11:42:38 +02:00
Uwe Steinmann
9f618c5437 remove titleDisplayHack configuration 2021-09-09 09:57:00 +02:00
Uwe Steinmann
40f3cf35c9 use formField() instead of plain html for select menus 2021-09-09 08:19:04 +02:00
Uwe Steinmann
c376e352b5 add attribute 'for' to label in formField() 2021-09-09 08:17:52 +02:00
Uwe Steinmann
60a13b9f13 check view access for DocumentAccess and Folder FolderAccess 2021-08-25 15:08:24 +02:00
Uwe Steinmann
d786a66adc check for access on WorkflowGraph 2021-08-20 11:16:03 +02:00
Uwe Steinmann
0f786a73b6 check access on WorkflowGraph 2021-08-20 11:00:51 +02:00
Uwe Steinmann
3a26fc3e2a use a unified layout 2021-08-20 09:45:58 +02:00
Uwe Steinmann
f18ab76b63 escape special chars in translation form 2021-08-20 09:45:35 +02:00
Uwe Steinmann
ee654df475 fix css to mostly prevent scroll bars 2021-08-20 09:44:30 +02:00
Uwe Steinmann
ffc2565933 show translated action name in workflow log 2021-08-20 09:44:02 +02:00
Uwe Steinmann
588369b64d fix table class 2021-08-20 09:43:09 +02:00
Uwe Steinmann
fd4131497b escape special chars in missing translation form 2021-08-20 09:42:27 +02:00
Uwe Steinmann
c3dd223dc4 check if array key '__disabled__' is set 2021-08-18 12:12:36 +02:00
Uwe Steinmann
494e5912af include Previewer 2021-08-17 17:55:55 +02:00
Uwe Steinmann
0cf8e7cac5 fix adding of multiple favicons or logos 2021-08-06 08:58:03 +02:00
Uwe Steinmann
b9f4d7b0ba issue a message if no attributes are defined 2021-07-23 14:03:44 +02:00
Uwe Steinmann
79292956c5 better error checking 2021-07-21 15:48:42 +02:00
Uwe Steinmann
54396e6876 move submit button out of contentContainer 2021-07-20 06:22:37 +02:00
Uwe Steinmann
a113649be3 add support for drag and drop of attachments 2021-07-16 16:03:34 +02:00
Uwe Steinmann
9c66a9350a show all readable folders in tree, to make writeable subfolder visible 2021-07-16 15:57:06 +02:00
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