Commit Graph

41 Commits

Author SHA1 Message Date
Tyler James Leonhardt f8663bce69 fallback in else of loader & remove csp addition (#153148)
fallback in else of loader
2022-06-24 14:37:17 -07:00
Martin Aeschlimann 315bccd0b1 Use x-forwarded-host when evaluating the remote authority (#152871)
Use x-forwarded-host
2022-06-23 08:58:07 +02:00
Johannes 0656d21d11 auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Tyler James Leonhardt cc86b15a44 Enable grabbing translations from an alternate location for server distro/serverful scenarios (#150436)
* nls web story

* better handling of urls

* clean up code and don't do nls in dev

* use version instead of quality

* revert changes in workbench-dev.html

* update nls from changes in vscode-loader

* sanitize url a bit

* revert loader change
2022-05-26 08:19:15 -07:00
Alexandru Dima 0c75852bad Add client version information to /web-extension-resource/ (#149370) 2022-05-13 09:59:22 +02:00
Martin Aeschlimann 917811295b Merge branch 'main' into aeschli/commitInRemoteResourceRoute 2022-05-05 15:56:22 +02:00
Martin Aeschlimann 41f49066bd fix getRemoteServerRootPath reference 2022-05-05 15:56:03 +02:00
Martin Aeschlimann 5f2559c6d1 remove console.log, simplify 2022-05-04 15:34:53 +02:00
Martin Aeschlimann 177b4e19f3 server root path for websocket connection 2022-05-04 15:22:32 +02:00
Martin Aeschlimann a0330948fe commit in remote resource route 2022-05-03 21:47:08 +02:00
Martin Aeschlimann 864c20e550 Use ETag caching when running from source. Fixes #148642 2022-05-03 20:50:01 +02:00
Martin Aeschlimann aea2baad52 Inline CHARCODE_SLASH 2022-05-03 12:15:49 +02:00
Martin Aeschlimann ee8c045bf5 add caching 2022-05-02 21:55:12 +02:00
Martin Aeschlimann d364f56ac7 fix comment 2022-05-02 16:12:47 +02:00
Martin Aeschlimann fda5b84d5d commit in route 2022-05-02 16:12:28 +02:00
Martin Aeschlimann b8da1be55c web client server: support x-original-host 2022-04-28 16:26:04 +02:00
Johannes 310108c376 fix https://github.com/microsoft/vscode/issues/144555 2022-04-25 09:40:57 +02:00
Benjamin Pasero 18377e6ee2 smoke - allow to enable verbose vscode logs and enable for now 2022-04-06 10:41:22 +02:00
Joao Moreno a3e739fee9 update cdn domain for webview 2022-03-30 10:55:12 +02:00
Martin Aeschlimann 17a01f19ab Improve description for default-folder/workspace. For #143580 2022-03-23 17:41:38 +01:00
Martin Aeschlimann e971acd737 Code server provide a way to open a default-folder or default-workspace. Fixes #143580 2022-03-15 17:31:58 +01:00
SteVen Batten 0e95041cc5 Add workspace trust to the web (disabled by default) and server distro (enabled by default) (#144852)
* server trust

* change to opt in model for trust in embedder api

* add fallback host label
2022-03-11 07:46:16 -08:00
Alex Dima e61c171778 Improve embedding the web worker iframe 2022-03-08 19:13:39 +01:00
Logan Ramos 1db03a4397 Add identifier to server distro 2022-02-17 14:00:37 -05:00
Alex Dima 33bca7f23e Change cookie SameSite to Lax to have it sent with navigations / redirects 2022-02-04 14:36:46 +01:00
Alex Dima 70512df882 Remove no longer necessary webEndpointUrl 2022-02-03 19:28:08 +01:00
Alex Dima 011308ef41 Move extensionHostWorker.ts to /workbench/api/ (#141003) 2022-01-31 16:48:25 +01:00
Sandeep Somavarapu 6c48bdea27 fix typos 2022-01-27 18:10:43 +01:00
Sandeep Somavarapu 4f7ceb5656 Merge branch 'main' into sandy081/extensionResourceHandler 2022-01-27 12:41:56 +01:00
Sandeep Somavarapu 362a2cac98 cache resourceUrlTemplate Uri 2022-01-27 12:27:40 +01:00
Sandeep Somavarapu 56291eda34 - Check if URL is pointing to the right service
- Set selective request and response headers
- Update the scheme on the client
2022-01-27 12:21:36 +01:00
Sandeep Somavarapu fb6144b6b5 feedback 2022-01-27 00:26:46 +01:00
Sandeep Somavarapu 29331407d0 update doc 2022-01-26 17:59:53 +01:00
Sandeep Somavarapu b657a50a90 formatting and clean up 2022-01-26 17:48:33 +01:00
Alex Dima 46f9fef0b6 Improve comments 2022-01-26 13:10:49 +01:00
Sandeep Somavarapu b389ce333d handle extension resource 2022-01-26 12:56:16 +01:00
Alex Dima ce30f9a6cc Extract constants to network.ts 2022-01-24 21:07:27 +01:00
Alex Dima 12ca9894a5 Move connection token validation earlier 2022-01-24 17:37:34 +01:00
Alex Dima 38a7ba7c6d Move initial logging to setupServerServices 2022-01-24 16:48:58 +01:00
Alex Dima 3beb08c05a Complete implementation of --without-connection-token (closes #136615) 2022-01-21 16:35:46 +01:00
Alex Dima 3269deea2b Move server code to vs/server/node 2022-01-20 17:18:10 +01:00