Commit Graph

76 Commits

Author SHA1 Message Date
Uwe Steinmann
3471835d0a do not check for named formtoken in op/op.Ajax.php anymore, use new statusbox-container for last file uploads 2019-07-12 16:45:28 +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
414f00c5c9 add fix for CVE-2019-12932, escape strings output by incr. search 2019-06-24 11:53:01 +02:00
Uwe Steinmann
556ec6de14 callbacks for select2 can now handle numeric values for data attributes 2019-06-13 09:29:24 +02:00
Uwe Steinmann
aed0c3cdf3 prevent xss attack in Select2 select menu 2019-06-13 09:03:00 +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
476cac3967 update jqtree, add right click for downloading children 2019-01-11 13:16:08 +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
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
080ef272b1 use data attribute instead of deselect class for select boxes 2018-06-22 16:38:52 +02:00
Uwe Steinmann
60a71e2397 run passStrength after loading page with ajax 2018-06-21 17:55:51 +02:00
Uwe Steinmann
d017726984 count workflows to trigger if workflowmode='advanced' 2018-03-27 17:47:58 +02:00
Uwe Steinmann
838d6c7753 set warning label in chzn select list 2017-12-06 15:37:43 +01:00
Uwe Steinmann
bd616ac46e put template func of chzn select into var and reuse it 2017-12-05 18:30:22 +01:00
Uwe Steinmann
9927d76b9d data-base attribute can be added to <div class"ajax"> 2017-06-22 17:18:25 +02:00
Uwe Steinmann
d2da3004bb check for data-base in div-ajax 2017-06-20 09:13:56 +02:00
Uwe Steinmann
58589bde70 use new seeddms_webroot 2017-05-17 09:22:37 +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
19d13f5b30 make fine uploader and btn-file usable twice on a page 2017-04-27 06:52:50 +02:00
Uwe Steinmann
da6958a936 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-24 08:24:39 +01:00
Uwe Steinmann
fc90e71584 do not show spinner if data-no-spinner is set in '<div ..' 2017-03-24 08:22:52 +01:00
Uwe Steinmann
479ee94fd8 take out command 'view', is now covered by view classes 2017-03-10 20:08:32 +01:00
Uwe Steinmann
63a405cb74 add parameter 'callback' to $('div.ajax') update 2017-02-16 14:59:49 +01:00
Uwe Steinmann
75d8413832 open popupbox even if title is an <i> tag 2017-01-18 08:31:34 +01:00
Uwe Steinmann
3dcf867634 add code to open and close popup box 2017-01-18 08:09:50 +01:00
Uwe Steinmann
99805e5c30 add code and style for simple popup box 2017-01-12 16:41:44 +01:00
Uwe Steinmann
5b459a187d make fileselect box work on pages with ajax
fileselect box in html code which was loaded by ajax didn't work
propperly. The selected file name wasn't shown.
2016-12-06 15:21:08 +01:00
Uwe Steinmann
5397dbd58c uncheck checkbox below expire date if date is set 2016-12-05 10:24:03 +01:00
Uwe Steinmann
9015c1ea08 run $('.pwd').passwordStrenght() after loading html 2016-11-18 13:55:46 +01:00
Uwe Steinmann
c973a8c65b fix error in onAddClipboard()
used wrong variable name for event
2016-11-08 11:09:42 +01:00
Uwe Steinmann
c485c272f5 turn .chzn-select-deselect into select2 box 2016-11-04 15:42:24 +01:00
Uwe Steinmann
f36ffb1032 use select2 instead of choosen 2016-11-02 12:26:38 +01:00
Uwe Steinmann
1790e5f6e7 refresh folder tree after document/folder move, make drag&drop work in Edge
Closes #286 and #288
2016-10-04 15:01:10 +02:00
Uwe Steinmann
b9c4e1a775 add js for click on .ajax-click 2016-08-09 18:14:58 +02:00
Uwe Steinmann
fa413d0336 no action if folder is droped on itself 2016-04-29 08:10:10 +02:00
Uwe Steinmann
2c297b5e1c take out javascript from html (Closes #253) 2016-03-29 07:59:20 +02:00
Uwe Steinmann
942de6cfee new style add-clipboard-area for receiving drop events
add new class to menu item for clipboard which allows to easily
drop an item into the clipboard even if the clipboard itself
isn't visible
2016-03-23 08:54:34 +01:00
Uwe Steinmann
41c83dbe6d remove various console.log() 2016-03-08 22:04:00 +01:00
Uwe Steinmann
42ebb5d452 use bootbox when moving docs/folders via drag&drop 2016-03-08 10:38:51 +01:00
Uwe Steinmann
192700fd26 various minor cleanups 2016-03-08 08:02:17 +01:00
Uwe Steinmann
6098fc9057 much cleaner drap&drop support 2016-03-08 06:56:58 +01:00
Uwe Steinmann
9b1faa429f propperly set timeout of noty message if not passed 2016-02-15 17:44:56 +01:00
Uwe Steinmann
f139625e4f fix link in autocompletion when search for object 2016-01-29 16:46:37 +01:00
Uwe Steinmann
1dff276217 div.splash can have a timeout attribute 2015-12-16 07:14:27 +01:00
Uwe Steinmann
836fcd4457 remove all javascript from html output and place in a seperate file
this requires to change the popover into bootbox
2015-12-11 20:29:52 +01:00
Uwe Steinmann
01aac2c23c div.splash will be used as splash message
make it hidden on the page
2015-12-11 08:11:10 +01:00
Uwe Steinmann
0c98a1ae71 class .datepicker turns datepicker on 2015-10-30 08:03:31 +01:00
Uwe Steinmann
1972d961f3 initial test with webkitRelativePath (not used) 2015-10-20 18:14:39 +02:00
Uwe Steinmann
01449f66e3 check if data-query is set in div.ajax elements, pass it to the url 2015-09-25 16:16:48 +02:00
Uwe Steinmann
36135883ee div.ajax uses data-view and data-action attributes if set 2015-08-20 14:51:14 +02:00