Commit Graph

2258 Commits

Author SHA1 Message Date
Asher
91f49e1efd
Set SHELL to /bin/bash in Docker
Fixes #1081, fixes #918.
2019-10-23 13:34:00 -05:00
Asher
eea9c1618c
Move client-side extension code out of patch 2019-10-23 13:12:11 -05:00
Asher
f1b38e4e48
Fix out-of-order readme section 2019-10-23 11:54:47 -05:00
Asher
ff99a1d768
Add security section to readme
See #1062.
2019-10-23 11:49:17 -05:00
Asher
7f07b8f66c
Push Docker using Linux build
Instead of doing a separate redundant build. The main problem was that
the files weren't being cached. There is probably a better way of
solving this but this seems to be the simplest for now.
2019-10-22 18:43:21 -05:00
Asher
faae03da6b
Add prerequisites for building 2019-10-22 17:49:43 -05:00
Asher
a6e4f96737
Fix webview html being excluded
Also skip the workbench html since we have our own.
2019-10-22 16:09:27 -05:00
Asher
cc7585bbc2
Port onigasm fix for PHP 2019-10-22 11:39:00 -05:00
Asher
14a0cd3ffd
Remove build files in source
They aren't used in subsequent files and just slow down CI since it has
to extract from the cache and then package the changes.
2019-10-22 11:26:46 -05:00
Asher
3ff83eda45
Ensure VS Code dependencies and built-in extensions exist
Fixes #1087.
2019-10-22 10:49:00 -05:00
Asher
f133b00851
Fix darwin detection 2019-10-21 16:51:01 -05:00
Asher
ece840834d
Move login page to browser directory
Fixes it not being included in the optimized build as well as making it
more consistent.
2019-10-21 15:02:41 -05:00
Asher
76f6ff4145
Fix alpine check 2019-10-21 14:09:04 -05:00
Asher
2458cde498
Update source & build paths in Dockerfile 2019-10-21 12:25:18 -05:00
Asher
82e2b8a169
Move source to its own directory
This matches how the rest of the build is organized but also hopefully
solves an issue where the VS Code directory is empty because we try to
cache it directly and Travis might be creating it.
2019-10-21 11:16:47 -05:00
Asher
5aa2abaf9f
Cache VS Code in CI 2019-10-21 11:06:09 -05:00
Asher
fdb2308c62
Update path to built binary in Dockerfile 2019-10-21 10:56:27 -05:00
Asher
4cd2f2cd52
Simplify build and development steps 2019-10-18 19:10:55 -05:00
Asher
88cef85f62
Add dependencies required for running build script
They were getting pulled from VS Code which doesn't work if you are
running a build in a clean repo.
2019-10-18 18:40:10 -05:00
Asher
bdd11f741b
Update to 1.39.2
Also too the opportunity to rewrite the build script since there was a
change in the build steps (mainly how the product JSON is inserted) and
to get the build changes out of the patch. It also no longer relies on
external caching (we'll want to do this within CI instead).
2019-10-18 18:20:02 -05:00
Asher
56ce780522
Prevent process.exit() 2019-10-11 17:00:17 -05:00
Asher
567010e163
Cache extension tar requests 2019-10-11 14:28:02 -05:00
Asher
4ae2c81157
Remember last workspace or directory 2019-10-11 14:26:20 -05:00
Asher
ae43e2016f
Handle up/down on server 2019-10-10 17:05:30 -05:00
Asher
3f6cbfa4dd
Handle up/down/close on client 2019-10-10 16:12:38 -05:00
Asher
1c50b5285e
Resolve bundling issues with node-browser 2019-10-10 15:36:56 -05:00
Asher
ea9c511db8
Check major version when getting latest version 2019-10-08 16:23:39 -05:00
Adam Vernon
e1e3f32643 Add missing PWA icon (#1060)
- Copy old icon back into repository
- Update path to icon from manifest file
- Add link metadata tag for iOS PWA icon to workbench.html
- Add link metadata tag for iOS PWA icon to login page
2019-10-07 12:55:02 -05:00
Asher
4290cffe3b
Update packages for in-browser extensions 2019-10-07 11:59:09 -05:00
Asher
548d095611
Add support for running extensions in the browser 2019-10-04 18:14:19 -05:00
Ayane Satomi
846dcbb947 [doc/quickstart] use version from GH-379 (#1012)
This is the same PR but with some fixes for v2.

Co-Authored-by: nwtnsqrd <30381446+nwtnsqrd@users.noreply.github.com>
Signed-off-by: Ayane Satomi <chinodesuuu@gmail.com>
2019-09-30 11:19:46 -05:00
yeya24
d7d3368cc2 update yaml tag to v2 (#1034)
Signed-off-by: yeya24 <yb532204897@gmail.com>
2019-09-30 10:30:33 -05:00
Kyle Carberry
134040fea3
Update extensions section of readme 2019-09-27 09:39:29 -05:00
Asher
65caa26d40
Pass log level to extension host 2019-09-23 16:57:48 -05:00
Asher
7812f6b75a
Fix uncaught errors when extracting zips
Fixes #966.
2019-09-23 16:57:48 -05:00
Asher
637e58f255
Prevent opening invalid paths 2019-09-23 16:57:47 -05:00
Asher
6135630fc0
Fix not being able to change language while code-server is running
See #948. Only applies if code-server already tried to load a
language.
2019-09-23 16:57:46 -05:00
Ayane Satomi
22058c5f86 [README] add Requirements section (#1000)
* [README] add Requirements section

This is based user feedback and testing. This may expand if need be

Signed-off-by: Ayane Satomi <chinodesuuu@gmail.com>

* [README] raised the bar a bit more

Apparently we were targeting GLIBC 2.17

Signed-off-by: Ayane Satomi <chinodesuuu@gmail.com>
2019-09-18 13:21:38 -05:00
Asher
616bdb35f3
Fix using port zero 2019-09-18 11:39:16 -05:00
Asher
42f7b5d12b
Still using the wrong tag for Docker 2019-09-17 15:25:17 -05:00
Asher
53818b0e36
Use conditional instead of inline if 2019-09-17 15:12:58 -05:00
Asher
6f08b13540
Fix 404 when logging into Docker 2019-09-17 14:59:01 -05:00
Asher
d36526b1c8
Move DOCKER_BUILD check into deploy script 2019-09-17 14:45:03 -05:00
Asher
1252eb6a8a
Don't use a sequence for Docker deploy
Travis deploy scripts can't be sequences yet.
2019-09-17 14:39:21 -05:00
Asher
4733c31a2f
Fix incorrect Docker tag 2019-09-17 14:21:23 -05:00
Asher
17c5173d8b
Use --build-arg for GitHub token 2019-09-17 14:00:51 -05:00
Asher
d0a08f6dd7
Pass GITHUB_TOKEN through to Docker build
Also, back to drafts.
2019-09-17 13:42:14 -05:00
Asher
7b5d6d186b
Fix some CI issues
- Don't error if trying to tag and the tag already exists.
- Add the build arguments to the Docker build.
- Set an environment variable for the Docker build rather than using
- the username because the username always exists (on master anyway).
2019-09-17 13:17:38 -05:00
Asher
3851927396
Push latest v2 Docker image as well 2019-09-17 12:31:40 -05:00
Asher
7eececead6
Use v2 tag for Docker example 2019-09-17 12:27:32 -05:00