Commit Graph

553 Commits

Author SHA1 Message Date
Asher
4800ec6392
Fix playground when behind a proxy with a sub-path
It gets the web URL for the file yet uses the file service to load it,
so having a sub-path causes it not to be found on disk (the sub-path
obviously only means anything for the web server and isn't on disk).
2019-08-22 12:15:23 -05:00
Asher
3e2d12a224
Fix scrolling on Firefox 2019-08-22 11:33:58 -05:00
Asher
ddd5a9ae79
Update data and extension paths to match version one
To ensure users don't lose their extensions when updating.
2019-08-21 17:02:31 -05:00
Asher
950dad9489
Simplify getting the absolute path during build 2019-08-21 14:13:26 -05:00
Asher
c19223b7fe
Fix error when building without first running yarn 2019-08-21 12:45:10 -05:00
Asher
80050d0d9d
Detect target automatically
This removes the potential for a bad build because the native Node
modules currently can only be built on the target system, so specifying
a target for something other than the system your are building on will
not work.
2019-08-21 12:45:09 -05:00
Asher
c2be0ec71b
Fix Firefox when using extensions that insert styles 2019-08-21 10:29:37 -05:00
Asher
ccc4f87ada
Don't package for release if we don't need to 2019-08-20 19:46:39 -05:00
Asher
534600c1ff
Don't error when scanning nonexistent extension dir 2019-08-20 19:16:44 -05:00
Asher
b9fc40409a
Forward minify environment variable to Docker build 2019-08-19 17:17:38 -05:00
Asher
e53d6bce68
Forward GitHub token to docker build if it exists 2019-08-19 17:02:02 -05:00
Asher
ce3b7dfb1e
Use readlink -f if realpath isn't available 2019-08-19 16:59:36 -05:00
Asher
b4e1a62cb4
Fix tasks
Fixes #898.
2019-08-16 15:06:59 -05:00
Asher
6737384d27
Handle existing query when opening folder 2019-08-15 17:28:02 -05:00
Asher
f61a0ae78a
Set unexpected error handler on startup
Fixes #911.
2019-08-15 16:02:14 -05:00
Asher
d1662d7658
Ensure service workers are supported before use
Fixes #909.
2019-08-15 15:41:04 -05:00
Asher
72fe124e30
Fix loading resources in webviews
Fixes #901.
2019-08-15 15:40:02 -05:00
Asher
a48c2fb119
Handle webview service worker resource requests 2019-08-15 14:30:41 -05:00
Asher
07ec4ca63e
Fix PHP syntax highlighting 2019-08-14 16:20:17 -05:00
Asher
83f86a45b6
Load language bundles on the client 2019-08-14 10:25:31 -05:00
Asher
45ad7f020a
Update logger 2019-08-13 12:03:08 -05:00
Asher
2470081789
Exit when pipe closes
This allows piping to things like `head` without SIGPIPE errors.
2019-08-12 15:39:04 -05:00
Asher
c11d5fe9e6
Fix error when passing empty extra extension dir flag 2019-08-12 14:27:11 -05:00
Asher
90e8714e71
Preserve query variables when redirecting 2019-08-12 11:55:33 -05:00
Asher
5539519691
Remove extra slash when opening folder 2019-08-12 11:36:47 -05:00
Asher
b566b66590
Fix service worker scope when there is a base path 2019-08-12 11:24:05 -05:00
Asher
7389d9e2cb
Use current URL for webview 2019-08-12 10:23:08 -05:00
Asher
1d61cbe536
Make release directory 2019-08-09 19:27:30 -05:00
Asher
2807ce495e
Add tar-stream dependency
It's no longer included by the remote dependencies.
2019-08-09 19:23:44 -05:00
Asher
ba7285192c
Update VS Code to 1.37.0 2019-08-09 19:23:41 -05:00
Asher
b257c60636
Fix websocket defaulting to port 80 when authority has no port 2019-08-08 11:59:07 -05:00
Asher
6b579d65ef
Fix webview address when using a proxy 2019-08-08 11:39:06 -05:00
Asher
d4ed2efa71
Change default port to 8080 2019-08-08 11:21:45 -05:00
Asher
2b3e8e1a89
Don't exclude .git for Docker
The build requires it to get the commit hash.
2019-08-07 16:39:31 -05:00
Asher
f5a6f14ade
Implement update service 2019-08-07 16:18:17 -05:00
Asher
01a9ab332e
Set commit based on code-server instead of VS Code
This ensures it'll be different for each build, otherwise it would also
be the same as long as the VS Code version is the same.
2019-08-07 15:13:39 -05:00
Asher
7e794bd134
Fix favicon not being included in final build 2019-08-05 13:34:32 -05:00
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
dde683d911
Fix login submission when using a base path 2019-08-05 10:38:55 -05:00
Asher
950bfce420
Add commit, date, and checksums to product.json 2019-08-02 20:29:48 -05:00
Asher
5b64cb3400
Fix login page 2019-08-02 19:54:56 -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
60ed0653bc
Reformat readme intro 2019-07-31 17:22:19 -05:00
Asher
bce0cac48f
Document recent VS Code patch changes 2019-07-31 17:22:18 -05:00
Asher
bd0f1d024b
Support vscode-resource requests in webview 2019-07-31 17:22:18 -05:00
Asher
5944b842de
Make it clearer what the tar code does 2019-07-31 17:22:17 -05:00
Asher
12af311ce7
Use our logger instead of raw console.log 2019-07-31 17:22:16 -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