Search is not available for this dataset
hash string | author int32 | committer_date string | timezone int64 | parents string | message string | changes string | language string |
|---|---|---|---|---|---|---|---|
101c2a01f1ccbf5ff8a3367496cb70a1a3d2f489 | 67 | 2021-04-01 10:58:56-05:00 | 18,000 | ['cbcad39a4f0f58a6e8394ac2076cf1890c77c0d5'] | Fix tsc watch restarting when it shouldn't
It seems reaching into lib/vscode for the types caused tsc to establish
watches that caused it to restart over and over while vscode was
building.
The strategy used here is to symlink it instead which is the same thing
we do for the proxy agent. | [{'old_path': None, 'new_path': 'lib/vscode/src/vs/ipc.d.ts', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1 @@\n+../../../../typings/ipc.d.ts\n\\ No newline at end of file\n'}, {'old_path': 'lib/vscode/src/vs/server/browser/client.ts', 'new_path': 'lib/vscode/src/vs/server/browser/client.ts', 'type': <Modifica... | TypeScript |
230b0dfce44981f8a08766b1d74a4366af1c76ec | 67 | 2021-04-02 11:12:13-05:00 | 18,000 | ['101c2a01f1ccbf5ff8a3367496cb70a1a3d2f489'] | Ignore ipc.d.ts during VS Code lint
We already lint it on our side. | [{'old_path': 'lib/vscode/.eslintignore', 'new_path': 'lib/vscode/.eslintignore', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,5 +16,6 @@\n **/extensions/markdown-language-features/notebook-out/**\n **/extensions/typescript-basics/test/colorize-fixtures/**\n **/extensions/**/dist/**\n-# This is a code-server c... | TypeScript |
b4e1d8db5d9c7f95728ce217ea51c2fc2d02bc1e | 89 | 2021-04-03 02:02:16+09:00 | -32,400 | ['6207a3109a24a791f71e189431c2804cc831ac6b'] | chore: fix typo in install.sh
occurances -> occurrences | [{'old_path': 'install.sh', 'new_path': 'install.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -557,8 +557,8 @@ echoerr() {\n echoh "$@" >&2\n }\n \n-# humanpath replaces all occurances of " $HOME" with " ~"\n-# and all occurances of \'"$HOME\' with the literal \'"$HOME\'.\n+# humanpath replaces all occurren... | TypeScript |
c415fd2d653146c8cd059f1af130e6fe57c5858e | 116 | 2021-04-02 12:46:41-07:00 | 25,200 | ['3784c042b972f091c692ba58ec68992354dad528'] | chore: bump @types/node to 12.20.7 | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -41,7 +41,7 @@\n "@types/express": "^4.17.8",\n "@types/http-proxy": "^1.17.4",\n "@types/js-yaml": "^4.0.0",\n- "@types/node": "^12.12.7",\n+ "@types/node": "~12.20.7",\n "@types/parcel-bun... | TypeScript |
5b9f6bbe4583a4f11bcb499b42d2c91b96dadf57 | 116 | 2021-04-02 15:10:31-07:00 | 25,200 | ['5a1ea2cf75981202deebce4d6bccca8734258e3f'] | feat: add brew job to publish.yaml | [{'old_path': '.github/workflows/publish.yaml', 'new_path': '.github/workflows/publish.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -33,3 +33,19 @@ jobs:\n GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}\n DOCKER_PASSWORD: ${{ secrets... | TypeScript |
f2a5d4abaa1d9e0d899c4babb88e5ef51841fcbe | 116 | 2021-04-02 15:29:02-07:00 | 25,200 | ['5a1ea2cf75981202deebce4d6bccca8734258e3f'] | feat(ranger): add action for upstream issues | [{'old_path': '.github/ranger.yml', 'new_path': '.github/ranger.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -37,3 +37,11 @@ labels:\n new requests for extension requests. We suggest installing the VSIX\n file and then installing into code-server as a temporary workaround.\n See [docs](http... | TypeScript |
44f3bb86fcd2aeebe28062d7804f3f5354db14fd | 116 | 2021-04-05 16:11:34-07:00 | 25,200 | ['2d7b16f14b2605f580ca950b1c9140bfb1bd781f'] | fix(deps): update and fix vulnerabilities | [{'old_path': 'yarn.lock', 'new_path': 'yarn.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,17 +16,12 @@\n dependencies:\n "@babel/highlight" "^7.12.13"\n \n-"@babel/compat-data@^7.12.0":\n- version "7.12.0"\n- resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.12.0.tgz#443a... | TypeScript |
6f98e08bda04b740315306203b17f940197d72f5 | 116 | 2021-04-06 11:06:04-07:00 | 25,200 | ['fbb5e6e6c6fa6835f1e37fd8e2ac8d05b9b39d42'] | feat(ci): add audit job for security | [{'old_path': '.github/workflows/ci.yaml', 'new_path': '.github/workflows/ci.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -27,6 +27,15 @@ jobs:\n with:\n args: ./ci/steps/lint.sh\n \n+ audit:\n+ runs-on: ubuntu-latest\n+ steps:\n+ - uses: actions/checkout@v2\n+ - name: Aud... | TypeScript |
b6b56797a3fe2e61a211b0e0cfe65af492663544 | 116 | 2021-04-06 11:15:59-07:00 | 25,200 | ['3028aa710835afb7c96978aa1d301c577f03e555'] | chore(deps): limit xdg-basedir updates | [{'old_path': '.github/dependabot.yml', 'new_path': '.github/dependabot.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -18,3 +18,9 @@ updates:\n ignore:\n - dependency-name: "@types/node"\n versions: ["14.x", "13.x"]\n+ - dependency-name: "xdg-basedir"\n+ # 5.0.0 has breaking chan... | TypeScript |
dd0d7d56459d21e9f3410391e7dfc2a93dbcb755 | 116 | 2021-04-06 13:43:28-07:00 | 25,200 | ['02beb9b4cf1e21582a44c03f72a44571ad6f63b9'] | docs(termux): add workaround for search | [{'old_path': 'docs/install.md', 'new_path': 'docs/install.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -10,6 +10,7 @@\n - [Fedora, CentOS, RHEL, SUSE](#fedora-centos-rhel-suse)\n - [Arch Linux](#arch-linux)\n - [Termux](#termux)\n+ - [Known Search Issue](#known-search-issue)\n - [yarn, npm](#yarn-npm)\n - [... | TypeScript |
b4193b8c68575f8d8d55cb4dcb15ff344d6e1a05 | 116 | 2021-04-06 15:46:55-07:00 | 25,200 | ['4ff73389eff23632d80e3852ec6c6f8d8a5e1cda'] | feat: add jest-playwright and packages | [{'old_path': 'test/jest.e2e.config.ts', 'new_path': 'test/jest.e2e.config.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,6 +2,7 @@\n import type { Config } from "@jest/types"\n \n const config: Config.InitialOptions = {\n+ preset: "jest-playwright-preset",\n transform: {\n "^.+\\\\.ts$": "<rootDir>/n... | TypeScript |
3db19843e29c574f781abe1b61db43b6035deec5 | 116 | 2021-04-06 15:46:55-07:00 | 25,200 | ['b4193b8c68575f8d8d55cb4dcb15ff344d6e1a05'] | chore: add eslint plugin for jest-playwright | [{'old_path': '.eslintrc.yaml', 'new_path': '.eslintrc.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,9 @@ extends:\n - plugin:import/typescript\n - plugin:prettier/recommended\n - prettier # Removes eslint rules that conflict with prettier.\n+ # Recommended by jest-playwright\n+ # https://g... | TypeScript |
6b3db06c7aa029d0c1155e24c2e43a0bc34c8074 | 116 | 2021-04-06 15:46:56-07:00 | 25,200 | ['3db19843e29c574f781abe1b61db43b6035deec5'] | feat: add new e2e test to test browser | [{'old_path': None, 'new_path': 'test/e2e/browser.test.ts', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,16 @@\n+/// <reference types="jest-playwright-preset" />\n+\n+beforeAll(async () => {\n+ await page.goto("https://whatismybrowser.com/")\n+})\n+\n+test("should display correct browser", async () => {\n+ ... | TypeScript |
bd55cb94becc5953f16945fffa9057e993d5ee59 | 116 | 2021-04-06 15:46:56-07:00 | 25,200 | ['6b3db06c7aa029d0c1155e24c2e43a0bc34c8074'] | refactor: move test dir to jest e2e config | [{'old_path': 'test/e2e/browser.test.ts', 'new_path': 'test/e2e/browser.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,16 +1,26 @@\n /// <reference types="jest-playwright-preset" />\n \n-beforeAll(async () => {\n- await page.goto("https://whatismybrowser.com/")\n+// This test is for nothing more than t... | TypeScript |
1782f2a2390afa09e73a3e8b363c486a0489d2f4 | 116 | 2021-04-06 15:46:56-07:00 | 25,200 | ['bd55cb94becc5953f16945fffa9057e993d5ee59'] | refactor: rename e2e test to loginPage | [{'old_path': 'test/e2e/browser.test.ts', 'new_path': 'test/e2e/browser.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -7,7 +7,7 @@ describe("Browser gutcheck", () => {\n await jestPlaywright.resetBrowser()\n })\n \n- test("should display correct browser", async () => {\n+ test("should display corr... | TypeScript |
4b703cbd4d339d21f893bf8e1cd1f521c996bc15 | 116 | 2021-04-06 15:46:56-07:00 | 25,200 | ['1782f2a2390afa09e73a3e8b363c486a0489d2f4'] | refactor: e2e tests based on jest-playwright | [{'old_path': 'test/e2e/login.test.ts', 'new_path': 'test/e2e/login.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,36 +1,20 @@\n-import { chromium, Page, Browser, BrowserContext } from "playwright"\n+/// <reference types="jest-playwright-preset" />\n import { CODE_SERVER_ADDRESS, PASSWORD } from "../uti... | TypeScript |
51010e73cb0c39efe06a4e44afd0a41c9e92526d | 116 | 2021-04-06 15:46:56-07:00 | 25,200 | ['4b703cbd4d339d21f893bf8e1cd1f521c996bc15'] | feat: add test for globalSetup | [{'old_path': None, 'new_path': 'test/e2e/globalSetup.test.ts', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,22 @@\n+/// <reference types="jest-playwright-preset" />\n+import { CODE_SERVER_ADDRESS, STORAGE } from "../utils/constants"\n+\n+// This test is to make sure the globalSetup works as expected\n+// mea... | TypeScript |
c666b476688e8e50a282ccb19c8ea1e6bc4e1a64 | 116 | 2021-04-06 15:46:56-07:00 | 25,200 | ['51010e73cb0c39efe06a4e44afd0a41c9e92526d'] | refactor: globalSetup and create cookie manually | [{'old_path': '.eslintrc.yaml', 'new_path': '.eslintrc.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,13 +35,7 @@ rules:\n "@typescript-eslint/no-extra-semi": off\n eqeqeq: error\n import/order:\n- [\n- error,\n- {\n- alphabetize: { order: "asc" },\n- groups: [["builtin", ... | TypeScript |
32d0fb0a5e4a07e0c7afc4eff8683de5740cb88e | 116 | 2021-04-06 15:46:57-07:00 | 25,200 | ['fd69f2db88b778eee39528c9fe3a3086ac456b1f'] | refactor: add --runInBand to e2e test script | [{'old_path': 'ci/dev/test-e2e.sh', 'new_path': 'ci/dev/test-e2e.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -15,7 +15,7 @@ main() {\n echo -e "\\n"\n exit 1\n fi\n- CS_DISABLE_PLUGINS=true ./test/node_modules/.bin/jest "$@" --config ./test/jest.e2e.config.ts\n+ CS_DISABLE_PLUGINS=true ./test/nod... | TypeScript |
b1ea47c5066e5e0656e2e578050b8239e4b4c578 | 116 | 2021-04-06 15:46:57-07:00 | 25,200 | ['32d0fb0a5e4a07e0c7afc4eff8683de5740cb88e'] | chore: remove --home from test-e2e script | [{'old_path': 'ci/steps/test-e2e.sh', 'new_path': 'ci/steps/test-e2e.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,7 +4,7 @@ set -euo pipefail\n main() {\n cd "$(dirname "$0")/../.."\n \n- "./release-packages/code-server*-linux-amd64/bin/code-server" --home "$CODE_SERVER_ADDRESS"/healthz &\n+ "./release... | TypeScript |
03f730989d6527f8b502c7470421ed4a900795b6 | 116 | 2021-04-06 15:46:57-07:00 | 25,200 | ['b1ea47c5066e5e0656e2e578050b8239e4b4c578'] | feat: add --log trace for running cs in ci | [{'old_path': '.github/workflows/ci.yaml', 'new_path': '.github/workflows/ci.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -63,7 +63,7 @@ jobs:\n - uses: microsoft/playwright-github-action@v1\n - name: Install dependencies and run end-to-end tests\n run: |\n- ./release-packages/c... | TypeScript |
f241e38907c9c9f27f45036fd6ce6c09aced9987 | 116 | 2021-04-06 15:46:57-07:00 | 25,200 | ['03f730989d6527f8b502c7470421ed4a900795b6'] | chore: fix typo in extensionDownloader | [{'old_path': 'lib/vscode/src/vs/platform/extensionManagement/node/extensionDownloader.ts', 'new_path': 'lib/vscode/src/vs/platform/extensionManagement/node/extensionDownloader.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -76,7 +76,7 @@ export class ExtensionsDownloader extends Disposable {\n \tprivate async ... | TypeScript |
dd80eed5b04ac96175321a8e030520939802d2f5 | 116 | 2021-04-06 15:46:57-07:00 | 25,200 | ['f241e38907c9c9f27f45036fd6ce6c09aced9987'] | feat: add logger to tests | [{'old_path': 'test/e2e/browser.test.ts', 'new_path': 'test/e2e/browser.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,7 +4,12 @@\n // tests are running in multiple browsers\n describe("Browser gutcheck", () => {\n beforeEach(async () => {\n- await jestPlaywright.resetBrowser()\n+ await jestPlay... | TypeScript |
ad0f12e664a318391573215cf9921790da1a2167 | 116 | 2021-04-06 15:46:58-07:00 | 25,200 | ['dd80eed5b04ac96175321a8e030520939802d2f5'] | refactor: check for editor consistently in tests | [{'old_path': '.eslintrc.yaml', 'new_path': '.eslintrc.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -15,10 +15,12 @@ extends:\n - plugin:import/recommended\n - plugin:import/typescript\n - plugin:prettier/recommended\n- - prettier # Removes eslint rules that conflict with prettier.\n # Recommended ... | TypeScript |
f09a081c9efd24aebe7ad0b6cb5bff82f2aba212 | 116 | 2021-04-07 10:46:16-07:00 | 25,200 | ['15d791ae76386a24e9f3d3c3cefec617dad78926'] | fix: update ranger file | [{'old_path': '.github/ranger.yml', 'new_path': '.github/ranger.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,12 +4,10 @@ default:\n close:\n # Default time to wait before closing the label. Can either be a number in milliseconds\n # or a string specified by the `ms` package (https://www.npmjs.co... | TypeScript |
3a49299f8438b08f8d0bbb7a377ddcb4326f4204 | 58 | 2021-04-08 23:42:01+05:30 | -19,800 | ['53ba8f8e5f0caee5b239025fc3564baf013454e7'] | dev(ci): complete refactor
Nearly completely replace the original GitHub actions workflow.
Changes:
- Move from `.sh` files in `ci/steps` to steps in the workflow.
- Move from using docker images for environment to manual setup.
- Upgrade nfpm to v2.3.1
BREAKING CHANGE: official arm64 builds no longer support... | [{'old_path': '.github/workflows/ci.yaml', 'new_path': '.github/workflows/ci.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,186 +8,393 @@ on:\n branches:\n - main\n \n+# Note: if: success() is used in several jobs -\n+# this ensures that it only executes if all previous jobs succeeded.\n+\n+# if:... | TypeScript |
e5ed927d51a8578995da23d3241e9716b360c0bd | 116 | 2021-04-08 11:15:17-07:00 | 25,200 | ['3a49299f8438b08f8d0bbb7a377ddcb4326f4204'] | fix: sd correct file in release-prep for badges | [{'old_path': 'ci/build/release-prep.sh', 'new_path': 'ci/build/release-prep.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -86,7 +86,7 @@ main() {\n # Updates the Lines badge in the README\n $CMD yarn badges\n # Updates the svg to be green for the badge\n- $CMD sd "red.svg" "green.svg" ../../README.md\n... | TypeScript |
2510e6ac41b215dc3bf95193f01cbbe06b420151 | 116 | 2021-04-08 11:18:20-07:00 | 25,200 | ['e5ed927d51a8578995da23d3241e9716b360c0bd'] | fix: check upstream before running script | [{'old_path': 'ci/build/release-prep.sh', 'new_path': 'ci/build/release-prep.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -68,6 +68,17 @@ main() {\n exit\n fi\n \n+ # Note: we need to set upstream as well or the gh pr create step will fail\n+ # See: https://github.com/cli/cli/issues/575\n+ CURRENT_BR... | TypeScript |
003dc0feeb5d437be1d6a4565fec7808b5aac69b | 116 | 2021-04-08 11:18:56-07:00 | 25,200 | ['2510e6ac41b215dc3bf95193f01cbbe06b420151'] | chore(release): bump version to 3.9.3 | [{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,7 +1,7 @@\n # code-server · [](https://github.com/cdr/code-server/discussions) [... | TypeScript |
7bb62f129242a3dd466059f5ddeebb2ded93da0a | 116 | 2021-04-08 14:05:30-07:00 | 25,200 | ['f813a1501bc85d6f236df10078725bc85503a03c'] | fix: use curl to install nfpm | [{'old_path': 'ci/images/debian10/Dockerfile', 'new_path': 'ci/images/debian10/Dockerfile', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -37,9 +37,8 @@ ENV GOPATH=/gopath\n RUN mkdir -p $GOPATH && chmod -R 777 $GOPATH\n ENV PATH=/usr/local/go/bin:$GOPATH/bin:$PATH\n \n-# Install Go dependencies\n-ENV GO111MODULE=o... | TypeScript |
40014eee5c2f5019687a4eee70e0a66bd9115ea9 | 116 | 2021-04-08 15:12:24-07:00 | 25,200 | ['6fbfc2fc1493feea87597cd117024d2761ec5e81'] | dev(ranger): fix typo | [{'old_path': '.github/ranger.yml', 'new_path': '.github/ranger.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -40,6 +40,6 @@ labels:\n delay: 5s\n comment: >\n This issue has been marked as \'upstream:vscode\'.\n- Please file this upstream: [link to open issue](https://github.com/microsoft/... | TypeScript |
5bd253709ffb5591457f738e98899b05931198c6 | 58 | 2021-04-09 11:54:28+05:30 | -19,800 | ['8fb96b996739ce2cead6433271d32124ee0dd61b'] | fix(lib/vscode): package.json and yarn.lock | [{'old_path': 'lib/vscode/package.json', 'new_path': 'lib/vscode/package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -73,13 +73,10 @@\n "native-is-elevated": "0.4.1",\n "native-watchdog": "1.3.0",\n "node-pty": "0.10.0-beta19",\n-<<<<<<< HEAD\n "proxy-agent": "^4.0.0",\n "proxy-from-env... | TypeScript |
4ab306efebfd0a09d6d688af3d1b40024ca28c7b | 58 | 2021-04-09 12:09:36+05:30 | -19,800 | ['5bd253709ffb5591457f738e98899b05931198c6'] | fix(lib/vscode): fix conflicts in workbench/workbench.web.main.ts | [{'old_path': 'lib/vscode/src/vs/workbench/workbench.web.main.ts', 'new_path': 'lib/vscode/src/vs/workbench/workbench.web.main.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -42,13 +42,8 @@ import 'vs/workbench/services/keybinding/browser/keyboardLayoutService';\n import 'vs/workbench/services/extensions/browse... | TypeScript |
15a5d20edffe98f90251cceb4389b587ff4e8008 | 58 | 2021-04-09 12:39:27+05:30 | -19,800 | ['4ab306efebfd0a09d6d688af3d1b40024ca28c7b'] | fix(lib/vscode): fix conflicts in extensionsScanner.ts | [{'old_path': 'lib/vscode/src/vs/platform/extensionManagement/node/extensionsScanner.ts', 'new_path': 'lib/vscode/src/vs/platform/extensionManagement/node/extensionsScanner.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -24,7 +24,7 @@ import { isWindows } from 'vs/base/common/platform';\n import { flatten } fro... | TypeScript |
b73260d561e2c53a8a91d668d629cc162f29f3ee | 58 | 2021-04-09 12:50:45+05:30 | -19,800 | ['15a5d20edffe98f90251cceb4389b587ff4e8008'] | fix(lib/vscode): fix conflicts in sandbox.simpleservices.ts | [{'old_path': 'lib/vscode/src/vs/workbench/electron-sandbox/sandbox.simpleservices.ts', 'new_path': 'lib/vscode/src/vs/workbench/electron-sandbox/sandbox.simpleservices.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -36,93 +36,9 @@ import { IUriIdentityService } from 'vs/workbench/services/uriIdentity/common/ur... | TypeScript |
448ba0ccf2f79334ac6ca3713674f7da1058287c | 58 | 2021-04-09 12:50:53+05:30 | -19,800 | ['b73260d561e2c53a8a91d668d629cc162f29f3ee'] | fix(lib/vscode): fix conflicts in environmentService.ts | [{'old_path': 'lib/vscode/src/vs/platform/environment/node/environmentService.ts', 'new_path': 'lib/vscode/src/vs/platform/environment/node/environmentService.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -18,218 +18,4 @@ export class NativeEnvironmentService extends AbstractNativeEnvironmentService {\n \t\t\t... | TypeScript |
5e63b7f53caf4cd6dc31ebef163bdb9cc8c72c8c | 58 | 2021-04-09 17:49:14+05:30 | -19,800 | ['448ba0ccf2f79334ac6ca3713674f7da1058287c'] | fix(lib/vscode): fix merge conflicts in localizationsService.ts | [{'old_path': 'lib/vscode/src/vs/server/browser/client.ts', 'new_path': 'lib/vscode/src/vs/server/browser/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -5,7 +5,6 @@ import { localize } from 'vs/nls';\n import { Extensions, IConfigurationRegistry } from 'vs/platform/configuration/common/configurationRegi... | TypeScript |
f3b1076f1d56ed74ea3778e4ea4a49c56c33979a | 58 | 2021-04-09 17:50:11+05:30 | -19,800 | ['5e63b7f53caf4cd6dc31ebef163bdb9cc8c72c8c'] | fix(lib/vscode): get vscode to compile | [{'old_path': 'lib/vscode/src/vs/platform/environment/common/environmentService.ts', 'new_path': 'lib/vscode/src/vs/platform/environment/common/environmentService.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -15,6 +15,23 @@ import { URI } from 'vs/base/common/uri';\n import { ExtensionKind } from 'vs/platform... | TypeScript |
feb7013b3ae5a061fef8185cbd3680773cb37d07 | 58 | 2021-04-09 19:16:00+05:30 | -19,800 | ['f3b1076f1d56ed74ea3778e4ea4a49c56c33979a'] | fix(lib/vscode): rename terminal events | [{'old_path': 'lib/vscode/src/vs/server/node/channel.ts', 'new_path': 'lib/vscode/src/vs/server/node/channel.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -664,15 +664,15 @@ export class TerminalProviderChannel implements IServerChannel<RemoteAgentConnec\n \n \tpublic call(context: RemoteAgentConnectionContext... | TypeScript |
b1fb9f780b3bb45183ab0b98f1e59ad27017a0a3 | 58 | 2021-04-09 20:20:49+05:30 | -19,800 | ['feb7013b3ae5a061fef8185cbd3680773cb37d07'] | fix(lib/vscode): add listProcesses to terminal channel | [{'old_path': 'lib/vscode/src/vs/server/node/channel.ts', 'new_path': 'lib/vscode/src/vs/server/node/channel.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -674,6 +674,7 @@ export class TerminalProviderChannel implements IServerChannel<RemoteAgentConnec\n \t\t\tcase '$getCwd': return this.getTerminalCwd(...args... | TypeScript |
9507e46a7069ae40c23ae6eb5bed0da8dc51e8e0 | 143 | 2021-04-09 11:23:01-04:00 | 14,400 | ['e8c78c24b496181bb9d9b94550c538893cf50bee'] | add mention of sysbox
We use sysbox in Coder to do the same behavior and find it works for many use cases Docker simply doesn't inside Kubernetes | [{'old_path': 'docs/FAQ.md', 'new_path': 'docs/FAQ.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -289,8 +289,8 @@ Highly recommend using the subdomain approach instead to avoid this class of iss\n \n If you want to run multiple code-servers on shared infrastructure, we recommend using virtual\n machines with a... | TypeScript |
fafd15de220664b8d5528deb36e5cf94306b1f31 | 116 | 2021-04-12 15:34:02-07:00 | 25,200 | ['2a2e33a367fb1525849f269cb41d35965be3a241'] | fix: syntax in ranger | [{'old_path': '.github/ranger.yml', 'new_path': '.github/ranger.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -34,7 +34,7 @@ labels:\n can fully make this transition. Therefore, we are no longer accepting\n new requests for extension requests. We suggest installing the VSIX\n file and then i... | TypeScript |
d21d5cd8d920a76b61a81d18f4e8ea18ca1e8d13 | 116 | 2021-04-12 15:57:26-07:00 | 25,200 | ['bdb378ca07503e2318cf250ca2784947c5aaef29'] | fix(deps): update yarn lock | [{'old_path': 'lib/vscode/test/smoke/yarn.lock', 'new_path': 'lib/vscode/test/smoke/yarn.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -719,7 +719,7 @@ hosted-git-info@^2.1.4:\n resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488"\n ... | TypeScript |
5ebb096db549b86442389d875ee5f6be2a6e7370 | 67 | 2021-04-13 16:35:13-05:00 | 18,000 | ['b1fb9f780b3bb45183ab0b98f1e59ad27017a0a3'] | Get terminals working
- Instead of a single listener per terminal that handles all events VS
Code now has a single listener per event that handles that event for
all terminals.
- Refactor Terminal to extend TerminalProcess to avoid duplicating
methods. This required some modifications to TerminalProcess to acces... | [{'old_path': 'lib/vscode/src/vs/platform/terminal/node/terminalProcess.ts', 'new_path': 'lib/vscode/src/vs/platform/terminal/node/terminalProcess.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -45,14 +45,13 @@ const enum ShutdownConstants {\n }\n \n export class TerminalProcess extends Disposable implements IT... | TypeScript |
f472b000b5164ccc76aa7e5ed160bf7f1f44fe40 | 58 | 2021-04-14 18:35:17+05:30 | -19,800 | ['5ebb096db549b86442389d875ee5f6be2a6e7370'] | fix(lib/vscode/test/smoke): update yarn.lock | [{'old_path': 'lib/vscode/test/smoke/yarn.lock', 'new_path': 'lib/vscode/test/smoke/yarn.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -719,7 +719,7 @@ hosted-git-info@^2.1.4:\n resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.8.tgz#7539bd4bc1e0e0a895815a2e0262420b12858488"\n ... | TypeScript |
093743e365dd1c30004a5941bd54fe628020e1ad | 58 | 2021-04-14 18:58:17+05:30 | -19,800 | ['f472b000b5164ccc76aa7e5ed160bf7f1f44fe40'] | fix(.../platform/terminal): fix compile, add notes | [{'old_path': 'lib/vscode/src/vs/platform/terminal/node/ptyService.ts', 'new_path': 'lib/vscode/src/vs/platform/terminal/node/ptyService.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -78,7 +78,10 @@ export class PtyService extends Disposable implements IPtyService {\n \t\t\tthrow new Error('Attempt to create a... | TypeScript |
9f256cd87abcf95c1c4f3213392a7fdbdf0e34d8 | 58 | 2021-04-14 18:58:41+05:30 | -19,800 | ['093743e365dd1c30004a5941bd54fe628020e1ad'] | fix(lib/vscode): fix lint errors | [{'old_path': 'lib/vscode/src/vs/platform/extensionManagement/node/extensionsScanner.ts', 'new_path': 'lib/vscode/src/vs/platform/extensionManagement/node/extensionsScanner.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -284,7 +284,7 @@ export class ExtensionsScanner extends Disposable {\n \t\t */\n \t\tconst s... | TypeScript |
37f98d9b5ef62484ab8ac980c932d9e0b56a323d | 58 | 2021-04-14 19:00:56+05:30 | -19,800 | ['801aed93200dc0ccf325a09089c911e8e2b612d0'] | Squashed 'lib/vscode/' changes from ead2c2ab0f5..3c4e3df9e89
3c4e3df9e89 Merge pull request #121167 from microsoft/alex/1-55-2-fix
c01cbae1127 update distro
0320c595d05 Merge pull request #120967 from microsoft/roblou/bumpDistro
3f9cf547f7d Bump distro for release/1.55
git-subtree-dir: lib/vscode
git-subtree-split: 3... | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,7 +1,7 @@\n {\n "name": "code-oss-dev",\n "version": "1.55.2",\n- "distro": "60bb7ae884f1cce6f5596940cf34a72dd284d5e3",\n+ "distro": "baceee6d8ed0e4d63d908ba975758ddca2397906",\n "author": {\n "nam... | TypeScript |
638b2d5dd5df896e6b00a87010aafa7de0004192 | 116 | 2021-04-14 16:18:29-07:00 | 25,200 | ['ddae4056e4d21cb8fa1d8af00b266eddacfd3d41'] | refactor: remove debian10 and references | [{'old_path': 'ci/images/centos7/Dockerfile', 'new_path': 'ci/images/centos7/Dockerfile', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -15,7 +15,6 @@ RUN npm config set python python2\n RUN yum install -y epel-release && yum install -y jq\n RUN yum install -y rsync\n \n-# Copied from ../debian10/Dockerfile\n # Ins... | TypeScript |
ec86aa7ab1f5134f26f8b218830189f5680b1b01 | 116 | 2021-04-14 16:19:09-07:00 | 25,200 | ['638b2d5dd5df896e6b00a87010aafa7de0004192'] | docs: update global requirements for CONTRIBUTING | [{'old_path': 'docs/CONTRIBUTING.md', 'new_path': 'docs/CONTRIBUTING.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -31,14 +31,23 @@ master).\n \n The prerequisites for contributing to code-server are almost the same as those for\n [VS Code](https://github.com/Microsoft/vscode/wiki/How-to-Contribute#prerequisit... | TypeScript |
8ffb87dbc956ada8d9fe3d14ee11ab852ba3b7de | 58 | 2021-04-16 00:06:38+05:30 | -19,800 | ['2f6d256745712d2a4233aa4bfc281c87a12fe2a3'] | fix(lib/vscode): restore localizatizons support | [{'old_path': 'lib/vscode/src/vs/server/browser/client.ts', 'new_path': 'lib/vscode/src/vs/server/browser/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -12,6 +12,7 @@ import { IStorageService, StorageScope, StorageTarget } from 'vs/platform/storag\n import { ITelemetryService } from 'vs/platform/telemet... | TypeScript |
bdf555a06e5dd994054a2af8cdd9bffd1a2dcc77 | 58 | 2021-04-16 00:14:16+05:30 | -19,800 | ['8ffb87dbc956ada8d9fe3d14ee11ab852ba3b7de'] | fix(lib/vscode): refactor productService | [{'old_path': 'lib/vscode/src/vs/server/node/server.ts', 'new_path': 'lib/vscode/src/vs/server/node/server.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -209,7 +209,8 @@ export class Vscode {\n \t// ../../electron-browser/sharedProcess/sharedProcessMain.ts#L148\n \t// ../../../code/electron-main/app.ts\n \tpri... | TypeScript |
0a090bf12b055da1b18b660583f3a71c6dc85f02 | 116 | 2021-04-15 11:46:43-07:00 | 25,200 | ['05a3883a6c3bbe89aaf2a87b31c4b9f764eb2403'] | chore(deps): add @playwright/test | [{'old_path': 'test/package.json', 'new_path': 'test/package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,18 +2,15 @@\n "license": "MIT",\n "#": "We must put jest in a sub-directory otherwise VS Code somehow picks up the types and generates conflicts with mocha.",\n "devDependencies": {\n+ "@pla... | TypeScript |
08cd2d8191c652a460661b2907cadfec0bb1ffe1 | 116 | 2021-04-15 11:46:43-07:00 | 25,200 | ['0a090bf12b055da1b18b660583f3a71c6dc85f02'] | refactor: add new e2e config | [{'old_path': None, 'new_path': 'test/config.ts', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,16 @@\n+import { ChromiumEnv, FirefoxEnv, WebKitEnv, test, setConfig, PlaywrightOptions } from "@playwright/test"\n+\n+setConfig({\n+ testDir: "e2e", // Search for tests in this directory.\n+ timeout: 30000, // Ea... | TypeScript |
52586706c4549ded94e57ed8cfa79092dd2033fa | 116 | 2021-04-15 11:46:43-07:00 | 25,200 | ['08cd2d8191c652a460661b2907cadfec0bb1ffe1'] | refactor: use playwright-test syntax for e2e tests | [{'old_path': 'test/e2e/browser.test.ts', 'new_path': 'test/e2e/browser.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,18 +1,6 @@\n-/// <reference types="jest-playwright-preset" />\n+import { test, expect } from "@playwright/test"\n \n-// This test is for nothing more than to make sure\n-// tests are ru... | TypeScript |
7ea6d22b3eec86aaa510eade8be871e3d7aabf00 | 116 | 2021-04-15 11:46:44-07:00 | 25,200 | ['52586706c4549ded94e57ed8cfa79092dd2033fa'] | refactor: add login to config.js for e2e tests | [{'old_path': 'test/config.ts', 'new_path': 'test/config.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,10 +1,64 @@\n-import { ChromiumEnv, FirefoxEnv, WebKitEnv, test, setConfig, PlaywrightOptions } from "@playwright/test"\n+import {\n+ ChromiumEnv,\n+ FirefoxEnv,\n+ WebKitEnv,\n+ test,\n+ setConfig,\n... | TypeScript |
6c3bb101cd482a95f0c7ce8e5f06fbba0ebdc936 | 116 | 2021-04-15 11:46:44-07:00 | 25,200 | ['7ea6d22b3eec86aaa510eade8be871e3d7aabf00'] | chore(deps): add resolution for newest playwright | [{'old_path': 'test/e2e/login.test.ts', 'new_path': 'test/e2e/login.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,12 +2,16 @@ import { test, expect } from "@playwright/test"\n import { CODE_SERVER_ADDRESS, PASSWORD } from "../utils/constants"\n \n test.describe("login", () => {\n- test.beforeEach(asyn... | TypeScript |
c9fa931a0b6bb4fb34c5090c4710ea73917185d6 | 116 | 2021-04-15 11:46:44-07:00 | 25,200 | ['92b7c1e9a84fac8d8eb89513e029b49dbfbafaae'] | fix: add retry 2 for failing e2e tests | [{'old_path': 'ci/dev/test-e2e.sh', 'new_path': 'ci/dev/test-e2e.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,8 +4,7 @@ set -euo pipefail\n main() {\n cd "$(dirname "$0")/../.."\n cd test\n- # TODO@jsjoeio remove the test-match\n- PASSWORD=e45432jklfdsab CODE_SERVER_ADDRESS=http://localhost:8080 yarn... | TypeScript |
d6f072539923dfc85509ac69ffd631c3d851bbb5 | 116 | 2021-04-15 11:46:45-07:00 | 25,200 | ['c9fa931a0b6bb4fb34c5090c4710ea73917185d6'] | fix: update path for e2e videos | [{'old_path': '.github/workflows/ci.yaml', 'new_path': '.github/workflows/ci.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -350,11 +350,11 @@ jobs:\n if: always()\n uses: actions/upload-artifact@v2\n with:\n- name: test-videos\n- path: ./test/e2e/videos\n+ n... | TypeScript |
450fcd5ba7b1621f6dee3ac48faf1ff3fa45ab2b | 116 | 2021-04-15 11:46:45-07:00 | 25,200 | ['d6f072539923dfc85509ac69ffd631c3d851bbb5'] | refactor: pass all args to test-e2e script | [{'old_path': 'ci/dev/test-e2e.sh', 'new_path': 'ci/dev/test-e2e.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,7 +4,9 @@ set -euo pipefail\n main() {\n cd "$(dirname "$0")/../.."\n cd test\n- PASSWORD=e45432jklfdsab CODE_SERVER_ADDRESS=http://localhost:8080 yarn folio --config=config.ts --reporter=list... | TypeScript |
578b2de1318379c9c03218844bf2346f54cffc77 | 58 | 2021-04-16 00:39:02+05:30 | -19,800 | ['bdf555a06e5dd994054a2af8cdd9bffd1a2dcc77'] | chore(lib/vscode): clean up comments | [{'old_path': 'lib/vscode/src/vs/platform/environment/common/environmentService.ts', 'new_path': 'lib/vscode/src/vs/platform/environment/common/environmentService.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -192,12 +192,12 @@ export abstract class AbstractNativeEnvironmentService implements INativeEnviron\n ... | TypeScript |
0b8a06863bfb43ccbcde8783e0b5c4371b10f03e | 58 | 2021-04-16 01:07:28+05:30 | -19,800 | ['97fbbfaecc5975ed3ba18e6bef9b4ee6c40ac0ac'] | fix(update-vscode): add check/docs for git-subtree (#3129) | [{'old_path': 'ci/dev/update-vscode.sh', 'new_path': 'ci/dev/update-vscode.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -56,8 +56,20 @@ main() {\n echo "jq could not be found."\n echo "We use this when looking up the exact version to update to in the package.json in VS Code."\n echo -e "See docs h... | TypeScript |
cbc2e8bc929abce810d4692f5f7daf7550ca2b53 | 58 | 2021-04-17 01:17:24+05:30 | -19,800 | ['006438db33555cd71ae4ede38843bee6e9dffd32'] | chore(ci): remove images and update publish flow (#3147)
* chore(ci): remove unmaintained images
* chore(ci): update publish workflow | [{'old_path': '.github/workflows/publish.yaml', 'new_path': '.github/workflows/publish.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,26 +9,28 @@ on:\n types: [published]\n \n jobs:\n+ # NOTE: this job requires curl, jq and yarn\n+ # All of them are included in ubuntu-latest.\n npm:\n runs-on: ... | TypeScript |
4ae9e4336261edb7f512b14976bc61f4eea762c4 | 119 | 2021-04-19 07:20:45-07:00 | 25,200 | ['e46941fa5811a62f54b23fe7f4a4860e00273be1'] | security: upgrade parcel-bundler from 1.12.4 to 1.12.5 (#3161)
Upgrade parcel-bundler due to a transitive dependency on is-svg.
This resolves CVE-2021-28092. | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -65,7 +65,7 @@\n "eslint-plugin-prettier": "^3.1.0",\n "istanbul-badges-readme": "^1.2.0",\n "leaked-handles": "^5.2.0",\n- "parcel-bundler": "^1.12.4",\n+ "parcel-bundler": "^1.12.5",\n "pr... | TypeScript |
f21884cce5e0c4512d3f858a151e225d4120c981 | 58 | 2021-04-19 22:22:07+05:30 | -19,800 | ['818e2207f8059c5b6af8b6bdc09cc1cc47474c55'] | chore(deps): deduplicate deps in yarn.lock (#3167) | [{'old_path': 'lib/vscode/yarn.lock', 'new_path': 'lib/vscode/yarn.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -7,20 +7,13 @@\n resolved "https://registry.yarnpkg.com/7zip/-/7zip-0.0.6.tgz#9cafb171af82329490353b4816f03347aa150a30"\n integrity sha1-nK+xca+CMpSQNTtIFvAzR6oVCjA=\n \n-"@babel/code-frame@^7... | TypeScript |
4683d8a077b39f05bff0ddd550e4a861bbe77fbb | 116 | 2021-04-19 10:40:58-07:00 | 25,200 | ['f21884cce5e0c4512d3f858a151e225d4120c981'] | fix: update comment and export rateLimiter | [{'old_path': 'src/node/routes/login.ts', 'new_path': 'src/node/routes/login.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,8 +12,8 @@ export enum Cookie {\n }\n \n // RateLimiter wraps around the limiter library for logins.\n-// It allows 2 logins every minute and 12 logins every hour.\n-class RateLimiter ... | TypeScript |
58e17c5e50c9ffa4ce6e788b0b305b2f2e4b84b7 | 116 | 2021-04-19 10:40:58-07:00 | 25,200 | ['4683d8a077b39f05bff0ddd550e4a861bbe77fbb'] | feat(testing): add tests for RateLimiter | [{'old_path': None, 'new_path': 'test/unit/routes/login.test.ts', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,23 @@\n+import { RateLimiter } from "../../../src/node/routes/login"\n+\n+describe("login", () => {\n+ describe("RateLimiter", () => {\n+ it("should allow one try ", () => {\n+ const limiter... | TypeScript |
ebbabc6e048895423b75d19419206ec0deee43a0 | 116 | 2021-04-19 10:40:58-07:00 | 25,200 | ['58e17c5e50c9ffa4ce6e788b0b305b2f2e4b84b7'] | refactor(testing): combine loginPage with login | [{'old_path': 'test/e2e/login.test.ts', 'new_path': 'test/e2e/login.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -10,6 +10,12 @@ test.describe("login", () => {\n },\n }\n \n+ test("should see the login page", options, async ({ page }) => {\n+ await page.goto(CODE_SERVER_ADDRESS, { waitUntil: "n... | TypeScript |
faaa0a9e600e12f65a0dc6ecd22c4bb9d7463034 | 116 | 2021-04-19 10:40:59-07:00 | 25,200 | ['ebbabc6e048895423b75d19419206ec0deee43a0'] | feat(testing): add e2e tests for password | [{'old_path': 'test/e2e/login.test.ts', 'new_path': 'test/e2e/login.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,4 +26,23 @@ test.describe("login", () => {\n // Make sure the editor actually loaded\n expect(await page.isVisible("div.monaco-workbench"))\n })\n+\n+ test("should see an error ... | TypeScript |
83cfbf82cfbd2b483487520bc4b5cc712e154bbd | 116 | 2021-04-19 10:40:59-07:00 | 25,200 | ['faaa0a9e600e12f65a0dc6ecd22c4bb9d7463034'] | feat: increase timeout for playwright tests | [{'old_path': 'test/config.ts', 'new_path': 'test/config.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -50,7 +50,7 @@ globalSetup(async () => {\n \n const config: Config = {\n testDir: path.join(__dirname, "e2e"), // Search for tests in this directory.\n- timeout: 30000, // Each test is given 30 seconds.\n+... | TypeScript |
08521077f054d01c8963244de6dbbb2680c82b01 | 116 | 2021-04-19 10:40:59-07:00 | 25,200 | ['83cfbf82cfbd2b483487520bc4b5cc712e154bbd'] | refactor(login): move rate limiter after successful login
Before, we weren't checking if a login was successful before counting it
against the rate limiter.
With this change, we only count unsuccessful logins against the rate limiter.
We did this because this was a bug but also because it caused problems with our
e2... | [{'old_path': 'src/node/routes/login.ts', 'new_path': 'src/node/routes/login.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -59,10 +59,6 @@ router.get("/", async (req, res) => {\n \n router.post("/", async (req, res) => {\n try {\n- if (!limiter.try()) {\n- throw new Error("Login rate limited!")\n- ... | TypeScript |
1e6f4f2a14861d6166c9abaa6be5528abf94e3fe | 116 | 2021-04-19 10:40:59-07:00 | 25,200 | ['08521077f054d01c8963244de6dbbb2680c82b01'] | feat(testing): add test for rate limiter | [{'old_path': 'test/e2e/login.test.ts', 'new_path': 'test/e2e/login.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -45,4 +45,51 @@ test.describe("login", () => {\n await page.waitForLoadState("networkidle")\n expect(await page.isVisible("text=Incorrect password"))\n })\n+\n+ test("should hit the... | TypeScript |
a8719e1f793336c5b2c9a56af17715bf0c3a7bf8 | 116 | 2021-04-19 10:40:59-07:00 | 25,200 | ['1e6f4f2a14861d6166c9abaa6be5528abf94e3fe'] | refactor: change config to save all e2e videos | [{'old_path': 'test/config.ts', 'new_path': 'test/config.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -64,7 +64,7 @@ setConfig(config)\n \n const options: PlaywrightOptions = {\n headless: true, // Run tests in headless browsers.\n- video: "retry-with-video",\n+ video: "on",\n }\n \n // Run tests in three... | TypeScript |
d8e45057c71ac00bfd9bcf8282f70eab4e0c2a17 | 116 | 2021-04-19 10:40:59-07:00 | 25,200 | ['a8719e1f793336c5b2c9a56af17715bf0c3a7bf8'] | refactor: update rateLimiter to check try
This changes adds a new method called `.canTry` to the rate limiter to check if
there are tokens remaining in the bucket.
It also adds suggestions from @oxy to make sure the user can brute force past
the rate limiter. | [{'old_path': 'src/node/routes/login.ts', 'new_path': 'src/node/routes/login.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,11 +17,15 @@ export class RateLimiter {\n private readonly minuteLimiter = new Limiter(2, "minute")\n private readonly hourLimiter = new Limiter(12, "hour")\n \n+ public canTry():... | TypeScript |
7928dc2bff2d74a4da27ac3c88e3fa891369a80e | 116 | 2021-04-19 10:41:00-07:00 | 25,200 | ['d8e45057c71ac00bfd9bcf8282f70eab4e0c2a17'] | feat: add test for limiter.canTry() | [{'old_path': 'test/unit/routes/login.test.ts', 'new_path': 'test/unit/routes/login.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -7,6 +7,19 @@ describe("login", () => {\n expect(limiter.try()).toBe(true)\n })\n \n+ it("should pull tokens from both limiters (minute & hour)", () => {\n+ c... | TypeScript |
a3f18d61582e84336b7a8543d022ffe3e5ee6588 | 116 | 2021-04-19 10:57:50-07:00 | 25,200 | ['7928dc2bff2d74a4da27ac3c88e3fa891369a80e'] | refactor: change limiter.Try() to .removeToken() | [{'old_path': 'src/node/routes/login.ts', 'new_path': 'src/node/routes/login.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -21,12 +21,9 @@ export class RateLimiter {\n return this.minuteLimiter.getTokensRemaining() > 0 || this.hourLimiter.getTokensRemaining() > 0\n }\n \n- public try(): boolean {\n- ... | TypeScript |
958f01262ba92633310810e264b70cfa72d6f557 | 116 | 2021-04-19 11:11:52-07:00 | 25,200 | ['a3f18d61582e84336b7a8543d022ffe3e5ee6588'] | refactor: check errorMessage in login e2e test | [{'old_path': 'test/e2e/login.test.ts', 'new_path': 'test/e2e/login.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -54,12 +54,16 @@ test.describe("login", () => {\n // The current RateLimiter allows 2 logins per minute plus\n // 12 logins per hour for a total of 14\n // See: src/node/routes/log... | TypeScript |
7a5042176ef1fb1c13dbe94e05ee0ce21d2e127c | 116 | 2021-04-19 11:12:43-07:00 | 25,200 | ['958f01262ba92633310810e264b70cfa72d6f557'] | fix: update logic for removing token from limiter | [{'old_path': 'src/node/routes/login.ts', 'new_path': 'src/node/routes/login.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -88,9 +88,7 @@ router.post("/", async (req, res) => {\n \n // Note: successful logins should not count against the RateLimiter\n // which is why this logic must come after the succ... | TypeScript |
f80d5c3764a06ff1a4cffc8835d3afa2dc6d12a8 | 116 | 2021-04-19 13:14:19-07:00 | 25,200 | ['7a5042176ef1fb1c13dbe94e05ee0ce21d2e127c'] | refactor: rateLimiter.canTry logic to check >= 1 | [{'old_path': 'src/node/routes/login.ts', 'new_path': 'src/node/routes/login.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -18,7 +18,10 @@ export class RateLimiter {\n private readonly hourLimiter = new Limiter(12, "hour")\n \n public canTry(): boolean {\n- return this.minuteLimiter.getTokensRemaining()... | TypeScript |
724ee93e81c7e80c656ca241143a6f73bf65609f | 58 | 2021-04-20 02:21:33+05:30 | -19,800 | ['6d65680c23f48b5c0e7a32c7f7a4302e9b021c63'] | chore(ci): migrate from hub to gh (#3168) | [{'old_path': 'ci/README.md', 'new_path': 'ci/README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,8 +24,7 @@ Any file or directory in this subdirectory should be documented here.\n - It will upload them to the draft release.\n 6. Run some basic sanity tests on one of the released packages.\n - Espec... | TypeScript |
4ed7ae9c969a6f6b71de5c13461f4d403d7469e2 | 58 | 2021-04-20 10:27:06-07:00 | -19,800 | ['724ee93e81c7e80c656ca241143a6f73bf65609f'] | chore(ranger): fix syntax for extension-request (#3172) | [{'old_path': '.github/ranger.yml', 'new_path': '.github/ranger.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,7 +26,7 @@ labels:\n extension-request:\n action: close\n delay: 5s\n- message: >\n+ comment: >\n Thanks for opening an extension request!\n We are currently in the pro... | TypeScript |
ae6089f852f3d92de778cb8f81e948a2fd4ca48b | 67 | 2021-04-21 11:48:43-05:00 | 18,000 | ['cbc2e8bc929abce810d4692f5f7daf7550ca2b53'] | Improve protocol class
- Move destroy logic into the class itself
- Improve logging a bit
- Remove the record option; we should always do this when using
permessage-deflate.
- Let debug port be null (it can be null in the message args).
- Add setSocket so we don't have to initiate a connection to set it.
- Move infl... | [{'old_path': 'lib/vscode/src/vs/base/parts/ipc/common/ipc.net.ts', 'new_path': 'lib/vscode/src/vs/base/parts/ipc/common/ipc.net.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -743,6 +743,11 @@ export class PersistentProtocol implements IMessagePassingProtocol {\n \t\t}, Math.max(ProtocolConstants.KeepAliveTime... | TypeScript |
f0bafa387ffb4d01c919c5b5bdcc7a7b56293cfe | 67 | 2021-04-21 11:48:45-05:00 | 18,000 | ['ae6089f852f3d92de778cb8f81e948a2fd4ca48b'] | Move connection logic into connection class
- Moved everything I could into the class itself.
- Improve the logging situation a bit.
- Switch some trace logs to debug.
- Get debug port from message arguments. | [{'old_path': 'lib/vscode/src/vs/server/node/connection.ts', 'new_path': 'lib/vscode/src/vs/server/node/connection.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,30 +3,49 @@ import * as cp from \'child_process\';\n import { VSBuffer } from \'vs/base/common/buffer\';\n import { Emitter } from \'vs/base/common... | TypeScript |
16fc315afa7c7090af09f2ef27c5d714a1ace5e0 | 67 | 2021-04-21 11:48:46-05:00 | 18,000 | ['f0bafa387ffb4d01c919c5b5bdcc7a7b56293cfe'] | Catch socket close during protocol handshake
zlib errors can cause the protocol handshake to not reject (until the
timeout). | [{'old_path': 'lib/vscode/src/vs/server/entry.ts', 'new_path': 'lib/vscode/src/vs/server/entry.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -6,7 +6,9 @@ import { logger } from 'vs/server/node/logger';\n import { enableCustomMarketplace } from 'vs/server/node/marketplace';\n import { Vscode } from 'vs/server/n... | TypeScript |
72ca12c0984b199f5f476cdc17f82d9aa2894b74 | 58 | 2021-04-22 02:57:35+05:30 | -19,800 | ['b9c80b852082699c7203129d4d7ca8361189a5cd'] | chore(lib/vscode): update netmask (#3187) | [{'old_path': 'lib/vscode/yarn.lock', 'new_path': 'lib/vscode/yarn.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6187,10 +6187,10 @@ neo-async@^2.5.0, neo-async@^2.6.1:\n resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f"\n integrity sha512-Y... | TypeScript |
a777bf05c77afa0ed76fd1e6d59ec66fd34833a0 | 116 | 2021-04-22 15:03:15-07:00 | 25,200 | ['72ca12c0984b199f5f476cdc17f82d9aa2894b74'] | feat: add clover to get test coverage in xml
Codecov requires .xml format.
We can get this from Jest by adding "clover"
to our coverageReporters. | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -139,7 +139,8 @@\n "coverageReporters": [\n "json",\n "json-summary",\n- "text"\n+ "text",\n+ "clover"\n ],\n "coveragePathIgnorePatterns": [\n "out"\n'}] | TypeScript |
537fbd040a31be299ae7c182a74a3a68b962a881 | 116 | 2021-04-22 15:27:54-07:00 | 25,200 | ['a777bf05c77afa0ed76fd1e6d59ec66fd34833a0'] | feat: add coverage script using codecov | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -31,7 +31,8 @@\n "ci": "./ci/dev/ci.sh",\n "watch": "VSCODE_IPC_HOOK_CLI= NODE_OPTIONS=--max_old_space_size=32384 ts-node ./ci/dev/watch.ts",\n "icons": "./ci/dev/gen_icons.sh",\n- "badges": "istan... | TypeScript |
bb0414e7bb37ba0e0bb280a6f3ace27fb16bcc06 | 116 | 2021-04-22 15:28:30-07:00 | 25,200 | ['537fbd040a31be299ae7c182a74a3a68b962a881'] | feat: add ci step upload coverage report Codecov | [{'old_path': '.github/workflows/ci.yaml', 'new_path': '.github/workflows/ci.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -18,6 +18,8 @@ jobs:\n prebuild:\n name: Pre-build checks\n runs-on: ubuntu-latest\n+ env:\n+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}\n steps:\n - name: C... | TypeScript |
2665a4f61b76b8359df6ad8e944f05fdbd409039 | 116 | 2021-04-23 14:35:31-07:00 | 25,200 | ['5ad8e686bc7512c8fcbe0e986e50533403fe146a'] | feat: add CodeServer page object for e2e tests | [{'old_path': None, 'new_path': 'test/e2e/codeServer.test.ts', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,46 @@\n+import { test, expect } from "@playwright/test"\n+import { STORAGE } from "../utils/constants"\n+import { CodeServer } from "./models/CodeServer"\n+\n+test.describe("CodeServer", () => {\n+ // ... | TypeScript |
2bf0a0e76ed5a3d1ff0a464cad2696f51d147acd | 116 | 2021-04-23 14:35:31-07:00 | 25,200 | ['2665a4f61b76b8359df6ad8e944f05fdbd409039'] | refactor: fix tests to check visibility correctly | [{'old_path': 'test/e2e/globalSetup.test.ts', 'new_path': 'test/e2e/globalSetup.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,6 +20,6 @@ test.describe("globalSetup", () => {\n test("should keep us logged in using the storageState", options, async ({ page }) => {\n await page.goto(CODE_SERVER_ADD... | TypeScript |
cc99fddf24c7de1bfbb4d41f2e656034f5161ee0 | 116 | 2021-04-23 14:35:32-07:00 | 25,200 | ['2bf0a0e76ed5a3d1ff0a464cad2696f51d147acd'] | feat: add test for terminal echo to file | [{'old_path': 'test/e2e/codeServer.test.ts', 'new_path': 'test/e2e/codeServer.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,5 @@\n import { test, expect } from "@playwright/test"\n-import { STORAGE } from "../utils/constants"\n+import { CODE_SERVER_ADDRESS, STORAGE } from "../utils/constants"\n im... | TypeScript |
cb65590b98404b3e16a68578a9e83063ee7a3cbb | 116 | 2021-04-23 14:35:32-07:00 | 25,200 | ['cc99fddf24c7de1bfbb4d41f2e656034f5161ee0'] | refactor: move tmpdir into src/node/constants | [{'old_path': 'src/node/constants.ts', 'new_path': 'src/node/constants.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,6 @@\n import { logger } from "@coder/logger"\n import { JSONSchemaForNPMPackageJsonFiles } from "@schemastore/package"\n+import * as os from "os"\n import * as path from "path"\n \n exp... | TypeScript |
b0ecff338ff41f17e5bbe2bbece51c386d7d295a | 116 | 2021-04-23 14:35:33-07:00 | 25,200 | ['cb65590b98404b3e16a68578a9e83063ee7a3cbb'] | refactor: globalSetup to use CodeServer model | [{'old_path': 'test/e2e/browser.test.ts', 'new_path': 'test/e2e/browser.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,15 +1,23 @@\n import { test, expect } from "@playwright/test"\n-import { CODE_SERVER_ADDRESS } from "../utils/constants"\n+import { CodeServer } from "./models/CodeServer"\n \n // This ... | TypeScript |
6f2709bcaa5fc82172133322b95f523fb2ee2c7f | 116 | 2021-04-23 16:31:56-07:00 | 25,200 | ['5ad8e686bc7512c8fcbe0e986e50533403fe146a'] | feat: add tests for registerServiceWorker | [{'old_path': 'test/unit/register.test.ts', 'new_path': 'test/unit/register.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,7 @@\n import { JSDOM } from "jsdom"\n import { loggerModule } from "../utils/helpers"\n+import { registerServiceWorker } from "../../src/browser/register"\n+import { LocationL... | TypeScript |
7bfdd13cb308940388cb98ac71729dedb2b67379 | 116 | 2021-04-23 16:40:39-07:00 | 25,200 | ['b0ecff338ff41f17e5bbe2bbece51c386d7d295a'] | refactor: tmpdir and add to test utils | [{'old_path': 'test/e2e/models/CodeServer.ts', 'new_path': 'test/e2e/models/CodeServer.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -47,7 +47,7 @@ export class CodeServer {\n */\n async isEditorVisible() {\n // Make sure the editor actually loaded\n- // If it\'s not visible after 2 seconds, someth... | TypeScript |
83746c8a1f5cd97413829ec7618636ef97480cf7 | 116 | 2021-04-23 17:09:03-07:00 | 25,200 | ['6f2709bcaa5fc82172133322b95f523fb2ee2c7f'] | refactor: remove null check in register.ts options.base
Inside registerServiceWorker, we were originally using the nullash coalescing
operator to check if options.base was null or undefined. However, I realized
this check is not necessary.
If you look at getOptions' return value, we return an object with a key "base"... | [{'old_path': 'src/browser/register.ts', 'new_path': 'src/browser/register.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,12 +4,12 @@ import "./pages/error.css"\n import "./pages/global.css"\n import "./pages/login.css"\n \n-async function registerServiceWorker(): Promise<void> {\n+export async function regi... | TypeScript |
95164d024c9297a75935ed343972a1812b1f56e7 | 144 | 2021-04-26 08:16:32+02:00 | -7,200 | ['d31439ec34572b6829902ea1863931071fe1fc55'] | feat: add `caddy` example for serving from sub-path | [{'old_path': 'docs/guide.md', 'new_path': 'docs/guide.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -195,6 +195,15 @@ mydomain.com\n reverse_proxy 127.0.0.1:8080\n ```\n \n+If you want to serve `code-server` from a sub-path, below is sample configuration for Caddy:\n+\n+```\n+mydomain.com/code/* {\n+ uri str... | TypeScript |
f746212d809d4eee17fe09fd8328a6e57963cbfd | 67 | 2021-04-26 12:56:12-05:00 | 18,000 | ['4fd39b25f99d01da948aa42211f62f7a43e7aa8d'] | Revamp debugging section (#3224)
- Most people leave the logs out so add a section for them in the issue
template.
- Remove the VS Code logs because those get sent to stdout now and will
show up in our logs.
- Separate browser console and network. | [{'old_path': '.github/ISSUE_TEMPLATE/bug-report.md', 'new_path': '.github/ISSUE_TEMPLATE/bug-report.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -10,9 +10,14 @@ assignees: ""\n \n Hi there! 👋\n \n-Thanks for reporting a bug. Please see https://github.com/cdr/code-server/blob/main/docs/FAQ.md#how-do-i-debug-... | TypeScript |
d6cdeabb169978273048ea73fbf0c98675d4c3e6 | 58 | 2021-04-26 23:56:26+05:30 | -19,800 | ['a8728502956e468141b984ffe2f0c1f99937a471'] | chore(deps): update dependencies with CVEs (#3223) | [{'old_path': 'lib/vscode/build/yarn.lock', 'new_path': 'lib/vscode/build/yarn.lock', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -366,21 +366,16 @@\n "@types/node" "*"\n form-data "^3.0.0"\n \n-"@types/node@*":\n- version "8.0.51"\n- resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.51.tgz#... | TypeScript |
9d5f05efaf9c2d769c91bd3634ff77b8423c3b24 | 116 | 2021-04-26 14:11:10-07:00 | 25,200 | ['d6cdeabb169978273048ea73fbf0c98675d4c3e6'] | refactor: remove old coverage shield workflow | [{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,6 +1,5 @@\n # code-server · [](https://github.com/cdr/code-server/discussions) [... | TypeScript |