Archived
1
0
Commit Graph

1910 Commits

Author SHA1 Message Date
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
Asher
150513fbc4
Export Logger type
So plugins can pass the logger around.
2021-02-09 13:09:35 -06:00
Asher
5505959f7e
Expose websocket server to plugins
Same reasoning used when exposing Express.
2021-02-09 13:09:34 -06:00
Asher
b13db3124b
Add health websocket
This is used by some of our services.
2021-02-09 13:09:33 -06:00
Asher
f136a60093
Note that we immediately pause websockets 2021-02-09 13:09:32 -06:00
Asher
00cfd9bdf1
Add working directory to plugin config 2021-02-09 13:09:31 -06:00
Asher
3211eb1ce5
Expose log level to plugins
In case they need to map it to something else.
2021-02-09 13:09:30 -06:00
Asher
017b1cc633
Add deinit for plugins 2021-02-09 13:09:29 -06:00
Asher
3c6fac9ce4
Wait for inner process to exit 2021-02-09 13:09:28 -06:00
Asher
055e0ef9ec
Provide WsRouter to plugins 2021-02-09 13:09:27 -06:00
Asher
fb37473e72
Load only test plugin during tests
The other plugins in my path were causing the tests to fail.
2021-02-09 12:20:30 -06:00
Asher
f6b04c7c29
Expose proxy server to plugins 2021-02-09 12:19:39 -06:00
Asher
a8e928798b
Re-export express for plugins 2021-02-09 12:19:38 -06:00
Asher
5f1fab7d27
Re-export logger field for plugins 2021-02-09 12:19:36 -06:00
Asher
6ce29311a8
Merge pull request #2543 from cdr/vscode-1.52.1 2021-02-09 12:15:20 -06:00
Asher
898565e16a
Resolve browser telemetry conflict 2021-02-09 11:11:38 -06:00
Asher
948e01fb27
Bundle jpg from VS Code
These seem to be used in some "getting started" page but I'm not sure
where it is.
2021-02-09 11:11:17 -06:00
Asher
068e399bf2
Remove Node browser shim
We used this to run vscodevim in the browser but it now has a version
that is able to run as a VS Code web extension. This does require an
update to our marketplace, however.
2021-02-09 10:40:14 -06:00
Asher
a65231808a
Fall back to remote extension server on web 2021-02-09 10:39:35 -06:00
Asher
a6d4b24733
Resolve extensions viewlet conflicts 2021-02-09 10:39:08 -06:00
Asher
f8d546bdc6
Remove hidden home CSS
Now that you can customize the home it's probably fine to show it.
There's also an option for users to hide it.
2021-02-09 10:38:14 -06:00
Asher
cc59279f11
Remove GoHomeContributor
It's probably registered in some other way now.
2021-02-09 10:37:03 -06:00
Asher
89c38d3554
Update storage promise
A new doStore was added.
2021-02-09 10:36:39 -06:00