Commit Graph

16 Commits

Author SHA1 Message Date
Michael Jumper
01e19c19dc GUACAMOLE-526: Maintain full correct chain of promises for clipboard read attempts, including the "finally" used for cleanup. The "finally" handler creates a new promise with a potentially unhandled rejection otherwise. 2018-04-26 18:42:52 -07:00
Michael Jumper
d8de3a77f2 GUACAMOLE-352: Prevent "input" event from clipboard integration from triggering keystrokes. 2018-01-16 10:20:43 -08:00
Michael Jumper
6ce1eb1d3a GUACAMOLE-128: Stop propagation of "cut" events from within clipboard service event target. 2017-09-03 18:02:46 -07:00
Michael Jumper
75a575d050 GUACAMOLE-128: Do not allow overlapping clipboard read attempts. 2017-09-03 18:02:46 -07:00
Michael Jumper
7e0cdd2adf GUACAMOLE-310: Use input element select() function when available. 2017-09-03 17:08:34 -07:00
Michael Jumper
47acaf5b41 GUACAMOLE-310: Wait until clipboard target is actually focused before attempting paste. 2017-09-03 17:08:34 -07:00
Michael Jumper
535b70fdce GUACAMOLE-310: Switch clipboard service back to using textarea for contents. 2017-09-03 17:08:34 -07:00
Michael Jumper
3f372cce68 GUACAMOLE-55: Render <img> tags as their alt text. 2016-06-29 16:31:18 -07:00
Michael Jumper
6ee4264a21 GUACAMOLE-55: Strip any images which may be present prior to assigning text content. 2016-06-29 16:11:20 -07:00
Michael Jumper
c68cedd652 GUACAMOLE-55: Correct outdated documentation within setTextContent(). 2016-06-29 15:27:51 -07:00
Michael Jumper
3f51a6dd98 GUACAMOLE-55: Directly render content to text, rather than trusting Selection.toString(). 2016-06-29 14:18:37 -07:00
Michael Jumper
2471cece7f GUACAMOLE-55: Use own getTextContent() rather than element.textContent, as the textContent property does not preserve line breaks due to block level elements. 2016-06-29 12:57:00 -07:00
Michael Jumper
058665e1f5 GUACAMOLE-55: Define wait period before clipboard reads with a documented constant. 2016-06-28 16:10:03 -07:00
Michael Jumper
16637b0732 GUACAMOLE-55: Prevent clipboard events generated by the clipboardService from disturbing the operations of the guacClipboard directive. 2016-06-28 14:00:53 -07:00
Michael Jumper
ea5ee1825b GUACAMOLE-55: Update clipboardService to support non-text contents. 2016-06-28 13:51:24 -07:00
Michael Jumper
8c5446127b GUACAMOLE-55: Move clipboard handling to own module. Represent clipboard contents with ClipboardData type. 2016-06-26 20:44:56 -07:00