Commit Graph

452 Commits

Author SHA1 Message Date
Ayane Satomi 51a82655a9 [README] Add volume flag for persisting configs (#969)
Fixes GH-965
2019-09-12 10:12:39 -05:00
Dean Sheather ed3e9d31f4
Merge pull request #916 from cdr/doc-rewrite
Rewrite and update documentation
2019-09-07 02:56:38 +10:00
Dean Sheather 0f1bbc3161
Merge pull request #917 from paolomainardi/master
#914 - New helm chart for v1
2019-08-21 05:08:30 +10:00
Paolo Mainardi 615948c73f
refs #914: Fix identation for args and vars 2019-08-20 15:00:59 +02:00
Paolo Mainardi 19541c27ff
refs #914: Helm chart 2019-08-19 22:18:17 +02:00
Dean Sheather c94761f312
Documentation changes 2019-08-19 21:12:04 +10:00
Dean Sheather 7caef7f49c
Rewrite and update documentation 2019-08-17 05:46:37 +10:00
Asher 8c39e085f4
Use generic releases link for v2 message 2019-08-08 13:40:01 -05:00
Asher 3667b16cba
Add link to v2 preview 2019-08-07 18:18:01 -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
Dean Sheather bdd9d65146
Add DigitalOcean button to README 2019-08-02 14:08:33 +10: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
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
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 362715bbeb
Fix dialog items getting cut off
Fixes #336.
2019-06-07 14:30:45 -05:00
Dean Sheather ec70ea6994 Change documentation to use port 8443 (#740) 2019-06-07 14:22:33 -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
Liudas Sodonis aka lfx aka lso 406ec0ba71 Updated google_cloud to have proper link to ssl.md (#745) 2019-06-05 15:28:10 -05:00
Sebastian Duda e2eaa0aa4e
Align intend of description
Co-Authored-By: Sergio Moura <sergio@moura.ca>
2019-05-28 07:10:20 +00:00
Asher a2ad3d4ff4
Show hidden files by default
Since there is no other way to enable hidden files, it seems better to
enable it by default otherwise there are some folders/files you simply
can never open from the dialog.
2019-05-20 16:08:54 -05:00
Asher 4a29cd1664
Fix human readable byte size when zero 2019-05-20 15:53:06 -05:00
Anmol Sethi 0462a93f11 Expose actions registry (#701) 2019-05-20 14:35:58 -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
Sebastian Duda 91bcbe496b
Fix formatting issue 2019-05-20 08:29:27 +00: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