Commit Graph

2532 Commits

Author SHA1 Message Date
Asher 02f9af1731
Merge pull request #2737 from cdr/health-test
Fix healthz socket
2021-02-18 11:38:00 -06:00
Asher 2d8b785fb8
Fix health socket not getting client messages
Forgot to resume. Went ahead and did the same for the test plugin
although it only sends messages and doesn't receive any.
2021-02-16 15:01:46 -06:00
Asher 7f80d152d3
Add healthz tests 2021-02-16 15:01:45 -06:00
Asher 59ba78c028
Force shutdown sockets during tests 2021-02-16 15:01:45 -06:00
Asher 7b28284a09
Merge pull request #2721 from cdr/v3.9.0
release: v3.9.0
2021-02-16 09:49:09 -06:00
Ben 83d6126e60
fix whitespace 2021-02-16 00:45:28 -05:00
Ben b86c45f76e
add Azure, Heroku to install docs 2021-02-16 00:43:10 -05:00
Joe Previte fc6d123da5
feat: update release template w/doc and dev 2021-02-12 16:22:32 -07:00
Joe Previte 0e3d1265d0
docs(ci): update release 2021-02-12 16:22:32 -07:00
Joe Previte 28e351c982
fixup: fmt install.md 2021-02-12 16:22:32 -07:00
Joe Previte a5ac1cce83
docs(ci): update code coverage instructions 2021-02-12 16:22:32 -07:00
Joe Previte ef6c1bd46a
chore: update code coverage badge 2021-02-12 16:22:32 -07:00
Joe Previte ba9196968b
chore(install.sh): update to v3.9.0 2021-02-12 16:22:31 -07:00
Joe Previte 76edcced0d
chore(helm-chart): update to v3.9.0 2021-02-12 16:22:31 -07:00
Joe Previte 2d407be795
docs(helm-chart): update to v3.9.0 2021-02-12 16:22:31 -07:00
Joe Previte 2ca22c3318
docs(install): update to v3.9.0 2021-02-12 16:22:31 -07:00
Joe Previte 0f17ceb9b5
chore: update package.json version 2021-02-12 16:22:31 -07:00
Asher 3fc556d4d5
Delegate authentication to plugins
Unfortunately since plugins can now override the root this is necessary
or just can't log in.
2021-02-12 16:50:23 -06:00
Asher c2450d6bf3
Merge pull request #2722 from cdr/root-plugin 2021-02-12 16:07:23 -06:00
Asher 8c3896cf40
Move compression to deps from dev deps 2021-02-12 16:06:41 -06:00
Asher de11753569
Fill req.args for tests 2021-02-12 16:05:15 -06:00
Asher 0abbc9789e
Allow plugins to register at the root
Unfortunately we have existing plugins with routes there which we cannot
move.
2021-02-12 15:19:26 -06:00
Asher 619934dc29
Authenticate plugin routes (#2720) 2021-02-12 14:56:39 -06:00
Justin Poehnelt 97c1399401
feat: use compression in express server (#2680) 2021-02-12 14:27:33 -06:00
Joe Previte 1272bf9a52
Merge pull request #2696 from bpmct/clarify-alpine
docs: clarify Alpine install path in install.md
2021-02-11 09:50:59 -07:00
Ben e4c82a097e
update branch in URLs 2021-02-11 08:00:36 -05:00
Ben 3dcb92be40
fix npm docs link in install.sh 2021-02-11 08:00:33 -05:00
Ben 4318ac6834
fix whitespace 2021-02-11 08:00:28 -05:00
Ben f92fd2c92e
clarify alpine on install docs 2021-02-11 08:00:04 -05:00
Asher 8344e2062a
Merge pull request #2622 from cdr/plugin-additions 2021-02-10 16:45:00 -06:00
Joe Previte 662b5b24e6
Merge pull request #2701 from cdr/add-unit-tests-constants
feat(testing): add unit tests for constants
2021-02-10 12:40:58 -07:00
Asher de9491d5a6
Mark code-server as a virtual module 2021-02-10 13:13:23 -06:00
Joe Previte 1da773d09b
Merge pull request #2706 from genome21/master
docs(README.md): update to include requirements
2021-02-10 11:00:59 -07:00
Joe Previte f1337d53c6
Merge pull request #2702 from cdr/add-unit-tests-http
feat(testing): add unit tests for src/common/http
2021-02-10 10:57:16 -07:00
Asher 3f837d3036
Fix tests failing due to collisions in release 2021-02-10 10:32:17 -06:00
Robert Wilkins III 71cb9e7095
Merge pull request #1 from genome21/genome21-patch-1
Update README.md to include requirements
2021-02-09 23:43:58 -06:00
Robert Wilkins III 4fc0f92180
Update README.md to include requirements
Promote ease of adoption by placing the requirements in the README at the root folder level.
2021-02-09 23:41:36 -06:00
Asher 4f16087a94
Resolve code-server from the root
This fixes the lint script but unfortunately breaks my editor.
2021-02-09 16:36:26 -06:00
Asher 2b1b3e6dc0
Add eslint import alias resolver
Somehow I managed not to commit this earlier.
2021-02-09 16:20:28 -06:00
Asher e4e0ac43b0
Don't load plugins in tests
This can affect the test behavior and results.
2021-02-09 15:39:57 -06:00
Asher e098df0766
Fix code-server module not being provided in Jest 2021-02-09 15:23:08 -06:00
Joe Previte c7c851dd01
feat: add tests for src/common/http 2021-02-09 13:13:19 -07:00
Asher b881117762
Expand working directory comment 2021-02-09 13:35:34 -06:00
Asher 9647d65e52
Add code-server alias to eslint 2021-02-09 13:33:31 -06:00
Asher 2879bd4c22
Add type alias for required modules 2021-02-09 13:09:41 -06:00
Asher 3226d50747
Rename papi to pluginApi 2021-02-09 13:09:40 -06:00
Asher 2fe3d57df3
Mount plugins before bodyParser
Otherwise it consumes the body and plugins won't be able to do things
like proxy POST requests.
2021-02-09 13:09:39 -06:00
Asher c78f56b334
Expose HttpError to plugins
This will let them throw and show nice errors more easily.
2021-02-09 13:09:38 -06:00
Asher 22d194515a
Expose replaceTemplates to plugins
This is mainly so they can get relative paths in their HTML, in
particular code-server's static base so they can use the favicon and
service worker.
2021-02-09 13:09:37 -06:00
Asher 36aad9bdab
Move global express args definition
This way tests that import the http utilities but not the routes won't
error due to missing types.
2021-02-09 13:09:36 -06:00