Commit Graph
61 Commits
Author SHA1 Message Date
Asher e480f6527e Update VS Code to 1.43.2 2020-04-01 15:27:28 -05:00
Asher 26584f2060 Strip protocol from remote authority
In Google cloud shell the host header is 127.0.0.1:8080 instead of the
actual URL. This is what we write out to the HTML so VS Code can pick it
up. However cloud shell rewrites this string when found in the HTML
before serving it so it becomes https://8080-[...].appspot.com,
resulting in an extra unexpected https:// in the
URI (vscode-remote://https://8080[...]). The resulting malformed URI
causes the extension host to exit.

- Fixes #1471
- Fixes #1468
- Fixes #1440 (most likely).
2020-04-01 13:41:05 -05:00
Michael Gallagher 12c3ccd6c7 Peg yarn version to ensure deterministic builds
"Yarn is fully deterministic as long as all your teammates are using the same Yarn version." (https://classic.yarnpkg.com/blog/2017/05/31/determinism/)
2020-03-28 14:29:04 -07:00
Asher 7954656610 Set background color using VS Code theme 2020-03-27 16:58:50 -05:00
Asher 4a65b58772 Fix arm builds 2020-03-27 12:02:56 -05:00
Asher 11fdb8854b Skip unused dependencies 2020-03-26 15:12:17 -05:00
Asher 0a92bb1607 Fix node version mismatch 2020-03-26 13:54:41 -05:00
Asher 5bac2cbdb8 Add build test 2020-03-26 13:54:40 -05:00
Asher 511c3e95b2 Remove npm rebuild 2020-03-25 17:07:26 -05:00
Asher 89d78a5921 Encode query params from open dialog
Fixes #1424.
2020-03-16 15:19:06 -05:00
Asher 99dd2db97c Remove open in desktop button 2020-03-16 15:14:55 -05:00
Asher db4a4f0f50 Don't ignore scripts for code-server prod yarn 2020-03-16 15:14:51 -05:00
Asher d832f61d5b Make client-side extensions work at any base 2020-03-16 12:04:09 -05:00
Asher 88f4b986c5 Remove our env vars from the shell
This enables developing code-server in code-server.
2020-03-16 11:01:46 -05:00
Asher aeb6261189 Update VS Code to 1.43.0 2020-03-13 17:42:10 -05:00
Asher 6cb228037b Add base path to update endpoint from VS Code
This will make it work regardless of what the current URL happens to be.

Also move the telemetry setting into the options since we might as well
make use of it seeing as how we have to parse it for the base path
anyway.
2020-03-13 16:44:56 -05:00
Asher 2342443368 Set telemetry setting based on disable-telemetry flag
By design the disable-telemetry flag does not affect extension
telemetry, only the setting does, so disabling the setting when the flag
is set should cause extensions to also stop sending telemetry.

Fixes #1116.
2020-03-13 12:36:57 -05:00
Asher 26647c54c9 Restore old folder query parameter behavior
Fixes #1351.
2020-03-11 16:06:32 -05:00
Sandro Jäckel 9b07078b47 Combine two RUNs 2020-03-07 00:06:42 +01:00
Sandro Jäckel 8433a3d081 Combine all apt-get commands to really delete the cache from all layers 2020-03-07 00:00:58 +01:00
Asher c8269fb54d Add exec to startup script
Removes an extra process. See #1388.
2020-03-06 10:31:16 -06:00
Asher 0b9a478289 Add connection type to websocket query parameters
This allows external services to distinguish between them.
2020-03-05 15:49:37 -06:00
Asher c7e6e58387 Output newlines in CI immediately
Perhaps this is causing the output buffering issue with the arm builds.
2020-03-05 11:39:08 -06:00
Asher 8c47ba255a Preserve current working directory
Fixes #1388.
2020-03-05 10:26:14 -06:00
Asher 4e6f6bc2cc Fix .zip uploading to gcs as .tar.gz 2020-03-04 16:52:28 -06:00
Asher 1f43a673df Always build extensions on CI 2020-03-04 16:07:26 -06:00
Asher 744327ffd4 Update release dockerfile to use a symlink 2020-03-04 16:02:25 -06:00
Asher a442d3e3f9 Make symlinking the entry script work 2020-03-04 15:22:32 -06:00
Asher 308a84e6ec Fix centos image for arm64 2020-03-04 13:12:03 -06:00
Asher 32f8f481b6 Use Centos 7 for building
This will bring the libc requirements back down.
2020-03-03 16:19:51 -06:00
Asher ee4b939efa Fix zip step for Darwin 2020-03-03 15:07:58 -06:00
Asher 538e8d8085 Store gcs key in Travis settings
Instead of encrypted in the repository.
2020-03-03 15:06:36 -06:00
Asher 8d934be6dc Elaborate what won't work over an insecure domain
Closes #997.
2020-03-03 13:10:32 -06:00
Asher 77af2a5b0e Fix worker require paths when behind proxy 2020-03-02 18:04:27 -06:00
Asher ecac0dd751 Handle unexpected string errors
Looks like sometimes VS Code throws strings. For example if ifconfig is
missing.
2020-03-02 17:22:23 -06:00
Asher ccd01c49b9 Integrate update notifications into VS Code 2020-03-02 15:01:24 -06:00
Asher 069c5230cd Move VS Code to the root 2020-03-02 12:55:34 -06:00
Asher 88cab27165 Compress when sending client-side extension tars 2020-02-28 14:25:28 -06:00
Asher 963ebaca5b Register a service worker
To make installing as a PWA possible. Fixes #1181.
2020-02-27 16:37:00 -06:00
Asher 75ca5b2b0b Add gcs upload to CI 2020-02-26 14:25:14 -06:00
Anmol Sethi b1760c8d29 Fix clean.sh 2020-02-25 21:30:58 -05:00
Asher c870398c86 Switch to loose files
For #1306.
2020-02-25 18:23:35 -06:00
Asher f76c809f7d Fix workspace storage creation
Fixes #1308.
2020-02-25 12:47:22 -06:00
Anmol Sethi 815dc06118 Use npm rebuild instead of yarn --no-scripts in vscode.sh 2020-02-20 19:11:01 -05:00
Anmol Sethi 3a2644a2bc Fix vscode.sh 2020-02-20 18:36:38 -05:00
Asher 288e794c99 Update locale file location
Should make language packs work again.
2020-02-20 12:52:23 -06:00
Asher e5b68a8f4c Switch to new extensions API 2020-02-19 14:36:48 -06:00
Asher 51a5c77cb8 Add binary extraction
I temporarily removed this during the refactor so it needed to be added
back. This time I bundled it with the nbin loader code since it's all
related (will also make it easier to remove).
2020-02-19 14:15:01 -06:00
Anmol Sethi 9f3240346c Doc fixes 2020-02-19 00:27:02 -05:00
Anmol Sethi a065c12e83 CI Fixes 2020-02-18 23:31:40 -05:00