Archived
1
0
Commit Graph

2425 Commits

Author SHA1 Message Date
Asher
1789cd1bcb
Move temp test dirs under a tests sub-directory
This is to match the other tests that create temp directories. It also
lets you clean up test temp directories all at once separately from
other non-test temporary directories.
2021-05-06 14:25:51 -05:00
Asher
52cf2fcf29
Move tmpdir test helper to test helpers file 2021-05-06 14:25:50 -05:00
Asher
0e4672f6b9
Move health route tests to routes directory 2021-05-06 14:25:49 -05:00
Joe Previte
3243bb3552
Merge pull request #3290 from cdr/jsjoeio/update-constants-test
feat(testing): add test for src/node/constants.ts
2021-05-06 12:25:07 -07:00
Akash Satheesan
d27b12bae9
refactor(ci): split audit from prebuild (#3298)
Move dependency audits from prebuild to their own jobs,
so that an error does not affect the rest of the build/test process.
2021-05-07 00:32:10 +05:30
Joe Previte
cb5ab48d48
fix: coveragePathIgnorePatterns to /out
We were accidentally ignoring `node/routes` because we had "out"
instead of "/out" in `coveragePathIgnorePatterns` which caused
us to not collect coverage for those files. Now we do.
2021-05-06 11:53:17 -07:00
Joe Previte
027106a5e1
feat(testing): add test for constants "version" and commit 2021-05-05 15:34:48 -07:00
Asher
af5a1c9861
Merge pull request #3286 from code-asher/permessage-deflate 2021-05-05 14:32:06 -05:00
Joe Previte
b798bfdb59
Merge pull request #3287 from cdr/jsjoeio/update-security-policy
docs(security): add section for tools
2021-05-05 12:16:14 -07:00
Joe Previte
7871cced96
docs(security): add section for tools 2021-05-05 11:24:31 -07:00
Asher
a882be5748
Refactor integration tests to use main entry point 2021-05-05 12:24:41 -05:00
Asher
20e70cfa05
Remove try from main
All it does is log and exit which is what the caller will be doing on an
error anyway (see entry).
2021-05-05 12:24:36 -05:00
Asher
c96fb65308
Split some entry methods into main
This is so they can be unit tested.
2021-05-05 12:24:35 -05:00
Asher
083400b50a
Add flag to enable permessage-deflate 2021-05-05 12:24:34 -05:00
Akash Satheesan
fa461ff8f1
feat(ci/build): support arm64 for cloud-agent (#3294) 2021-05-05 21:53:30 +05:30
Asher
92bf2c9760
Add dev mode constant 2021-05-05 10:16:01 -05:00
dependabot[bot]
1c0f0eb60c
chore(deps-dev): bump @types/node from 12.20.11 to 12.20.12 (#3292)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 12.20.11 to 12.20.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-05 18:05:04 +05:30
dependabot[bot]
40033cd259
chore(deps-dev): bump @types/split2 from 2.1.6 to 3.2.0 (#3291)
Bumps [@types/split2](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/split2) from 2.1.6 to 3.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/split2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-05 18:04:35 +05:30
repo-ranger[bot]
2a4c14f315
Merge pull request #3288 from cdr/jsjoeio/document-versioning
docs(maintaining): add versioning
2021-05-04 23:03:29 +00:00
Joe Previte
5f989dc9f0
docs(maintaining): add versioning 2021-05-04 15:47:10 -07:00
Asher
75e9e24e92
Merge pull request #3277 from code-asher/logout 2021-05-04 15:12:59 -05:00
repo-ranger[bot]
b9ff73af9e
Merge pull request #3284 from cdr/jsjoeio/document-triage-workflow
docs(maintaining): add triage to workflow
2021-05-04 19:24:51 +00:00
Joe Previte
1c9156c504
docs(maintaining): add triage to workflow 2021-05-04 12:08:03 -07:00
Joe Previte
1070db7e27
Merge pull request #3261 from cdr/jsjoeio/add-trivy
feat(ci): add trivy job for security
2021-05-04 11:59:01 -07:00
Joe Previte
6d5c60387c
feat(ci): add trivy scans to workflow
This adds both a trivy scan for the repo and a trivy scan for our Docker image.
2021-05-04 11:32:41 -07:00
Asher
8b2c78c4a4
Re-enable update tests 2021-05-04 13:29:42 -05:00
Asher
10babb4a0c
Replace console with logger in sw register 2021-05-04 13:29:41 -05:00
Asher
a48ac5080b
Share common util code with VS Code
This lets us re-use the normalized base path so when we expire/clear the
cookie we use the same base path.
2021-05-04 13:29:40 -05:00
Asher
49c26f70f7
Add logout route 2021-05-04 13:29:39 -05:00
Asher
08ab0afdb0
Revert old logout code
This reverts commit 947dd8561b, reversing
changes made to 24dc2080f9.
2021-05-04 13:29:38 -05:00
Asher
eee637a104
Remove dead client code 2021-05-04 13:29:37 -05:00
Asher
bea13dd630
Add logout command and menu options 2021-05-04 13:29:34 -05:00
dependabot[bot]
f8d8ad38c1
chore(deps-dev): bump audit-ci from 3.2.0 to 4.0.0 (#3283)
Bumps [audit-ci](https://github.com/IBM/audit-ci) from 3.2.0 to 4.0.0.
- [Release notes](https://github.com/IBM/audit-ci/releases)
- [Commits](https://github.com/IBM/audit-ci/compare/v3.2.0...v4.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 20:34:28 +05:30
dependabot[bot]
220de76e8c
chore(deps-dev): bump codecov from 3.8.1 to 3.8.2 (#3280)
Bumps [codecov](https://github.com/codecov/codecov-node) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/codecov/codecov-node/releases)
- [Changelog](https://github.com/codecov/codecov-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-node/compare/v3.8.1...v3.8.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 20:32:52 +05:30
dependabot[bot]
7b88e09fd8
chore(deps-dev): bump @typescript-eslint/parser from 4.22.0 to 4.22.1 (#3281)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.22.0 to 4.22.1.
- [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.22.1/packages/parser)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 20:32:29 +05:30
dependabot[bot]
6d74330a33
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#3282)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.22.0 to 4.22.1.
- [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.22.1/packages/eslint-plugin)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-04 20:31:23 +05:30
Asher
e7a527514a
Add authed context key 2021-05-03 15:00:54 -05:00
dependabot[bot]
9fe459a0f3
chore(deps-dev): bump stylelint from 13.13.0 to 13.13.1 (#3276)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 13.13.0 to 13.13.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/13.13.0...13.13.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 17:54:33 +05:30
Joe Previte
8e6c10e7ff
Merge pull request #3263 from cdr/jsjoeio/fix-e2e-test
fix(testing): reduce flakiness of terminal.test.ts and use 1 worker for e2e tests
2021-04-30 15:38:32 -07:00
repo-ranger[bot]
f5a30330b7
Merge pull request #3271 from cdr/jsjoeio/check-connection-e2e
feat(testing): add isConnected check
2021-04-30 21:00:47 +00:00
Joe Previte
cde30579c4
refactor: change to reloadUntilEditorIsReady 2021-04-30 13:44:16 -07:00
Joe Previte
2cb499385a
feat: add isConnected method to CodeServer model 2021-04-30 13:36:46 -07:00
Joe Previte
7309ea9d10
fix(e2e): use one worker to reduce flakiness 2021-04-29 16:27:19 -07:00
Joe Previte
17f4c4c330
fix(e2e): remove quotes from terminal type command 2021-04-29 16:22:21 -07:00
Joe Previte
c568300221
chore: clean up yarn.lock 2021-04-29 15:47:14 -07:00
Joe Previte
0d9fe6ff44
Merge pull request #3260 from cdr/jsjoeio/fix-playwright-dep
fix(deps): remove eslint-plugin-jest-playwright
2021-04-29 15:45:55 -07:00
Joe Previte
070b439500
fix: remove eslint-plugin-jest-playwright 2021-04-29 10:46:14 -07:00
Ben Potter
6dace0f363
Merge pull request #3247 from bpmct/osx-folders
docs(faq): add entry for accessing OSX folders
2021-04-29 13:25:50 -04:00
repo-ranger[bot]
9722301497
Merge pull request #3251 from cdr/jsjoeio/document-android-issue
docs(termux): add workaround for Android backspace issue
2021-04-28 22:28:23 +00:00
Joe Previte
c16845b7bc
docs: add backspace issue to termux.md 2021-04-28 14:21:48 -07:00