Search is not available for this dataset
hash string | author int32 | committer_date string | timezone int64 | parents string | message string | changes string | language string |
|---|---|---|---|---|---|---|---|
29292fd33b6f5653a9ac9fa7f763f73b866d47eb | 116 | 2021-05-21 16:08:21-07:00 | 25,200 | ['31aac201bfbae0af59149816ed34653687d150e8'] | chore: update version in CHANGELOG | [{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,19 +3,18 @@\n # Changelog\n \n - [Changelog](#changelog)\n- - [Next Version](#next-version)\n+ - [3.10.2](#3102)\n - [New Features](#new-features)\n - [Bug Fixes](#bug-fixes)\n- - [Documentation](... | TypeScript |
4fc8d9861082eee62e8ee18cf6949f7453b211ae | 116 | 2021-05-21 16:08:46-07:00 | 25,200 | ['29292fd33b6f5653a9ac9fa7f763f73b866d47eb'] | refactor: remove extra step in release-prep.sh | [{'old_path': 'ci/build/release-prep.sh', 'new_path': 'ci/build/release-prep.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -83,10 +83,6 @@ main() {\n echo -e "Great! We\'ll prep a PR for updating to $CODE_SERVER_VERSION_TO_UPDATE\\n"\n $CMD rg -g \'!yarn.lock\' -g \'!*.svg\' -g \'!CHANGELOG.md\' --files-wi... | TypeScript |
72b3fd9df4c090dfcdcef9047e24c2d998edee8d | 167 | 2021-05-24 22:20:14+05:30 | -19,800 | ['0608e86e3ded91af24a78c4a12d0e0bdce372620'] | fixed confusing sentence in pull requests section | [{'old_path': 'docs/CONTRIBUTING.md', 'new_path': 'docs/CONTRIBUTING.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -19,8 +19,7 @@\n \n ## Pull Requests\n \n-Please create a [GitHub Issue](https://github.com/cdr/code-server/issues) for each issue\n-you'd like to address unless the proposed fix is minor.\n+Pleas... | TypeScript |
ff93932ba21edec9f7289109d1aee811543ca4ac | 116 | 2021-05-24 14:02:15-07:00 | 25,200 | ['99542e67aafbc9f25384b0226e4178f114e385de'] | fix: temporarily disable trivy-scan-image | [{'old_path': '.github/workflows/ci.yaml', 'new_path': '.github/workflows/ci.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -434,7 +434,9 @@ jobs:\n trivy-scan-image:\n runs-on: ubuntu-20.04\n needs: docker-amd64\n-\n+ # NOTE@jsjoeio: disabling due to a memory issue upstream\n+ # See: https://... | TypeScript |
35f57e5ebb8b03466907534fdf140364c013e445 | 116 | 2021-05-24 14:21:00-07:00 | 25,200 | ['ff93932ba21edec9f7289109d1aee811543ca4ac'] | chore(security): upgrade browserslist | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -80,6 +80,7 @@\n "doctoc/**/trim": "^1.0.0",\n "postcss": "^8.2.1",\n "parcel-bundler/cssnano": "^5.0.2",\n+ "browserslist": "^4.16.5",\n "safe-buffer": "^5.1.1",\n "vfile-message": "^2.0.2... | TypeScript |
8ed578b686d81db8bfc5d03c49cccbd839f41910 | 116 | 2021-05-27 16:16:54+00:00 | 25,200 | ['b1186d722394f31ef8e65fe84092e2b982c4501a'] | docs: remove toc from changelog (#3466)
Co-authored-by: Akash Satheesan <akash@coder.com> | [{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,27 +1,3 @@\n-<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n-<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n-# Changelog\n-\n-- [Changelog](#changelog)\n... | TypeScript |
0e67ab7b859ca5d9aceb5fa3aea151502e640fe4 | 116 | 2021-05-27 22:02:09+05:30 | 25,200 | ['8ed578b686d81db8bfc5d03c49cccbd839f41910'] | docs: add changelog to MAINTAINING.md (#3467)
Co-authored-by: Akash Satheesan <akash@coder.com> | [{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -37,10 +37,23 @@ VS Code v0.00.0\n \n VS Code v0.00.0\n \n+### New Features\n+\n+- item\n+\n+### Bug Fixes\n+\n+- item\n+\n ### Documentation\n \n - docs: fix confusing sentence in pull requests section #3460 @sh... | TypeScript |
8e92dd62ab28f2853ba4a2382b304220880b5cfa | 116 | 2021-05-27 16:46:04+00:00 | 25,200 | ['b9dc2079fec0a6ee7fffa2c7a74973856bed5386'] | chore: update CHANGELOG (#3465)
Co-authored-by: Akash Satheesan <akash@coder.com> | [{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -47,6 +47,7 @@ VS Code v0.00.0\n \n ### Documentation\n \n+- docs: add Pomerium #3424 @desimone\n - docs: fix confusing sentence in pull requests section #3460 @shiv-tyagi\n - docs: remove toc from changelog @oxy... | TypeScript |
1ccf69f7319263ad5cad10853e4abab09f09e5b5 | 58 | 2021-05-28 16:51:41+00:00 | -19,800 | ['8e92dd62ab28f2853ba4a2382b304220880b5cfa'] | chore: cross-compile docker images with buildx (#3503) | [{'old_path': '.github/workflows/ci.yaml', 'new_path': '.github/workflows/ci.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -386,9 +386,10 @@ jobs:\n - name: Remove release packages and test artifacts\n run: rm -rf ./release-packages ./test/test-results\n \n- docker-amd64:\n+ # Builds both amd... | TypeScript |
58622ccc34ed879a709a25e00fec266c40fee4f4 | 58 | 2021-06-01 22:49:03+05:30 | -19,800 | ['c2a8634bcce5f4d639169bba50766fd73c9a0660'] | chore: update node to v14 (#3481) | [{'old_path': '.github/workflows/ci.yaml', 'new_path': '.github/workflows/ci.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,10 +24,10 @@ jobs:\n - name: Checkout repo\n uses: actions/checkout@v2\n \n- - name: Install Node.js v12\n+ - name: Install Node.js v14\n uses: action... | TypeScript |
546dd9c278ae2dbebd5dd3c3df1a03fd836682ed | 67 | 2021-06-01 16:04:26-05:00 | 18,000 | ['58622ccc34ed879a709a25e00fec266c40fee4f4'] | Catch getLayoutMap error (#3518)
This might be causing issues with the PWA showing a blank screen with
MacOS. | [{'old_path': 'lib/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.ts', 'new_path': 'lib/vscode/src/vs/workbench/services/keybinding/browser/keyboardLayoutService.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -406,6 +406,9 @@ export class BrowserKeyboardMapperFactoryBase {\n \t\t\t\t\... | TypeScript |
70b5ae00846895eb115188d9990fb7999a8a07e8 | 116 | 2021-06-01 15:36:51-07:00 | 25,200 | ['546dd9c278ae2dbebd5dd3c3df1a03fd836682ed'] | chore: fix ws vulnerabilities | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -80,6 +80,8 @@\n "doctoc/**/trim": "^1.0.0",\n "postcss": "^8.2.1",\n "parcel-bundler/cssnano": "^5.0.2",\n+ "parcel-bundler/ws": "^7.4.6",\n+ "parcel-bundler/htmlnano/uncss/jsdom/ws": "^7.4.6",... | TypeScript |
e02ecc2c8046d7f6517dc50a1373b308027f4fc7 | 23 | 2021-06-01 16:33:48-07:00 | -19,800 | ['54aea3f77f5c47edbb6b7607c7f355086506e1f8'] | docs: add "Publishing A Release" in 'MAINTAINING.md' file
Pasted "Publishing A Release" in the 'MAINTAINING.md' file from line #98 | [{'old_path': 'docs/MAINTAINING.md', 'new_path': 'docs/MAINTAINING.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -3,6 +3,7 @@\n # Maintaining\n \n - [Maintaining](#maintaining)\n+- [Maintaining](#maintaining-1)\n - [Workflow](#workflow)\n - [Milestones](#milestones)\n - [Triage](#triage)\n@@ -13,6 +1... | TypeScript |
7dfd3676c163d10c29c5dd1a05268881d983968b | 23 | 2021-06-01 16:33:52-07:00 | -19,800 | ['e02ecc2c8046d7f6517dc50a1373b308027f4fc7'] | docs: remove "Publishing A Release" from ci/README.md
Deleted "Publishing A Release" section from the readme.md file in the 'ci'
folder and then pasting the section in 'Maintaining.md' | [{'old_path': 'ci/README.md', 'new_path': 'ci/README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -10,27 +10,6 @@ Any file or directory in this subdirectory should be documented here.\n - [./ci/lib.sh](./lib.sh)\n - Contains code duplicated across these scripts.\n \n-## Publishing a release\n-\n-1. Run `yar... | TypeScript |
857c62ae1d3d35752ebd92ccb88eeda44177b0bc | 58 | 2021-06-01 16:34:16-07:00 | -19,800 | ['7dfd3676c163d10c29c5dd1a05268881d983968b'] | chore: yarn fmt + changelog | [{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -51,6 +51,7 @@ VS Code v0.00.0\n - docs: fix confusing sentence in pull requests section #3460 @shiv-tyagi\n - docs: remove toc from changelog @oxy @jsjoeio\n - docs(MAINTAINING): add information about CHANGELOG ... | TypeScript |
30a312df290fc4ae8578dad137013f2ae2b34b7a | 58 | 2021-06-01 16:34:17-07:00 | -19,800 | ['857c62ae1d3d35752ebd92ccb88eeda44177b0bc'] | docs: change header depth | [{'old_path': 'docs/MAINTAINING.md', 'new_path': 'docs/MAINTAINING.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -3,7 +3,6 @@\n # Maintaining\n \n - [Maintaining](#maintaining)\n-- [Maintaining](#maintaining-1)\n - [Workflow](#workflow)\n - [Milestones](#milestones)\n - [Triage](#triage)\n@@ -102,7 +... | TypeScript |
988dc724f9a2154ffcb8f7ea80a73305aa851f01 | 49 | 2021-06-03 15:13:25+08:00 | -28,800 | ['40ef0f23cbab16dd686fa20e309414d66ca6e7cb'] | format 'caddy' for guide docs | [{'old_path': 'docs/guide.md', 'new_path': 'docs/guide.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -177,7 +177,7 @@ Assuming you have been following the guide, edit your instance and checkmark the\n \n 1. You'll need to buy a domain name. We recommend [Google Domains](https://domains.google.com).\n 2. Add an... | TypeScript |
05197d5213479c51a9e0fec4681d383cf3288168 | 58 | 2021-06-03 22:00:37+05:30 | -19,800 | ['40ef0f23cbab16dd686fa20e309414d66ca6e7cb'] | feat(ci): add restore-keys for ci speedup (#3516) | [{'old_path': '.github/workflows/ci.yaml', 'new_path': '.github/workflows/ci.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -38,6 +38,8 @@ jobs:\n with:\n path: "**/node_modules"\n key: yarn-build-${{ hashFiles(\'**/yarn.lock\') }}\n+ restore-keys: |\n+ yarn-bui... | TypeScript |
808daa44e1cf9b254173deffc7fc86431d1a723a | 116 | 2021-06-03 10:18:48-07:00 | 25,200 | ['05197d5213479c51a9e0fec4681d383cf3288168'] | fix: update git push to cdrci repo in brew-bump | [{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -58,6 +58,10 @@ VS Code v0.00.0\n - chore: cross-compile docker images with buildx #3166 @oxy\n - chore: update node to v14 #3458 @oxy\n \n+### Development\n+\n+- fix(publish): update cdrci fork in brew-bump.sh #... | TypeScript |
8b383149138c081c7d36264b2554f1ad509a7a47 | 116 | 2021-06-03 10:18:48-07:00 | 25,200 | ['808daa44e1cf9b254173deffc7fc86431d1a723a'] | feat: add 'set up homebrew' step publish.yaml | [{'old_path': '.github/workflows/publish.yaml', 'new_path': '.github/workflows/publish.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -42,6 +42,13 @@ jobs:\n needs: npm\n runs-on: macos-latest\n steps:\n+ # Ensure things are up to date\n+ # Suggested by homebrew maintainers\n+ # htt... | TypeScript |
23eacac20741178a810b81430d08b8d451e79f16 | 58 | 2021-06-04 18:45:32+00:00 | -19,800 | ['f3640610b51f8448dc19de8ea0a1a6a9465828f4'] | chore(deps): update chrome-remote-interface (#3536) | [{'old_path': 'lib/vscode/package.json', 'new_path': 'lib/vscode/package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -223,6 +223,7 @@\n "resolutions": {\n "postcss": "^8.2.1",\n "elliptic": "^6.5.3",\n- "nwmatcher": "^1.4.4"\n+ "nwmatcher": "^1.4.4",\n+ "chrome-remote-interface": "^0.30.... | TypeScript |
cac667317ef03020130aa57ab88480a7ded09bdb | 116 | 2021-06-08 14:33:11-07:00 | 25,200 | ['dd2cb1649a870e44c63f5fe3554517cae2192412'] | refactor: use bcrypt in hash function | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -36,6 +36,7 @@\n "main": "out/node/entry.js",\n "devDependencies": {\n "@schemastore/package": "^0.0.6",\n+ "@types/bcrypt": "^5.0.0",\n "@types/body-parser": "^1.19.0",\n "@types/compression":... | TypeScript |
17be8c5cd31c2ee036aadeeaf4cc19823c6f832a | 116 | 2021-06-08 14:33:12-07:00 | 25,200 | ['cac667317ef03020130aa57ab88480a7ded09bdb'] | refactor: use bcrypt in e2e setup | [{'old_path': 'test/config.ts', 'new_path': 'test/config.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,7 +8,7 @@ import {\n Config,\n globalSetup,\n } from "@playwright/test"\n-import * as crypto from "crypto"\n+import * as bcrypt from "bcrypt"\n import path from "path"\n import { PASSWORD } from "./uti... | TypeScript |
f35120c0a346b2a85903fef35c78cab778846876 | 116 | 2021-06-08 14:33:12-07:00 | 25,200 | ['17be8c5cd31c2ee036aadeeaf4cc19823c6f832a'] | feat: add unit test for hash function | [{'old_path': 'test/unit/node/util.test.ts', 'new_path': 'test/unit/node/util.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,3 +1,5 @@\n+import { hash } from "../../../src/node/util"\n+\n describe("getEnvPaths", () => {\n describe("on darwin", () => {\n let ORIGINAL_PLATFORM = ""\n@@ -145,3 +147,1... | TypeScript |
aaf044728f6db2cbbad44d453c98dfc957dd4571 | 116 | 2021-06-08 14:33:12-07:00 | 25,200 | ['f35120c0a346b2a85903fef35c78cab778846876'] | refactor: add functions to check hash password | [{'old_path': 'src/node/http.ts', 'new_path': 'src/node/http.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,7 +8,7 @@ import { normalize, Options } from "../common/util"\n import { AuthType, DefaultedArgs } from "./cli"\n import { commit, rootPath } from "./constants"\n import { Heart } from "./heart"\n-impo... | TypeScript |
fc3326f1f2ce6cd2f176e941a3615128639f3ce4 | 116 | 2021-06-08 14:33:12-07:00 | 25,200 | ['aaf044728f6db2cbbad44d453c98dfc957dd4571'] | feat: add tests using real hashes | [{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -48,7 +48,7 @@ VS Code v0.00.0\n ### Documentation\n \n - docs: add Pomerium #3424 @desimone\n-- docs: fix confusing sentence in pull requests section #3460 @shiv-tyag\n+- docs: fix confusing sentence in pull req... | TypeScript |
dc2db5c62d006432ae4ad161b2308ee4afab0dd4 | 116 | 2021-06-08 14:33:13-07:00 | 25,200 | ['fc3326f1f2ce6cd2f176e941a3615128639f3ce4'] | chore: add argon2 package | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -89,6 +89,7 @@\n },\n "dependencies": {\n "@coder/logger": "1.1.16",\n+ "argon2": "^0.28.0",\n "bcrypt": "^5.0.1",\n "body-parser": "^1.19.0",\n "compression": "^1.7.4",\n'}, {'old_path': '... | TypeScript |
51f8341959c1a6066ff6755602b9ae43dfba257a | 116 | 2021-06-08 14:33:13-07:00 | 25,200 | ['dc2db5c62d006432ae4ad161b2308ee4afab0dd4'] | chore: update to argon2 in test | [{'old_path': 'test/package.json', 'new_path': 'test/package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,12 +3,11 @@\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 "@playwright/test": "^0.110... | TypeScript |
70197bb2a514cd8dfc1115233c94b385aed9afa7 | 116 | 2021-06-08 14:33:13-07:00 | 25,200 | ['51f8341959c1a6066ff6755602b9ae43dfba257a'] | refactor: use argon2 instead of bcrypt
This uses argon2 instead of bcrypt.
Note: this means the hash functions are now async which means we have to
refactor a lot of other code around auth. | [{'old_path': 'src/node/util.ts', 'new_path': 'src/node/util.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,6 +1,6 @@\n import * as cp from "child_process"\n import * as crypto from "crypto"\n-import * as bcrypt from "bcrypt"\n+import * as argon2 from "argon2"\n import envPaths from "env-paths"\n import { pr... | TypeScript |
fd3cb6cfa028b63c0e3600ce1283f8316cfad15a | 116 | 2021-06-08 14:33:13-07:00 | 25,200 | ['70197bb2a514cd8dfc1115233c94b385aed9afa7'] | refactor: update unit tests for hash fns
Since the hash and isHashMatch are now async, I had to update the tests
accordingly. Now everything is working. | [{'old_path': 'test/unit/node/util.test.ts', 'new_path': 'test/unit/node/util.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -149,28 +149,31 @@ describe("getEnvPaths", () => {\n })\n \n describe("hash", () => {\n- it("should return a hash of the string passed in", () => {\n+ it("should return a hash of t... | TypeScript |
fcc3f0d951954159c711f79e145b6c0f973b8370 | 116 | 2021-06-08 14:33:13-07:00 | 25,200 | ['fd3cb6cfa028b63c0e3600ce1283f8316cfad15a'] | refactor: update login logic with new async hashing
This adds the proper await logic for the hashing of passwords. | [{'old_path': 'src/node/routes/login.ts', 'new_path': 'src/node/routes/login.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -77,7 +77,12 @@ router.post("/", async (req, res) => {\n ? isHashLegacyMatch(req.body.password, req.args["hashed-password"])\n : req.args.password && safeCompare(req.body.p... | TypeScript |
0cdbd33b46e8e0446450fe0d5121a75b53242e70 | 116 | 2021-06-08 14:33:14-07:00 | 25,200 | ['fcc3f0d951954159c711f79e145b6c0f973b8370'] | refactor: make authenticated async everywhere
Since this checks if they are authenticated using the hash/password and it's
async, we need to update authenticated to be async, which means we have to
update it everywhere it's used. | [{'old_path': 'src/node/http.ts', 'new_path': 'src/node/http.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -45,8 +45,13 @@ export const replaceTemplates = <T extends object>(\n /**\n * Throw an error if not authorized. Call `next` if provided.\n */\n-export const ensureAuthenticated = (req: express.Request, ... | TypeScript |
91303d4e40465a82f9652210992fd48b7e89b27d | 116 | 2021-06-08 14:33:14-07:00 | 25,200 | ['0cdbd33b46e8e0446450fe0d5121a75b53242e70'] | refactor: make ensureAuthenticated async | [{'old_path': 'src/node/routes/domainProxy.ts', 'new_path': 'src/node/routes/domainProxy.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -74,14 +74,14 @@ router.all("*", async (req, res, next) => {\n \n export const wsRouter = WsRouter()\n \n-wsRouter.ws("*", (req, _, next) => {\n+wsRouter.ws("*", async (req, _,... | TypeScript |
1134780b8b89c96aa99a621008f06cafee8deda4 | 116 | 2021-06-08 14:33:14-07:00 | 25,200 | ['91303d4e40465a82f9652210992fd48b7e89b27d'] | refactor: make wsProxy async | [{'old_path': 'src/node/routes/index.ts', 'new_path': 'src/node/routes/index.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -98,8 +98,8 @@ export const register = async (\n app.all("/proxy/(:port)(/*)?", (req, res) => {\n pathProxy.proxy(req, res)\n })\n- wsApp.get("/proxy/(:port)(/*)?", (req) => {\n- ... | TypeScript |
788b958e200708348f575e5c8076a367c1133f6f | 116 | 2021-06-08 14:33:14-07:00 | 25,200 | ['1134780b8b89c96aa99a621008f06cafee8deda4'] | refactor: update hash fn in test config | [{'old_path': 'test/config.ts', 'new_path': 'test/config.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,21 +8,21 @@ import {\n Config,\n globalSetup,\n } from "@playwright/test"\n-import * as bcrypt from "bcrypt"\n+import * as argon2 from "argon2"\n import path from "path"\n import { PASSWORD } from "./u... | TypeScript |
ffa5c16e51a5e1096d8e0a530d97edd12d8f8592 | 116 | 2021-06-08 14:33:15-07:00 | 25,200 | ['788b958e200708348f575e5c8076a367c1133f6f'] | feat: update cli and test for hashed-password | [{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -114,7 +114,7 @@ const options: Options<Required<Args>> = {\n "hashed-password": {\n type: "string",\n description:\n- "The password hashed with SHA-256 for password authentication (can only ... | TypeScript |
7ff4117531fb2f8030e5f0e6d78fdb8f7dd2f7b0 | 116 | 2021-06-08 14:33:15-07:00 | 25,200 | ['ffa5c16e51a5e1096d8e0a530d97edd12d8f8592'] | feat: add getPasswordMethod & test for it | [{'old_path': 'src/node/util.ts', 'new_path': 'src/node/util.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -162,6 +162,33 @@ export const isHashLegacyMatch = (password: string, hashPassword: string) => {\n return safeCompare(hashedWithLegacy, hashPassword)\n }\n \n+const passwordMethods = ["SHA256", "ARGON2"... | TypeScript |
a14ea39c4af09e322b0cd75c78068422919bb557 | 116 | 2021-06-08 14:33:15-07:00 | 25,200 | ['7ff4117531fb2f8030e5f0e6d78fdb8f7dd2f7b0'] | feat: add handlePasswordValidation + tests | [{'old_path': 'src/node/util.ts', 'new_path': 'src/node/util.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -189,6 +189,66 @@ export function getPasswordMethod(hashedPassword: string | undefined): PasswordM\n return "SHA256"\n }\n \n+type PasswordValidation = {\n+ isPasswordValid: boolean\n+ hashedPassword:... | TypeScript |
409b473c82e12cebc59bf6b1e34b1f432c46d5e6 | 116 | 2021-06-08 14:33:15-07:00 | 25,200 | ['a14ea39c4af09e322b0cd75c78068422919bb557'] | refactor: rewrite password logic at /login | [{'old_path': 'src/node/routes/login.ts', 'new_path': 'src/node/routes/login.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,7 +5,15 @@ import * as path from "path"\n import safeCompare from "safe-compare"\n import { rootPath } from "../constants"\n import { authenticated, getCookieDomain, redirect, replaceTe... | TypeScript |
6020480b308d359f6f6ee0b55038f6ef9e1bc673 | 116 | 2021-06-08 14:33:16-07:00 | 25,200 | ['409b473c82e12cebc59bf6b1e34b1f432c46d5e6'] | feat: add isCookieValid function and tests | [{'old_path': 'src/node/util.ts', 'new_path': 'src/node/util.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -249,6 +249,31 @@ export async function handlePasswordValidation(\n return passwordValidation\n }\n \n+export type IsCookieValidArgs = {\n+ passwordMethod: PasswordMethod\n+ cookieKey: string\n+ hash... | TypeScript |
923761cd78cfb9de374691203bc3b325839d2d40 | 116 | 2021-06-08 14:33:16-07:00 | 25,200 | ['6020480b308d359f6f6ee0b55038f6ef9e1bc673'] | refactor: password logic in http w/ isCookieValid | [{'old_path': 'src/node/http.ts', 'new_path': 'src/node/http.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,7 +8,7 @@ import { normalize, Options } from "../common/util"\n import { AuthType, DefaultedArgs } from "./cli"\n import { commit, rootPath } from "./constants"\n import { Heart } from "./heart"\n-impo... | TypeScript |
517aaf71c5f3fb377e6f9f047833eb027cb002d1 | 116 | 2021-06-08 14:33:16-07:00 | 25,200 | ['923761cd78cfb9de374691203bc3b325839d2d40'] | docs: update FAQ with new hashing instructions | [{'old_path': 'docs/FAQ.md', 'new_path': 'docs/FAQ.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,6 +2,7 @@\n <!-- DON\'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n # FAQ\n \n+- [FAQ](#faq)\n - [Questions?](#questions)\n - [iPad Status?](#ipad-status)\n - [Community Projects (awesome-code... | TypeScript |
531b7c0c257a2b97169eed7f602fc9b498db2bef | 116 | 2021-06-08 14:33:16-07:00 | 25,200 | ['517aaf71c5f3fb377e6f9f047833eb027cb002d1'] | feat: add splitOnFirstEquals function | [{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -240,6 +240,25 @@ export const optionDescriptions = (): string[] => {\n })\n }\n \n+export function splitOnFirstEquals(str: string): string[] {\n+ // we use regex instead of "=" to ensure we split at the... | TypeScript |
8c2bb61af9ef3c7e6824a1f12e6ffbb815118bb6 | 116 | 2021-06-08 14:33:17-07:00 | 25,200 | ['531b7c0c257a2b97169eed7f602fc9b498db2bef'] | refactor: parse options with multiple = in cli
There was a case with the hashed-password which had multiple equal signs in the
value and it wasn't being parsed correctly. This uses a new function and adds a
few tests. | [{'old_path': 'docs/FAQ.md', 'new_path': 'docs/FAQ.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,7 +2,6 @@\n <!-- DON\'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n # FAQ\n \n-- [FAQ](#faq)\n - [Questions?](#questions)\n - [iPad Status?](#ipad-status)\n - [Community Projects (awesome-code-serve... | TypeScript |
deaa2242caea82d5a125e9e3b67a4066ccb32b78 | 116 | 2021-06-08 14:33:17-07:00 | 25,200 | ['8c2bb61af9ef3c7e6824a1f12e6ffbb815118bb6'] | feat: add npm_config_build_from_source to build scripts
This is necessary due to argon2 being added and an upstream issue where it uses
a Linux build that is too new for CentOS 7. | [{'old_path': 'ci/build/build-standalone-release.sh', 'new_path': 'ci/build/build-standalone-release.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,6 +1,10 @@\n #!/usr/bin/env bash\n set -euo pipefail\n \n+# This is due to an upstream issue with RHEL7/CentOS 7 comptability with node-argon2\n+# See: https://g... | TypeScript |
3b50bfc17d031661c83a0a029bdb22a7b391e7b0 | 116 | 2021-06-08 14:33:17-07:00 | 25,200 | ['deaa2242caea82d5a125e9e3b67a4066ccb32b78'] | fix: sanitize password and cookie key | [{'old_path': 'ci/build/build-standalone-release.sh', 'new_path': 'ci/build/build-standalone-release.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,7 +3,7 @@ set -euo pipefail\n \n # This is due to an upstream issue with RHEL7/CentOS 7 comptability with node-argon2\n # See: https://github.com/cdr/code-server... | TypeScript |
1e55a648a5572e0985620032971f5cddeea10bbf | 116 | 2021-06-08 15:10:59-07:00 | 25,200 | ['3b50bfc17d031661c83a0a029bdb22a7b391e7b0'] | feat: check for empty str in isHashMatch | [{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -263,6 +263,7 @@ export const parse = (\n if (opts?.configFile) {\n msg = `error reading ${opts.configFile}: ${msg}`\n }\n+\n return new Error(msg)\n }\n \n@@ -286,6 +287,13 @@ export co... | TypeScript |
dbb34ad7105841cc685a9e2ab6a127a07f2838e7 | 140 | 2021-06-10 15:09:38+02:00 | -7,200 | ['9fc9c041adb7619f77817e54060d3a52ea65b664'] | chore: upgrade to Playwright 1.12 with its new test-runner | [{'old_path': 'ci/dev/test-e2e.sh', 'new_path': 'ci/dev/test-e2e.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,7 +6,7 @@ main() {\n cd test\n # We set these environment variables because they\'re used in the e2e tests\n # they don\'t have to be these values, but these are the defaults\n- PASSWORD=e45... | TypeScript |
5fae520ebe5836469b4930b42656e296860f1192 | 155 | 2021-06-13 01:25:05+10:00 | -36,000 | ['4bb7a8ddb9b75c6f99f44454a0217fbe6942824d'] | fix: placeholder password in hashed password example | [{'old_path': 'docs/FAQ.md', 'new_path': 'docs/FAQ.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -206,7 +206,7 @@ Again, please follow [./guide.md](./guide.md) for our recommendations on setting\n Yes you can! Set the value of `hashed-password` instead of `password`. Generate the hash with:\n \n ```shell\n-ech... | TypeScript |
b59b3936d0f6dad983aaca365c43d559e4d5855e | 67 | 2021-06-15 15:11:01-05:00 | 18,000 | ['3241a4f521885d987f1231cf1b8908a7085e019c'] | Fix incorrect logout base (#3611)
Fixes #3608. | [{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -43,7 +43,7 @@ VS Code v0.00.0\n \n ### Bug Fixes\n \n-- item\n+- Fix logout when using a base path (#3608)\n \n ### Documentation\n \n'}, {'old_path': 'src/node/routes/logout.ts', 'new_path': 'src/node/routes/lo... | TypeScript |
4e14c11fa4f152e73c071d6cbb71ca936bfe4592 | 111 | 2021-06-17 12:28:54-05:00 | -7,200 | ['cbe31929716cb3814537f0e15fd2c6af1d4eb62d'] | Allow development on any architecture (#3598) | [{'old_path': 'ci/lib.sh', 'new_path': 'ci/lib.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,7 +35,8 @@ os() {\n }\n \n arch() {\n- case "$(uname -m)" in\n+ cpu="$(uname -m)"\n+ case "$cpu" in\n aarch64)\n echo arm64\n ;;\n@@ -43,8 +44,7 @@ arch() {\n echo amd64\n ;;\n *)\n- echo ... | TypeScript |
d9bb1a36eb3bb25201bb0735d701625120cc3150 | 116 | 2021-06-17 16:25:25-07:00 | 25,200 | ['5f7e9b73619a56ed9fe4338d255de8111bcd94a0'] | docs(contr): add section on testing | [{'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -60,6 +60,7 @@ VS Code v0.00.0\n - chore: update node to v14 #3458 @oxy\n - chore: update .gitignore #3557 @cuining\n - fix: use sufficient computational effort for password hash #3422 @jsjoeio\n+- docs(CONTRIBUT... | TypeScript |
5b261e13a90141920cc4dcdd4d585608ef47ded3 | 124 | 2021-06-21 10:51:55-05:00 | 18,000 | ['9422a4aba7bb9580a8bc1f1a4791760311715564'] | Update link desc to Coder.com in README | [{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -74,4 +74,5 @@ Interested in [working at Coder](https://coder.com)? Check out [our open positio\n \n ## For Organizations\n \n-Visit [our website](https://coder.com) for more information about remote development for yo... | TypeScript |
d4fe54601be4e4fc9633b5f563d758d74ac8b16d | 116 | 2021-06-23 11:26:59-07:00 | 25,200 | ['fbba8e8b254e2c1a26b959926e36ca33c5db304a'] | docs: add backspace android workaround | [{'old_path': 'docs/termux.md', 'new_path': 'docs/termux.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -53,9 +53,18 @@ There is a known issue with the backspace key not working correctly when using t\n - [Issues with Backspace in Codespaces on Android (Surface Duo)](https://github.com/microsoft/vscode/issues/1... | TypeScript |
02b94894896eb937a293d785c9140affe57297aa | 116 | 2021-06-23 13:42:06-07:00 | 25,200 | ['4b0dd07634efc02aa07fc036b73c8cb5625311bf'] | refactor: add func getNlsConfiguration & tests
This PR refactors part of vscode.ts and adds a function to get the NLS
Configuration.
This makes the code more readable and easier to test.
And it adds multiple tests for this part of the codebase. | [{'old_path': 'src/browser/pages/vscode.ts', 'new_path': 'src/browser/pages/vscode.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,9 +5,56 @@ const options = getOptions()\n // TODO: Add proper types.\n /* eslint-disable @typescript-eslint/no-explicit-any */\n \n-let nlsConfig: any\n+// NOTE@jsjoeio\n+// This ... | TypeScript |
3226a53b0260eda1074514581a32c9e2672291a8 | 116 | 2021-06-23 15:37:01-07:00 | 25,200 | ['4b0dd07634efc02aa07fc036b73c8cb5625311bf'] | docs: update CHANGELOG process | [{'old_path': '.github/PULL_REQUEST_TEMPLATE.md', 'new_path': '.github/PULL_REQUEST_TEMPLATE.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,6 +5,4 @@ If there is no existing issue, please first create one unless the fix is minor.\n Please make sure the base of your PR is the default branch!\n -->\n \n-## Che... | TypeScript |
1b288f91e4fc537c2571be42cfd1dbd72f080d23 | 71 | 2021-06-24 16:21:28+00:00 | 0 | ['4b0dd07634efc02aa07fc036b73c8cb5625311bf'] | docs: move README to docs | [{'old_path': 'README.md', 'new_path': 'docs/README.md', 'type': <ModificationType.RENAME: 3>, 'diff': '@@ -5,7 +5,7 @@\n \n Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and access it in the browser.\n \n-\n+\... | TypeScript |
2d467b4fbc772f700c30710b59bc6db2ab54bb96 | 71 | 2021-06-24 16:55:02+00:00 | 0 | ['1b288f91e4fc537c2571be42cfd1dbd72f080d23'] | Wrapping the badges on div | [{'old_path': 'docs/README.md', 'new_path': 'docs/README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,7 +1,12 @@\n-# code-server · [](https://github.com/cdr/code-server/dis... | TypeScript |
18f90a7832f300a15cfb6c44446e4317d7117f8d | 71 | 2021-06-24 16:56:46+00:00 | 0 | ['2d467b4fbc772f700c30710b59bc6db2ab54bb96'] | Unwrap badges and remove break lines | [{'old_path': 'docs/README.md', 'new_path': 'docs/README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,12 +1,6 @@\n # code-server ·\n \n-<div class="badges">\n- [](https://... | TypeScript |
010c1d8f2f7750d69679bf546e62f9c3bf87f0e4 | 71 | 2021-06-28 14:16:20+00:00 | 0 | ['952aafff57da6d65b3705fe87cb950fe01e6c74f'] | Fix README path on build-release | [{'old_path': 'ci/build/build-release.sh', 'new_path': 'ci/build/build-release.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,7 +22,7 @@ main() {\n bundle_code_server\n bundle_vscode\n \n- rsync README.md "$RELEASE_PATH"\n+ rsync ./docs/README.md "$RELEASE_PATH"\n rsync LICENSE.txt "$RELEASE_PATH"\n... | TypeScript |
be7ea8f3f76230c76bb3ea6d5c8f4bdc407a32ea | 116 | 2021-06-28 11:41:45-07:00 | 25,200 | ['df01808d4d19a634203db744b6069e48dde1f8d9'] | refactor: migrate parcel to browserify
This also refactors a couple CSS stylesheets to be referenced directly in the
HTML files.
And it removes any CSS imports from src/browser files. | [{'old_path': '.gitignore', 'new_path': '.gitignore', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,6 +1,5 @@\n .tsbuildinfo\n .cache\n-dist*\n /out*/\n release/\n release-npm-package/\n'}, {'old_path': 'CHANGELOG.md', 'new_path': 'CHANGELOG.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -65,6 +65,7 @@ V... | TypeScript |
b597519ab5ead3a12efef179fd32bb575a0bd11f | 116 | 2021-06-28 11:41:48-07:00 | 25,200 | ['be7ea8f3f76230c76bb3ea6d5c8f4bdc407a32ea'] | feat(test): add tests for src/browser/login | [{'old_path': None, 'new_path': 'test/browser/pages/login.test.ts', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,69 @@\n+import { JSDOM } from "jsdom"\n+import { LocationLike } from "../../unit/util.test"\n+\n+describe("login", () => {\n+ describe("there is an element with id \'base\'", () => {\n+ beforeE... | TypeScript |
6e1455da88966b86adcf8423bc10b2880c5e2c8b | 116 | 2021-06-28 11:41:48-07:00 | 25,200 | ['b597519ab5ead3a12efef179fd32bb575a0bd11f'] | feat: add custom codecov | [{'old_path': None, 'new_path': '.github/codecov.yml', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,21 @@\n+codecov:\n+ require_ci_to_pass: yes\n+ allow_coverage_offsets: True\n+\n+coverage:\n+ precision: 2\n+ round: down\n+ range: "70...100"\n+\n+parsers:\n+ gcov:\n+ branch_detection:\n+ condit... | TypeScript |
ba0364a5228a8a4f3c7ddb37af461428c3a66fc8 | 67 | 2021-06-29 12:03:37-05:00 | 18,000 | ['4a47ce774dbe554a1cc0e6bd7fa0deb66749131f'] | Run each e2e test in a new workspace
The workspaces also have settings to prevent the welcome page from
appearing. | [{'old_path': 'test/e2e/models/CodeServer.ts', 'new_path': 'test/e2e/models/CodeServer.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,21 +1,24 @@\n+import { promises as fs } from "fs"\n+import * as path from "path"\n import { Page } from "playwright"\n-import { CODE_SERVER_ADDRESS } from "../../utils/constan... | TypeScript |
add55ecd62725d71b44c9957b4b604bd0ec24984 | 67 | 2021-06-29 12:03:38-05:00 | 18,000 | ['ba0364a5228a8a4f3c7ddb37af461428c3a66fc8'] | Import utils as a group in tests
This should simplify testing new utils a bit. | [{'old_path': 'test/unit/node/util.test.ts', 'new_path': 'test/unit/node/util.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,14 +1,4 @@\n-import {\n- hash,\n- isHashMatch,\n- handlePasswordValidation,\n- PasswordMethod,\n- getPasswordMethod,\n- hashLegacy,\n- isHashLegacyMatch,\n- isCookieValid,... | TypeScript |
49c44818d926e6c339e008809c4ecac7bb636997 | 67 | 2021-06-29 12:04:31-05:00 | 18,000 | ['add55ecd62725d71b44c9957b4b604bd0ec24984'] | Move onLine to utilities
This way it can be used by the tests when spawning code-server on a
random port to look for the address. | [{'old_path': 'ci/dev/watch.ts', 'new_path': 'ci/dev/watch.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,6 +2,7 @@ import browserify from "browserify"\n import * as cp from "child_process"\n import * as fs from "fs"\n import * as path from "path"\n+import { onLine } from "../../src/node/util"\n \n async fun... | TypeScript |
da4de439e0d4fd2bf5bc6fd843691987e741871c | 67 | 2021-06-29 12:06:38-05:00 | 18,000 | ['49c44818d926e6c339e008809c4ecac7bb636997'] | Spawn a code-server instance for each test suite
This uses the current dev build by default but can be overidden with
CODE_SERVER_TEST_ENTRY (for example to test a release or some other
version).
Each instance has a separate state directory. This should make
parallelization work.
This also means you are no longer re... | [{'old_path': '.github/workflows/ci.yaml', 'new_path': '.github/workflows/ci.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -334,8 +334,9 @@ jobs:\n needs: package-linux-amd64\n runs-on: ubuntu-latest\n env:\n- PASSWORD: e45432jklfdsab\n- CODE_SERVER_ADDRESS: http://localhost:8080\n+ ... | TypeScript |
f2fa7701a965e95a11be2a22676629d8f0f3615c | 67 | 2021-06-29 12:06:45-05:00 | 18,000 | ['da4de439e0d4fd2bf5bc6fd843691987e741871c'] | Centralize credential handling
My thinking is that this may reduce the cognitive overhead for
developers writing new test suites.
This also allows us to perform different setup steps (like ensuring the
editor is visible when authenticated). | [{'old_path': 'test/e2e/baseFixture.ts', 'new_path': 'test/e2e/baseFixture.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,8 +6,10 @@ import { CodeServer, CodeServerPage } from "./models/CodeServer"\n * Wraps `test.describe` to create and manage an instance of code-server. If you\n * don\'t use this you wil... | TypeScript |
49c7cc6e8a11bcfb6e462d1e4c898952c0e0b637 | 67 | 2021-06-29 12:06:46-05:00 | 18,000 | ['f2fa7701a965e95a11be2a22676629d8f0f3615c'] | Retain failed e2e videos only | [{'old_path': 'test/playwright.config.ts', 'new_path': 'test/playwright.config.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,7 +12,7 @@ const config: PlaywrightTestConfig = {\n // Put any shared options on the top level.\n use: {\n headless: true, // Run tests in headless browsers.\n- video: "on... | TypeScript |
43c6ffcb8f18719bcb5b36c831a918387acf84db | 67 | 2021-06-29 12:06:47-05:00 | 18,000 | ['49c7cc6e8a11bcfb6e462d1e4c898952c0e0b637'] | Remove login steps from logout test
I figure login is already tested so we can skip this and just use the
cookie. | [{'old_path': 'test/e2e/logout.test.ts', 'new_path': 'test/e2e/logout.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,19 +1,7 @@\n-import { PASSWORD } from "../utils/constants"\n import { describe, test, expect } from "./baseFixture"\n \n-describe("logout", false, () => {\n- test("should be able login a... | TypeScript |
2238d7391e73cf08d6dad1ce33372ddb7f4d55ee | 67 | 2021-06-29 12:06:48-05:00 | 18,000 | ['43c6ffcb8f18719bcb5b36c831a918387acf84db'] | Fix occasional logout failure
It seems a dialog sometimes appears asking if you want to lose
changes (even though we have no changes; it seems based on timers in
some way). Playwright defaults to dismissing them (so quickly you might
not even see them) so accepting instead fixes navigation to the logout
page getting c... | [{'old_path': 'test/e2e/baseFixture.ts', 'new_path': 'test/e2e/baseFixture.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -56,6 +56,11 @@ export const test = base.extend<TestFixtures>({\n authenticated: false,\n codeServer: undefined, // No default; should be provided through `test.use`.\n codeServerPage:... | TypeScript |
6dbabc09515e028fd65b54748addb6bba03c58c1 | 71 | 2021-06-29 15:25:22-03:00 | 10,800 | ['f92cbb7470cb0ba178042dd5467c0452e2baf243'] | docs: Update README to point to code-server docs site (#3684) | [{'old_path': 'docs/README.md', 'new_path': 'docs/README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,6 +1,6 @@\n # code-server\n \n-[](https://github.com/cdr/code-server/discussi... | TypeScript |
f194c14e6cf396c1736bbc3c782d4326a262af71 | 143 | 2021-06-29 14:36:25-04:00 | 14,400 | ['6dbabc09515e028fd65b54748addb6bba03c58c1'] | docs: fix relative guide link | [{'old_path': 'docs/README.md', 'new_path': 'docs/README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -19,7 +19,7 @@ For a good experience, we recommend at least:\n - 1 GB of RAM\n - 2 cores\n \n-You can use whatever linux distribution floats your boat but in our [guide](./guide.md) we assume Debian on Google... | TypeScript |
33dbb7b707108bfda0613d8ab49aea1e60423e98 | 40 | 2021-06-29 16:43:57-04:00 | 14,400 | ['6dbabc09515e028fd65b54748addb6bba03c58c1'] | Fix broken link on docs site
Links don't work on docs site unless they have md formatting. | [{'old_path': 'docs/install.md', 'new_path': 'docs/install.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -217,7 +217,7 @@ Our official image supports `amd64` and `arm64`.\n \n For `arm32` support there is a popular community maintained alternative:\n \n-https://hub.docker.com/r/linuxserver/code-server\n+[https... | TypeScript |
e9d4f877f9465c554cfe50692c6f5010535776da | 30 | 2021-06-30 11:14:04-05:00 | 18,000 | ['d2f0e1738d3680de3b9a4a9b4c450f2f8b1071db'] | Update links to careers page (#3696) | [{'old_path': 'docs/README.md', 'new_path': 'docs/README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -69,7 +69,7 @@ See [CONTRIBUTING](https://coder.com/docs/code-server/v3.10.2/CONTRIBUTING) for\n \n ## Hiring\n \n-Interested in [working at Coder](https://coder.com)? Check out [our open positions](https://j... | TypeScript |
7f12fab3ca456d15dccce376c3dd0f9da1941f25 | 116 | 2021-06-30 15:00:21-07:00 | 25,200 | ['e9d4f877f9465c554cfe50692c6f5010535776da'] | 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 functio... | [{'old_path': 'src/node/util.ts', 'new_path': 'src/node/util.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -166,14 +166,13 @@ export const hash = async (password: string): Promise<string> => {\n * Used to verify if the password matches the hash\n */\n export const isHashMatch = async (password: string, hash:... | TypeScript |
8695c874ed7c11ab419f1e2fcafb68f665128698 | 116 | 2021-06-30 15:16:55-07:00 | 25,200 | ['e9d4f877f9465c554cfe50692c6f5010535776da'] | fix: add timeouts to ci jobs | [{'old_path': '.github/workflows/ci.yaml', 'new_path': '.github/workflows/ci.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,8 +16,9 @@ on:\n \n jobs:\n prebuild:\n- name: Pre-build checks\n+ name: Pre-Build checks\n runs-on: ubuntu-latest\n+ timeout-minutes: 5\n env:\n CODECOV_TOK... | TypeScript |
b009ad0633dd887648cc9f5188d01065eb0cfab5 | 116 | 2021-07-01 10:37:32-07:00 | 25,200 | ['faa896c12c7dfa8a020e52b59f8d30118c81fa8c'] | docs(guide): add WebSockets to requirements | [{'old_path': 'docs/guide.md', 'new_path': 'docs/guide.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -45,6 +45,8 @@ For a good experience, we recommend at least:\n \n You can use whatever linux distribution floats your boat but in this guide we assume Debian on Google Cloud.\n \n+In order to work properly, you... | TypeScript |
c505fc45a84623dc76dfb2884bf8229f17d50af1 | 116 | 2021-07-01 10:43:36-07:00 | 25,200 | ['faa896c12c7dfa8a020e52b59f8d30118c81fa8c'] | 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. | [{'old_path': 'src/node/routes/login.ts', 'new_path': 'src/node/routes/login.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,7 +4,7 @@ import { RateLimiter as Limiter } from "limiter"\n import * as path from "path"\n import { rootPath } from "../constants"\n import { authenticated, getCookieDomain, redirect, ... | TypeScript |
22a22a8f7a2f2d5fd74d5763d4a18875bcd13452 | 116 | 2021-07-01 10:43:37-07:00 | 25,200 | ['c505fc45a84623dc76dfb2884bf8229f17d50af1'] | fix: escape error.message on login failure | [{'old_path': 'src/node/routes/login.ts', 'new_path': 'src/node/routes/login.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -41,7 +41,7 @@ const getRoot = async (req: Request, error?: Error): Promise<string> => {\n req,\n content\n .replace(/{{PASSWORD_MSG}}/g, passwordMsg)\n- .replace(/{{ERR... | TypeScript |
2092f82270b32522b67a4677d00b06f48cf46e09 | 116 | 2021-07-01 10:43:37-07:00 | 25,200 | ['22a22a8f7a2f2d5fd74d5763d4a18875bcd13452'] | fixup! fix: escape error.message on login failure | [{'old_path': 'src/node/util.ts', 'new_path': 'src/node/util.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -520,5 +520,5 @@ export function escapeHtml(unsafe: string): string {\n .replace(/</g, "<")\n .replace(/>/g, ">")\n .replace(/"/g, """)\n- .replace(/\'/g, "'")\n+ .replac... | TypeScript |
2ba03c3424144ce625a328c95251553597d9c460 | 116 | 2021-07-01 10:43:37-07:00 | 25,200 | ['2092f82270b32522b67a4677d00b06f48cf46e09'] | docs: clarify redirect function in http.ts usage | [{'old_path': 'src/node/http.ts', 'new_path': 'src/node/http.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -100,7 +100,8 @@ export const relativeRoot = (req: express.Request): string => {\n }\n \n /**\n- * Redirect relatively to `/${to}`. Query variables will be preserved.\n+ * Redirect relatively to `/${to}`.... | TypeScript |
c0e123a8012c8fd0aa0bbce3edbcf1e25f63eea4 | 116 | 2021-07-01 10:43:37-07:00 | 25,200 | ['2ba03c3424144ce625a328c95251553597d9c460'] | fix(http): escape req.query.to in replaceTemplates | [{'old_path': 'src/node/http.ts', 'new_path': 'src/node/http.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -7,7 +7,7 @@ import { normalize, Options } from "../common/util"\n import { AuthType, DefaultedArgs } from "./cli"\n import { commit, rootPath } from "./constants"\n import { Heart } from "./heart"\n-impo... | TypeScript |
4ca4a26bec3d4abca27fa4aa47ca87c045a174a5 | 116 | 2021-07-01 15:21:55-07:00 | 25,200 | ['ad92287d7eaa0622b036e955ca4dcbe130794572'] | docs(install): add troubleshooting node issues | [{'old_path': 'docs/install.md', 'new_path': 'docs/install.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -17,6 +17,7 @@\n - [Docker](#docker)\n - [helm](#helm)\n - [Cloud Providers](#cloud-providers)\n+- [Troubleshooting Node Issues](#troubleshooting-node-issues)\n \n <!-- END doctoc generated TOC please keep ... | TypeScript |
5a6af177256056e316d0056b291fb3a8159c5776 | 116 | 2021-07-01 15:50:31-07:00 | 25,200 | ['1ff09b814e16833ac32757e0820d771ea4e04450'] | fix: modify install script for alpine | [{'old_path': 'install.sh', 'new_path': 'install.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -58,7 +58,7 @@ Usage:\n - If Homebrew is not installed it will install the latest standalone release\n into ~/.local\n \n-- For FreeBSD, it will install the npm package with yarn or npm.\n+- For FreeBSD or Alpi... | TypeScript |
908b2c8502a5a5d6ef27bd1397e6b7d3dea7abcc | 116 | 2021-07-02 10:29:49-07:00 | 25,200 | ['5a6af177256056e316d0056b291fb3a8159c5776'] | fix: use new docs links in install script | [{'old_path': 'install.sh', 'new_path': 'install.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,7 +2,7 @@\n set -eu\n \n # code-server\'s automatic install script.\n-# See https://github.com/cdr/code-server/blob/main/docs/install.md\n+# See https://github.com/cdr/code-server/blob/main/docs/install\n \n usage... | TypeScript |
002fa0822207314c29e1dffea85c2839b2b27715 | 116 | 2021-07-02 11:14:36-07:00 | 25,200 | ['f8a1a1ce021cdb6757d309ddef456b2c394e5c58'] | chore: fix broken link in install.sh | [{'old_path': 'install.sh', 'new_path': 'install.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,7 +2,7 @@\n set -eu\n \n # code-server\'s automatic install script.\n-# See https://github.com/cdr/code-server/blob/main/docs/install\n+# See https://coder.com/docs/code-server/v3.10.2/install\n \n usage() {\n a... | TypeScript |
f3c4dcd074294ac6ff008912ffba8b1961540e0f | 116 | 2021-07-02 14:27:12-07:00 | 25,200 | ['58514c422f9c39b9affcdc2c87c4c5b1f70f1d59'] | feat(test): try calling .dispose() x2 in emitter | [{'old_path': 'test/unit/emitter.test.ts', 'new_path': 'test/unit/emitter.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -41,7 +41,7 @@ describe("emitter", () => {\n \n // Register the onHelloWorld listener\n // and the onGoodbyeWorld\n- emitter.event(onHelloWorld)\n+ const _onHelloWorld = em... | TypeScript |
7ad536b5e9f60c5fa2c0f0c4429b30e870fdfcae | 116 | 2021-07-02 14:57:16-07:00 | 25,200 | ['b3658303888814ee4ea17d005edcb3504fe43600'] | feat(test): check login.ts when base missing | [{'old_path': 'test/browser/pages/login.test.ts', 'new_path': 'test/browser/pages/login.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -42,4 +42,49 @@ describe("login", () => {\n expect(el?.value).toBe("/hello-world")\n })\n })\n+ describe("there is not an element with id \'base\'", () => {\n+... | TypeScript |
2540b0d02cc0c070104137a36e289bde007e4119 | 116 | 2021-07-06 12:53:53-07:00 | 25,200 | ['102f8117b7aac10c1e7f68a37fbc3dc86f595957'] | docs(guide): add note for exposing address NGINX | [{'old_path': 'docs/guide.md', 'new_path': 'docs/guide.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -261,6 +261,8 @@ Make sure to substitute `me@example.com` with your actual email.\n \n Visit `https://<your-domain-name>` to access `code-server`. Congratulations!\n \n+Note: if you set `proxy_set_header Host $... | TypeScript |
990414cae17967691fdbb2cd016ef9c4bafece30 | 116 | 2021-07-06 14:05:27-07:00 | 25,200 | ['102f8117b7aac10c1e7f68a37fbc3dc86f595957'] | fix: openFolder by using command ID for Explorer | [{'old_path': 'lib/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.ts', 'new_path': 'lib/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -303,9 +303,15 @@ viewsRegistry.registerViewWelcomeContent(EmptyView.ID, {\n \torder: 1\n });\n \n+/... | TypeScript |
0b072e771ebed7f55bcb75bf4e9ad3194172dde1 | 116 | 2021-07-06 16:38:45-07:00 | 25,200 | ['6f7ae29dc443c93f8e74f9f5129cd5ad6afb527e'] | chore: remove unused dependencies and clean up test deps | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -52,7 +52,6 @@\n "@types/tar-fs": "^2.0.0",\n "@types/tar-stream": "^2.1.0",\n "@types/ws": "^7.2.6",\n- "@types/wtfnode": "^0.7.0",\n "@typescript-eslint/eslint-plugin": "^4.7.0",\n "@type... | TypeScript |
66dc4cc0dc23b5fce65a8a35dd4f4ffc0084d962 | 116 | 2021-07-08 11:24:04-07:00 | 25,200 | ['197bccc7cd9b0e80da4b17fadb20ccc2d0bd446c'] | feat: add setBodyBackgroundToThemeBackgroundColor
This refactors some logic in src/browser/pages/vscode.ts
related to setting the background color of the body
to the editor background theme color. | [{'old_path': 'src/browser/pages/vscode.ts', 'new_path': 'src/browser/pages/vscode.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -95,8 +95,64 @@ try {\n console.error(error)\n }\n \n+export function setBodyBackgroundToThemeBackgroundColor(document: Document, localStorage: Storage) {\n+ const errorMsgPrefix ... | TypeScript |
632f980baecfbdbd7f53d63d894fa903814ae659 | 116 | 2021-07-08 14:05:46-07:00 | 25,200 | ['15d256b429d03fe35bcb3884dc47f69977182a4b'] | fix(dependabot): ignore updates for node 16.x | [{'old_path': '.github/dependabot.yml', 'new_path': '.github/dependabot.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -19,7 +19,7 @@ updates:\n time: "11:00"\n ignore:\n - dependency-name: "@types/node"\n- versions: ["15.x", "14.x", "13.x"]\n+ update-types: ["version-update:semve... | TypeScript |
fd042107b23bdf5e468143e501f83bcf9083b895 | 116 | 2021-07-09 12:16:53-07:00 | 25,200 | ['2a5f5e4e18012b7b946132ceb7b80cefa83eb037'] | docs(faq): add line about password login limits | [{'old_path': 'docs/FAQ.md', 'new_path': 'docs/FAQ.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,6 +33,7 @@\n - [How do I access my Documents/Downloads/Desktop folders in code-server on OSX?](#how-do-i-access-my-documentsdownloadsdesktop-folders-in-code-server-on-osx)\n - [Differences compared to Theia?](#... | TypeScript |
66b6590e36b32fe618a9ebeb3f773906043253d8 | 124 | 2021-07-12 14:03:09-05:00 | 18,000 | ['a96e16e593bd7e8013ceafdd902025186cfe8926'] | refactor(docs): clean up and restructure | [{'old_path': 'docs/CONTRIBUTING.md', 'new_path': 'docs/CONTRIBUTING.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,17 +2,16 @@\n <!-- DON\'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n # Contributing\n \n-- [Pull Requests](#pull-requests)\n- - [Commits](#commits)\n - [Requirements](#requiremen... | TypeScript |
7ce9ee0db6120cdc9bcae8c877b92bf788d79820 | 116 | 2021-07-12 16:39:42-07:00 | 25,200 | ['c14500849b1379161325aef87edf1fee86fe7e20'] | fix: check path is string in pathToFsPath
There's a chance this function can be called with a path that is not a string.
To catch that, we check if path is of a different type and throw an error if it
is.
This also adds a couple tests for this function. | [{'old_path': 'src/node/util.ts', 'new_path': 'src/node/util.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -10,6 +10,7 @@ import * as path from "path"\n import safeCompare from "safe-compare"\n import * as util from "util"\n import xdgBasedir from "xdg-basedir"\n+import { getFirstString } from "../common/util"... | TypeScript |
fc16f7e06d431a31dcbaf7c3ea217a6721132697 | 116 | 2021-07-12 17:05:44-07:00 | 25,200 | ['a5cf01840a2ab297b56c2163afff7137db5626f6'] | refactor: clean up testing files | [{'old_path': 'test/browser/pages/login.test.ts', 'new_path': 'test/unit/browser/pages/login.test.ts', 'type': <ModificationType.RENAME: 3>, 'diff': '@@ -1,5 +1,5 @@\n import { JSDOM } from "jsdom"\n-import { LocationLike } from "../../unit/util.test"\n+import { LocationLike } from "../../util.test"\n \n describe("logi... | TypeScript |
6045fdd3ac3c92b1b19c785cbce26da041227b75 | 67 | 2021-07-13 12:22:05-05:00 | 18,000 | ['24f6834f5bdbca361db761468ef73f090dc430cf'] | Make installer work on any os/arch | [{'old_path': 'install.sh', 'new_path': 'install.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -14,7 +14,7 @@ usage() {\n fi\n \n cath << EOF\n-Installs code-server for Linux, macOS and FreeBSD.\n+Installs code-server.\n It tries to use the system package manager if possible.\n After successful installatio... | TypeScript |
3339853c26cf5b0f85b3619dac666e38c1d9efcd | 67 | 2021-07-13 12:22:06-05:00 | 18,000 | ['6045fdd3ac3c92b1b19c785cbce26da041227b75'] | Avoid root when prefix is writable
Previously if the prefix was non-existent we would switch to root even
if the user does have the permissions to create the directory.
Fixes #3585 | [{'old_path': '.github/workflows/installer.yml', 'new_path': '.github/workflows/installer.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,6 +24,24 @@ jobs:\n - name: Test code-server\n run: yarn test:standalone-release code-server\n \n+ alpine:\n+ name: Test installer on Alpine\n+ runs-... | TypeScript |