Commit Graph

19 Commits

Author SHA1 Message Date
Sandeep Somavarapu
3f317783b6 Move remote user data from web configuration 2019-06-19 12:18:11 +02:00
Sandeep Somavarapu
021839444b take web related changes 2019-06-19 11:55:53 +02:00
Sandeep Somavarapu
659c8c00c8 fixing the workbench html adopting to server 2019-06-19 11:42:07 +02:00
Benjamin Pasero
b2ff724dcb web - api 💄 2019-06-18 16:28:11 +02:00
Benjamin Pasero
ad41bd2674 web - introduce browser environment service
Hello first commit from browser :)
2019-06-18 16:01:39 +02:00
Benjamin Pasero
c255f9efba web - first cut API 2019-06-17 10:02:50 +02:00
Matt Bierner
1319038ec0 Add experimental service-worker based loading of webview content
## Problem
We use a custom `vscode-resource` protocol to control access to local resources inside of webviews. This will not work on the web, but we still would prefer a way to intercept webview requests from the main client

## Proposed solution
Move webviews into their own origin and register a service worker on this origin. This service worker can talk with the outer iframe of our webview. When a request for a resource comes in to the service worker:

* In the service worker, add the request to a map and post a message back to the client saying we want to load this resource
* The outer iframe gets the message from the sercice worker and forwards it to our main process
* This process handles the message and use the normal file system api to read the resource (also restricting which files can be read)
* We post the result back into the inner iframe which fowards it back to the service worker
* The service worker now resolves the pending request.

The prototype version in this change works but does not correctly handle multiple clients existing at the same time (plus probably a lot of other edge cases too)
2019-06-15 12:35:18 -07:00
Benjamin Pasero
ee630a0895 web - receive proper uris 2019-06-14 11:20:45 +02:00
Benjamin Pasero
e733490985 web - adopt latest server 2019-06-14 07:43:59 +02:00
Sandeep Somavarapu
ff38c0fee5 Derive configuration resources 2019-06-13 09:56:51 +02:00
Benjamin Pasero
2e85ce75ad web - wire in userDataPath properly 2019-06-13 08:51:26 +02:00
Sandeep Somavarapu
59c79b84e3 #75079 Support keybindings resource 2019-06-11 19:27:10 +02:00
Daniel Imms
18b659dd5e Fix xterm addons in browser services 2019-06-10 15:08:29 -07:00
Daniel Imms
0a489fdcf7 Introduce browser level terminal services 2019-06-10 12:31:00 -07:00
Sandeep Somavarapu
5c171295fc #75079 Use real configurataion service for web 2019-06-07 16:46:10 +02:00
Alex Dima
f0ba210ef9 Add support for vscode-textmate in the browser 2019-05-24 18:33:28 +02:00
Benjamin Pasero
c4d9732d45 tweak paths 2019-05-22 12:33:23 +02:00
Benjamin Pasero
f607c9bae7 web - backport some changes 2019-05-14 09:30:37 -07:00
Benjamin Pasero
4b5c68c1bd web - scaffold a basic dev setup via "yarn web" 2019-05-09 13:13:27 +02:00