Benjamin Pasero
8a992a2ff1
web - export types from API
2019-09-16 11:22:57 +02:00
Benjamin Pasero
b644486174
debt - a bit more strict init
2019-09-16 08:33:49 +02:00
Benjamin Pasero
e131c42f55
web - better way to load node modules from remote folder
2019-09-13 18:23:38 +02:00
Benjamin Pasero
3422d28e2c
web api - use URIComponents
2019-09-13 18:08:27 +02:00
Matt Bierner
5d828fdcc8
Remove WEBVIEW_ENDPOINT workaround
2019-09-12 16:31:41 -07:00
Benjamin Pasero
9aab28daea
web - self fullfilling prophecy
2019-09-11 10:52:16 +02:00
Benjamin Pasero
e4a837a0a3
web - rename entry point
2019-09-11 08:43:13 +02:00
Alex Dima
a2ada859d3
Merge remote-tracking branch 'origin/master' into ben/lazy-onigasm
2019-09-10 22:13:16 +02:00
Alex Dima
cc6aea9d06
Load script directly
2019-09-10 20:20:01 +02:00
Benjamin Pasero
93b7ad02df
web - add proper callback landing page
2019-09-10 15:56:50 +02:00
Benjamin Pasero
8bd809ffc9
debt - load onigasm lazy
2019-09-10 14:53:42 +02:00
Benjamin Pasero
d0481dca92
web - move selfhost pieces out of workbench
2019-09-10 11:06:54 +02:00
Johannes Rieken
58319746d6
add worker-src and child-src, #79922
2019-09-02 10:56:15 +02:00
Martin Aeschlimann
5e32be1b50
remove web testing
2019-08-29 14:57:53 +02:00
Martin Aeschlimann
a7def72d9e
trailing commas only for setting files
2019-08-29 13:19:03 +02:00
Benjamin Pasero
f60b7b84b1
web - add manifest to support PWA installation
2019-08-26 10:02:34 +02:00
Benjamin Pasero
21ce78cf25
web - lift product config to be proper API
2019-08-24 17:14:14 +02:00
Benjamin Pasero
ebe53708ac
web - prevent waterfall loading
2019-08-23 16:31:29 +02:00
Benjamin Pasero
202b31dc40
web main 💄
2019-08-23 11:24:17 +02:00
Alex Dima
b58579c643
Use cookie for connection token, align fetching of remote resources
2019-08-21 16:11:35 +02:00
Alex Dima
ea7f62fa08
Fixes #79496 : Always go through the protocol handler
2019-08-20 14:28:55 +02:00
Johannes Rieken
711faedf57
allow https: as 'script-src'
2019-08-20 11:18:32 +02:00
Rachel Macfarlane
8ffdc18c1d
Use application insights module, #78475 , fixes #78840
2019-08-12 10:32:20 -07:00
Rachel Macfarlane
abb40b14ff
Revert "Use application insights module instead of script tag, fixes https://github.com/microsoft/vscode/issues/78475 "
...
This reverts commit 803e140a23 .
2019-08-09 11:44:52 -07:00
RMacfarlane
803e140a23
Use application insights module instead of script tag, fixes https://github.com/microsoft/vscode/issues/78475
2019-08-09 10:34:57 -07:00
Alex Dima
bc943bc3fe
Pass in connectionToken
2019-07-29 21:44:14 +02:00
Matt Bierner
d5fd351a88
Add setting that enables using a dynamic endpoint for hosting the static webview content
...
For #77132
2019-07-22 13:31:48 -07:00
Sandeep Somavarapu
d685337db2
Use semver-umd everywhere
2019-07-18 15:33:53 +02:00
Rachel Macfarlane
326c26b9e0
Create browser version of telemetry service
2019-07-17 15:58:09 -07:00
Sandeep Somavarapu
cf6ccf1371
Use semver umd module
2019-07-17 16:52:50 +02:00
Benjamin Pasero
55f4cdedbc
web - cache and restore base theme via localstorage
...
Also: let the theme service not change classes on document.body but the actual container of the workbench
2019-07-10 18:51:49 +02:00
Benjamin Pasero
1da6ba5b0e
💄
2019-07-02 12:40:40 +02:00
Benjamin Pasero
2b9bc19728
web - add shortcut icon
2019-06-28 18:02:35 +02:00
Sandeep Somavarapu
8fb99cd967
product service for web
...
- get product configuration from server
2019-06-19 23:17:51 +02:00
Benjamin Pasero
8a0e33ad3d
web - bring CSP back differently
2019-06-19 16:15:14 +02:00
Benjamin Pasero
39d2a648d2
web - unblock running
2019-06-19 14:31:24 +02:00
Sandeep Somavarapu
664dacc8b2
move connection auth token out of web configuration
2019-06-19 12:30:16 +02:00
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