1
0
mirror of https://github.com/coder/code-server.git synced 2024-12-05 07:13:06 +08:00
Commit Graph

3676 Commits

Author SHA1 Message Date
Joe Previte
5471f14c2f
Merge pull request #3740 from cdr/dependabot/npm_and_yarn/types/compression-1.7.1
chore(deps-dev): bump @types/compression from 1.7.0 to 1.7.1
2021-07-07 10:33:09 -07:00
Joe Previte
23b296d550
Merge pull request #3735 from cdr/dependabot/npm_and_yarn/types/body-parser-1.19.1
chore(deps-dev): bump @types/body-parser from 1.19.0 to 1.19.1
2021-07-07 10:31:09 -07:00
Joe Previte
722426856c
Merge pull request #3729 from cdr/jsjoeio-remove-unused-deps
chore: remove unused dependencies
2021-07-07 10:20:05 -07:00
dependabot[bot]
043d5abcaa
chore(deps-dev): bump @types/compression from 1.7.0 to 1.7.1
Bumps [@types/compression](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/compression) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/compression)

---
updated-dependencies:
- dependency-name: "@types/compression"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 17:16:17 +00:00
dependabot[bot]
5f4d0713bf
chore(deps-dev): bump @types/semver from 7.3.6 to 7.3.7
Bumps [@types/semver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/semver) from 7.3.6 to 7.3.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/semver)

---
updated-dependencies:
- dependency-name: "@types/semver"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 17:15:50 +00:00
dependabot[bot]
5141543cd9
chore(deps-dev): bump @types/body-parser from 1.19.0 to 1.19.1
Bumps [@types/body-parser](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/body-parser) from 1.19.0 to 1.19.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/body-parser)

---
updated-dependencies:
- dependency-name: "@types/body-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 17:14:56 +00:00
Joe Previte
17816bb3bd
Merge pull request #3734 from cdr/dependabot/npm_and_yarn/types/http-proxy-1.17.7
chore(deps-dev): bump @types/http-proxy from 1.17.6 to 1.17.7
2021-07-07 10:11:59 -07:00
Joe Previte
9dfc72de1d
Merge pull request #3731 from cdr/dependabot/npm_and_yarn/types/express-4.17.13
chore(deps-dev): bump @types/express from 4.17.12 to 4.17.13
2021-07-07 10:11:13 -07:00
dependabot[bot]
ae1839a140
chore(deps-dev): bump @types/http-proxy from 1.17.6 to 1.17.7
Bumps [@types/http-proxy](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/http-proxy) from 1.17.6 to 1.17.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/http-proxy)

---
updated-dependencies:
- dependency-name: "@types/http-proxy"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 11:02:38 +00:00
dependabot[bot]
60ef5b5cf2
chore(deps-dev): bump @types/js-yaml from 4.0.1 to 4.0.2
Bumps [@types/js-yaml](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/js-yaml) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/js-yaml)

---
updated-dependencies:
- dependency-name: "@types/js-yaml"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 11:02:14 +00:00
dependabot[bot]
3777d569e9
chore(deps-dev): bump @types/express from 4.17.12 to 4.17.13
Bumps [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express) from 4.17.12 to 4.17.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express)

