Commit Graph

35 Commits

Author SHA1 Message Date
Hadi Nategh
29666faaeb Bind hover handler in file upload widget on input element as input always is on top and transparent 2015-01-13 13:41:03 +00:00
Hadi Nategh
ee46807842 * Filemanager: New styling and access to list of uploading files in progress 2014-10-01 15:21:48 +00:00
Nathan Gray
2cc0e8d434 Also accept file names to remove. 2014-09-19 18:32:20 +00:00
Hadi Nategh
e1dd31ebbd * All apps/IE: Fix not working file upload in IE 2014-09-09 13:07:07 +00:00
Hadi Nategh
e438ed281e Fix styling of freezed buttons while uploading files via file widget 2014-09-04 15:04:22 +00:00
Nathan Gray
08c10a70aa Update Resumable from github, fixes some problems with setting et2_file value to a list of files in firefox. 2014-07-07 20:26:48 +00:00
Nathan Gray
d3c0314b4d Switch AJAX upload library to Resumable for chunked uploads. 2014-04-01 20:48:40 +00:00
Nathan Gray
b93286a467 Don't call finish or change callbacks if upload fails 2014-03-25 21:03:35 +00:00
Hadi Nategh
dd95ab16cc * etemplate|widget_file: Make widget_file stylable 2014-03-21 16:27:09 +00:00
Klaus Leithoff
04ad47f021 avoid error on this.input[0] undefined 2014-01-30 09:07:02 +00:00
Nathan Gray
d1c5bf2243 Use current app to get around missing etemplate run rights 2013-11-13 23:28:26 +00:00
Nathan Gray
db1077e3ed Fix extra change event firing which was breaking multiple file uploads 2013-09-25 15:52:42 +00:00
Nathan Gray
ca54de9e2c Use jsapi's egw.ajaxURL() 2013-09-10 17:55:05 +00:00
Klaus Leithoff
8667f81010 change handling of progress attribute; only XET-ids work, when fetched with getWidgetById and widget.getDomNode (it may not be available at creation time, so we (re)check on createStatus time) 2013-09-10 12:57:40 +00:00
Klaus Leithoff
355ffbbb9b change handling of progress attribute; only XET-ids work, when fetched with getWidgetById and widget.getDomNode 2013-09-10 08:08:47 +00:00
Nathan Gray
9192652877 Let progress attribute be a widget ID or the ID of a specific DOM node 2013-09-09 22:04:48 +00:00
Nathan Gray
4e2843b4a1 Implement set_value() to accept a list of files, which triggers the async upload and callbacks 2013-08-27 17:20:08 +00:00
Nathan Gray
3d12c2b591 Add namespace to drop event bindings to easily remove only the ones the widget added. 2013-08-27 16:29:13 +00:00
Nathan Gray
7e1a785615 Make whole edit dialog a drop target - files will be uploaded & linked
Done in the link widget, so any template with link-to should work.
2013-08-13 20:46:23 +00:00
Nathan Gray
6fdeb9f5f8 Drag files from desktop anywhere onto filemanager uploads 2013-08-09 23:34:42 +00:00
Nathan Gray
dacc98ae72 Add drop_target attribute to support HTML5 dropping of files 2013-08-03 19:12:38 +00:00
Nathan Gray
f4a6c9859a More fixes forjQuery/jQueryUI update issues 2013-07-20 17:20:55 +00:00
Nathan Gray
fc727570dd Implement set_value() on file widget - you can't really set file upload values programmatically to anything that makes sense, but it can be cleared 2013-04-22 16:52:03 +00:00
Ralf Becker
3a14e96d1a allow to use hierarchical function names, eg. app.filemanager.upload via new et2_call function 2013-04-20 19:21:42 +00:00
Ralf Becker
e64c4fbd04 add some JSDoc so Eclipse shows an outline: @memberOf and @augments (not yet understood by Eclipse), also fixed many warnings (mostly missing semicolons) 2013-04-13 19:00:13 +00:00
Nathan Gray
5d1bffd2d7 Fix file upload size limit 2012-05-22 20:44:06 +00:00
Nathan Gray
67813fd767 Automatically link files when selected - if entry has no ID, they wait until save 2012-04-24 16:33:56 +00:00
Nathan Gray
448f256985 - Add mime filter
- If id ends with [], allow multiple uploads
- If there's a legacy onchange function, don't clear input
- Fire legacy onchange after async upload is complete
2012-03-29 22:45:58 +00:00
Nathan Gray
02769a962e Start on VFS upload 2012-03-28 23:27:18 +00:00
Andreas Stöckel
14e6ceecb6 Integrated application specifig egw api into etemplate2 code 2012-03-02 10:44:56 +00:00
Nathan Gray
312fcf2e0b - Change remove file handler to only remove if you click the x, not the whole entry
- Add hooks for js functions when upload starts and finishes
2011-09-09 00:05:18 +00:00
Nathan Gray
e7af7de431 Pass etemplate_exec_id in POST instead of GET to avoid potential issues with long ids 2011-09-08 20:33:46 +00:00
Nathan Gray
b2e032245a - Nicer UI for status
- Implement server side callback function when file is uploaded
- Send needed file info back to client instead of storing in session
2011-09-06 19:55:52 +00:00
Nathan Gray
8875c94c24 Async file uploads 2011-09-01 22:07:30 +00:00
Nathan Gray
990e1701f5 Work in progress on file upload 2011-08-31 23:37:30 +00:00