Commit Graph

133 Commits

Author SHA1 Message Date
Asher dc333d4321
Fix extensions not being bundled into prebuilt 2019-08-05 13:05:09 -05:00
Asher 590f699687
Allow specifying the target
You still must build on the target system though because of the native
Node modules.
2019-08-05 11:03:47 -05:00
Asher 950bfce420
Add commit, date, and checksums to product.json 2019-08-02 20:29:48 -05:00
Asher 712274d912
Groundwork for language support
- Implement the localization service.
- Use the proper build process which generates the require JSON files.
- Implement getting the locale and language configuration.
2019-08-02 19:29:00 -05:00
Asher 62719ab544
Clean up client API
- Don't use "any" for the API type.
- Remove everything from the Coder API that can eventually be done
  through the VS Code API.
- Move the event emission to our own client to minimize patching.
2019-07-31 17:22:15 -05:00
Asher 0315b004a7
Add comment for the nbin shim 2019-07-31 17:22:14 -05:00
Asher 87be3ac235
Add comment explaining use of merge 2019-07-31 17:22:11 -05:00
Asher 8ded89e8d4
Firefox fixes 2019-07-26 17:33:26 -05:00
Asher 4c4a179bce
TLS socket still doesn't work 2019-07-26 17:26:45 -05:00
Asher a4f21fb0d4
Install git during build 2019-07-24 11:23:00 -05:00
Asher 329acbb251
Combine main and webview servers 2019-07-23 19:22:10 -05:00
Asher 92daabc75c
Open folder at base URL 2019-07-23 14:55:48 -05:00
Asher 068e07bd5d
Clean up the patch 2019-07-23 13:27:30 -05:00
Asher 09cd1e8540
Make sub-paths work 2019-07-22 18:01:03 -05:00
Asher 9fdfacb314
Quality check 2019-07-19 17:43:54 -05:00
Asher e8cb6ffaa0
Implement file uploads 2019-07-19 15:45:12 -05:00
Asher 2be452d83e
Fix rg extraction in Docker build 2019-07-18 18:09:24 -05:00
Asher 45d348b03d
Expose API on the client 2019-07-18 18:09:22 -05:00
Asher 4b0cceb91a
Extract ripgrep when inside binary 2019-07-18 18:09:21 -05:00
Asher b6fdb7d0e7
Telemetry 2019-07-18 18:09:20 -05:00
Asher 83819cb3f9
Fix vscode-ripgrep rebuild error 2019-07-18 18:09:18 -05:00
Asher 9446cc8245
Update Dockerfile 2019-07-18 18:09:15 -05:00
Asher 68c62087dc
Fix opening snippets 2019-07-18 18:09:14 -05:00
Asher e22791ec88
Fix interactive playground 2019-07-18 18:09:12 -05:00
Asher 286f9a8978
Implement multiple extension directories 2019-07-18 18:09:12 -05:00
Asher 2b2aa9a211
Add https server 2019-07-18 18:09:09 -05:00
Asher 81862d4fa1
Add back (most of) our old arguments
Also remove VS Code ones that don't work.
2019-07-18 18:08:38 -05:00
Asher 2fdf09e6e7
Include version when building 2019-07-18 18:08:37 -05:00
Asher 54ffd1d351
Make extension sidebar work 2019-07-18 18:08:36 -05:00
Asher a20fa4a97a
Implement extensions channel 2019-07-18 18:08:32 -05:00
Asher f51751ad21
Replace jq with some JavaScript 2019-07-18 18:08:31 -05:00
Asher 3ca90a5f89
Use nbin in forked processes 2019-07-18 18:08:30 -05:00
Asher f8f4bfd76f
Customize JSON files with code-server name 2019-07-18 18:08:28 -05:00
Asher 5677ff2edf
Add build scripts 2019-07-18 18:08:27 -05:00
Asher 310bfe509e
Delete all the things 2019-07-18 18:08:11 -05:00
Dean Sheather 72d71664b3
Merge pull request #823 from FrankPetrilli/patch-1
Add `use-credentials` to fetch manifest with cookies
2019-07-10 09:46:17 +00:00
Dean Sheather 79e08c74ed
Merge pull request #834 from cdr/fix-sw-path
Fix service worker path
2019-07-08 22:36:27 +00:00
Dean Sheather 9b5a43e4bd
use local workbox to simplify csp
Co-Authored-By: Ian Reinhart Geiser <geiseri@geekcentral.pub>
2019-07-07 15:13:16 +10:00
Frank Petrilli 11784e55b2
Change quote style to match existing work 2019-07-01 14:10:32 -07:00
Frank Petrilli a72e8a698d
Add `use-credentials` to fetch manifest with cookies
I run code-server behind an authenticating Kubernetes Ingress which sets a cookie after a successful login is performed. Since this cookie is not set when fetching the manifest, the fetch fails and gets redirected to the authentication page, breaking code-server completely.

See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
2019-07-01 14:05:35 -07:00
Anmol Sethi 02f62882b8 Propagate full env to browser (#756)
* Propogate full env to browser

* Add support for setting $ITEM_URL

* Add serviceURL getter
2019-06-11 11:54:49 -05:00
Asher 04adf14146
Move OSX package task into build script
This is to match how the other binaries are built. Also made some
changes to make the Docker containers clean up for when you are running
this locally.
2019-06-06 13:43:37 -05:00
Asher db39eacfa1
Set NODE_ENV and VERSION when building (#700)
* Set NODE_ENV and VERSION when building

Should fix the version flag not reporting correctly as well as enable
the service worker and prevent the 404 hmr requests again.

* Log env vars

To help make sure it's built correctly when looking at the Travis logs.
2019-05-20 11:02:36 -05:00
Asher c020cd2f2c
Don't try to create builtin extensions directory
Since this will be a path in the binary that we don't want to create on
the user's system. I also removed the option to override it; it doesn't
seem like a great idea since you'd always want those builtin extensions.
This way we also don't have to check if the option was passed and only
create it if that was the case.
2019-05-19 19:49:05 -05:00
Asher 81bbfa7fbe
Suppress "disconnected" notification on extension host
This isn't a real error event; we artificially emit it just in case
something waiting to start is listening to the error event in order to
clean up and/or restart.
2019-05-19 19:21:25 -05:00
Asher aa1474b675
Extra extensions directories (#694)
* Allow setting paths for builtin exts and extra dirs

The extra directories aren't used yet, just available from the
environment service and to the shared process.

* Utilize extra builtin extensions path

* Utilize extra extensions directory

* Fix cached mtimes for extra extension dirs

* Simplify extension cache equality check
2019-05-19 17:58:47 -05:00
Kyle Carberry a2e0638c6a
Add support for musl and centos 2019-04-26 09:56:14 -04:00
Asher 0de7247868
Fix protocol fs test 2019-04-24 18:15:56 -05:00
John McCambridge 30b8565e2d Fix markdown preview focus (#546)
* Fix hash

* Remove whitespace
2019-04-23 19:14:52 -05:00
Kyle Carberry b055a26dc3
Remove log statement from copy 2019-04-23 11:33:42 -04:00