---
updated-dependencies:
- dependency-name: "@types/express"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 11:02:07 +00:00
Joe Previte
0b072e771e
chore: remove unused dependencies and clean up test deps 2021-07-06 16:38:45 -07:00
Joe Previte
6f7ae29dc4
Merge pull request #3728 from cdr/jsjoeio-fix-open-folder-explorer-panel
fix: openFolder button on Explorer panel
2021-07-06 15:02:29 -07:00
Joe Previte
990414cae1
fix: openFolder by using command ID for Explorer 2021-07-06 14:05:27 -07:00
Joe Previte
2540b0d02c
docs(guide): add note for exposing address NGINX 2021-07-06 12:53:53 -07:00
Joe Previte
102f8117b7
Merge pull request #3724 from cdr/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.28.2
chore(deps-dev): bump @typescript-eslint/eslint-plugin from 4.28.1 to 4.28.2
2021-07-06 12:43:48 -07:00
Joe Previte
dc39da1638
Merge pull request #3723 from cdr/dependabot/npm_and_yarn/typescript-eslint/parser-4.28.2
chore(deps-dev): bump @typescript-eslint/parser from 4.28.1 to 4.28.2
2021-07-06 12:42:38 -07:00
dependabot[bot]
d4accfe806
chore(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.28.1 to 4.28.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.2/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-06 17:08:29 +00:00
dependabot[bot]
05134e419b
chore(deps-dev): bump @types/tar-stream from 2.2.0 to 2.2.1 (#3725)
Bumps [@types/tar-stream](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/tar-stream) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/tar-stream)

---
updated-dependencies:
- dependency-name: "@types/tar-stream"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-06 22:36:07 +05:30
Joe Previte
d2f11b7fcd
Merge pull request #3719 from cdr/dependabot/npm_and_yarn/eslint-7.30.0
chore(deps-dev): bump eslint from 7.29.0 to 7.30.0
2021-07-06 09:54:09 -07:00
dependabot[bot]
1dfbf9a00b
chore(deps-dev): bump @typescript-eslint/parser from 4.28.1 to 4.28.2
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.28.1 to 4.28.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.28.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-06 13:06:24 +00:00
dependabot[bot]
a1e5d39919
chore(deps): bump ws from 7.5.1 to 7.5.2 (#3716)
Bumps [ws](https://github.com/websockets/ws) from 7.5.1 to 7.5.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.1...7.5.2)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-06 18:34:21 +05:30
dependabot[bot]
ac4ef818b5
chore(deps-dev): bump @types/tar-fs from 2.0.0 to 2.0.1 (#3717)
Bumps [@types/tar-fs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/tar-fs) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/tar-fs)

---
updated-dependencies:
- dependency-name: "@types/tar-fs"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-06 18:33:56 +05:30
dependabot[bot]
c8bcfade7f
chore(deps-dev): bump @types/ws from 7.4.5 to 7.4.6 (#3718)
Bumps [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws) from 7.4.5 to 7.4.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws)

---
updated-dependencies:
- dependency-name: "@types/ws"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-06 18:33:28 +05:30
dependabot[bot]
83674c524d
chore(deps-dev): bump eslint from 7.29.0 to 7.30.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.29.0 to 7.30.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.30.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-05 11:01:54 +00:00
Joe Previte
d29391ae75
Merge pull request #3714 from cdr/jsjoeio-add-login-test
feat(test): check login.ts when base missing
2021-07-02 15:14:18 -07:00
Joe Previte
7ad536b5e9
feat(test): check login.ts when base missing 2021-07-02 14:57:16 -07:00
Joe Previte
b365830388
Merge pull request #3713 from cdr/jsjoeio-test-emitter
feat(test): try calling .dispose() x2 in emitter
2021-07-02 14:44:58 -07:00
Joe Previte
f3c4dcd074
feat(test): try calling .dispose() x2 in emitter 2021-07-02 14:27:12 -07:00
Joe Previte
58514c422f
Merge pull request #3711 from cdr/jsjoeio-fix-link
chore: fix broken link in install.sh
2021-07-02 13:15:08 -07:00
Joe Previte
002fa08222
chore: fix broken link in install.sh 2021-07-02 11:14:36 -07:00
Joe Previte
f8a1a1ce02
Merge pull request #3707 from cdr/jsjoeio-fix-alpine-install-script
fix: update install script for alpine
2021-07-02 10:45:14 -07:00
Joe Previte
908b2c8502
fix: use new docs links in install script 2021-07-02 10:29:49 -07:00
Joe Previte
5a6af17725
fix: modify install script for alpine 2021-07-01 15:50:31 -07:00
Joe Previte
1ff09b814e
Merge pull request #3706 from cdr/jsjoeio-update-docs-node-issues
docs(install): add troubleshooting node issues
2021-07-01 15:36:36 -07:00
Joe Previte
4ca4a26bec
docs(install): add troubleshooting node issues 2021-07-01 15:21:55 -07:00
Joe Previte
ad92287d7e
Merge pull request #3697 from cdr/jsjoeio-doc-env-requirements
docs(guide): add WebSockets to requirements
2021-07-01 14:50:53 -07:00
Joe Previte
975dd13d12
Merge pull request #3695 from cdr/jsjoeio-sanitize-error-msg
fix: escape error.message on login failure
2021-07-01 14:50:32 -07:00
Joe Previte
c0e123a801
fix(http): escape req.query.to in replaceTemplates 2021-07-01 10:43:37 -07:00
Joe Previte
2ba03c3424
docs: clarify redirect function in http.ts usage 2021-07-01 10:43:37 -07:00
Joe Previte
2092f82270
fixup! fix: escape error.message on login failure 2021-07-01 10:43:37 -07:00
Joe Previte
22a22a8f7a
fix: escape error.message on login failure 2021-07-01 10:43:37 -07:00
Joe Previte
c505fc45a8
feat: add escapeHtml function
This can be used to escape any special characters in a string with HTML before
sending from the server back to the client. This is important to prevent a
cross-site scripting attack.
2021-07-01 10:43:36 -07:00
Joe Previte
b009ad0633
docs(guide): add WebSockets to requirements 2021-07-01 10:37:32 -07:00
Joe Previte
faa896c12c
Merge pull request #3698 from cdr/jsjoeio-fix-argon-issue
fix(isHashMatch): check that hash starts with $
2021-07-01 10:33:29 -07:00
Joe Previte
4dcf3efeab
Merge pull request #3700 from cdr/jsjoeio-add-job-timeouts
fix: add timeouts to CI jobs
2021-07-01 09:59:52 -07:00
dependabot[bot]
bb1b129a24
chore(deps-dev): bump typescript from 4.3.4 to 4.3.5 (#3702)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.4 to 4.3.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.4...v4.3.5)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-01 21:20:43 +05:30
Joe Previte
8695c874ed
fix: add timeouts to ci jobs 2021-06-30 15:16:55 -07:00
Joe Previte
7f12fab3ca
fix(isHashMatch): check that hash starts with $
Previously, we used argon2 to verify the hash with the password.

If the hash didn't start with a $, then it would enter the catch block.

Now we check the hash before trying to verify it and we also throw an Error if
the verify fails.

This makes the isHashMatch function more robust.
2021-06-30 15:00:21 -07:00
CoderErik
e9d4f877f9
Update links to careers page (#3696) 2021-06-30 11:14:04 -05:00