Commit Graph

114 Commits

Author SHA1 Message Date
Asher f7f11ad6c2
Fix paths from Windows client to non-Windows server
Fixes #1659
Fixes #1642
2020-05-18 15:06:11 -05:00
Anmol Sethi e4ddffd0e2
Workaround for GH Actions stripping permissions
Closes #1665
2020-05-18 13:56:53 -04:00
Anmol Sethi 47d50c9163
Downgrade CI to Debian 8 for glibc 2.19
Closes #1656
2020-05-18 00:38:55 -04:00
Anmol Sethi b9f43c3542
Fix grammar in FAQ 2020-05-17 20:29:00 -04:00
Anmol Sethi ec1c74c146
Add release-images to clean.sh 2020-05-17 19:52:59 -04:00
Anmol Sethi 3a1e3bc596
Final revisions for the docs before release
🚀
2020-05-17 17:55:28 -04:00
Anmol Sethi e0dbd8f74a
Rename self contained release to static release 2020-05-17 16:59:09 -04:00
Anmol Sethi 6a25b3bfa0
Document structure better
Closes #1648
2020-05-17 16:53:08 -04:00
Anmol Sethi aee2599904
Push docker manifest in CI for multi arch image 2020-05-16 16:59:26 -04:00
Anmol Sethi d56381666a
Use .tar.gz for macOS releases
No good reason to use .zip, was just confusion on my part.
2020-05-16 10:01:26 -04:00
Anmol Sethi 89c5a4dfea
Set --frozen-lockfile with yarn when necessary 2020-05-14 22:33:12 -04:00
Anmol Sethi d4b3d21dce
Require minimum node 12 2020-05-14 22:33:12 -04:00
Anmol Sethi 40778b15ca
Add code-server version into VS Code about
Closes #1506
2020-05-14 22:33:12 -04:00
Anmol Sethi 10b06cae10
Minor typo fixes 2020-05-14 20:08:08 -04:00
Anmol Sethi 0bd2602774
3.3.0 2020-05-14 18:43:01 -04:00
Anmol Sethi f475767c2b
Rename darwin releases to macos 2020-05-14 05:59:20 -04:00
Anmol Sethi a0a77e379e
Add doc/guide.md 2020-05-14 05:24:23 -04:00
Anmol Sethi f4a78587b0
Make npm-postinstall.sh more robust 2020-05-13 22:44:43 -04:00
Anmol Sethi b3ae4d67d3
Hide bundled node_modules to prevent them from being ignored 2020-05-13 04:17:34 -04:00
Anmol Sethi 1739b21600
Bundle VS Code node_modules to avoid yarn dependency
Many random bizarre issues otherwise.

Also includes misc improvements to docs and scripts.
2020-05-13 02:35:11 -04:00
Anmol Sethi 502c262c82
Mention update of versions in README install examples 2020-05-12 21:26:37 -04:00
Anmol Sethi 4aae5eaeca
CI fixes
- Splits up test into fmt, lint and test
- Fixes bug in build-packages.sh
- Minor README.md fixes
2020-05-12 21:26:36 -04:00
Anmol Sethi 41d625abb6
Revamp README.md with new installation options 2020-05-12 21:26:36 -04:00
Anmol Sethi dc632ac176
Remove .yarnrc from lib/vscode 2020-05-13 01:11:53 +00:00
Anmol Sethi 524b0205e9
Workaround for GH Actions ruining file permissions 2020-05-12 19:59:55 -04:00
Anmol Sethi 28edf4af2e
Add systemd user service to .deb and .rpm 2020-05-12 19:59:54 -04:00
Asher 95ac0ddfb7
Fix paths for Windows
- Fix vscode-remote-resource, #1397.
- Fix double slash on webview, was causing images not to load.
- Fix client-side tar paths.
2020-05-12 13:49:37 -05:00
Anmol Sethi 169f8c67fe
Automate draft release 2020-05-11 20:59:56 -04:00
Anmol Sethi 7c7f62d3f3
Fixes for CI from @code-asher's review 2020-05-08 16:45:59 -04:00
Anmol Sethi 231e31656a
Automate release process 2020-05-08 03:26:19 -04:00
Anmol Sethi e9fe4c0466
Document release process 2020-05-08 01:43:31 -04:00
Anmol Sethi 6282cd7e7b
Simplify packaging and improve scripts
Much better test now as well.
2020-05-08 01:04:24 -04:00
Anmol Sethi bc453b5f0d
Switch to a single job to build the npm package
The architecture specific jobs pull it in and then build releases.

