Commit Graph

215 Commits

Author SHA1 Message Date
Anmol Sethi 8b85006996
src/node/util.ts: Make certificate generation "modern"
Now we add a subject alt name, set extendedKeyUsage and use the
correct certificate extension.

The above allow it to be properly trusted by iOS.

See https://support.apple.com/en-us/HT210176

*.cert isn't a real extension for certificates, *.crt is correct
for it to be recognized by e.g. keychain or when importing as a profile
into iOS.

Updates #1566

I've been able to successfully connect from my iPad Pro now to my
code-server instance with a self signed certificate! Next commit
will be docs.
2020-10-30 13:36:53 -04:00
Anmol Sethi 10b3028196
util: Generate self signed certificate into data directory
Closes #1778
2020-10-30 13:36:53 -04:00
Katie Horne 860c99e3b8
Docs copyedits: README.md + CONTRIBUTING.md (#2242)
* Edit README

* Edit CONTRIBUTING

* Format CONTRIBUTING.MD

* Incorporate feedback

* Revert movement of CONTRIBUTING.MD and format
2020-10-29 17:21:47 -04:00
Asher 62735da694
v3.6.1 2020-10-23 15:21:50 -05:00
Anmol Sethi d7ba9ae633
v3.6.0 2020-10-12 01:18:55 -04:00
Anmol Sethi 7cc16ceb3a
Document KEEP_MODULES 2020-10-07 16:16:01 -04:00
Anmol Sethi 607444c695
Switch off debian:8 to debian:10 for the typescript build image
We only want to use an old version for glibc which the centos:7
image takes care of.

The old version of git used in debian:8 was causing problems
with the uid/gid passthrough with no user in passwd.
2020-10-07 15:58:30 -04:00
Asher 0a2328c1f6
Don't require auth for healthz (#2055)
* Don't require authentication for healthz endpoint

* Add FAQ entry for /healthz
2020-09-08 13:59:01 -05:00
Anmol Sethi 9fb318cf15
docker: Fix $DOCKER_USER (#2057)
We do not try renaming $HOME anymore as there is no good way
to do it.

We also only try to convert if the user hasn't been changed.

Finally I added usage to the docker docs in install.md

Closes #2056
2020-09-03 18:38:40 -04:00
Anmol Sethi 35a2d71b67
Minor release process fixes (#2042) 2020-09-03 02:16:57 -04:00
Anmol Sethi b509063e14
v3.5.0 2020-08-29 17:23:20 -04:00
Anmol Sethi 1558ff6dac
Streamline dev container workflow (#2014) 2020-08-27 15:39:24 -04:00
Anmol Sethi 255fa37e1d
Bundle systemd system unit
systemd's user units are buggy on certain versions
and do not linger by default.

Closes #1771
Closes #1673
Closes #1882
Closes #1861
2020-08-27 13:20:21 -04:00
Anmol Sethi 6cc91869d3
doc: Update npm docs for debian sid
There is no python package anymore, you have to explicitly
pick which version of python to install and we need to inform
npm of the executable name.
2020-08-26 13:54:42 -04:00
Anmol Sethi 536ccc0f10
doc: Simplify build process docs (#2004)
Much easier for users to use our CI scripts instead of each individual
yarn step.
2020-08-26 13:29:42 -04:00
Anmol Sethi 312a4d584c
doc: Improve docker example to mount in $HOME for easy config access
I'm surprised no one has asked any questions about this.
2020-08-26 13:00:10 -04:00
Anmol Sethi e8ac0d33f9
Document release branches (#1995)
* Document release branches

* Update doc/CONTRIBUTING.md

Co-authored-by: Asher <ash@coder.com>

Co-authored-by: Asher <ash@coder.com>
2020-08-26 07:08:02 -04:00
Anmol Sethi 98d8d848a5
Switch from subreddit to GitHub discussions for support (#1993) 2020-08-25 12:13:11 -04:00
josephrocca c8ce380f10
instanceIp --> username@instanceIp (#1921)
* instanceIp --> username@instanceIp

* [user]@<instance-ip>

Co-authored-by: Anmol Sethi <hi@nhooyr.io>

Co-authored-by: Anmol Sethi <hi@nhooyr.io>
2020-08-20 10:55:03 -04:00
G r e y c78d164948
Fix nfpm typo (#1943) 2020-08-05 12:48:41 -04:00
Anmol Sethi 4dd2c86cca
FAQ: Demonstrate how to switch the marketplace 2020-08-04 10:11:55 -04:00
Anmol Sethi 0bd808270d
doc/guide: Fix TOC 2020-07-22 17:29:45 -04:00
Anmol Sethi bc78e16146
doc/guide: Improve nginx docs (#1902)
Made it a full alternative to caddy, just so we don't ever have to explain how to configure Nginx again.
2020-07-22 16:05:39 -04:00
Asher 6c5a9edced
Tiny text changes 2020-07-21 17:16:32 -05:00
Niek van der Maas 6c3e4d2a76 Add trailing / 2020-07-16 19:24:13 +02:00
Niek van der Maas 96af9761b7
Add Nginx instructions to guide
Added Nginx instructions for people who prefer to use this instead of Caddy
2020-07-06 10:45:09 +02:00
Anmol Sethi 3da6c561b8
Fix wording in FAQ.md 2020-06-16 11:14:02 -04:00
Shereef Bankole 96e57f1e6f fix typos in doc/FAQ.md 2020-06-14 23:46:01 +01:00
Anmol Sethi 3d9e3b8717
Add FreeBSD support to install script 2020-06-13 11:14:32 -04:00
Jeffrey Jose 3a37add48d
Update --data-dir flag to --user-data-dir
Update --data-dir flag to --user-data-dir
2020-06-04 23:42:10 -07:00
Anmol Sethi 88c76d4794
Fix typo in guide.md 2020-06-04 16:49:49 -04:00
Anmol Sethi 022a2e0860
Merge branch 'docs' 2020-06-04 16:47:36 -04:00
Anmol Sethi bd2e55dcf3
Make README more clear 2020-06-04 16:47:27 -04:00
Anmol Sethi 59694fb72e
FAQ: Explain differences compared to Theia
Closes #1756
2020-06-04 07:30:41 -04:00
Anmol Sethi ac2bf56ebc
Explain $SERVICE_URL and $ITEM_URL in more detail
Closes #1762
2020-06-04 07:25:32 -04:00
Anmol Sethi 48f7c27248
v3.4.1 2020-06-04 06:24:24 -04:00
Anmol Sethi d4ef7c1412
Remove colons from image filenames 2020-06-03 15:45:16 -04:00
Anmol Sethi 5815b4a0c0
Rename dev/container -> dev/image 2020-06-03 15:45:16 -04:00
Anmol Sethi bdb670e852
Rename container and release-container to images and release-image 2020-06-03 15:45:16 -04:00
Anmol Sethi 11d7932968
Stop bundling libraries in release
- Instead we now use CentOS 7 for the static build to guarantee
  that we only depend on libc v2.17

- For macOS we now pull in a static node binary and bundle that instead.
2020-06-03 15:45:16 -04:00
Anmol Sethi 206f195c1c
Minor grammar fixes in FAQ 2020-06-03 15:45:16 -04:00
Anmol Sethi c7cad402b4
Cleanup FAQ
Prominently explain how code-server is different from VS Code

Closes #1718
2020-05-27 21:39:19 -04:00
Anmol Sethi 8dfac0fb65
More questions in the FAQ
Closes #1732
2020-05-27 20:45:11 -04:00
Anmol Sethi 69ad52907e
v3.4.0 2020-05-27 19:21:15 -04:00
Anmol Sethi fbd85649f9
Fix CI 2020-05-27 17:55:57 -04:00
Anmol Sethi 29e5c4a293
Clarify npm docs in install.md 2020-05-27 16:48:11 -04:00
Anmol Sethi f71d8875d0
Rename binary release to standalone 2020-05-27 16:39:17 -04:00
Anmol Sethi fa45fd0e31
Rename static releases to binary releases
More clear as discussed in PR.
2020-05-27 15:57:18 -04:00
Anmol Sethi 665ca017a1
Fixes from @code-asher's godly review 2020-05-27 15:48:22 -04:00
Anmol Sethi eb17a293e5
Document Microsoft's Remote extensions
Closes #1681
2020-05-27 15:48:22 -04:00
Anmol Sethi c51d94d8a9
Document PWA
Closes #1726
2020-05-27 15:48:22 -04:00
Anmol Sethi 7ef82d8422
Improved install.sh flags 2020-05-27 15:48:22 -04:00
Anmol Sethi 42b5152888
Further documentation cleanup 2020-05-27 15:48:22 -04:00
Anmol Sethi 7dcfde7329
Documentation fixes 2020-05-27 15:48:22 -04:00
Anmol Sethi 15cd727b96
Replace gif with screenshot 2020-05-27 15:48:22 -04:00
Anmol Sethi f117475970
install.md: Add https://github.com/linuxserver/docker-code-server
See https://github.com/cdr/code-server/issues/1337#issuecomment-632131384
2020-05-27 15:48:22 -04:00
Anmol Sethi a40dabbd22
Add install script to docs 2020-05-27 15:48:22 -04:00
Anmol Sethi e0172d0953
Minor fixes for install.sh and bundle in libstdc++
Closes #1706
2020-05-27 15:48:22 -04:00
Anmol Sethi 510d84898c
install.sh: Add our own flag parser
Fully supports long opts!
2020-05-27 15:48:22 -04:00
Anmol Sethi 0129e002e8
Add install.sh into README.md 2020-05-27 15:48:22 -04:00
Anmol Sethi 3b11733bd8
Add auto install script 2020-05-27 15:48:22 -04:00
Anmol Sethi 96eeb9fea0
Fix install instructions for SUSE
Closes #1699
2020-05-27 15:48:22 -04:00
Cucumberbob 9a8c06d09d
Fixed grammar error
Removed apostrophe used for pluralization

server's -> servers
2020-05-24 15:08:05 +01:00
Anmol Sethi c8b58a0f70
CONTRIBUTING.md update 2020-05-21 12:57:29 -04:00
Anmol Sethi c9afd01b60
Update FAQ for extension request template 2020-05-21 11:59:04 -04:00
Rechigo 608cefa8cd
Update CONTRIBUTING.md
It is not mentioned that the "release" script requires "jq" to be installed on the system to build code-server releases
2020-05-20 15:26:23 -07:00
Anmol Sethi 25ea76ebc9
Improve clarity in guide and fix typo in FAQ 2020-05-19 13:46:19 -04:00
Anmol Sethi cf887ab10a
Merge branch 'master' into faq 2020-05-19 13:08:39 -04:00
Sandro Jäckel 5ec8a6efbd
Fix typos 2020-05-19 12:19:09 +02:00
Anmol Sethi 520d8e66a8
Add blank screen problem with iPad to FAQ 2020-05-19 00:24:49 -04:00
Anmol Sethi 5f94d5a687
Release v3.3.1
This release fixes bugs introduced with the release of v3.3.0

- We've reverted to VS Code 1.45.1 due to bugs in 1.46 #1667
- Accessing code-server from a web browser on Windows has been fixed #1642
- Search in project has been fixed #1665
- The glibc requirement on static releases has been lowered to v2.19 #1656
2020-05-18 18:11:52 -04:00
Anmol Sethi 8a3466e86f
More grammar fixes for FAQ 2020-05-17 22:47:23 -04:00
Anmol Sethi 094ca2ad97
Link to all other docs in guide.md
I expect people will frequently link to it.
2020-05-17 20:39:45 -04:00
Anmol Sethi 783dfe0a14
Fix typo in installation docs 2020-05-17 20:32:04 -04:00
Anmol Sethi b9f43c3542
Fix grammar in FAQ 2020-05-17 20:29:00 -04:00
Anmol Sethi 65325eef89
Clarify location of config file in FAQ 2020-05-17 20:27:45 -04:00
Anmol Sethi 3a1e3bc596
Final revisions for the docs before release
🚀
2020-05-17 17:55:28 -04:00
Anmol Sethi e0dbd8f74a
Rename self contained release to static release 2020-05-17 16:59:09 -04:00
Anmol Sethi 6a25b3bfa0
Document structure better
Closes #1648
2020-05-17 16:53:08 -04:00
Anmol Sethi 611cde7202
Fix spelling of Multi-tenancy in FAQ 2020-05-14 22:33:13 -04:00
Anmol Sethi d4b3d21dce
Require minimum node 12 2020-05-14 22:33:12 -04:00
Anmol Sethi 10b06cae10
Minor typo fixes 2020-05-14 20:08:08 -04:00
Anmol Sethi c69346a9a7
Add FAQ entry on the config file 2020-05-14 18:35:35 -04:00
Anmol Sethi a0a77e379e
Add doc/guide.md 2020-05-14 05:24:23 -04:00
Anmol Sethi 1739b21600
Bundle VS Code node_modules to avoid yarn dependency
Many random bizarre issues otherwise.

Also includes misc improvements to docs and scripts.
2020-05-13 02:35:11 -04:00
Anmol Sethi a346c6d565
Document npm module install dependencies 2020-05-12 23:11:31 -04:00
Anmol Sethi d6ea9d78f6
Configuration file bug fixes based on @code-asher's review 2020-05-12 19:59:54 -04:00
Anmol Sethi 00d164b67f
Add default config file and improve config/data directory detection 2020-05-12 19:59:54 -04:00
Anmol Sethi 7c7f62d3f3
Fixes for CI from @code-asher's review 2020-05-08 16:45:59 -04:00
Anmol Sethi be032cf735
Add NPM package, debs, rpms and refactor CI/build process
Closes many issues that I'll prune after adding more docs
for users.
2020-05-06 20:25:52 -04:00
Anmol Sethi 5accf3fe5f
Add basic rate limiting to login endpoint
Closes #1320
2020-04-28 14:21:08 -04:00
Asher dcde596002
Document debugging process
Closes #1465.
2020-04-20 18:55:14 -05:00
Asher 974d4cb8fc
Allow specifying a workspace on the command line
Fixes #1535.
2020-04-16 11:56:46 -05:00
Charles Moog 29b6115c77
Adds dev container and docs (#1499) 2020-04-14 17:22:52 -05:00
Asher 5aded14b87
Merge pull request #1453 from cdr/proxy
HTTP proxy
2020-04-08 12:44:29 -05:00
Asher 3b39482420
Document workspace and folder behavior
Also fixed a type issue.
2020-04-07 17:49:50 -05:00
Abin Simon ca998240a0
Fix typo in FAQ (#1489) 2020-04-03 13:09:32 -05:00
Asher 363cdd02df
Improve proxy documentation 2020-04-02 13:40:30 -05:00
Asher fd339a7433
Include query parameters when proxying 2020-04-02 13:40:24 -05:00
Asher 561b6343c8
Ensure a trailing slash on subpath proxy 2020-04-02 13:40:23 -05:00