Commit Graph

631 Commits

Author SHA1 Message Date
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
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
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
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
132c643433 user getReadableDate() instead of date() 2020-12-01 18:24:29 +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
c36d5c9cb9 replace fa-bar icon with fa-bars 2020-11-11 17:41:58 +01:00
Uwe Steinmann
277cc52025 check if extraheader[favicon] is set 2020-11-03 17:36:35 +01: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
8198fd333f replace btn-default by btn-secondary 2020-10-08 22:13:33 +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
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
05a6917102 add simple task manager in js 2020-09-24 16:50:50 +02:00
Uwe Steinmann
245a103b35 fix selection of documents/folders 2020-09-17 13:01:14 +02:00
Uwe Steinmann
b9748576dc add new method htmlAddJsHeader() which adds script with nonces 2020-09-15 12:14:15 +02:00
Uwe Steinmann
c6d0a1d345 allow inline editing on document details page 2020-09-07 16:20:37 +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
b15c47117e out message if no groups/users are available 2020-08-28 13:11:05 +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
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
6651601995 add help to form field, formSubmit can output several buttons 2020-08-20 19:59:09 +02:00
Uwe Steinmann
f2ae4e97bd make select button of keyword selector primary 2020-08-11 18:22:43 +02:00
Uwe Steinmann
af1662f194 use a unified name in tree navigation widget 2020-08-10 07:33:29 +02:00
Uwe Steinmann
1ce602c98c add [begin|end]_action_list as keys for extracontent in list items 2020-08-05 18:43:12 +02:00
Uwe Steinmann
f16d1821cc add start and end date to getDateChooser() 2020-06-16 07:18:30 +02:00
Uwe Steinmann
514002f877 import users from csv file 2020-06-09 21:07:47 +02:00
Uwe Steinmann
932cfab13e minor improvements in folder tree (show 'plus' if children exists) 2020-06-03 10:53:49 +02:00
Uwe Steinmann
f7bcec7be7 set folder id in clipboard div (Closes: #473) 2020-05-18 18:29:52 +02:00
Uwe Steinmann
2b15816228 put clipboard into container which can be made fixed 2020-05-13 13:28:32 +02:00
Uwe Steinmann
d6ff82ccb8 form name can be passed to printFineUploaderJs() 2020-05-07 06:49:38 +02:00
Uwe Steinmann
e93f8b6266 make showNavigationBar protected
so it can be used in extensions
2020-04-21 17:23:45 +02:00
Uwe Steinmann
e5a56f5eba allow menu children in globalNavigationBar 2020-04-21 15:51:40 +02:00
Uwe Steinmann
9056e91bc3 fix calling hook 'globalNavigationBar' 2020-04-21 15:38:18 +02:00
Uwe Steinmann
23cc3c08cd add hock for global navigation bar 2020-04-21 15:23:37 +02:00
Uwe Steinmann
440f327bad minor layout improvements 2020-04-14 20:00:53 +02:00
Uwe Steinmann
0273199ce0 fix link to custom css on page 2020-04-14 17:07:53 +02:00
Uwe Steinmann
71a24bb826 add 'data-target-id' to folder and document rows in list
This will be used to specify the document associated to the row.
2020-04-10 07:52:35 +02:00
Uwe Steinmann
6f60445ca8 set data-allow-clear on select2 2020-04-01 14:05:33 +02:00
Uwe Steinmann
2c0fb6f476 run names through htmlspecialchars() 2020-03-26 07:54:27 +01:00
Uwe Steinmann
8497e652f6 setting more http headers to improve security 2020-03-13 19:43:47 +01:00
Uwe Steinmann
c021e4b4cb make printPopupBox() public 2020-03-05 22:26:53 +01:00
Uwe Steinmann
3e98a18bab add new optional parameter skipcont to folderListRow() 2020-03-05 09:11:45 +01:00
Uwe Steinmann
92216112a4 set title and cursor of folder row in onepage mode 2020-03-04 22:30:42 +01:00
Uwe Steinmann
54a14286f3 set cursor of documentListRow in onepage mode, show id on mouse over 2020-03-04 22:25:10 +01:00
Uwe Steinmann
975c6cb147 add js code for catching clicks on folder rows in one page mode 2020-02-28 09:47:58 +01:00
Uwe Steinmann
e2ac404760 set header X-Content-Type-Options (still commented out) 2020-02-18 09:46:32 +01:00
Uwe Steinmann
b994b5afcd set seeddms_folder in js propperly 2020-01-22 15:54:10 +01:00
Uwe Steinmann
d5a937fbc8 minor modification of folder tree 2019-12-20 14:17:48 +01:00
Uwe Steinmann
849351e58b add js for updateDropFolder only if drop folder list is enabled 2019-12-20 10:53:09 +01:00
Uwe Steinmann
c2e48e9ab4 get access mode of folder only once in folderListRow() 2019-12-13 10:27:02 +01:00
Uwe Steinmann
583ce13bfc set video icon for .mkv files 2019-12-10 06:20:11 +01:00
Uwe Steinmann
6d604d2d60 set icon for video/webm 2019-12-06 15:23:38 +01:00
Uwe Steinmann
63c90a026b menu item does not need a href if it has children 2019-12-04 19:31:02 +01:00
Uwe Steinmann
fd4a821fa8 better checking for existing value 2019-11-26 17:07:47 +01:00
Uwe Steinmann
24f030f1c7 add method printClickDocumentJs()
adds js for catching the event when clicking on a document row and
onepage mode is on
2019-11-25 09:50:52 +01:00
Uwe Steinmann
833ff8f7da do not allow adding events and showing tasks 2019-11-20 17:50:26 +01:00
Uwe Steinmann
b095c48ddd formField() treats a value == "0" as not empty 2019-11-19 18:20:53 +01:00
Uwe Steinmann
28e2549866 menuTasks returns complete menuItem 2019-11-12 15:22:00 +01:00
Uwe Steinmann
9820d9b7f3 set data-name for folder/document table rows 2019-11-07 19:54:42 +01:00
Uwe Steinmann
a53cd4b0cd add method successMsg() 2019-10-18 12:21:40 +02:00
Uwe Steinmann
a6ef05b22b stop event propagation when clicking the delete doc/folder button in the list view 2019-10-16 17:57:56 +02:00
Uwe Steinmann
297d5d1391 clicking on document table row will load document page, update browser history 2019-10-16 09:50:54 +02:00
Uwe Steinmann
1a23c659fe add hook pageNavigationBar, pass date format to getDateChooser() 2019-10-01 14:06:46 +02:00
Uwe Steinmann
39217037b8 fix tree behaviour, do not load all sub nodes 2019-09-11 17:43:50 +02:00
Uwe Steinmann
919757bbf3 add new parameter partialtree to method printNewTreeNavigationJs() 2019-09-06 15:19:47 +02:00
Uwe Steinmann
4215eda966 remember current folder id on page, update drop folder list regulary 2019-09-05 12:53:45 +02:00
Uwe Steinmann
bd99b078ca split page into seperate views, click in tree just updates the views
a page reload isn't needed anymore
2019-08-27 14:35:22 +02:00
Uwe Steinmann
1d2b44a8d9 the subtree command from op.Ajax.php has been moved into the views 2019-08-08 09:32:42 +02:00
Uwe Steinmann
1de9ed37d5 allow serveral instanceѕ of drop folder chooser on one page 2019-07-30 06:33:18 +02:00
Uwe Steinmann
19f5990080 add div.statusbar-container, remove old code, make drag&drop work 2019-07-12 16:43:34 +02:00
Uwe Steinmann
e1ae62ec7e overhaul drag&drop code
documents can be dropped on other documents, files can be dropped
on folders
2019-07-11 17:18:03 +02:00
Uwe Steinmann
f09ece975b turn load on demand on in jqtree 2019-07-10 19:32:02 +02:00
Uwe Steinmann
a91a49cd56 add filetype 'folder' in getMimeIcon()
This enables the use of getMimeIcon() for folders instead of using
the protected $imgpath
2019-07-04 14:33:24 +02:00
Uwe Steinmann
53134c346a add icons for sort field and sort order in list of folders/docs 2019-06-24 11:54:08 +02:00
Uwe Steinmann
a511904a81 call new hook 'footNote', footNote() returns the html instead of echoing it 2019-05-13 08:13:30 +02:00
Uwe Steinmann
f8ac8aa74f take out patches accidentially taken over from demo 2019-05-07 08:05:19 +02:00
Uwe Steinmann
b1dc684738 add donate button to global nav, use simpler button 2019-05-02 16:57:31 +02:00
Uwe Steinmann
c459175bab add offer to receive a copy of the user's manual 2019-05-02 16:57:31 +02:00
Uwe Steinmann
ddddb4fb74 add splashscreen for paypal 2019-05-02 16:57:31 +02:00
Uwe Steinmann
1dfd36e79a fix moving documents on clipboard into the current folder 2019-05-01 12:43:36 +02:00
Uwe Steinmann
423bf1dd7c do not show attributes in extra column in search result
put into a popup opened by a button
2019-04-11 06:19:56 +02:00
Uwe Steinmann
6115e5232f load jqtree data on left click also 2019-02-27 11:44:27 +01:00
Uwe Steinmann
939d212175 call hook to get document content 2019-02-06 13:11:49 +01:00
Uwe Steinmann
fdb848d5bb fix list of menuitems, fix user in protocol log 2019-02-04 14:43:57 +01:00
Uwe Steinmann
3855603dbf fix tree view when documents are shown 2019-02-04 14:24:30 +01:00
Uwe Steinmann
476cac3967 update jqtree, add right click for downloading children 2019-01-11 13:16:08 +01:00
Uwe Steinmann
73e1df3ad8 make it work with slim notfound handler 2019-01-09 09:19:46 +01:00
Uwe Steinmann
488b274048 add 'worker-src blob:' to csp rule 2018-11-16 11:36:48 +01:00
Uwe Steinmann
b713a40e1e add checking for float attributes 2018-11-10 18:05:45 +01:00
Uwe Steinmann
71e59f1a22 set selection menu for expiration to 'date' if date is entered (Closes #423) 2018-11-07 21:45:48 +01:00
Uwe Steinmann
ee343cb972 urlencode parameters for url of search pages 2018-11-07 20:53:31 +01:00
Uwe Steinmann
950de8e293 do not take images from out/images anymore
use views/bootstrap/images instead
2018-10-11 10:51:04 +02:00
Uwe Steinmann
4038503fe2 remove old jump loader code 2018-10-11 09:44:09 +02:00
Uwe Steinmann
cefb89a8c2 move js for btn-file into php function
the new function printFileChooserJs() must be called in the js method
on every page where a file upload button is used
2018-09-05 13:34:30 +02:00
Uwe Steinmann
164bec246b fix typo in comment 2018-08-20 17:13:57 +02:00
Uwe Steinmann
76720ccabf set $sitename earlier in htmlStartPage()
because the the opensearchengine meta tag needs it
2018-08-08 06:51:27 +02:00
Uwe Steinmann
84e87715da add open search description 2018-07-13 15:25:33 +02:00
Uwe Steinmann
643e948440 add field_wrap to formField(), separate some methods in get and print 2018-06-26 06:51:04 +02:00
Uwe Steinmann
1fa1644fce use formField() instead of plain html 2018-06-21 11:56:05 +02:00
Uwe Steinmann
639b11b52b more use of formField() instead of plain html 2018-06-21 11:30:58 +02:00
Uwe Steinmann
ba0181e2a1 new method getDropFolderChooserHtml() 2018-06-21 09:29:02 +02:00
Uwe Steinmann
798ef49f23 fix output of attributes in formField() 2018-06-20 20:39:28 +02:00
Uwe Steinmann
8a4450295a new bootstrap datepicker version with support for more languages 2018-06-19 09:13:25 +02:00
Uwe Steinmann
a133226bbe output additional attributes in formField() 2018-06-19 08:03:46 +02:00
Uwe Steinmann
377117e9d0 more option for formField() 2018-06-18 17:28:36 +02:00
Uwe Steinmann
00bbda39bb pass form field by array to formField() 2018-06-07 07:46:19 +02:00
Uwe Steinmann
1e40adfd30 formField() can also take an array instead of a string 2018-05-29 18:19:48 +02:00
Uwe Steinmann
7fd33d07d0 call hook in all page navigations, allow dropdown menus in page navigation 2018-04-26 08:49:10 +02:00
Uwe Steinmann
f7310b2b5f use method formField() instead of html 2018-04-23 15:50:46 +02:00
Uwe Steinmann
bfc59dc90c use ErrorDlg view for error messages
this will also fix the js errors when the error page was shown
2018-04-06 16:34:01 +02:00
Uwe Steinmann
d97ef62ff1 make user action is set in exitError() 2018-04-06 09:45:08 +02:00
Uwe Steinmann
305a980e44 ??? 2018-04-06 09:27:58 +02:00
Uwe Steinmann
97d08ef1b4 call parent class in class.Bootstrap.php, move imgpath in parent 2018-04-06 08:31:11 +02:00
Uwe Steinmann
5995286c17 run js checkTasks() only if tasks in menu are turned on 2018-03-26 10:05:14 +02:00
Uwe Steinmann
a66f9538f4 splash msg may have a timeout value 2018-03-21 13:40:34 +01:00
Uwe Steinmann
44b9525615 set fall back value for attributes of type checkbox to '' 2018-03-19 11:31:50 +01:00