Much faster!
2020-05-08 00:09:24 -04:00
Anmol Sethi 0ec1c69c06
Switch fully to GH Actions 2020-05-07 23:13:28 -04:00
Anmol Sethi 1a375a44e0
Disable ARM64 releases as ARM on Travis is very unreliable 2020-05-06 20:32:11 -04:00
Anmol Sethi be032cf735
Add NPM package, debs, rpms and refactor CI/build process
Closes many issues that I'll prune after adding more docs
for users.
2020-05-06 20:25:52 -04:00
Asher 4875f6aa87
Update VS Code to fix infinite refresh
Fixes #1581.
2020-05-05 12:33:09 -05:00
Asher 81411b2af9
Fix highlighted scmviewlet items in Firefox
Fixes #1549.
2020-05-01 12:54:48 -05:00
Asher 1ff35f177d
Remove transformer file
Also remove some unused imports that were causing build errors (they
were left over from the fix that allowed installing any extension kind).
2020-04-29 12:13:44 -05:00
Asher f3edb1cc5f
Update node to latest lts (12.16.3) and update deps 2020-04-29 11:43:13 -05:00
Asher 86dc38e69f
Allow extensions of any kind
This enables vscode-icons among others.
2020-04-28 17:57:56 -05:00
Anmol Sethi 2dd27b4cb8
gitignore release-upload 2020-04-28 14:19:25 -04:00
Anmol Sethi af28885ea6
Deprecate --host and --port in favour of --bind-addr 2020-04-28 14:19:24 -04:00
Asher 6074ca275b
Fill out some missing browser environment values
Pass the user data dir to the browser environment service then derive
all the paths we can based off that path like the global storage path
which the vim extension uses to store history (otherwise it gets stored
in the working directory from when code-server was spawned).

Arguably the better solution is to use the userdata scheme but that
won't work because the vim extension ignores the VS Code API.

Fixes #1551.
2020-04-27 17:15:37 -05:00
Anmol Sethi 401f08db63
Fix code-server.sh script on macOS 2020-04-22 17:49:02 -04:00
Asher caa299b60d
Update VS Code to 1.44.2 2020-04-21 14:25:27 -05:00
Asher 27ba64c7e4
Improve request error handling
See #1532 for more context.

- Errored JSON requests will get back the error in JSON instead of using
  the status text. This seems better to me because it seems more correct
  to utilize the response body over hijacking the status text. The
  caller is expecting JSON anyway. Worst of all I never actually set the
  status text like I thought I did so it wasn't working to begin with.
- Allow the update error to propagate for JSON update requests. It was
  caught to show the error inline instead of an error page when using
  the update page but for JSON requests it meant there was no error and
  no error code so it looked like it succeeded.
- Make errors for failed requests to GitHub less incomprehensible.
  Previously they would just be the code which is no context at all.
2020-04-17 15:16:10 -05:00
Charles Moog 29b6115c77
Adds dev container and docs (#1499) 2020-04-14 17:22:52 -05:00
Asher 3b39482420
Document workspace and folder behavior
Also fixed a type issue.
2020-04-07 17:49:50 -05:00
Asher a5c35af81b
Fix encoding issues with folder and workspace params
The raw value is now passed back to VS Code so it can do the parsing
with its own URI class rather than trying to parse using Node's url
module first since that has no guarantee of working the same way. It
also lets us keep the vscode-remote bit internal to VS Code.

Removed the logic that keeps trying paths until it finds a valid one
because it seems confusing to open a path and silently get some other
path instead of an error for the one you tried to open. Now it'll just
use exactly what you specified or fail trying.

Fixes #1488. The problem here was that url.parse was encoding the spaces
then the validation failed looking for a literal %20.
2020-04-07 15:18:19 -05:00