Commit Graph

595 Commits

Author SHA1 Message Date
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 8c39e085f4
Use generic releases link for v2 message 2019-08-08 13:40:01 -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 3667b16cba
Add link to v2 preview 2019-08-07 18:18:01 -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
Dean Sheather 9d688e0894
Merge pull request #883 from cdr/digitalocean-button
Add DigitalOcean button to README
2019-08-06 12:41:43 +10:00
Dean Sheather 7d35144952
Add GitHub fonts to DigitalOcean button 2019-08-06 12:39:39 +10: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
Dean Sheather bdd9d65146
Add DigitalOcean button to README 2019-08-02 14:08:33 +10: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
Asher 87be3ac235
Add comment explaining use of merge 2019-07-31 17:22:11 -05:00
Asher 011530e11b
Proxy TLS sockets 2019-07-30 18:16:08 -05:00
Dean Sheather 4bfa686433
Merge pull request #876 from jhalek90/patch-1
update README.md
2019-07-29 09:00:39 +10:00
jhalek90 c67844d356
update README.md
Removed linked to coder.com/enterprise,(404)
replaced with link to coder.com
2019-07-28 10:35:52 -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 fd55139c82
Make flags additive and clean up docs
This means that you have to turn on features now instead of disabling
them like auth and https.

In addition:
- Allow multiple options for auth (only password for now).
- Combine the install docs since they had many commonalities and
- generally simplified them (hopefully not too much).
- Move all example configs into docs/examples.
2019-07-23 18:59:39 -05:00
Asher 7b7f5b542e
Add base path argument
It's only used for the login redirect.
2019-07-23 15:17:25 -05:00