Search is not available for this dataset
hash string | author int32 | committer_date string | timezone int64 | parents string | message string | changes string | language string |
|---|---|---|---|---|---|---|---|
500ba924667bef2f6941270f35952d1cb16c47d2 | 64 | 2021-01-14 22:40:33+00:00 | 0 | ['d9508946b5e74bcdb853d8d0bcea1e5d68d49fd9'] | fix: style links with correct colors | [{'old_path': 'lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.ts', 'new_path': 'lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsViewlet.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -32,7 +32,7 @@ import { IProgressService, ProgressLocation } from \'vs/platform/progre... | TypeScript |
28c73406081eb7c143629e2dd7cef3a93a24af86 | 96 | 2021-01-18 11:28:29-05:00 | 28,800 | ['3394ece1074faa73629d886bcef3f6131eb6de15'] | Fix Close Folder/Workspace (#2532)
When you choose to close the current folder, it doesn't close properly
because the lastVisiited setting is still use. This fixes that. | [{'old_path': 'src/node/vscode.ts', 'new_path': 'src/node/vscode.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -43,7 +43,7 @@ export class VscodeProvider {\n options.args._ && options.args._.length > 0\n ? { url: path.resolve(options.args._[options.args._.length - 1]) }\n : undefined,\n- ... | TypeScript |
d234ddc1e1d4f9c0fe963e63095864410977d969 | 55 | 2021-01-18 11:29:18-05:00 | 18,000 | ['28c73406081eb7c143629e2dd7cef3a93a24af86'] | vscode.ts: Fix close current folder
Fixes VscodeProvider to correctly obey the ew parameter.
Based on changes by @rdbeach. See the previous commit. | [{'old_path': 'src/node/vscode.ts', 'new_path': 'src/node/vscode.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -37,15 +37,19 @@ export class VscodeProvider {\n query: ipc.Query,\n ): Promise<ipc.WorkbenchOptions> {\n const { lastVisited } = await settings.read()\n- const startPath = await this.get... | TypeScript |
f169e3ac665c9180455f66a5acea0f2257837c66 | 55 | 2021-01-20 02:06:43-05:00 | 18,000 | ['eae285cf937d5feb24f21dd7d46f5578479eef3c'] | pathProxy.ts: Implement --proxy-path-passthrough
Closes #2222 | [{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -50,6 +50,7 @@ export interface Args extends VsArgs {\n "show-versions"?: boolean\n "uninstall-extension"?: string[]\n "proxy-domain"?: string[]\n+ "proxy-path-passthrough"?: boolean\n locale?: str... | TypeScript |
497b01bffe176453ffc25cf83854180377d8077e | 55 | 2021-01-20 02:06:43-05:00 | 18,000 | ['f169e3ac665c9180455f66a5acea0f2257837c66'] | FAQ.md: Document --proxy-path-passthrough
And the concerns surrounding it.
Closes #2485 | [{'old_path': 'doc/FAQ.md', 'new_path': 'doc/FAQ.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -15,6 +15,7 @@\n - [How do I securely access web services?](#how-do-i-securely-access-web-services)\n - [Sub-paths](#sub-paths)\n - [Sub-domains](#sub-domains)\n+- [Why does the code-server proxy strip `/proxy/<p... | TypeScript |
ba4a24809c6273a3c449c1608193e3e1523bcedc | 55 | 2021-01-20 02:06:43-05:00 | 18,000 | ['497b01bffe176453ffc25cf83854180377d8077e'] | routes/index.ts: Correctly register wsErrorHandler
express requires all 4 arguments to be declared for a error handler.
It's very unfortunate that our types do not handle this. | [{'old_path': 'src/node/routes/index.ts', 'new_path': 'src/node/routes/index.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -165,7 +165,7 @@ export const register = async (\n \n app.use(errorHandler)\n \n- const wsErrorHandler: express.ErrorRequestHandler = async (err, req) => {\n+ const wsErrorHandler: exp... | TypeScript |
9efcf7f3ce62c90fa7ed52d1a9c5e000c10091cb | 55 | 2021-01-20 02:06:43-05:00 | 18,000 | ['ba4a24809c6273a3c449c1608193e3e1523bcedc'] | FAQ.md: Document wds problem with create-react-app and pathProxy.ts | [{'old_path': 'doc/FAQ.md', 'new_path': 'doc/FAQ.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -239,6 +239,12 @@ create-react-app of the path at which you are serving via `homepage` field in yo\n Then visit `https://my-code-server-address.io/proxy/3000` to see your app exposed through\n code-server!\n \n+Unfor... | TypeScript |
ea1949e4406ed4ecaeacdf4b45ee8fb8e54f2747 | 55 | 2021-01-20 02:06:43-05:00 | 18,000 | ['9efcf7f3ce62c90fa7ed52d1a9c5e000c10091cb'] | test: Add testutil.HttpServer
The goal is to remove supertest as it does not support typescript well
and there's really no good reason for the dependency. Also no websocket
testing support. | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -38,13 +38,13 @@\n "@types/js-yaml": "^3.12.3",\n "@types/mocha": "^8.0.3",\n "@types/node": "^12.12.7",\n+ "@types/node-fetch": "^2.5.7",\n "@types/parcel-bundler": "^1.12.1",\n "@types/pe... | TypeScript |
8acb2aec113edfce0e9734dd463b361a6d00be20 | 55 | 2021-01-20 02:06:43-05:00 | 18,000 | ['ea1949e4406ed4ecaeacdf4b45ee8fb8e54f2747'] | plugin.test.ts: Switch to testutil.HttpServer | [{'old_path': 'test/plugin.test.ts', 'new_path': 'test/plugin.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,11 +1,12 @@\n import { logger } from "@coder/logger"\n+import * as assert from "assert"\n import * as express from "express"\n import * as fs from "fs"\n import { describe } from "mocha"\n import... | TypeScript |
d3074278ca26102650e728fd4102b5b1cc330997 | 55 | 2021-01-20 02:06:43-05:00 | 18,000 | ['8acb2aec113edfce0e9734dd463b361a6d00be20'] | app.ts: Fix createApp to log all http server errors
cc @code-asher | [{'old_path': 'src/common/util.ts', 'new_path': 'src/common/util.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -112,3 +112,11 @@ export const getFirstString = (value: string | string[] | object | undefined): s\n \n return typeof value === "string" ? value : undefined\n }\n+\n+export function logError(prefix:... | TypeScript |
64e915de4a8431932da71c3530dbfefdfa14347b | 55 | 2021-01-20 02:06:44-05:00 | 18,000 | ['d3074278ca26102650e728fd4102b5b1cc330997'] | test: Rename testutil.ts to httpserver.ts | [{'old_path': 'test/testutil.ts', 'new_path': 'test/httpserver.ts', 'type': <ModificationType.RENAME: 3>, 'diff': ''}, {'old_path': 'test/plugin.test.ts', 'new_path': 'test/plugin.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,7 +6,7 @@ import { describe } from "mocha"\n import * as path from "path"\n i... | TypeScript |
240c8e266ed0e18517e5c98e0ab270ce63b6e446 | 55 | 2021-01-20 02:06:44-05:00 | 18,000 | ['64e915de4a8431932da71c3530dbfefdfa14347b'] | test: Implement integration.ts for near full stack integration testing | [{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -244,7 +244,7 @@ export const optionDescriptions = (): string[] => {\n export const parse = (\n argv: string[],\n opts?: {\n- configFile: string\n+ configFile?: string\n },\n ): Args => {\n co... | TypeScript |
c32d8b155ff0395ccee10275b88dec935736e4ea | 55 | 2021-01-20 02:06:44-05:00 | 18,000 | ['5c06646f5804603ee6ef7104ac858872a3fbda35'] | heart.ts: Fix leak when server closes
This had me very confused for quite a while until I did a binary search
inspection on route/index.ts. Only with the heart.beat line commented
out did my tests pass without leaking.
They weren't leaking fds but just this heartbeat timer and node of
course prints just fds that are ... | [{'old_path': 'src/node/heart.ts', 'new_path': 'src/node/heart.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -45,4 +45,13 @@ export class Heart {\n })\n }, this.heartbeatInterval)\n }\n+\n+ /**\n+ * Call to clear any heartbeatTimer for shutdown.\n+ */\n+ public dispose(): void {\n+ if (t... | TypeScript |
c52198f30d93dddf0cddf7abaf0dd6694797200b | 110 | 2021-01-20 13:03:13-05:00 | -3,600 | ['28e98c0ee0a737a991fe4dae997d15dc99b49fae'] | install.sh: Fix usage of su (#2529)
See also https://github.com/cdr/code-server/pull/2529#issuecomment-763829674 | [{'old_path': 'install.sh', 'new_path': 'install.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -525,7 +525,7 @@ sudo_sh_c() {\n elif command_exists sudo; then\n sh_c "sudo $*"\n elif command_exists su; then\n- sh_c "su -c \'$*\'"\n+ sh_c "su - -c \'$*\'"\n else\n echoh\n echoerr "This s... | TypeScript |
de7d0394ae6f4d0a162c61e8fb8689bf2051058b | 64 | 2021-01-21 10:10:32-07:00 | 0 | ['cef7d426524d7cd1ec573f3227a474ea2deb0459'] | refactor: tests from mocha to jest | [{'old_path': 'test/cli.test.ts', 'new_path': 'test/cli.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -31,8 +31,7 @@ describe("parser", () => {\n }\n \n it("should parse nothing", () => {\n- expect(parse([])).toBe({ _: [] })\n- })\n+ expect(parse([])).toStrictEqual({ _: [] }) })\n \n it("shou... | TypeScript |
0a07d67c8d85ac5aab54c31e819fc80cd91ee4a8 | 64 | 2021-01-21 10:11:09-07:00 | 0 | ['bea8bb0519db0f1110aa52521dac0347ebd36e67'] | fix: prevent mocha/jest types conlict
Modify the tsconfig.json in lib/vscode/src/build.
This adds the flag skipLibCheck: true to tell TypeScript
to not type-check the declaration files at build time.
We need to add this because otherwise it checks the declaration
files and reports an error of duplicate type definiti... | [{'old_path': 'jest.config.js', 'new_path': 'jest.config.js', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,5 @@\n module.exports = {\n- preset: \'ts-jest\',\n- testEnvironment: \'node\',\n- testPathIgnorePatterns: ["/node_modules/", "lib/vscode/"]\n-};\n+ preset: "ts-jest",\n+ testEnvironment: "node",... | TypeScript |
75717749b26bb33e026ac2b52eea6cee4a6203b0 | 64 | 2021-01-21 10:11:09-07:00 | 25,200 | ['0a07d67c8d85ac5aab54c31e819fc80cd91ee4a8'] | refactor: upgrade TS to 4.1.3 | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -62,7 +62,7 @@\n "stylelint": "^13.0.0",\n "stylelint-config-recommended": "^3.0.0",\n "ts-node": "^9.0.0",\n- "typescript": "4.0.2"\n+ "typescript": "^4.1.3"\n },\n "resolutions": {\n "... | TypeScript |
f13ba9401b77302e1dc32e78657cf9cf22650805 | 64 | 2021-01-21 10:11:10-07:00 | 25,200 | ['75717749b26bb33e026ac2b52eea6cee4a6203b0'] | fix(TS error): add void to promise in util | [{'old_path': 'src/node/util.ts', 'new_path': 'src/node/util.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -187,7 +187,7 @@ export const open = async (url: string): Promise<void> => {\n url = url.replace(/&/g, "^&")\n }\n const proc = cp.spawn(command, [...args, url], options)\n- await new Promise((re... | TypeScript |
6bf51caa17b5eb50b5b71fc7615e1c0022ad49f4 | 64 | 2021-01-21 10:11:10-07:00 | 25,200 | ['f13ba9401b77302e1dc32e78657cf9cf22650805'] | fix(app.ts): resolve with server | [{'old_path': 'src/node/app.ts', 'new_path': 'src/node/app.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -46,10 +46,10 @@ export const createApp = async (args: DefaultedArgs): Promise<[Express, Express,\n logger.error(error.message)\n }\n }\n- server.listen(args.socket, resolve)\n+... | TypeScript |
850c7e1a91864fd448f1d53a1367402e2cf0aaa4 | 116 | 2021-01-21 10:11:10-07:00 | 25,200 | ['6bf51caa17b5eb50b5b71fc7615e1c0022ad49f4'] | fix: add void for resolve in socket test | [{'old_path': 'test/socket.test.ts', 'new_path': 'test/socket.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -55,7 +55,7 @@ describe("SocketProxyProvider", () => {\n const socketPath = await provider.findFreeSocketPath(path.join(tmpdir, "tests/tls-socket-proxy"))\n await fs.remove(socketPath)\n \n-... | TypeScript |
646ee3ad7fd8a73d68013e5b7fb9d35079751909 | 116 | 2021-01-21 10:11:56-07:00 | 25,200 | ['850c7e1a91864fd448f1d53a1367402e2cf0aaa4'] | refactor: correct type signature in app.ts | [{'old_path': 'src/node/app.ts', 'new_path': 'src/node/app.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,7 +24,7 @@ export const createApp = async (args: DefaultedArgs): Promise<[Express, Express,\n : http.createServer(app)\n \n let resolved = false\n- await new Promise<http.Server>(async (resolve2,... | TypeScript |
883dd13850cebc83531dfb79da6d15c2f89841a7 | 116 | 2021-01-21 14:06:49-07:00 | 25,200 | ['646ee3ad7fd8a73d68013e5b7fb9d35079751909'] | refactor: move jest and add package.json to /test | [{'old_path': 'ci/dev/test.sh', 'new_path': 'ci/dev/test.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,8 +6,9 @@ main() {\n \n cd test/test-plugin\n make -s out/index.js\n- cd "$OLDPWD"\n- yarn jest "$@"\n+ cd "$OLDPWD/test"\n+ yarn\n+ yarn test "$@"\n }\n \n main "$@"\n'}, {'old_path': 'lib/vscode... | TypeScript |
05beccf671b0c9eae5c8d499336a20fe7efe4957 | 116 | 2021-01-22 14:18:45-07:00 | 25,200 | ['883dd13850cebc83531dfb79da6d15c2f89841a7'] | refactor: move jest around and add code coverage | [{'old_path': '.gitignore', 'new_path': '.gitignore', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -14,3 +14,4 @@ node-*\n /plugins\n /lib/coder-cloud-agent\n .home\n+coverage\n'}, {'old_path': 'ci/dev/postinstall.sh', 'new_path': 'ci/dev/postinstall.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,6 +5,1... | TypeScript |
3044224729c91dadef2ac93155b326900225a79e | 116 | 2021-01-25 16:21:07-07:00 | 25,200 | ['05beccf671b0c9eae5c8d499336a20fe7efe4957'] | feat: add support for code coverage shield | [{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,7 @@\n # code-server · [](https://github.com/cdr/code-server/discussions) [... | TypeScript |
14c5aecd4591bacb18ae76418be5195c35c669a7 | 116 | 2021-01-25 16:34:32-07:00 | 25,200 | ['3044224729c91dadef2ac93155b326900225a79e'] | chore: update ts config and jest config | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -115,9 +115,9 @@\n },\n "testEnvironment": "node",\n "testPathIgnorePatterns": [\n- "/node_modules/",\n- "<rootDir>/lib/vscode",\n- "<rootDir>/out"\n+ "node_modules",\n+ "lib"... | TypeScript |
102f51ce1f023a8bc1b74fedab44e81da73eaaf3 | 116 | 2021-01-25 16:34:43-07:00 | 25,200 | ['14c5aecd4591bacb18ae76418be5195c35c669a7'] | fix: surpress console log in cli test | [{'old_path': 'test/cli.test.ts', 'new_path': 'test/cli.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -14,6 +14,7 @@ describe("parser", () => {\n beforeEach(() => {\n delete process.env.LOG_LEVEL\n delete process.env.PASSWORD\n+ console.log = jest.fn()\n })\n \n // The parser should not s... | TypeScript |
8f0066b4a807ce1d03db8913ee4d46c4d7a80134 | 116 | 2021-01-26 10:44:27-07:00 | 25,200 | ['fa548e95e1496c91324b4031e6bc516ec4f784c3'] | docs: add ctrl c workaround for ipad | [{'old_path': 'doc/ipad.md', 'new_path': 'doc/ipad.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,6 +6,7 @@\n - [How to access code-server with a self signed certificate on iPad?](#how-to-access-code-server-with-a-self-signed-certificate-on-ipad)\n - [Servediter iPad App](#servediter-ipad-app)\n - [Raspber... | TypeScript |
db359c40c753cceb28215f514ebc92d30ff98297 | 116 | 2021-01-26 11:18:41-07:00 | 25,200 | ['fa548e95e1496c91324b4031e6bc516ec4f784c3'] | docs: add install pwa to ipad | [{'old_path': 'doc/ipad.md', 'new_path': 'doc/ipad.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,6 +3,7 @@\n # iPad\n \n - [Known Issues](#known-issues)\n+- [How to install PWA](#how-to-install-pwa)\n - [How to access code-server with a self signed certificate on iPad?](#how-to-access-code-server-with-a-sel... | TypeScript |
42dcfc94ab39ae7fb59e557951cf6b6bd15fa3f3 | 80 | 2021-01-27 05:06:04+10:00 | 0 | ['c4610f7829701aadb045d450013b84491c30580d'] | Send 'loaded' event to all parent origins | [{'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': "@@ -102,7 +102,7 @@ export const initialize = async (services: ServiceCollection): Promise<void> =>\n \n \tif (parent) {\n \t\t// Tell the parent loading h... | TypeScript |
22ebfdc3af44507412a4a7056c168fd59d79ba60 | 100 | 2021-02-01 09:51:48+00:00 | 18,000 | ['aab973a795e0e6a2250837a12ef8f20096d2702e'] | doc/guide.md: Update caddy install instructions (#2601)
Caddy has new installation instructions for Debian.
Closes #2599 | [{'old_path': 'doc/guide.md', 'new_path': 'doc/guide.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -180,8 +180,9 @@ Assuming you have been following the guide, edit your instance and checkmark the\n 3. Install caddy https://caddyserver.com/docs/download#debian-ubuntu-raspbian.\n \n ```bash\n-echo "deb [trusted... | TypeScript |
5446e0ad434fed2356f0cf9188a80f6cec67a8c5 | 100 | 2021-02-01 09:52:16+00:00 | 18,000 | ['22ebfdc3af44507412a4a7056c168fd59d79ba60'] | doc/FAQ.md: Link to VSCodium's extension marketplace docs as well (#2603) | [{'old_path': 'doc/FAQ.md', 'new_path': 'doc/FAQ.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -106,6 +106,8 @@ discussion regarding the use of the Microsoft URLs in forks:\n \n https://github.com/microsoft/vscode/issues/31168#issue-244533026\n \n+See also [VSCodium's docs](https://github.com/VSCodium/vscodium... | TypeScript |
d7f06975a68433d9f071cef02bbc342cbfbfd6ae | 100 | 2021-02-01 11:06:49-05:00 | 18,000 | ['5446e0ad434fed2356f0cf9188a80f6cec67a8c5'] | test: Switch from leaked-handles to wtfnode (#2604)
See my comments at
https://github.com/cdr/code-server/pull/2563#issuecomment-763394741 | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -47,6 +47,7 @@\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 |
f5cf3fd33187b3fa29dc762075152435244fa8f2 | 100 | 2021-02-01 11:08:40-05:00 | 18,000 | ['5446e0ad434fed2356f0cf9188a80f6cec67a8c5'] | proxy.ts: Do not always rewrite redirects against the base path
This breaks --proxy-path-passthrough
However, we still need this when that code is disabled as many apps will
issue absolute redirects and expect the proxy to rewrite as appropriate.
e.g. Go's http.Redirect will rewrite relative redirects as absolute!
S... | [{'old_path': 'src/node/proxy.ts', 'new_path': 'src/node/proxy.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,6 +9,8 @@ proxy.on("error", (error, _, res) => {\n })\n \n // Intercept the response to rewrite absolute redirects against the base path.\n+// Is disabled when the request has no base path which mean... | TypeScript |
58d72d53a1cb36fb39592bdaaea2e37106fadebf | 100 | 2021-02-01 11:08:40-05:00 | 18,000 | ['f5cf3fd33187b3fa29dc762075152435244fa8f2'] | routes/index.ts: register proxy routes before body-parser
Any json or urlencoded request bodies were being consumed by body-parser
before they could be proxied. That's why requests without Content-Type
were proxied correctly as body-parser would not consume their body.
This allows the http-proxy package to passthroug... | [{'old_path': 'src/node/routes/index.ts', 'new_path': 'src/node/routes/index.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -65,9 +65,6 @@ export const register = async (\n app.use(cookieParser())\n wsApp.use(cookieParser())\n \n- app.use(bodyParser.json())\n- app.use(bodyParser.urlencoded({ extended: tru... | TypeScript |
a60f61f9b36c02313d3171f2418ea0c4df1205b6 | 100 | 2021-02-01 11:16:52-05:00 | 18,000 | ['58d72d53a1cb36fb39592bdaaea2e37106fadebf'] | proxy.test.ts: Add POST body test and redirection tests
Closes #2377 | [{'old_path': 'test/proxy.test.ts', 'new_path': 'test/proxy.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,28 +1,29 @@\n+import bodyParser from "body-parser"\n import * as express from "express"\n import * as httpserver from "./httpserver"\n import * as integration from "./integration"\n \n describe("pr... | TypeScript |
4756257207e5a45edb9a13f80a99f4b8797d9294 | 116 | 2021-02-03 09:46:35-07:00 | 25,200 | ['4c6ad046b0e55d5d876e38ef81968118cbc330b0'] | refactor: rename doc to docs | [{'old_path': '.github/ISSUE_TEMPLATE/bug-report.md', 'new_path': '.github/ISSUE_TEMPLATE/bug-report.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -7,7 +7,7 @@ assignees: ""\n ---\n \n <!--\n-Please see https://github.com/cdr/code-server/blob/master/doc/FAQ.md#how-do-i-debug-issues-with-code-server\n+Please se... | TypeScript |
d7f67b80dfc514f9a5b1ac57e72a2512c451cdb5 | 116 | 2021-02-03 09:52:59-07:00 | 25,200 | ['a1a0aec4721447c169a884487bee601776c4ca4d'] | chore: add CODE_OF_CONDUCT to fmt script | [{'old_path': 'ci/dev/fmt.sh', 'new_path': 'ci/dev/fmt.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -28,6 +28,7 @@ main() {\n doctoc --title '# Install' docs/install.md > /dev/null\n doctoc --title '# npm Install Requirements' docs/npm.md > /dev/null\n doctoc --title '# Contributing' docs/CONTRIBUTING.m... | TypeScript |
74dc5a881f442c270652e82456af77a34b7978ae | 116 | 2021-02-03 11:06:19-07:00 | 25,200 | ['d7f67b80dfc514f9a5b1ac57e72a2512c451cdb5'] | refactor: update email address | [{'old_path': 'docs/CODE_OF_CONDUCT.md', 'new_path': 'docs/CODE_OF_CONDUCT.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -58,7 +58,7 @@ further defined and clarified by project maintainers.\n ## Enforcement\n \n Instances of abusive, harassing, or otherwise unacceptable behavior may be\n-reported by contacting... | TypeScript |
71cf459ececd572e32e0ac5f6695809db852fed4 | 116 | 2021-02-04 15:18:43-07:00 | 25,200 | ['4bace1ae4aebd2cdd73dbcef242a5c34fb3a7162'] | feat: add tests for common/util | [{'old_path': 'test/util.test.ts', 'new_path': 'test/util.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,7 @@\n-import { normalize } from "../src/common/util"\n+import { logger as l } from "@coder/logger"\n+import { arrayify, getFirstString, normalize, plural, resolveBase, split, trimSlashes } from... | TypeScript |
3cebfcd447cb97a43c1fdf71704edbb16e5ddea4 | 116 | 2021-02-04 15:18:43-07:00 | 25,200 | ['71cf459ececd572e32e0ac5f6695809db852fed4'] | feat: add tests for logError | [{'old_path': 'test/util.test.ts', 'new_path': 'test/util.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,16 @@\n-import { logger as l } from "@coder/logger"\n-import { arrayify, getFirstString, normalize, plural, resolveBase, split, trimSlashes } from "../src/common/util"\n+// Note: we need to impo... | TypeScript |
323339d15aea8dde24869f3d4b769bea523cc275 | 116 | 2021-02-04 15:18:43-07:00 | 25,200 | ['3cebfcd447cb97a43c1fdf71704edbb16e5ddea4'] | feat: add jsdom for browser-ish tests | [{'old_path': 'test/package.json', 'new_path': 'test/package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,11 +1,12 @@\n {\n- "#": "We must put jest in a sub-directory otherwise VS Code somehow picks up",\n "#": "the types and generates conflicts with mocha.",\n "devDependencies": {\n "@types/jes... | TypeScript |
4f6efced683c9d66facf7b231a43d1f4a0bf1841 | 116 | 2021-02-04 15:18:44-07:00 | 25,200 | ['323339d15aea8dde24869f3d4b769bea523cc275'] | feat: add tests for getOptions | [{'old_path': 'test/package.json', 'new_path': 'test/package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,5 @@\n {\n- "#": "the types and generates conflicts with mocha.",\n+ "#": "We must put jest in a sub-directory otherwise VS Code somehow picks up the types and generates conflicts with mocha."... | TypeScript |
c08e3bb06d62a229bf6fb008b5cfccf2a2a6d829 | 100 | 2021-02-05 11:44:34-05:00 | 18,000 | ['4bace1ae4aebd2cdd73dbcef242a5c34fb3a7162'] | Add /absproxy to remove --proxy-path-passthrough
See https://github.com/cdr/code-server/issues/2222#issuecomment-765235938
Makes way more sense. | [{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -50,7 +50,6 @@ export interface Args extends VsArgs {\n "show-versions"?: boolean\n "uninstall-extension"?: string[]\n "proxy-domain"?: string[]\n- "proxy-path-passthrough"?: boolean\n locale?: str... | TypeScript |
05a0f213a7ac2e4e5ade3ab7252d09fad422cb3f | 100 | 2021-02-05 11:44:38-05:00 | 18,000 | ['c08e3bb06d62a229bf6fb008b5cfccf2a2a6d829'] | Update proxy path passthrough documentation
Includes updated create-react-app docs.
Closes #2565 | [{'old_path': 'docs/FAQ.md', 'new_path': 'docs/FAQ.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,6 +16,7 @@\n - [Sub-paths](#sub-paths)\n - [Sub-domains](#sub-domains)\n - [Why does the code-server proxy strip `/proxy/<port>` from the request path?](#why-does-the-code-server-proxy-strip-proxyport-from-... | TypeScript |
2a2dade3098dea0e6370ce96d2488d45047d2dd6 | 116 | 2021-02-05 14:07:00-07:00 | 25,200 | ['cf30b536ef07f3e899a39519ac0109e478e7db4f'] | feat: update version in package.json to 3.8.1 | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,7 +1,7 @@\n {\n "name": "code-server",\n "license": "MIT",\n- "version": "3.8.0",\n+ "version": "3.8.1",\n "description": "Run VS Code on a remote server.",\n "homepage": "https://github.com/cdr/code... | TypeScript |
25bf871e16a3c4d22155ebe1b163e16811a0c332 | 116 | 2021-02-05 14:07:27-07:00 | 25,200 | ['2a2dade3098dea0e6370ce96d2488d45047d2dd6'] | docs(install.md): update to 3.8.1 | [{'old_path': 'docs/install.md', 'new_path': 'docs/install.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,6 +2,7 @@\n <!-- DON\'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n # Install\n \n+- [Install](#install)\n - [Upgrading](#upgrading)\n - [install.sh](#installsh)\n - [Flags](#flags)\... | TypeScript |
244775dab587421b250676f14a957dd8889ae356 | 116 | 2021-02-05 14:08:35-07:00 | 25,200 | ['25bf871e16a3c4d22155ebe1b163e16811a0c332'] | docs(helm chart readme): update to 3.8.1 | [{'old_path': 'ci/helm-chart/README.md', 'new_path': 'ci/helm-chart/README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,6 +1,6 @@\n # code-server\n \n- \n - Remember to update the chart version as well on top of appVersion in `Chart.yaml`.\n - Run `rg -g '!y... | TypeScript |
07da291d72673032cf201491a84d81ed070520bb | 116 | 2021-02-05 14:11:34-07:00 | 25,200 | ['55c916a987816b9ee68de9583eab45fb20c8135e'] | chore: update v to 3.8.1 in values.yaml | [{'old_path': 'ci/helm-chart/values.yaml', 'new_path': 'ci/helm-chart/values.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -6,7 +6,7 @@ replicaCount: 1\n \n image:\n repository: codercom/code-server\n- tag: '3.8.0'\n+ tag: '3.8.1'\n pullPolicy: Always\n \n imagePullSecrets: []\n"}] | TypeScript |
2a127f168ce751e58a790bd31fc8c723eaca433f | 116 | 2021-02-05 14:13:26-07:00 | 25,200 | ['07da291d72673032cf201491a84d81ed070520bb'] | docs: update code coverage badge | [{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,6 +1,6 @@\n # code-server · [](https://github.com/cdr/code-server/discussions) [... | TypeScript |
41ad0c0c4c14df78e1bfa3a44d8b633ed2fc26e5 | 100 | 2021-02-05 15:11:16-07:00 | 18,000 | ['2a127f168ce751e58a790bd31fc8c723eaca433f'] | release-github-draft.sh: Remove incorrect assets reference
I think at some point this script created the release and attached
assets but that's not the case anymore.
For some reason this would error with undefined variable reference for
joe but bash doesn't complain for me or Asher.
Not sure what the difference is. | [{'old_path': 'ci/build/release-github-draft.sh', 'new_path': 'ci/build/release-github-draft.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -10,7 +10,7 @@ main() {\n hub release create \\\n --file - \\\n -t "$(git rev-parse HEAD)" \\\n- --draft "${assets[@]}" "v$VERSION" << EOF\n+ --draft "v$VER... | TypeScript |
164d11e0277c8c39171c0b5398461a67bdb3ac72 | 116 | 2021-02-08 16:20:43-07:00 | 25,200 | ['7f629c3675f7ed8334a8ba24fc46269c4757eefc'] | chore: clean up comment in util.test | [{'old_path': 'test/util.test.ts', 'new_path': 'test/util.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -125,10 +125,6 @@ describe("util", () => {\n })\n \n describe("getOptions", () => {\n- // Things to mock\n- // logger\n- // location\n- // document\n beforeEach(() => {\n const... | TypeScript |
719481e84ead17b8b55f5c673b11841f7b00950d | 116 | 2021-02-08 16:21:30-07:00 | 25,200 | ['164d11e0277c8c39171c0b5398461a67bdb3ac72'] | refactor: add getPackageJson fn in constants | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -31,6 +31,7 @@\n },\n "main": "out/node/entry.js",\n "devDependencies": {\n+ "@schemastore/package": "^0.0.6",\n "@types/body-parser": "^1.19.0",\n "@types/cookie-parser": "^1.4.2",\n "@types... | TypeScript |
a2a6122252aea99bb8f2b0cbd7e3ef1247326db0 | 116 | 2021-02-08 16:21:37-07:00 | 25,200 | ['719481e84ead17b8b55f5c673b11841f7b00950d'] | feat: add tests for constants | [{'old_path': None, 'new_path': 'test/constants.test.ts', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,58 @@\n+// Note: we need to import logger from the root\n+// because this is the logger used in logError in ../src/common/util\n+import { logger } from "../node_modules/@coder/logger"\n+import { commit, getP... | TypeScript |
9221efc104ee83271a7b6a8f4d9bb6cc9c48c7d0 | 67 | 2021-02-09 10:09:45-06:00 | 21,600 | ['859de79d979290763637b9c21b8cfec06734213c'] | Restore Node check
Since we're following the VS Code allowed version range now to prevent
bugs use the new range instead of commenting it out. | [{'old_path': 'lib/vscode/build/npm/preinstall.js', 'new_path': 'lib/vscode/build/npm/preinstall.js', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -7,16 +7,9 @@ let err = false;\n \n const majorNodeVersion = parseInt(/^(\\d+)\\./.exec(process.versions.node)[1]);\n \n-<<<<<<< HEAD\n-if (majorNodeVersion < 10 || maj... | TypeScript |
80d50057fcf066e6ad4a04c084d35c25f5a35ee5 | 67 | 2021-02-09 10:32:27-06:00 | 21,600 | ['0a1a8fe4fe385008f915bb0f2ea585f28e39d444'] | Remove electron and resolve yarn.lock conflict | [{'old_path': 'lib/vscode/package.json', 'new_path': 'lib/vscode/package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -120,11 +120,6 @@\n "css-loader": "^3.2.0",\n "debounce": "^1.0.0",\n "deemon": "^1.4.0",\n-<<<<<<< HEAD\n-=======\n- "electron": "9.3.5",\n- "electron-rebuild": "2.0.3",\n... | TypeScript |
14c96d78efe0f4192d8f865223049c219609162a | 67 | 2021-02-09 10:33:11-06:00 | 21,600 | ['80d50057fcf066e6ad4a04c084d35c25f5a35ee5'] | Remove added logLevel
We've always had this. | [{'old_path': 'lib/vscode/src/vs/code/browser/workbench/workbench.ts', 'new_path': 'lib/vscode/src/vs/code/browser/workbench/workbench.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -17,11 +17,7 @@ import { isStandalone } from 'vs/base/browser/browser';\n import { localize } from 'vs/nls';\n import { Schemas } ... | TypeScript |
89c38d35541092b55ef4753977920e9aa6ffc7cd | 67 | 2021-02-09 10:36:39-06:00 | 21,600 | ['14c96d78efe0f4192d8f865223049c219609162a'] | Update storage promise
A new doStore was added. | [{'old_path': 'lib/vscode/src/vs/platform/storage/browser/storageService.ts', 'new_path': 'lib/vscode/src/vs/platform/storage/browser/storageService.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -118,13 +118,8 @@ export class BrowserStorageService extends AbstractStorageService {\n \t\treturn this.getStorage(s... | TypeScript |
cc59279f11fc391c593f35627b99de6f082c9fe7 | 67 | 2021-02-09 10:37:03-06:00 | 21,600 | ['89c38d35541092b55ef4753977920e9aa6ffc7cd'] | Remove GoHomeContributor
It's probably registered in some other way now. | [{'old_path': 'lib/vscode/src/vs/workbench/browser/actions/navigationActions.ts', 'new_path': 'lib/vscode/src/vs/workbench/browser/actions/navigationActions.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -282,12 +282,3 @@ actionsRegistry.registerWorkbenchAction(SyncActionDescriptor.from(NavigateLeftAc\n actions... | TypeScript |
f8d546bdc6f16276c6aedf4af321dd98a99ddc9d | 67 | 2021-02-09 10:38:14-06:00 | 21,600 | ['cc59279f11fc391c593f35627b99de6f082c9fe7'] | Remove hidden home CSS
Now that you can customize the home it's probably fine to show it.
There's also an option for users to hide it. | [{'old_path': 'lib/vscode/src/vs/workbench/browser/parts/activitybar/media/activitybarpart.css', 'new_path': 'lib/vscode/src/vs/workbench/browser/parts/activitybar/media/activitybarpart.css', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -51,17 +51,6 @@\n \tposition: relative;\n \twidth: 100%;\n \theight: 48px;\n-<... | TypeScript |
a65231808a2d2abad75323337edd294dc82b34f1 | 67 | 2021-02-09 10:39:35-06:00 | 21,600 | ['a6d4b24733ef7da9292e572100953153579180bf'] | Fall back to remote extension server on web | [{'old_path': 'lib/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts', 'new_path': 'lib/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -24,6 +24,7 @@ import { IDialogService } from 'vs/... | TypeScript |
068e399bf2e9d5fb1747cc76b2028746bbb6082c | 67 | 2021-02-09 10:40:14-06:00 | 21,600 | ['a65231808a2d2abad75323337edd294dc82b34f1'] | Remove Node browser shim
We used this to run vscodevim in the browser but it now has a version
that is able to run as a VS Code web extension. This does require an
update to our marketplace, however. | [{'old_path': 'docs/CONTRIBUTING.md', 'new_path': 'docs/CONTRIBUTING.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -144,7 +144,6 @@ Some noteworthy changes in our version of VS Code:\n - Sending client-side telemetry through the server\n - Allowing modification of the display language\n - Making it possible fo... | TypeScript |
948e01fb27b506bd5daf5895e8099a5505c28aac | 67 | 2021-02-09 11:11:17-06:00 | 21,600 | ['068e399bf2e9d5fb1747cc76b2028746bbb6082c'] | Bundle jpg from VS Code
These seem to be used in some "getting started" page but I'm not sure
where it is. | [{'old_path': 'lib/vscode/coder.js', 'new_path': 'lib/vscode/coder.js', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -29,7 +29,7 @@ const vscodeResources = [\n \t"out-build/bootstrap-amd.js",\n \t\'out-build/bootstrap-node.js\',\n \t"out-build/paths.js",\n-\t\'out-build/vs/**/*.{svg,png,html,ttf}\',\n+\t\'out-buil... | TypeScript |
5f1fab7d27609b0de080c1691538e3c923d6811b | 67 | 2021-02-09 12:19:36-06:00 | 21,600 | ['6ce29311a820a2072ba60a5d907b997fb3c5f814'] | Re-export logger field for plugins | [{'old_path': '.eslintrc.yaml', 'new_path': '.eslintrc.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,7 +35,7 @@ rules:\n [error, { alphabetize: { order: "asc" }, groups: [["builtin", "external", "internal"], "parent", "sibling"] }]\n no-async-promise-executor: off\n # This isn\'t a real module, j... | TypeScript |
f6b04c7c29b77d8051158ca98122a7d531f230a5 | 67 | 2021-02-09 12:19:39-06:00 | 21,600 | ['a8e928798bcba72b85a19aa86a4302c484f172b4'] | Expose proxy server to plugins | [{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,10 +1,11 @@\n-import { Logger, field } from "@coder/logger"\n+import { field, Logger } from "@coder/logger"\n import * as express from "express"\n import * as fs from "fs"\n import * as path from "... | TypeScript |
fb37473e72bc5dc6a3e51dc3a9b84a5b93865698 | 67 | 2021-02-09 12:20:30-06:00 | 21,600 | ['f6b04c7c29b77d8051158ca98122a7d531f230a5'] | Load only test plugin during tests
The other plugins in my path were causing the tests to fail. | [{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -118,7 +118,7 @@ export class PluginAPI {\n * loadPlugins loads all plugins based on this.csPlugin,\n * this.csPluginPath and the built in plugins.\n */\n- public async loadPlugins(): Promis... | TypeScript |
3c6fac9ce45d6ea284bfee6855368533cbf60d55 | 67 | 2021-02-09 13:09:28-06:00 | 21,600 | ['055e0ef9ecc73ca5f3d476ce48538df645301771'] | Wait for inner process to exit | [{'old_path': 'src/node/wrapper.ts', 'new_path': 'src/node/wrapper.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -234,9 +234,7 @@ export class ParentProcess extends Process {\n this.logStdoutStream = rfs.createStream(path.join(paths.data, "coder-logs", "code-server-stdout.log"), opts)\n this.logStderrS... | TypeScript |
3211eb1ce596d9d016c537bfacbb48f475e16571 | 67 | 2021-02-09 13:09:30-06:00 | 21,600 | ['017b1cc6339c1c1876e3833159c3d01d721f133a'] | Expose log level to plugins
In case they need to map it to something else. | [{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,4 @@\n-import { field, Logger } from "@coder/logger"\n+import { field, Level, Logger } from "@coder/logger"\n import * as express from "express"\n import * as fs from "fs"\n import * as path f... | TypeScript |
00cfd9bdf1f69acb4391dfa8e751d21ed48b8ba9 | 67 | 2021-02-09 13:09:31-06:00 | 21,600 | ['3211eb1ce596d9d016c537bfacbb48f475e16571'] | Add working directory to plugin config | [{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -65,6 +65,7 @@ export class PluginAPI {\n */\n private readonly csPlugin = "",\n private readonly csPluginPath = `${path.join(util.paths.data, "plugins")}:/usr/share/code-server/plugins`,... | TypeScript |
f136a600930c9149cae451a5d3ad654fbcdcb0a0 | 67 | 2021-02-09 13:09:32-06:00 | 21,600 | ['00cfd9bdf1f69acb4391dfa8e751d21ed48b8ba9'] | Note that we immediately pause websockets | [{'old_path': 'src/node/wsRouter.ts', 'new_path': 'src/node/wsRouter.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -27,6 +27,10 @@ interface InternalWebsocketRequest extends pluginapi.WebsocketRequest {\n export class WebsocketRouter {\n public readonly router = express.Router()\n \n+ /**\n+ * Handle a we... | TypeScript |
b13db3124bfd53c3b44a90e1af4175e77e64aa10 | 67 | 2021-02-09 13:09:33-06:00 | 21,600 | ['f136a600930c9149cae451a5d3ad654fbcdcb0a0'] | Add health websocket
This is used by some of our services. | [{'old_path': 'src/node/routes/health.ts', 'new_path': 'src/node/routes/health.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,5 @@\n import { Router } from "express"\n+import { wss, Router as WsRouter } from "../wsRouter"\n \n export const router = Router()\n \n@@ -8,3 +9,19 @@ router.get("/", (req, res... | TypeScript |
5505959f7e7e05d2f439f189d18270ec2192f03c | 67 | 2021-02-09 13:09:34-06:00 | 21,600 | ['b13db3124bfd53c3b44a90e1af4175e77e64aa10'] | Expose websocket server to plugins
Same reasoning used when exposing Express. | [{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -7,7 +7,7 @@ import * as pluginapi from "../../typings/pluginapi"\n import { version } from "./constants"\n import { proxy } from "./proxy"\n import * as util from "./util"\n-import { Router as WsRout... | TypeScript |
150513fbc4399c4f4c1f2505ae5dfaff24fca70b | 67 | 2021-02-09 13:09:35-06:00 | 21,600 | ['5505959f7e7e05d2f439f189d18270ec2192f03c'] | Export Logger type
So plugins can pass the logger around. | [{'old_path': 'typings/pluginapi.d.ts', 'new_path': 'typings/pluginapi.d.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -121,7 +121,7 @@ export { express }\n *\n * Re-exported so plugins don't have to import duplicate copies of the logger.\n */\n-export { field, Level }\n+export { field, Level, Logger }\n \n... | TypeScript |
36aad9bdab3961b48d83f5811240a6580854d370 | 67 | 2021-02-09 13:09:36-06:00 | 21,600 | ['150513fbc4399c4f4c1f2505ae5dfaff24fca70b'] | Move global express args definition
This way tests that import the http utilities but not the routes won't
error due to missing types. | [{'old_path': 'src/node/http.ts', 'new_path': 'src/node/http.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,10 +5,21 @@ import qs from "qs"\n import safeCompare from "safe-compare"\n import { HttpCode, HttpError } from "../common/http"\n import { normalize, Options } from "../common/util"\n-import { AuthType... | TypeScript |
22d194515a22297a393ad320093e87bcceb41049 | 67 | 2021-02-09 13:09:37-06:00 | 21,600 | ['36aad9bdab3961b48d83f5811240a6580854d370'] | Expose replaceTemplates to plugins
This is mainly so they can get relative paths in their HTML, in
particular code-server's static base so they can use the favicon and
service worker. | [{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,6 +5,7 @@ import * as path from "path"\n import * as semver from "semver"\n import * as pluginapi from "../../typings/pluginapi"\n import { version } from "./constants"\n+import { replaceTemplates ... | TypeScript |
c78f56b3342d4416477a3b1b8810a6bb4230cb23 | 67 | 2021-02-09 13:09:38-06:00 | 21,600 | ['22d194515a22297a393ad320093e87bcceb41049'] | Expose HttpError to plugins
This will let them throw and show nice errors more easily. | [{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,6 +4,7 @@ import * as fs from "fs"\n import * as path from "path"\n import * as semver from "semver"\n import * as pluginapi from "../../typings/pluginapi"\n+import { HttpCode, HttpError } from "..... | TypeScript |
2fe3d57df36b3009b03d099e707e0cbb2baba143 | 67 | 2021-02-09 13:09:39-06:00 | 21,600 | ['c78f56b3342d4416477a3b1b8810a6bb4230cb23'] | Mount plugins before bodyParser
Otherwise it consumes the body and plugins won't be able to do things
like proxy POST requests. | [{'old_path': 'src/node/routes/index.ts', 'new_path': 'src/node/routes/index.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -114,6 +114,11 @@ export const register = async (\n })\n })\n \n+ const workingDir = args._ && args._.length > 0 ? path.resolve(args._[args._.length - 1]) : undefined\n+ const papi... | TypeScript |
2879bd4c228d0fd7b9342cba678e89a14e9fc803 | 67 | 2021-02-09 13:09:41-06:00 | 21,600 | ['3226d50747045b7e864479c91d03bd15eb2ead86'] | Add type alias for required modules | [{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,13 +12,15 @@ import * as util from "./util"\n import { Router as WsRouter, WebsocketRouter, wss } from "./wsRouter"\n const fsp = fs.promises\n \n+// Represents a required module which could be an... | TypeScript |
9647d65e522f78f861d618557083faf84c7c4133 | 67 | 2021-02-09 13:33:31-06:00 | 21,600 | ['2879bd4c228d0fd7b9342cba678e89a14e9fc803'] | Add code-server alias to eslint | [{'old_path': '.eslintrc.yaml', 'new_path': '.eslintrc.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,7 +35,7 @@ rules:\n [error, { alphabetize: { order: "asc" }, groups: [["builtin", "external", "internal"], "parent", "sibling"] }]\n no-async-promise-executor: off\n # This isn\'t a real module, j... | TypeScript |
c7c851dd0198d1e00d5b18558b7aad7485e53224 | 116 | 2021-02-09 13:13:19-07:00 | 25,200 | ['a2a6122252aea99bb8f2b0cbd7e3ef1247326db0'] | feat: add tests for src/common/http | [{'old_path': None, 'new_path': 'test/http.test.ts', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,35 @@\n+import { HttpCode, HttpError } from "../src/common/http"\n+\n+describe("http", () => {\n+ describe("HttpCode", () => {\n+ it("should return the correct HTTP codes", () => {\n+ expect(HttpCode.Ok)... | TypeScript |
e098df076666248f48b1da5a7c5a79505cb45357 | 67 | 2021-02-09 15:23:08-06:00 | 21,600 | ['b881117762fd253f3b7dd13f898d01709b3a1550'] | Fix code-server module not being provided in Jest | [{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -21,8 +21,13 @@ type Module = any\n */\n const originalLoad = require("module")._load\n require("module")._load = function (request: string, parent: object, isMain: boolean): Module {\n- if (request... | TypeScript |
e4e0ac43b045bf8e627e57fc9c7f0342007dfff9 | 67 | 2021-02-09 15:39:57-06:00 | 21,600 | ['e098df076666248f48b1da5a7c5a79505cb45357'] | Don't load plugins in tests
This can affect the test behavior and results. | [{'old_path': 'ci/dev/test.sh', 'new_path': 'ci/dev/test.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,7 +9,7 @@ main() {\n # information. We must also run it from the root otherwise coverage will not\n # include our source files.\n cd "$OLDPWD"\n- ./test/node_modules/.bin/jest "$@"\n+ CS_DISABLE_PL... | TypeScript |
2b1b3e6dc09e506dfdb320883a5bdd99237b23b1 | 67 | 2021-02-09 16:20:28-06:00 | 21,600 | ['e4e0ac43b045bf8e627e57fc9c7f0342007dfff9'] | Add eslint import alias resolver
Somehow I managed not to commit this earlier. | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -53,6 +53,7 @@\n "doctoc": "^1.4.0",\n "eslint": "^7.7.0",\n "eslint-config-prettier": "^6.0.0",\n+ "eslint-import-resolver-alias": "^1.1.2",\n "eslint-plugin-import": "^2.18.2",\n "eslint-... | TypeScript |
4f16087a94aac1ea602b37c838009651d74eec42 | 67 | 2021-02-09 16:36:26-06:00 | 21,600 | ['2b1b3e6dc09e506dfdb320883a5bdd99237b23b1'] | Resolve code-server from the root
This fixes the lint script but unfortunately breaks my editor. | [{'old_path': 'test/test-plugin/.eslintrc.yaml', 'new_path': 'test/test-plugin/.eslintrc.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,4 +2,4 @@ settings:\n import/resolver:\n alias:\n map:\n- - [code-server, ../../typings/pluginapi.d.ts]\n+ - [code-server, ./typings/pluginapi.d.... | TypeScript |
4fc0f9218047b5db7764263ccb96ad6cd81ca615 | 1 | 2021-02-09 23:41:36-06:00 | 21,600 | ['41ad0c0c4c14df78e1bfa3a44d8b633ed2fc26e5'] | Update README.md to include requirements
Promote ease of adoption by placing the requirements in the README at the root folder level. | [{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -12,6 +12,15 @@ Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and a\n - Use cloud servers to speed up tests, compilations, downloads, and more\n - Preserve battery life when you're on the g... | TypeScript |
3f837d30361841085ff6e4e10316913ec0c36c0d | 67 | 2021-02-10 10:32:17-06:00 | 21,600 | ['4f16087a94aac1ea602b37c838009651d74eec42'] | Fix tests failing due to collisions in release | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -139,6 +139,9 @@\n "global": {\n "lines": 40\n }\n- }\n+ },\n+ "modulePathIgnorePatterns": [\n+ "<rootDir>/release"\n+ ]\n }\n }\n'}] | TypeScript |
de9491d5a625b3a366fc33f77d2178de47782e1a | 67 | 2021-02-10 13:13:23-06:00 | 21,600 | ['3f837d30361841085ff6e4e10316913ec0c36c0d'] | Mark code-server as a virtual module | [{'old_path': 'test/plugin.test.ts', 'new_path': 'test/plugin.test.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,7 +9,7 @@ import * as httpserver from "./httpserver"\n const fsp = fs.promises\n \n // Jest overrides `require` so our usual override doesn\'t work.\n-jest.mock("code-server", () => codeServer)\n... | TypeScript |
f92fd2c92e1e155d8ea0690e0e0ee12027c58f2f | 143 | 2021-02-11 08:00:04-05:00 | 18,000 | ['ec6b6c591f53a0217a1d589244680e1d287c7773'] | clarify alpine on install docs | [{'old_path': 'docs/install.md', 'new_path': 'docs/install.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1,5 +1,6 @@\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+\n # Install\n \n - [Upgrading](#upgrad... | TypeScript |
3dcb92be40f304ba0aeb9c38a15b53eb96ca50f8 | 143 | 2021-02-11 08:00:33-05:00 | 18,000 | ['4318ac6834e22198156c1c7ae72eb06f072312ff'] | fix npm docs link in install.sh | [{'old_path': 'install.sh', 'new_path': 'install.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -419,7 +419,7 @@ install_npm() {\n echoh\n echoerr "Please install npm or yarn to install code-server!"\n echoerr "You will need at least node v12 and a few C dependencies."\n- echoerr "See the docs https://gi... | TypeScript |
97c1399401d7c17a925dbb8377689a9f47f8ed7b | 121 | 2021-02-12 14:27:33-06:00 | 25,200 | ['1272bf9a52eeeb4e1035834b86ff76c9f25bd065'] | feat: use compression in express server (#2680) | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,6 +33,7 @@\n "devDependencies": {\n "@schemastore/package": "^0.0.6",\n "@types/body-parser": "^1.19.0",\n+ "@types/compression": "^1.7.0",\n "@types/cookie-parser": "^1.4.2",\n "@types/e... | TypeScript |
619934dc296d1ff8f55379dcf0e97d32f029e1f1 | 67 | 2021-02-12 14:56:39-06:00 | 21,600 | ['97c1399401d7c17a925dbb8377689a9f47f8ed7b'] | Authenticate plugin routes (#2720) | [{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,7 +6,7 @@ import * as semver from "semver"\n import * as pluginapi from "../../typings/pluginapi"\n import { HttpCode, HttpError } from "../common/http"\n import { version } from "./constants"\n-im... | TypeScript |
0abbc9789ebcd30e43acf51052d03491e82aa007 | 67 | 2021-02-12 15:19:26-06:00 | 21,600 | ['619934dc296d1ff8f55379dcf0e97d32f029e1f1'] | Allow plugins to register at the root
Unfortunately we have existing plugins with routes there which we cannot
move. | [{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -251,7 +251,7 @@ export class PluginAPI {\n if (!p.routerPath) {\n throw new Error("plugin missing router path")\n }\n- if (!p.routerPath.startsWith("/") || p.routerPath.length < 2) {... | TypeScript |
8c3896cf4060651b8b95a4e35b5f5b94bc463d11 | 67 | 2021-02-12 16:06:41-06:00 | 21,600 | ['de117535698c85c893212435c80449dbc45ac0ef'] | Move compression to deps from dev deps | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -52,7 +52,6 @@\n "@types/wtfnode": "^0.7.0",\n "@typescript-eslint/eslint-plugin": "^4.7.0",\n "@typescript-eslint/parser": "^4.7.0",\n- "compression": "^1.7.4",\n "doctoc": "^1.4.0",\n "es... | TypeScript |
3fc556d4d538f54f6f6994eca71cc47d44d7752b | 67 | 2021-02-12 16:50:23-06:00 | 21,600 | ['c2450d6bf358ac2da0e96771efc7145ddc37e06c'] | Delegate authentication to plugins
Unfortunately since plugins can now override the root this is necessary
or just can't log in. | [{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,7 +6,7 @@ import * as semver from "semver"\n import * as pluginapi from "../../typings/pluginapi"\n import { HttpCode, HttpError } from "../common/http"\n import { version } from "./constants"\n-im... | TypeScript |
0f17ceb9b581f3830a1f478cc4c47a99ce53f309 | 116 | 2021-02-12 16:22:31-07:00 | 25,200 | ['3fc556d4d538f54f6f6994eca71cc47d44d7752b'] | chore: update package.json version | [{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,7 +1,7 @@\n {\n "name": "code-server",\n "license": "MIT",\n- "version": "3.8.1",\n+ "version": "3.9.0",\n "description": "Run VS Code on a remote server.",\n "homepage": "https://github.com/cdr/code... | TypeScript |
2ca22c3318af33e7e331282eea903ddc0e891296 | 116 | 2021-02-12 16:22:31-07:00 | 25,200 | ['0f17ceb9b581f3830a1f478cc4c47a99ce53f309'] | docs(install): update to v3.9.0 | [{'old_path': 'docs/install.md', 'new_path': 'docs/install.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,6 +2,7 @@\n <!-- DON\'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n # Install\n \n+- [Install](#install)\n - [Upgrading](#upgrading)\n - [install.sh](#installsh)\n - [Flags](#flags)\... | TypeScript |
2d407be795451109d546ed06929707ed930b1018 | 116 | 2021-02-12 16:22:31-07:00 | 25,200 | ['2ca22c3318af33e7e331282eea903ddc0e891296'] | docs(helm-chart): update to v3.9.0 | [{'old_path': 'ci/helm-chart/README.md', 'new_path': 'ci/helm-chart/README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,6 +1,6 @@\n # code-server\n \n- : update to v3.9.0 | [{'old_path': 'ci/helm-chart/Chart.yaml', 'new_path': 'ci/helm-chart/Chart.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -20,4 +20,4 @@ version: 1.0.3\n # This is the version number of the application being deployed. This version number should be\n # incremented each time you make changes to the application.... | TypeScript |
ba9196968bdeaf0654ccf281aae61794b4bad6ad | 116 | 2021-02-12 16:22:31-07:00 | 25,200 | ['76edcced0daba236ec418838bffd7795c075c634'] | chore(install.sh): update to v3.9.0 | [{'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/v3.8.1/docs/install.md\n+# See https://github.com/cdr/code-server/blob/v3.9.0/docs/install.md\n \... | TypeScript |