Commit Graph

126 Commits

Author SHA1 Message Date
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
Kyle Carberry 2bc6e1a457
Fix clipboard pasting 2019-04-22 20:20:48 -04:00
Kyle Carberry 166efcb17e Hide titlebar controls and fix menubar toggle (#550) 2019-04-19 19:54:50 -05:00
Kyle Carberry 206e107a9a
Merge branch 'master' of github.com:codercom/code-server 2019-04-19 20:03:54 -04:00
Kyle Carberry 12c8b5d337
Closes #466 2019-04-19 20:03:52 -04:00
Asher 4aa20fd864
Fix require.toUrl on the Node side
- Fixes #542
2019-04-19 13:32:10 -05:00
Asher 309d15cefd
Use file/folder open commands for all operating systems
Mac was using its own thing.

- Fixes #535
- Fixes #501
2019-04-18 10:50:23 -05:00
Kyle Carberry 4d576ab4d4
Trigger configuration update when loaded 2019-04-17 21:01:23 -04:00