Commit Graph

660 Commits

Author SHA1 Message Date
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
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
4f995dcd23 set propper date value in custom date fields 2022-06-07 17:44:42 +02:00
Uwe Steinmann
9522d38cfb fix editing of custom attributes of type date 2022-05-09 15:27:19 +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
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
1c4fbbed96 fix php warning in getAttributeEditField() 2022-03-04 08:27:17 +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
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
22915df3e1 add method documentListRowStatus() 2022-01-05 07:34:51 +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
52a9a41d5c add hook documentListPreview 2021-12-15 17:17:23 +01:00
Uwe Steinmann
11dabf2cb0 make jqtree look nice again 2021-12-01 11:13:26 +01:00
Uwe Steinmann
623b1bf0f4 fix cols of formField 'textarea' 2021-10-26 10:16:27 +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
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
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
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
0cf8e7cac5 fix adding of multiple favicons or logos 2021-08-06 08:58:03 +02:00
Uwe Steinmann
79292956c5 better error checking 2021-07-21 15:48:42 +02:00
Uwe Steinmann
c1a2411882 remove plain html for error and warning msgs 2021-07-15 17:43:50 +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
180b9a4b7e remove some spaces 2021-07-13 11:48:54 +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
40beffff14 remove lots of relative links because the can break with faked urls 2021-07-05 16:30:26 +02:00
Uwe Steinmann
1f22a0dd22 add more access checking 2021-06-29 11:26: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
ab546099f1 fix possible CSRF attack by setting document name 2021-06-14 09:09:36 +02:00
Uwe Steinmann
290a01c2b1 logo can be set in extraheader 2021-06-08 09:01:30 +02:00
Uwe Steinmann
16e4675d93 add comment 2021-05-28 10:36:39 +02:00
Uwe Steinmann
cf411df04f add data-target-highlight for jquery validation 2021-05-27 21:55:34 +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
1ac8f31105 check if shift key was preset when clicked in a folder/document row 2021-05-14 19:05:02 +02:00
Uwe Steinmann
ed4b5e34a4 item in list with badges can be set active 2021-05-07 17:35: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
8807257aa2 check if array element exists 2021-05-06 12:18:51 +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
ef42392e7f add formField of type 'plain' 2021-05-04 17:27:27 +02:00
Uwe Steinmann
d3674886ae add methods for creating panes, make modal boxes wide 2021-05-04 12:07:18 +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
fd90623de4 use callHook() instead of interating over hookObjects 2021-04-23 09:55:25 +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
06962e39c2 add new method getListRowPath() 2021-04-20 22:24:16 +02:00
Uwe Steinmann
3d7a74ec32 fix line indenting 2021-04-19 08:36:07 +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
4a9d3666f1 move css and js files into theme directory 2021-04-15 15:35:53 +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
23c9edd5a4 check if $this->extraheader['favicon'] has a value 2021-04-01 07:42:07 +02:00
Uwe Steinmann
ee3e619050 add icon for .ogg extension 2021-03-26 07:47:30 +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
e9d606ce27 add optgroup in formField() 2021-03-14 13:57:21 +01:00
Uwe Steinmann
5729944384 add postfix for name of attribute in getAttributeEditField() 2021-03-12 10:02:33 +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
88ed21488c add optional paramter $target to formSubmit() 2021-03-05 07:10:36 +01:00
Uwe Steinmann
2f2472f79f add icon for m4a 2021-02-20 20:13:01 +01:00
Uwe Steinmann
e7b40e21f3 use htmlspecialchars() in getAttributeValue() for user/group name 2021-02-06 18:01:26 +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
1399a3547e placeholder of select can be set 2021-01-14 22:35:03 +01:00
Uwe Steinmann
de4dec03cc add icon for mp4 2021-01-12 22:03:47 +01:00
Uwe Steinmann
ac03479391 unfold all folders within current path 2020-12-28 19:43:36 +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
613d234d86 set folder id in global nav to $dms->getRootFolder() 2020-12-18 07:53:07 +01:00
Uwe Steinmann
d9fa867582 add support for configurable date format 2020-12-17 13:41:00 +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
70c5b90643 add hook documentListRowBelowTitle 2020-12-15 17:42:07 +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