phorge/webroot/rsrc/js/application/core
vrana 97144c0932 Support paste file uploads
Summary:
This is so freaking cool that I will try to implement it also on Facebook.
Idea is from
http://strd6.com/2011/09/html5-javascript-pasting-image-data-in-chrome/.
I don't know how to properly detect support but lying about it is not a big
deal.

Test Plan:
Go to revision comment textarea.
Paste some text data - works as usual.
Paste some image data in Chrome - file is uploaded and a link to it is inserted.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1681
2012-02-23 16:36:58 -08:00
..
behavior-autofocus.js Add a "jump nav" element to the homepage, for quick tool/object navigation 2012-02-15 17:49:23 -08:00
behavior-buoyant.js Add "buoyant" headers to Differential 2012-02-23 12:26:14 -08:00
behavior-dark-console.js Use keyboard shortcuts for the "`" darkconsole toggle. 2011-06-08 10:42:19 -07:00
behavior-drag-and-drop-textarea.js Support paste file uploads 2012-02-23 16:36:58 -08:00
behavior-drag-and-drop.js Remove usage of JX.defer in favor of setTimeout 2011-08-10 18:09:59 -07:00
behavior-error-log.js Bring Javelin into Phabricator via git submodule, not copy-and-paste 2011-05-08 13:20:10 -07:00
behavior-files-drag-and-drop.js Streamline Files interfaces 2011-07-29 17:56:49 -07:00
behavior-form.js Multiple comment submissions for a diff is prevented now. 2011-05-25 12:14:43 -07:00
behavior-keyboard-pager.js Add optional keystroke support for AphrontPagerView 2011-12-01 10:16:12 -08:00
behavior-keyboard-shortcuts.js D510 renamed this method to stringify. 2011-07-05 14:17:38 -07:00
behavior-object-selector.js Remove usage of JX.defer in favor of setTimeout 2011-08-10 18:09:59 -07:00
behavior-refresh-csrf.js Prevent CSRF uploads via /file/dropupload/ 2011-08-16 13:19:10 -07:00
behavior-tokenizer.js Add an option to switch tokenizers to use "ondemand" instead of "preloaded" 2011-09-21 14:22:01 -07:00
behavior-watch-anchor.js Retry failed page anchor navigation 2012-01-05 18:02:02 -08:00
behavior-workflow.js Bring Javelin into Phabricator via git submodule, not copy-and-paste 2011-05-08 13:20:10 -07:00
DragAndDropFileUpload.js Improve drag-and-drop uploader 2011-05-27 09:34:29 -07:00
DropdownMenu.js Add a dropdown menu for Differential view options 2012-01-05 12:58:38 -08:00
DropdownMenuItem.js Fill <a href> in PhabricatorMenuItem 2012-01-17 10:49:39 -08:00
KeyboardShortcut.js Provide basic structure for keyboard shortcuts 2011-06-07 11:23:19 -07:00
KeyboardShortcutManager.js Improve visibility of the keyboard shortcut focus reticle 2011-06-20 15:53:32 -07:00
MultirowRowManager.js Bring Javelin into Phabricator via git submodule, not copy-and-paste 2011-05-08 13:20:10 -07:00
PasteFileUpload.js Support paste file uploads 2012-02-23 16:36:58 -08:00
Prefab.js Allow administrative editing of project resources 2011-07-21 16:46:28 -07:00
ShapedRequest.js Send only one request at a time from ShapedRequest 2012-02-14 15:58:11 -08:00