Asher
86e8ba12e7
Add gallery channel
2019-07-18 18:08:35 -05:00
Asher
f482087475
Implement webview server
2019-07-18 18:08:34 -05:00
Asher
fe1d609d1a
Make it possible to request absolute paths
2019-07-18 18:08:33 -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
197d8dba93
Need to run yarn compile
once
...
To build the extensions for development.
2019-07-18 18:08:30 -05:00
Asher
3ca90a5f89
Use nbin in forked processes
2019-07-18 18:08:30 -05:00
Asher
6156eb9ff4
Don't wait to start main server
2019-07-18 18:08:29 -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
61c281ec6b
Add arguments for ports
2019-07-18 18:08:26 -05:00
Asher
770e0db7b8
Add cli arguments
2019-07-18 18:08:25 -05:00
Asher
6a35ab1dc0
Add (unimplemented) webview server
2019-07-18 18:08:24 -05:00
Asher
3a78c0964f
Run log cleaner
2019-07-18 18:08:24 -05:00
Asher
4685f6793d
Pass product configuration
2019-07-18 18:08:23 -05:00
Asher
2e77c9d449
Scan extensions
2019-07-18 18:08:22 -05:00
Asher
a6703ecb98
Prevent sending disconnect if disposed
2019-07-18 18:08:21 -05:00
Asher
57a8186e88
Add development steps
2019-07-18 18:08:20 -05:00
Asher
d808bfaec6
Set workspace and folder URIs
...
This makes the file tree work.
2019-07-18 18:08:19 -05:00
Asher
7072bf1e83
Use new URI transformer everywhere
2019-07-18 18:08:18 -05:00
Asher
4e0a6d2941
Partial extension host, some restructuring
...
I didn't like how the inner objects accessed parent objects, so I
restructured all that.
2019-07-18 18:08:17 -05:00
Asher
0d618bb1ef
Use spdlog for log service
2019-07-18 18:08:17 -05:00
Asher
a0121f2f0c
Implement file provider
...
Reading, watching, saving, etc all seem to work now.
2019-07-18 18:08:16 -05:00
Asher
98f001395c
Add content types
2019-07-18 18:08:15 -05:00
Asher
68fe085aa3
Add channels
2019-07-18 18:08:14 -05:00
Asher
4861405683
Initial connection handling
2019-07-18 18:08:13 -05:00
Asher
310bfe509e
Delete all the things
2019-07-18 18:08:11 -05:00
Dean Sheather
f25a614333
Merge pull request #835 from cdr/log-failed-logins
...
Add failed authentication attempt logger
2019-07-11 02:42:55 +00:00
Dean Sheather
0ae8c1820a
Merge branch 'log-failed-logins' of github.com:cdr/code-server into log-failed-logins
2019-07-11 12:31:52 +10:00
Dean Sheather
e776f18192
update docs to mention --trust-proxy
2019-07-11 12:30:42 +10: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
1046fc192e
Merge branch 'master' into log-failed-logins
2019-07-09 01:01:20 +00:00
Dean Sheather
c48a275d33
add timestamp to auth log, add fail2ban conf+docs
2019-07-09 10:57:09 +10: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
3f2ad7b719
Fix self-hosted documentation screenshot URL ( #836 )
2019-07-08 08:55:37 -06:00
Dean Sheather
5e8c3f8ff3
Merge pull request #698 from 8sd/patch-1
...
Fix formatting issue
2019-07-08 10:06:09 +00:00
Dean Sheather
ddab1a0626
Merge pull request #730 from T45K/fix-typos
...
Fix typos in wget url
2019-07-08 09:51:26 +00:00
Sebastian Duda
d950e3c9de
Fix missing comma in cli-help
2019-07-08 09:20:29 +02:00
tsk-nkgw
46298c7675
fix typos in wget url
2019-07-07 18:30:27 +09:00
Dean Sheather
14d917179c
update code-server usage in documentation
2019-07-07 17:03:47 +10:00
Dean Sheather
a65773338c
add failed authentication attempt logger
...
When `isAuthed()` is called and the password cookie is not what we
expected, the failed login attempt is logged with the provided password,
remote address and user agent.
To allow for logging failed attempts with a reverse proxy, the
`--trust-proxy` argument has been added to trust the `X-Forwarded-For`
header. This implementation of an `X-Forwarded-For` parser uses the last
value in the list, therefore only trusting the nearest proxy.
2019-07-07 16:50:43 +10: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
Dean Sheather
46207cfe10
register service worker at relative scope
...
Co-Authored-By: Ian Reinhart Geiser <geiseri@geekcentral.pub>
2019-07-07 15:12:45 +10:00
Dean Sheather
242bb6ffa2
Merge pull request #821 from morningspace/master
...
Update READE to add know issue for golang debug
2019-07-07 03:39:01 +00:00
morningspace
e6713db677
Update READE to add know issue for golang debug
2019-07-02 06:37:34 +08: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
Asher
28c93612e6
Move address output to the listen callback
...
Since listening is asynchronous, this guarantees the address will be
filled out.
2019-06-17 13:44:24 -05:00
Dean Sheather
a9d17882e7
use port from server.address() when printing URL ( #780 )
...
This allows the use of port 0, which is interpretted automatically to
mean "random port".
Additional logging consistency fixes.
2019-06-17 12:20:20 -05:00
Asher
cf63bbd003
Fix "no authentication" message with custom password
...
Fixes #757 .
2019-06-11 12:08:02 -05:00