Commit Graph

598 Commits

Author SHA1 Message Date
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
Uwe Steinmann
236f3c2e48 add link to remove attribute values from all folders, documents 2018-02-22 19:12:36 +01:00
Uwe Steinmann
caa86d4947 attribute values can be deselected 2018-02-07 09:00:09 +01:00
Uwe Steinmann
987025331d set default position of new documents/folders (Closes #381) 2018-02-07 08:43:46 +01:00
Uwe Steinmann
a36087e405 add chzn-select for attributes 2018-01-18 10:48:09 +01:00
Uwe Steinmann
e4e7dd838f remove empty line in exitError() 2017-12-07 08:53:11 +01:00
Uwe Steinmann
116cf9708e add transfer document to menu 2017-12-06 09:13:50 +01:00
Uwe Steinmann
541e3ba358 show number or reverse links in documentListRow() 2017-12-05 10:12:37 +01:00
Uwe Steinmann
51c3b90a58 http headers can be passed to htmlStartPage() 2017-10-19 13:47:25 +02:00
Uwe Steinmann
b24efc1fd3 add icon for files of type opus 2017-10-11 14:34:16 +02:00
Uwe Steinmann
856d7a85af add menu item for expired documents 2017-10-06 18:06:18 +02:00
Uwe Steinmann
76a53703a2 set id=userfile for upload file field again
required for form validation. Using .btn-file as before is not
unique and validation fails if there is another input form field
2017-09-27 06:56:58 +02:00
Uwe Steinmann
c9d01565ba Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-09-20 09:24:00 +02:00
Uwe Steinmann
ca2c9c8f93 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-09-20 09:23:46 +02:00
Uwe Steinmann
0967c109d0 urlencode file name in printDropFolderChooserHtml() 2017-09-20 09:22:43 +02:00
Uwe Steinmann
3884bb7c76 replace button by span in fine-uploader 2017-08-29 07:20:48 +02:00
Uwe Steinmann
60e15d33bc replace button with span in fine-uploader template 2017-08-29 06:24:53 +02:00
Uwe Steinmann
aefbf6ab97 replace button by span in fine-uploader (Closes #339)
the button triggers a form upload in firefox
2017-08-29 06:13:16 +02:00
Uwe Steinmann
988f28c664 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-02 14:02:11 +02:00
Uwe Steinmann
9473d423a8 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-02 14:02:01 +02:00
Uwe Steinmann
0ba02cc2a8 use only svg icons 2017-08-02 14:01:00 +02:00
Uwe Steinmann
2958667600 pass folder id to DropFolderChooser::menuList 2017-08-01 07:58:05 +02:00
Uwe Steinmann
05671428e1 file in drop folder can be shown in menu as item 2017-07-31 20:30:59 +02:00
Uwe Steinmann
17b4142912 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-11 11:14:24 +02:00
Uwe Steinmann
b1e4572761 turn all hrefs to out.XxxxVvvv.php into ../out/out.XxxxVvvv.php 2017-07-11 11:12:54 +02:00
Uwe Steinmann
9958e79315 add new action 'webrootjs' which returns some javascript with webroot path 2017-06-09 12:30:23 +02:00
Uwe Steinmann
4eb3b5ed4d add new js file webrootjs which contains the http root 2017-05-17 09:22:05 +02:00
Uwe Steinmann
b406d31ea0 add menu tasks including checkbox in settings for enabling it 2017-05-12 18:09:53 +02:00
Uwe Steinmann
adb7368acc do not set id in input field for file upload field
field can be duplicated and that makes the id no unique
2017-04-28 13:12:20 +02:00
Uwe Steinmann
2533ef845b add new method getFileChooser() which is called by printFileChooser() 2017-04-27 17:21:52 +02:00
Uwe Steinmann
19d13f5b30 make fine uploader and btn-file usable twice on a page 2017-04-27 06:52:50 +02:00
Uwe Steinmann
81926fe0b9 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-04-11 10:13:15 +02:00
Uwe Steinmann
93adee468f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-04-11 10:13:02 +02:00
Uwe Steinmann
0fd0af5854 check if method 'css' exists, run action if it does after all css filest 2017-04-11 10:10:04 +02:00