Anmol Sethi
af28885ea6
Deprecate --host and --port in favour of --bind-addr
2020-04-28 14:19:24 -04:00
Anmol Sethi
d0d5461a67
Remove SSH server
...
Closes #1502
2020-04-27 09:27:45 -04:00
Asher
a5d1d3b90e
Move proxy logic into main HTTP server
...
This makes the code much more internally consistent (providers just
return payloads, include the proxy provider).
2020-04-02 13:40:29 -05:00
Asher
aaa6c279a1
Use Set for proxy domains
2020-04-02 13:40:28 -05:00
Asher
3a98d856a5
Handle authentication with proxy
...
The cookie will be set for the proxy domain so it'll work for all of its
subdomains.
2020-04-02 13:40:17 -05:00
Asher
90fd1f7dd1
Add proxy provider
...
It'll be able to handle /proxy requests as well as subdomains.
2020-04-02 13:40:16 -05:00
Asher
13534fa0c0
Add proxy-domain flag
...
This will be used for proxying ports.
2020-04-02 13:40:14 -05:00
Asher
37299abcc9
Minor startup code improvements
...
- Add type to HTTP options.
- Fix certificate message always saying it was generated.
- Dedent output not directly related to the HTTP server.
- Remove unnecessary comma.
2020-04-02 13:40:13 -05:00
Asher
a4c0fd1fdc
Run ssh server listen after http
...
That way if they happen to conflict code-server doesn't crash.
2020-03-30 17:43:11 -05:00
Asher
6c104c016e
Prevent exiting when an exception is uncaught
2020-03-30 17:43:10 -05:00
Asher
599670136d
Output commit along with the version
2020-03-30 17:43:09 -05:00
Asher
d1687c1533
Catch error when SSH server fails to start
2020-03-24 17:38:46 -05:00
Asher
b52fbb4cb9
Catch error when openssl isn't installed
2020-03-16 15:14:54 -05:00
Will O'Beirne
3463d56114
SSH server & endpoint
2020-03-16 15:14:53 -05:00
Asher
d192726e80
Simplify dashboard
2020-03-16 15:14:50 -05:00
Asher
069c5230cd
Move VS Code to the root
2020-03-02 12:55:34 -06:00
Asher
a8914b025f
Output code-server version on startup
2020-02-28 13:30:21 -06:00
Asher
21cfeb9da0
Add the ability to kill running VS Code instance
2020-02-27 12:04:23 -06:00
Asher
c870398c86
Switch to loose files
...
For #1306 .
2020-02-25 18:23:35 -06:00
Asher
4c6e4bedeb
Fix port being randomized
...
Also make it a number.
2020-02-24 16:49:10 -06:00
Asher
04e449c546
Require cert-key with cert
...
Fixes #1312 .
2020-02-24 15:01:59 -06:00
Anmol Sethi
bd7583a254
Obey process.env.PORT
2020-02-21 14:49:58 -05:00
Asher
80b2d9481f
Don't display stack trace for cli parse failures
...
Just display the error message and exit. The stack trace isn't necessary
(since it's likely user error) and is potentially confusing.
2020-02-19 11:15:39 -06:00
Asher
46d6e17508
Prepare for release
...
- Add VS Code icon
- Trim dashboard to just display dedicated VS Code section
- Version was getting unset during build
- Add back nbin shim which I temporarily took out earlier
- Update tests for log level env var changes
2020-02-18 17:31:23 -06:00
Asher
8793110941
Implement endpoint for getting recent directories
2020-02-18 14:13:22 -06:00
Asher
f6b092b12d
Merge branch 'restructure'
2020-02-18 13:30:37 -06:00
Asher
39a57700bc
Enable access to vscode cli
2020-02-18 12:24:12 -06:00
Anmol Sethi
1a54f6b7ef
Merge remote-tracking branch 'origin/restructure' into anmol-restructure
2020-02-18 12:52:29 -05:00
Anmol Sethi
4aa15401c3
Format and lint
2020-02-14 20:00:19 -05:00
Asher
db54f78e8e
Implement automatic updates
2020-02-14 15:58:39 -06:00
Asher
b8fa7da972
Simplify frontend
...
Just a login form and a list of applications. No modals or anything like
that.
2020-02-13 20:10:14 -06:00
Asher
256419004d
Implement cli parser
2020-02-07 14:43:08 -06:00
Asher
8a0f1d846e
Move start path logic out of patch and fix it
2020-02-06 12:29:38 -06:00
Asher
6e809b6a31
Handle when VS Code fails to load
...
This is mostly for development where VS Code might not have finished
compiling yet.
2020-02-05 14:23:42 -06:00
Asher
8cc11d1688
Improve routing
2020-02-05 13:07:07 -06:00
Asher
dbc5c065f8
Improve HTTP provider registration
2020-02-04 16:55:27 -06:00
Asher
b30aefcfb1
Add linting steps and improve testing steps
2020-02-04 15:42:55 -06:00
Asher
b29346ecdf
Implement new structure
2020-02-04 14:31:44 -06:00