Commit Graph

3616 Commits

Author SHA1 Message Date
Michael Jumper
6b98ce2c67 GUACAMOLE-5: Remove path from tunnel collection resource, as it is no longer a root resource. 2016-07-13 22:16:24 -07:00
James Muehlner
6e81a20185 GUACAMOLE-5: Merge REST resource refactor. 2016-07-12 22:07:06 -07:00
Michael Jumper
b66925c3d0 GUACAMOLE-5: Update tunnelService to match REST changes. 2016-07-12 22:02:41 -07:00
Michael Jumper
abef36e11f GUACAMOLE-5: Increase the documentation factor of DirectoryResource. 2016-07-12 21:42:15 -07:00
Michael Jumper
aeec3eca40 GUACAMOLE-5: DirectoryResource deals with objects, not users. 2016-07-12 21:40:58 -07:00
Michael Jumper
e4ed85cfcb GUACAMOLE-5: Refactor away ObjectRetrievalService. 2016-07-12 21:38:07 -07:00
Michael Jumper
b189f5fef9 GUACAMOLE-5: Consolidate UserContexts and tunnels under the same hierarchy. 2016-07-12 21:23:47 -07:00
Michael Jumper
60c672eeea GUACAMOLE-5: Ensure all API errors are returned as JSON. 2016-07-12 21:23:47 -07:00
Michael Jumper
fa286f549a GUACAMOLE-5: Consider methods annotated with @Path to be REST methods as well. 2016-07-12 21:23:47 -07:00
Michael Jumper
c586d1840d GUACAMOLE-5: Expose session as a REST resource. Refactor /api/data to /api/session/data. 2016-07-12 21:23:47 -07:00
Michael Jumper
1aa256b26c GUACAMOLE-5: Take superclass into account when determining whether a method is a REST method. 2016-07-12 21:23:47 -07:00
Michael Jumper
50295083d2 GUACAMOLE-5: Remove unneeded functions from ObjectRetrievalService. 2016-07-12 21:23:47 -07:00
Michael Jumper
3c9da92e9c GUACAMOLE-5: Rename SessionResource to SessionDataRESTService for consistency. 2016-07-12 21:23:47 -07:00
Michael Jumper
89eabc1d70 GUACAMOLE-5: Expose UserContext schema as a resource, not a separate REST service. Refactor URLs accordingly. 2016-07-12 21:23:47 -07:00
Michael Jumper
3658b91fe1 GUACAMOLE-5: Refactor HistoryRESTService as a resource. 2016-07-12 21:23:46 -07:00
Michael Jumper
3f7f6e6d5b GUACAMOLE-5: Ensure random password is generated for new users (if not otherwise specified). 2016-07-12 21:23:46 -07:00
Michael Jumper
86d94d18d4 GUACAMOLE-5: Move permission management to own resource. 2016-07-12 21:23:46 -07:00
Michael Jumper
374ad3eb23 GUACAMOLE-5: Replace UserRESTService with new resource-driven implementation. 2016-07-12 21:23:46 -07:00
Michael Jumper
61d581ef0d GUACAMOLE-5: Replace ActiveConnectionRESTService with new resource-driven implementation. 2016-07-12 14:53:24 -07:00
Michael Jumper
71c2b4e4d4 GUACAMOLE-5: Replace ConnectionGroupRESTService with new resource-driven implementation. 2016-07-12 14:53:24 -07:00
Michael Jumper
06b7887807 GUACAMOLE-5: Replace ConnectionRESTService with new resource-driven implementation. 2016-07-12 11:42:16 -07:00
Michael Jumper
bca4e34b51 GUACAMOLE-5: Provide UserContext to DirectoryObjectResourceFactory, in case needed by a particular resource (such as for additional permission checks). 2016-07-12 00:31:52 -07:00
Michael Jumper
f440f55823 GUACAMOLE-5: Validate that data was provided when creating/updating resources. 2016-07-12 00:20:36 -07:00
Michael Jumper
e579eae95c GUACAMOLE-5: Add root-level resources exposing UserContexts. 2016-07-12 00:15:18 -07:00
Michael Jumper
d3a9cecb17 GUACAMOLE-5: Define base classes for REST API subresource locators. 2016-07-11 23:45:48 -07:00
James Muehlner
3c2dbbe4f9 GUACAMOLE-55: Merge image copy/paste changes. 2016-06-29 22:36:24 -07:00
Michael Jumper
92ff80a503 GUACAMOLE-55: Sync to local clipboard when client clipboardData changes. 2016-06-29 20:03:59 -07:00
Michael Jumper
a4019b7f82 GUACAMOLE-55: Automatically fire guacClipboard events from index controller when local clipboard has changed. 2016-06-29 19:57:01 -07:00
Michael Jumper
b55c4c0211 GUACAMOLE-55: Do not sync local clipboard if menu is open. 2016-06-29 19:36:39 -07:00
Michael Jumper
0679c10187 GUACAMOLE-55: Move local clipboad sync logic back into clientController. Keep the guacClipboard directive lean and with a single purpose. 2016-06-29 18:46:27 -07:00
Michael Jumper
b9a57897c5 GUACAMOLE-55: Set background to clipboard-service-target to match clipboard editor. Browser may otherwise explicitly add the background of the body to pasted text with inline styles. 2016-06-29 17:24:51 -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
880df109e3 GUACAMOLE-55: Remove unnecessary reset-button style. 2016-06-29 12:50:22 -07:00
Michael Jumper
42e41560d8 GUACAMOLE-55: Ensure <p> / <div> elements within the clipboard contents are rendered with normal spacing. 2016-06-29 12:49:57 -07:00
Michael Jumper
6e1bbb3cf4 GUACAMOLE-55: Remove unneeded reference to document. 2016-06-28 20:44:24 -07:00
Michael Jumper
e4f7c6d058 GUACAMOLE-55: The clipboard-service-target needs to be "white-space: pre" as well, or newline characters are truncated by setLocalClipboard(). 2016-06-28 20:43:21 -07:00
Michael Jumper
da098c42e1 GUACAMOLE-55: Use the files collection if the clipboard data does not define an items collection. 2016-06-28 17:25:22 -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
942fd5dd67 GUACAMOLE-55: Remove unnecessary style - there is no longer a textarea in the guac menu. 2016-06-28 15:05:49 -07:00
Michael Jumper
f289be05b2 GUACAMOLE-55: Attempt to set local clipboard with received data. 2016-06-28 14:50:16 -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
6e4e6454f7 GUACAMOLE-55: Switch to a content-editable div for the clipboard (rather than a textarea). 2016-06-28 11:49:29 -07:00
Michael Jumper
2a20aefa92 GUACAMOLE-55: Do not attempt to send empty text blobs. 2016-06-27 18:33:15 -07:00
Michael Jumper
17e97e4311 GUACAMOLE-55: Improve styling of copied images. 2016-06-26 20:44:57 -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