Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
11eaf0b470c922693851c8a613e2cc2eb2fa6503
29
2020-09-30 12:49:36-05:00
18,000
['8b5deac92b339b621b5a6b6219180003d1c38196']
Fix being unable to use [::] for the host Fixes #1582.
[{'old_path': 'src/node/http.ts', 'new_path': 'src/node/http.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -584,8 +584,11 @@ export class HttpServer {\n const onListen = (): void => resolve(this.address())\n if (this.options.socket) {\n this.server.listen(this.options.socket, onListen...
TypeScript
e64b186527a7a0a2585fe5cd3aefb5de5f1b90dc
29
2020-09-30 15:52:39-05:00
18,000
['9d87c5328cbf3d23c5f4926e4eca5eb4aeb5f34e']
Add variables to better customize plugin directories
[{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,11 +4,15 @@ import * as path from "path"\n import * as util from "util"\n import { Args } from "./cli"\n import { HttpServer } from "./http"\n+import { paths } from "./util"\n \n /* eslint-disable ...
TypeScript
7a982555a837f8eab064c89414c24b13ef33d1b3
29
2020-09-30 15:52:40-05:00
18,000
['e64b186527a7a0a2585fe5cd3aefb5de5f1b90dc']
Add version to plugin load log
[{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -34,7 +34,12 @@ const loadPlugin = async (pluginPath: string, httpServer: HttpServer, args: Args\n try {\n const plugin: Plugin = require(pluginPath)\n plugin.activate(httpServer, args)\n- ...
TypeScript
b415b7524f6d3d1ed30553e0fb2b3e075dd3f475
79
2020-10-06 16:29:53-05:00
14,400
['9d87c5328cbf3d23c5f4926e4eca5eb4aeb5f34e']
Add social badges (#2142)
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,4 @@\n-# code-server\n+# code-server &middot; [!["GitHub Discussions"](https://img.shields.io/badge/%20GitHub-%20Discussions-gray.svg?longCache=true&logo=github&colorB=purple)](https://github.com/cdr/code-serve...
TypeScript
ddda280df4ed90519a675b85e2854dc7d6c6d8e6
29
2020-10-07 12:18:57-05:00
18,000
['7a982555a837f8eab064c89414c24b13ef33d1b3']
Rename plugin vars and make both colon-separated Only one was colon separated but now they both are.
[{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -66,25 +66,23 @@ const _loadPlugins = async (pluginDir: string, httpServer: HttpServer, args: Arg\n }\n \n /**\n- * Load all plugins from the `plugins` directory and the directory specified by\n- * `P...
TypeScript
b3811a67e0deda7d2e0279fbf402eb561ad9ddcb
55
2020-10-07 13:24:31-04:00
14,400
['b415b7524f6d3d1ed30553e0fb2b3e075dd3f475']
Add $KEEP_MODULES argument to build-release.sh (#2167)
[{'old_path': 'ci/build/build-release.sh', 'new_path': 'ci/build/build-release.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,6 +6,10 @@ set -euo pipefail\n # MINIFY controls whether minified vscode is bundled.\n MINIFY="${MINIFY-true}"\n \n+# KEEP_MODULES controls whether the script cleans all node_modules ...
TypeScript
c2ac126a501622947d8c644a6a2bb1e8c751a017
29
2020-10-07 12:25:42-05:00
18,000
['ddda280df4ed90519a675b85e2854dc7d6c6d8e6']
Log all plugin errors as errors
[{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -41,13 +41,9 @@ const loadPlugin = async (pluginPath: string, httpServer: HttpServer, args: Args\n field("version", require(path.join(pluginPath, "package.json")).version || "n/a"),\n )\n ...
TypeScript
402f5ebd77df43d68fd53fcf09a4e5510b83be77
29
2020-10-07 12:37:37-05:00
18,000
['b3811a67e0deda7d2e0279fbf402eb561ad9ddcb']
Update VS code to 1.49.3 (#2081)
[{'old_path': 'ci/dev/vscode.patch', 'new_path': 'ci/dev/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,12 +12,12 @@ index 0fe46b6eadc4ccc819fbf342ee1071bb657792b3..e545e004cef31fa5f40ba8df6a2317ea\n coverage/\n diff --git a/.yarnrc b/.yarnrc\n deleted file mode 100644\n-index 135e10442a7e5184cf8...
TypeScript
a44b4455f5f633bfaa66882d1e71777105c38134
29
2020-10-07 12:54:48-05:00
18,000
['c2ac126a501622947d8c644a6a2bb1e8c751a017']
Read plugin name from package.json
[{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -35,10 +35,12 @@ const loadPlugin = async (pluginPath: string, httpServer: HttpServer, args: Args\n const plugin: Plugin = require(pluginPath)\n plugin.activate(httpServer, args)\n \n+ cons...
TypeScript
579bb94a6c702b331aa333d2e0f3e8ef598939dc
55
2020-10-07 15:58:30-04:00
14,400
['548a35c0ee354d2bbc5f8027d0320e4c526103d5']
Add coder cloud expose command
[{'old_path': '.gitignore', 'new_path': '.gitignore', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,3 +11,4 @@ release-images/\n node_modules\n node-*\n /plugins\n+/lib/coder-cloud-agent\n'}, {'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -39,6 +39,7 @...
TypeScript
c7c62daa67ef926c57c2f38271d5b9f2018e07a7
55
2020-10-07 15:58:30-04:00
14,400
['579bb94a6c702b331aa333d2e0f3e8ef598939dc']
Remove unused code in optionDescriptions
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -175,7 +175,7 @@ export const optionDescriptions = (): string[] => {\n ([k, v]) =>\n `${" ".repeat(widths.short - (v.short ? v.short.length : 0))}${v.short ? `-${v.short}` : " "} --${k}${" ".repea...
TypeScript
916e24e1098d21893e4df6b0ec5a1d3723d71987
55
2020-10-07 15:58:30-04:00
14,400
['c7c62daa67ef926c57c2f38271d5b9f2018e07a7']
Add support for multiline descriptions
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -131,8 +131,8 @@ const options: Options<Required<Args>> = {\n force: { type: "boolean", description: "Avoid prompts when installing VS Code extensions." },\n "install-extension": {\n type: "string[]...
TypeScript
b22f3cb72f4e95dd0b432dc1b0f98295969c3d12
55
2020-10-07 15:58:30-04:00
14,400
['eacca7d6929cc1a40f8ad7053a09db118d9733a3']
Add $HOME to ./ci/dev/image/run.sh
[{'old_path': '.gitignore', 'new_path': '.gitignore', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,3 +12,4 @@ node_modules\n node-*\n /plugins\n /lib/coder-cloud-agent\n+.home\n'}, {'old_path': 'ci/build/clean.sh', 'new_path': 'ci/build/clean.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -14,7 +14,8 @...
TypeScript
607444c695aefe0a29503ee0434024a90109b8f7
55
2020-10-07 15:58:30-04:00
14,400
['b22f3cb72f4e95dd0b432dc1b0f98295969c3d12']
Switch off debian:8 to debian:10 for the typescript build image We only want to use an old version for glibc which the centos:7 image takes care of. The old version of git used in debian:8 was causing problems with the uid/gid passthrough with no user in passwd.
[{'old_path': '.github/workflows/ci.yaml', 'new_path': '.github/workflows/ci.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,7 +8,7 @@ jobs:\n steps:\n - uses: actions/checkout@v1\n - name: Run ./ci/steps/fmt.sh\n- uses: ./ci/images/debian8\n+ uses: ./ci/images/debian10\n ...
TypeScript
22c4a7e10f8cfd4a7a6f752952221f80f37bc5f1
55
2020-10-07 15:58:30-04:00
14,400
['607444c695aefe0a29503ee0434024a90109b8f7']
Make linking and starting code-server to the cloud a single command
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -48,7 +48,7 @@ export interface Args extends VsArgs {\n readonly "reuse-window"?: boolean\n readonly "new-window"?: boolean\n \n- readonly expose?: OptionalString\n+ readonly "coder-link"?: OptionalSt...
TypeScript
9035bfa871669a5ff8ab9e3ab4ae485d2d57c26f
55
2020-10-07 15:58:30-04:00
14,400
['22c4a7e10f8cfd4a7a6f752952221f80f37bc5f1']
Add coder cloud agent binary to build process
[{'old_path': 'ci/build/build-code-server.sh', 'new_path': 'ci/build/build-code-server.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -18,6 +18,12 @@ main() {\n chmod +x out/node/entry.js\n fi\n \n+ if ! [ -f ./lib/coder-cloud-agent ]; then\n+ OS="$(uname | tr \'[:upper:]\' \'[:lower:]\')"\n+ curl ...
TypeScript
fae07e14fbd2ed4101d25c8c5bf715efcd041253
55
2020-10-07 15:58:30-04:00
14,400
['c308ae0eddb71bbeea3da025c1fdb676e4485ac3']
Fix Go inside dev image
[{'old_path': 'ci/images/centos7/Dockerfile', 'new_path': 'ci/images/centos7/Dockerfile', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,10 +16,15 @@ RUN yum install -y epel-release && yum install -y jq\n RUN yum install -y rsync\n \n # Copied from ../debian10/Dockerfile\n-# Install Go dependencies\n+# Install G...
TypeScript
c4f1c053bf51536cc3884d6a61b256c457e17dd4
55
2020-10-07 15:58:30-04:00
14,400
['4b3c089630aa0ad495e3177df824f0bb0c7d60fa']
Show valid values for --auth in --help See https://github.com/nhooyr/code-server/pull/1/files#r485847134
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -192,7 +192,8 @@ export const optionDescriptions = (): string[] => {\n }\n return " ".repeat(widths.long + widths.short + 6) + line\n })\n- .join("\\n")\n+ .join("\...
TypeScript
bfe731f4f30782528a054f7d1e103ef9e95b9b2b
55
2020-10-07 16:16:01-04:00
14,400
['c4f1c053bf51536cc3884d6a61b256c457e17dd4']
Ensure socket is undefined with --coder-bind
[{'old_path': 'src/node/entry.ts', 'new_path': 'src/node/entry.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -38,11 +38,12 @@ const commit = pkg.commit || "development"\n const main = async (args: Args, cliArgs: Args, configArgs: Args): Promise<void> => {\n if (args["coder-bind"]) {\n // If we\'re being ...
TypeScript
df3089f3ad4b8231407e365819ef88aac42fcd76
55
2020-10-07 17:40:19-04:00
14,400
['7cc16ceb3aee37b8fb9a3afc17c21b1cb6f7a2e4']
coder-cloud: Use consolidated bind command
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -48,7 +48,7 @@ export interface Args extends VsArgs {\n readonly "reuse-window"?: boolean\n readonly "new-window"?: boolean\n \n- readonly "coder-bind"?: string\n+ readonly "coder-bind"?: OptionalStri...
TypeScript
85b0804be5174940851ebdccc7d58b3eba581a32
55
2020-10-07 17:40:19-04:00
14,400
['ebbcb8d6a7e2fc0acbe02c2534e11b46650a6a81']
Remove cliArgs from main No purpose when all the args are in the args parameter. We only need configArgs for bindAddrFromAllSources.
[{'old_path': 'ci/build/build-release.sh', 'new_path': 'ci/build/build-release.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -58,7 +58,6 @@ EOF\n rsync yarn.lock "$RELEASE_PATH"\n rsync ci/build/npm-postinstall.sh "$RELEASE_PATH/postinstall.sh"\n \n-\n if [ "$KEEP_MODULES" = 1 ]; then\n rsync node_mo...
TypeScript
3e28ab85a072e8df7cecd295fbd3e01b4d08d40d
55
2020-10-07 17:40:19-04:00
14,400
['85b0804be5174940851ebdccc7d58b3eba581a32']
Add debug log for options passed to the agent
[{'old_path': 'src/node/coder-cloud.ts', 'new_path': 'src/node/coder-cloud.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,6 +6,8 @@ import split2 from "split2"\n const coderCloudAgent = path.resolve(__dirname, "../../lib/coder-cloud-agent")\n \n function runAgent(...args: string[]): Promise<void> {\n+ logge...
TypeScript
febf4ead9631a252695c25690f61c416b49c60ec
55
2020-10-07 17:40:19-04:00
14,400
['3e28ab85a072e8df7cecd295fbd3e01b4d08d40d']
Fix the clean script :facepalm:
[{'old_path': 'ci/build/clean.sh', 'new_path': 'ci/build/clean.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,18 +5,7 @@ main() {\n cd "$(dirname "${0}")/../.."\n source ./ci/lib.sh\n \n- rm -rf \\\n- out \\\n- release \\\n- release-standalone \\\n- release-packages \\\n- release-gcp \\\n...
TypeScript
8063c79e4436a1fc4ab65c186d1ff9fd60fe3ea9
55
2020-10-08 16:55:13-04:00
14,400
['548a35c0ee354d2bbc5f8027d0320e4c526103d5']
Patch VS Code to avoid deleting extension dependencies (#2170) Closes #1961
[{'old_path': 'ci/dev/vscode.patch', 'new_path': 'ci/dev/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -31,6 +31,32 @@ index f2ea1bd37010b1eb8a43ce9beaae4a88810f6e2d..3f660f9981921ec465d2b8809a1a5ea5\n \tconst yarnrc = fs.readFileSync(path.join(REPO_ROOT, \'remote\', \'.yarnrc\'), \'utf8\');\n \tco...
TypeScript
9f963c7e66771bebae6e4cea634c597788d6c503
29
2020-10-08 16:15:05-05:00
18,000
['8063c79e4436a1fc4ab65c186d1ff9fd60fe3ea9']
Update Node to 12.18.4 (#2175)
[{'old_path': 'ci/images/centos7/Dockerfile', 'new_path': 'ci/images/centos7/Dockerfile', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,6 +1,6 @@\n FROM centos:7\n \n-ARG NODE_VERSION=v12.18.3\n+ARG NODE_VERSION=v12.18.4\n RUN ARCH="$(uname -m | sed \'s/86_64/64/; s/aarch64/arm64/\')" && \\\n curl -fsSL "htt...
TypeScript
c86d7398abdace6a593853e9accdbf66aab04ec2
29
2020-10-08 16:18:31-05:00
18,000
['a44b4455f5f633bfaa66882d1e71777105c38134']
Use system data directory for plugins
[{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -69,7 +69,7 @@ const _loadPlugins = async (pluginDir: string, httpServer: HttpServer, args: Arg\n * `CS_PLUGIN` (also colon-separated).\n */\n export const loadPlugins = async (httpServer: HttpServe...
TypeScript
9ff37977a8169fcde8a770d1f08b4961841d2b77
55
2020-10-09 07:39:10-04:00
14,400
['f5489cd3a0c119ddf4ee01eaa02b5051fc042413']
Make --coder-bind disable HTTPS
[{'old_path': 'src/node/entry.ts', 'new_path': 'src/node/entry.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -44,6 +44,7 @@ const main = async (args: Args, configArgs: Args): Promise<void> => {\n port: 0,\n auth: AuthType.None,\n socket: undefined,\n+ cert: undefined,\n }\n logge...
TypeScript
a5b6d080bd425280f0c3d2a9c139f835c17f817d
55
2020-10-09 07:50:51-04:00
14,400
['9ff37977a8169fcde8a770d1f08b4961841d2b77']
Add CS_BETA and note --coder-bind is in beta
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -67,9 +67,9 @@ interface Option<T> {\n description?: string\n \n /**\n- * Whether to print this option in --help output\n+ * If marked as beta, the option is not printed unless $CS_BETA is set.\n ...
TypeScript
9002f118c3358a228bd561353cb764a2bfaff7b5
55
2020-10-09 07:50:58-04:00
14,400
['a5b6d080bd425280f0c3d2a9c139f835c17f817d']
Remove the extra releases for autoupdating purposes
[{'old_path': 'ci/build/build-packages.sh', 'new_path': 'ci/build/build-packages.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,15 +11,6 @@ main() {\n mkdir -p release-packages\n \n release_archive\n- # Will stop the auto update issues and allow people to upgrade their scripts\n- # for the new release...
TypeScript
2d1de749f46d3f961420d754d050d05339f3dc8f
55
2020-10-09 12:34:52-04:00
14,400
['c6c293d53a2029bf397d2de4cb280aeea3dfb3ef']
Unlink socket before using (#2181) See https://stackoverflow.com/a/34881585/4283659 Closes #1538
[{'old_path': '.eslintrc.yaml', 'new_path': '.eslintrc.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -30,6 +30,7 @@ rules:\n eqeqeq: error\n import/order:\n [error, { alphabetize: { order: "asc" }, groups: [["builtin", "external", "internal"], "parent", "sibling"] }]\n+ no-async-promise-executor: of...
TypeScript
d67bd3f60479c4f425a7a04875e517d45a76e86f
55
2020-10-09 12:57:20-04:00
14,400
['c6c293d53a2029bf397d2de4cb280aeea3dfb3ef']
cloud: Rename --coder-bind to --link
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -48,7 +48,7 @@ export interface Args extends VsArgs {\n readonly "reuse-window"?: boolean\n readonly "new-window"?: boolean\n \n- readonly "coder-bind"?: OptionalString\n+ readonly link?: OptionalStri...
TypeScript
fcfb03382acb9ac307c04a3647b076038d2ba06d
55
2020-10-09 12:57:48-04:00
14,400
['d67bd3f60479c4f425a7a04875e517d45a76e86f']
cloud: Add mention of cloud repo
[{'old_path': 'src/node/coder-cloud.ts', 'new_path': 'src/node/coder-cloud.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,6 +3,7 @@ import { spawn } from "child_process"\n import path from "path"\n import split2 from "split2"\n \n+// https://github.com/cdr/coder-cloud\n const coderCloudAgent = path.resolve(_...
TypeScript
64a6a460c8d961df1538b02910a4c0b04b1158b1
55
2020-10-09 15:00:49-04:00
14,400
['1e4e72aa5b52a9c37a600dc4e9c9b3fb3c25b9ea']
Adjust npm package postinstall to install extension dependencies (#2180) Closes #1961
[{'old_path': 'ci/build/npm-postinstall.sh', 'new_path': 'ci/build/npm-postinstall.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -36,6 +36,13 @@ vscode_yarn() {\n yarn --production --frozen-lockfile\n cd extensions\n yarn --production --frozen-lockfile\n+ for ext in */; do\n+ ext="${ext%/}"\n+ ech...
TypeScript
811cf3364af86eecbf4578a1eab6ed53e5135c5b
55
2020-10-09 15:33:58-04:00
14,400
['64a6a460c8d961df1538b02910a4c0b04b1158b1']
install.sh: Allow installing directly onto a remote host (#2183) Updates #1729 To fully close that issue see the various TODOs.
[{'old_path': 'install.sh', 'new_path': 'install.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,21 +17,28 @@ usage() {\n Installs code-server for Linux, macOS and FreeBSD.\n It tries to use the system package manager if possible.\n After successful installation it explains how to start using code-server.\n+...
TypeScript
6bdaada689dc9e78c461e4158310d99faa54347f
29
2020-10-09 16:50:24-05:00
18,000
['811cf3364af86eecbf4578a1eab6ed53e5135c5b']
Move uncaught exception handler to wrapper Feels more appropriate there to me.
[{'old_path': 'src/node/entry.ts', 'new_path': 'src/node/entry.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -18,13 +18,6 @@ import { loadPlugins } from "./plugin"\n import { generateCertificate, hash, humanPath, open } from "./util"\n import { ipcMain, wrap } from "./wrapper"\n \n-process.on("uncaughtExceptio...
TypeScript
0a8e71c6474ed59f3979c68005288f75c29bcd10
29
2020-10-09 16:57:40-05:00
18,000
['6bdaada689dc9e78c461e4158310d99faa54347f']
Refactor wrapper - Immediately create ipcMain so it doesn't have to be a function which I think feels cleaner. - Move exit handling to a separate function to compensate (otherwise the VS Code CLI for example won't be able to exit on its own). - New isChild prop that is clearer than checking for parentPid (IMO)...
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -496,3 +496,23 @@ async function copyOldMacOSDataDir(): Promise<void> {\n await fs.copy(oldDataDir, paths.data)\n }\n }\n+\n+export const shouldRunVsCodeCli = (args: Args): boolean => {\n+ return !!a...
TypeScript
bb1bf88439738eeacca246703fcf05f4a3182037
29
2020-10-09 16:57:41-05:00
18,000
['0a8e71c6474ed59f3979c68005288f75c29bcd10']
Fix wrapper.start not actually waiting for anything
[{'old_path': 'src/node/wrapper.ts', 'new_path': 'src/node/wrapper.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -208,9 +208,16 @@ export class WrapperProcess {\n this.relaunch()\n })\n }\n-\n if (!this.started) {\n- this.started = this.spawn().then((child) => {\n+ this.started ...
TypeScript
19022967024ac690cc5e0e7ea11ade0f05792318
29
2020-10-09 16:57:41-05:00
18,000
['bb1bf88439738eeacca246703fcf05f4a3182037']
Remove references to --open-in flag
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -152,12 +152,12 @@ const options: Options<Required<Args>> = {\n "new-window": {\n type: "boolean",\n short: "n",\n- description: "Force to open a new window. (use with open-in)",\n+ descript...
TypeScript
021c084e4315f6fbc40ca0b9feed1cf0930d43d7
29
2020-10-09 16:57:42-05:00
18,000
['19022967024ac690cc5e0e7ea11ade0f05792318']
Move log level defaults into setDefaults This will allow cliArgs to be only the actual arguments the user passed which will be used for some logic around opening in existing instances.
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -327,6 +327,21 @@ export const parse = (\n \n logger.debug("parsed command line", field("args", args))\n \n+ return args\n+}\n+\n+export async function setDefaults(args: Args): Promise<Args> {\n+ args =...
TypeScript
fe19391c036bf234e84b2e30f321de73f3b689e2
29
2020-10-09 16:57:43-05:00
18,000
['021c084e4315f6fbc40ca0b9feed1cf0930d43d7']
Read most recent socket path from file
[{'old_path': 'ci/dev/vscode.patch', 'new_path': 'ci/dev/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3035,6 +3035,31 @@ index b3c89e51cfc25a53293a352a2a8ad50d5f26d595..e21abe4e13bc25a5b72f556bbfb61085\n registerSingleton(IExtHostTerminalService, ExtHostTerminalService);\n registerSingleton(IExtH...
TypeScript
e0769dc13a83653a10125eda19aec6b33c6f8601
29
2020-10-09 16:57:44-05:00
18,000
['fe19391c036bf234e84b2e30f321de73f3b689e2']
Move config file info log Otherwise it outputs when trying to open a file in an existing instance externally. Externally there isn't an environment variable to branch on to skip this line so instead output it with the other info lines in the child process.
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -410,10 +410,6 @@ export async function readConfigFile(configPath?: string): Promise<Args> {\n logger.info(`Wrote default config file to ${humanPath(configPath)}`)\n }\n \n- if (!process.env.CODE_SER...
TypeScript
466a04f8741ccada3f5e0e2c2a38c60ed57ee4a6
29
2020-10-09 16:57:45-05:00
18,000
['e0769dc13a83653a10125eda19aec6b33c6f8601']
Remove pointless use of openInFlagCount It'll always be zero here.
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -529,9 +529,10 @@ export const shouldOpenInExistingInstance = async (args: Args): Promise<string |\n }\n \n // It's possible the user is trying to spawn another instance of code-server.\n- // Check if ...
TypeScript
26c735b4342674efbfd4003a17f99f3ff4c6ac3a
29
2020-10-09 17:05:21-05:00
18,000
['466a04f8741ccada3f5e0e2c2a38c60ed57ee4a6']
Remove tryParse Now that the exception handling happens further up there doesn't seem to be an advantage in having this in a separate method.
[{'old_path': 'src/node/entry.ts', 'new_path': 'src/node/entry.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -240,16 +240,11 @@ const main = async (args: Args, configArgs: Args): Promise<void> => {\n }\n \n async function entry(): Promise<void> {\n- const tryParse = async (): Promise<[Args, Args, Args]> => {\...
TypeScript
c6ba12942c584d3e4cefea0f9c84ed3092dde81c
29
2020-10-11 02:14:43-04:00
18,000
['811cf3364af86eecbf4578a1eab6ed53e5135c5b']
Filter blank plugin directories (#2187) I neglected to realize that "".split(":") is an array with "" in it.
[{'old_path': 'src/node/plugin.ts', 'new_path': 'src/node/plugin.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -75,12 +75,18 @@ export const loadPlugins = async (httpServer: HttpServer, args: Args): Promise<v\n // Built-in plugins.\n _loadPlugins(path.resolve(__dirname, "../../plugins"), httpServer, ar...
TypeScript
40b1efa142babc7df0ecbf1024c2b51efe7d5005
49
2020-10-12 10:45:26+00:00
0
['e858d112790c5f5ef6d864f0d31001edc0e1a702']
Add echo command in NOTES to get password
[{'old_path': 'charts/code-server/templates/NOTES.txt', 'new_path': 'charts/code-server/templates/NOTES.txt', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,4 +22,4 @@\n \n Administrator credentials:\n \n- Password : $(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "code-server.fullname" . ...
TypeScript
d323f4f75bea04339043a28f4b31761641099721
49
2020-10-12 10:46:52+00:00
0
['40b1efa142babc7df0ecbf1024c2b51efe7d5005']
Add missing existingClaim in values.yaml comments
[{'old_path': 'charts/code-server/values.yaml', 'new_path': 'charts/code-server/values.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -114,6 +114,7 @@ persistence:\n accessMode: ReadWriteOnce\n size: 1Gi\n annotations: {}\n+ # existingClaim: ""\n \n serviceAccount:\n create: true\n'}]
TypeScript
fd241d555bacdbc49f64537edd1e8c15880e375d
49
2020-10-12 10:49:21+00:00
0
['d323f4f75bea04339043a28f4b31761641099721']
Fix indentation for extra mounts
[]
TypeScript
b4fd47b5af431e2d2f6daea4e89ed841e72c498f
49
2020-10-12 11:59:53+00:00
0
['3570ff796d76eb1a5382a47197d86b571f554368']
Add support for hostPath volumes
[{'old_path': 'charts/code-server/templates/deployment.yaml', 'new_path': 'charts/code-server/templates/deployment.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -126,8 +126,14 @@ spec:\n volumes:\n - name: data\n {{- if .Values.persistence.enabled }}\n+ {{- if not .Values.persistence...
TypeScript
ec564091f183987333806bab432bc49062561b4a
29
2020-10-12 17:29:39-05:00
18,000
['ea105a9290579040e1ab396c7c0d0d2d825aad3a']
Fix agent copy during release If there isn't a lib dir yet it'll copy as lib instead of getting put inside the directory.
[{'old_path': 'ci/build/build-release.sh', 'new_path': 'ci/build/build-release.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -59,6 +59,7 @@ EOF\n \n if [ "$KEEP_MODULES" = 1 ]; then\n rsync node_modules/ "$RELEASE_PATH/node_modules"\n+ mkdir -p "$RELEASE_PATH/lib"\n rsync ./lib/coder-cloud-agent "...
TypeScript
36b3183b75e2cdd5248d2f586c8bd1c5ba033832
27
2020-10-13 23:38:27+00:00
0
['ec564091f183987333806bab432bc49062561b4a']
Add Coder Cloud alpha sign up link
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -42,6 +42,15 @@ The install script will print out how to run and start using code-server.\n \n Docs on the install script, manual installation and docker image are at [./doc/install.md](./doc/install.md).\n \n+### Alph...
TypeScript
e3699cf258d3c25785239aacd8c51432b608e97f
29
2020-10-14 17:11:22-05:00
18,000
['ec564091f183987333806bab432bc49062561b4a']
Update VS Code to 1.50.0 - The .js build files are no longer committed so they're gone. - ParsedArgs and EnvironmentService are now NativeParsedArgs and NativeEnvironmentService. - Interface for environment service was moved. - getPathFromAmdModule was deprecated.
[{'old_path': 'ci/dev/vscode.patch', 'new_path': 'ci/dev/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,5 @@\n diff --git a/.gitignore b/.gitignore\n-index 0fe46b6eadc4ccc819fbf342ee1071bb657792b3..e545e004cef31fa5f40ba8df6a2317ea5b69ddb5 100644\n+index b7f5b58c8ede171be547c56b61ce76f79a3accc3...
TypeScript
07580e1fcbdf504e8b05249252d60ed032238408
29
2020-10-14 17:11:23-05:00
18,000
['e3699cf258d3c25785239aacd8c51432b608e97f']
Add path to loader for tas-client-umd It's a new module used by 1.50.0.
[{'old_path': 'src/browser/pages/vscode.ts', 'new_path': 'src/browser/pages/vscode.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -41,6 +41,7 @@ try {\n "xterm-addon-unicode11": `../node_modules/xterm-addon-unicode11/lib/xterm-addon-unicode11.js`,\n "xterm-addon-webgl": `../node_modules/xterm-addon-webg...
TypeScript
30d05aeb4b9671198e8954b2e8e9f701c0261517
29
2020-10-14 17:11:24-05:00
18,000
['07580e1fcbdf504e8b05249252d60ed032238408']
Update require base URL for VS Code loader It needs to have the scheme otherwise when resolving these modules the loader will default to the file scheme and fail to fetch.
[{'old_path': 'src/browser/pages/vscode.ts', 'new_path': 'src/browser/pages/vscode.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -31,7 +31,8 @@ try {\n }\n \n ;(self.require as any) = {\n- baseUrl: `${options.csStaticBase}/lib/vscode/out`,\n+ // Without the full URL VS Code will try to load file://.\n+ base...
TypeScript
a7c43a8eb63c97ee1ac2c5e3675bab1e46ea02d7
29
2020-10-14 17:11:24-05:00
18,000
['30d05aeb4b9671198e8954b2e8e9f701c0261517']
Remove CSP tag from VS Code html This matches with the html in the VS Code repo and also fixes a problem with the worker which loads HTML using data: and then can't load any scripts because 'self' doesn't work.
[{'old_path': 'src/browser/pages/vscode.html', 'new_path': 'src/browser/pages/vscode.html', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,11 +9,6 @@\n \n <meta charset="utf-8" />\n \n- <meta\n- http-equiv="Content-Security-Policy"\n- content="font-src \'self\' data:; connect-src ws: wss: \'self\...
TypeScript
f20f7ac166b40b7420a6114968a3506362280b54
29
2020-10-14 17:11:25-05:00
18,000
['a7c43a8eb63c97ee1ac2c5e3675bab1e46ea02d7']
Move extension fetch to main thread This makes the fetch work independently of the worker's origin which is no longer the same as the main thread (the main problem is the inability to send cookies without setting SameSite to None).
[{'old_path': 'ci/dev/vscode.patch', 'new_path': 'ci/dev/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -929,11 +929,13 @@ index 0000000000000000000000000000000000000000..3c0703b7174ad792a4b42841e96ee937\n +};\n diff --git a/src/vs/server/browser/extHostNodeProxy.ts b/src/vs/server/browser/extHostNode...
TypeScript
daf204eeda5a937ef803b6fb45a84595b60f4fc9
29
2020-10-14 17:36:47-05:00
18,000
['f20f7ac166b40b7420a6114968a3506362280b54']
Exclude browser-supported remote extensions Removing them just for peace of mind even though they seem to get filtered out later. This line is meant to only add remote extensions that aren't capable of running in the browser. If they are browser-capable they don't need to run in our shimmed Node environment.
[{'old_path': 'ci/dev/vscode.patch', 'new_path': 'ci/dev/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -929,11 +929,10 @@ index 0000000000000000000000000000000000000000..3c0703b7174ad792a4b42841e96ee937\n +};\n diff --git a/src/vs/server/browser/extHostNodeProxy.ts b/src/vs/server/browser/extHostNode...
TypeScript
dcb303a437be8c653eb78e67f314db3cb589a79a
29
2020-10-20 16:15:13-05:00
18,000
['daf204eeda5a937ef803b6fb45a84595b60f4fc9']
Move argument defaults into setDefaults
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,7 +5,7 @@ import * as os from "os"\n import * as path from "path"\n import { Args as VsArgs } from "../../lib/vscode/src/vs/server/ipc"\n import { AuthType } from "./http"\n-import { canConnect, generate...
TypeScript
2928d362fa7e40ba2cbeecb57275a296b1903ca3
29
2020-10-20 16:18:24-05:00
18,000
['dcb303a437be8c653eb78e67f314db3cb589a79a']
Move heart and AuthType out of http This file is going to get blasted in favor of Express.
[{'old_path': 'src/node/app/health.ts', 'new_path': 'src/node/app/health.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,5 @@\n-import { HttpProvider, HttpResponse, Heart, HttpProviderOptions } from "../http"\n+import { Heart } from "../heart"\n+import { HttpProvider, HttpProviderOptions, HttpResponse } ...
TypeScript
6000e389bc6778f86f1ef1c18c2ff4d8362f27ec
29
2020-10-20 16:18:26-05:00
18,000
['2928d362fa7e40ba2cbeecb57275a296b1903ca3']
Add Express as a dep and regenerate lockfile The Express types were throwing errors but regenerating the lockfile resolved them.
[{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -30,6 +30,7 @@\n },\n "main": "out/node/entry.js",\n "devDependencies": {\n+ "@types/express": "^4.17.8",\n "@types/fs-extra": "^8.0.1",\n "@types/http-proxy": "^1.17.4",\n "@types/js-yaml": ...
TypeScript
9f25cc6d5d1c08cc7d1a4fd583a491680da9cd6a
29
2020-10-20 16:18:27-05:00
18,000
['6000e389bc6778f86f1ef1c18c2ff4d8362f27ec']
Move providers from `app` to `routes`
[{'old_path': 'src/node/entry.ts', 'new_path': 'src/node/entry.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,12 +5,12 @@ import http from "http"\n import * as path from "path"\n import { CliMessage, OpenCommandPipeArgs } from "../../lib/vscode/src/vs/server/ipc"\n import { plural } from "../common/util"\n-i...
TypeScript
8e93e281628a09d66cdc131cf31816de8a529bd9
29
2020-10-20 16:18:28-05:00
18,000
['9f25cc6d5d1c08cc7d1a4fd583a491680da9cd6a']
Strip config file password from debug log
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -334,7 +334,7 @@ export const parse = (\n throw new Error("--cert-key is missing")\n }\n \n- logger.debug("parsed command line", field("args", args))\n+ logger.debug(() => ["parsed command line", fi...
TypeScript
4a3d2e5a9430756f68602deaa29b6349982b461b
55
2020-10-21 16:40:25-04:00
14,400
['14287df6559269de3438e2eb6507468622b97928']
Remove unnecessary whoami Closes #2213
[{'old_path': 'ci/release-image/Dockerfile', 'new_path': 'ci/release-image/Dockerfile', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -43,5 +43,6 @@ EXPOSE 8080\n # the uid will remain the same. note: only relevant if -u isn\'t passed to\n # docker-run.\n USER 1000\n+ENV USER=coder\n WORKDIR /home/coder\n ENTRYPOIN...
TypeScript
759a78d9d8cb372a8d7436eb88575b074a9c54ef
55
2020-10-22 02:17:12-04:00
14,400
['7093f99a78026087d03507e3ee1d3127c74ced38']
install.sh: Rename SSH_FLAGS to RSH_FLAGS
[{'old_path': 'install.sh', 'new_path': 'install.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -109,7 +109,7 @@ main() {\n VERSION \\\n OPTIONAL \\\n ALL_FLAGS \\\n- SSH_ARGS\n+ RSH_ARGS\n \n ALL_FLAGS=""\n while [ "$#" -gt 0 ]; do\n@@ -152,7 +152,7 @@ main() {\n shift\n # We ...
TypeScript
30f30305309338217e9634c8fb99ccaf88a07383
55
2020-10-22 02:17:12-04:00
14,400
['759a78d9d8cb372a8d7436eb88575b074a9c54ef']
install.sh: Allow customizing remote shell with --rsh
[{'old_path': 'install.sh', 'new_path': 'install.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -24,7 +24,7 @@ ${not_curl_usage-}\n Usage:\n \n $arg0 [--dry-run] [--version X.X.X] [--method detect] \\\n- [--prefix ~/.local] [user@host]\n+ [--prefix ~/.local] [--rsh ssh] [user@host]\n \n --dry-...
TypeScript
a0b7bf218042b5b1b8f10e73fa50f1809718ba55
55
2020-10-22 02:17:12-04:00
14,400
['30f30305309338217e9634c8fb99ccaf88a07383']
install.sh: Default $RSH to ssh
[{'old_path': 'install.sh', 'new_path': 'install.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -181,6 +181,7 @@ main() {\n done\n \n if [ "${RSH_ARGS-}" ]; then\n+ RSH="${RSH-ssh}"\n echoh "Installing remotely with $RSH $RSH_ARGS"\n curl -fsSL https://code-server.dev/install.sh | prefix "$RSH_AR...
TypeScript
79443c14ff41f38d3f05e0a53e4aa592e3c0e418
55
2020-10-23 12:07:08-04:00
14,400
['7093f99a78026087d03507e3ee1d3127c74ced38']
release-image: Remap UID within the image before handling $DOCKER_USER (#2223) If do not update the UID within the passwd database to match whatever uid the container is being ran as, then sudo will not work when renaming the user to match $DOCKER_USER as it will complain about the current user being non-existent.
[{'old_path': 'ci/release-image/entrypoint.sh', 'new_path': 'ci/release-image/entrypoint.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,7 +1,11 @@\n #!/bin/sh\n set -eu\n \n-if [ "${DOCKER_USER-}" ] && [ "$DOCKER_USER" != "$USER" ]; then\n+# We do this first to ensure sudo works below when renaming the user....
TypeScript
71dc5c75427c653a472b2cad6a07495e0827e9bb
29
2020-10-26 17:56:11-05:00
18,000
['8e93e281628a09d66cdc131cf31816de8a529bd9']
Switch to Express It doesn't do anything yet.
[{'old_path': None, 'new_path': 'src/node/app.ts', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,57 @@\n+import { logger } from "@coder/logger"\n+import express, { Express } from "express"\n+import { promises as fs } from "fs"\n+import http from "http"\n+import * as httpolyglot from "httpolyglot"\n+import { De...
TypeScript
4b6cbacbad522ceb259845bc6d315aa8310a2945
29
2020-10-26 17:56:12-05:00
18,000
['71dc5c75427c653a472b2cad6a07495e0827e9bb']
Add file for global constants
[{'old_path': None, 'new_path': 'src/node/constants.ts', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,13 @@\n+import { logger } from "@coder/logger"\n+import * as path from "path"\n+\n+let pkg: { version?: string; commit?: string } = {}\n+try {\n+ pkg = require("../../package.json")\n+} catch (error) {\n+ l...
TypeScript
257d9a4fa4de1b50af26204a61a7528a3ead25ce
29
2020-10-26 17:56:14-05:00
18,000
['112eda46052ef5ea72b71b68817e8c00121a5140']
Make authentication work with sub-domain proxy
[{'old_path': 'src/node/proxy.ts', 'new_path': 'src/node/proxy.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,7 +1,7 @@\n import { Request, Router } from "express"\n import proxyServer from "http-proxy"\n-import { HttpCode } from "../common/http"\n-import { ensureAuthenticated } from "./http"\n+import { Http...
TypeScript
305348f0aca6e6944943ec807675f7af4b02ab72
29
2020-10-27 17:31:37-05:00
18,000
['6ab6cb4f0731ce122f75204c06ef85e6ae1bc4d8']
Improve proxy fallthrough logic - Use accept header. - Match /login and /login/ exactly. - Match /static/ (trailing slash). - Use req.path. Same result but feels more accurate to me.
[{'old_path': 'src/node/proxy.ts', 'new_path': 'src/node/proxy.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -50,15 +50,18 @@ const maybeProxy = (req: Request): string | undefined => {\n * through to allow the redirect and login flow.\n */\n const shouldFallThrough = (req: Request): boolean => {\n- // The i...
TypeScript
cde94d5ed4c8e12baa9ff7f2d43ae9a835906095
29
2020-10-27 17:35:42-05:00
18,000
['305348f0aca6e6944943ec807675f7af4b02ab72']
Remove redundant serverAddress check We now guarantee there is an address.
[{'old_path': 'src/node/entry.ts', 'new_path': 'src/node/entry.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -159,7 +159,7 @@ const main = async (args: DefaultedArgs): Promise<void> => {\n }\n }\n \n- if (serverAddress && !args.socket && args.open) {\n+ if (!args.socket && args.open) {\n // The web...
TypeScript
dc177ab50580a5df971b0f1fbe539a9259b28139
29
2020-10-27 17:38:54-05:00
18,000
['cde94d5ed4c8e12baa9ff7f2d43ae9a835906095']
Unambiguify address replacement Co-authored-by: Teffen Ellis <TeffenEllis@users.noreply.github.com>
[{'old_path': 'src/node/entry.ts', 'new_path': 'src/node/entry.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -161,7 +161,7 @@ const main = async (args: DefaultedArgs): Promise<void> => {\n \n if (!args.socket && args.open) {\n // The web socket doesn\'t seem to work if browsing with 0.0.0.0.\n- const ...
TypeScript
504d89638b4b55a62ffc65144cce6a140aedcde5
29
2020-10-27 17:43:11-05:00
18,000
['dc177ab50580a5df971b0f1fbe539a9259b28139']
Fix open line being printed when open fails Opening the URL can fail if the user doesn't have something appropriate installed to handle it.
[{'old_path': 'src/node/entry.ts', 'new_path': 'src/node/entry.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -162,10 +162,12 @@ const main = async (args: DefaultedArgs): Promise<void> => {\n if (!args.socket && args.open) {\n // The web socket doesn\'t seem to work if browsing with 0.0.0.0.\n const o...
TypeScript
860c99e3b8b8c9f0b3627806a39e6b8b876a216e
69
2020-10-29 17:21:47-04:00
18,000
['7e1e9d124971e375c431282db1aebf94470ade05']
Docs copyedits: README.md + CONTRIBUTING.md (#2242) * Edit README * Edit CONTRIBUTING * Format CONTRIBUTING.MD * Incorporate feedback * Revert movement of CONTRIBUTING.MD and format
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -6,72 +6,58 @@ Run [VS Code](https://github.com/Microsoft/vscode) on any machine anywhere and a\n \n ## Highlights\n \n-- **Code everywhere**\n- - Code on your Chromebook, tablet, and laptop with a consistent developm...
TypeScript
10b3028196192607dab139ea01b58b94a2336eae
55
2020-10-30 13:36:53-04:00
14,400
['860c99e3b8b8c9f0b3627806a39e6b8b876a216e']
util: Generate self signed certificate into data directory Closes #1778
[{'old_path': 'doc/FAQ.md', 'new_path': 'doc/FAQ.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -144,6 +144,9 @@ For HTTPS, you can use a self signed certificate by passing in just `--cert` or\n pass in an existing certificate by providing the path to `--cert` and the path to\n the key with `--cert-key`.\n \n+T...
TypeScript
8b85006996847580b10092c4b57697f2c3eef5e4
55
2020-10-30 13:36:53-04:00
14,400
['10b3028196192607dab139ea01b58b94a2336eae']
src/node/util.ts: Make certificate generation "modern" Now we add a subject alt name, set extendedKeyUsage and use the correct certificate extension. The above allow it to be properly trusted by iOS. See https://support.apple.com/en-us/HT210176 *.cert isn't a real extension for certificates, *.crt is correct for it...
[{'old_path': 'doc/FAQ.md', 'new_path': 'doc/FAQ.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -145,7 +145,7 @@ pass in an existing certificate by providing the path to `--cert` and the path t\n the key with `--cert-key`.\n \n The self signed certificate will be generated into\n-`~/.local/share/code-server/sel...
TypeScript
bae28727bd00e02601b618fe3efe720a675a3e3a
55
2020-10-30 13:36:53-04:00
14,400
['8b85006996847580b10092c4b57697f2c3eef5e4']
src/node/cli.ts: Add --cert-host to configure generated certificate hostname
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,6 +26,7 @@ export interface Args extends VsArgs {\n readonly auth?: AuthType\n readonly password?: string\n readonly cert?: OptionalString\n+ readonly "cert-host"?: string\n readonly "cert-key"...
TypeScript
a1b61d165935e647e16570c304feb7b3df801afd
55
2020-10-30 13:36:53-04:00
14,400
['bae28727bd00e02601b618fe3efe720a675a3e3a']
src/node/util.ts: Mark generated certificates as CA Required for access under iPad.
[{'old_path': 'src/node/util.ts', 'new_path': 'src/node/util.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -73,6 +73,7 @@ export const generateCertificate = async (hostname: string): Promise<{ cert: str\n req_extensions = v3_req\n \n [ v3_req ]\n+basicConstraints = CA:true\n extendedKeyUsage = serverAuth\n sub...
TypeScript
c63dc3a1ea8d4b339f970738ad773d37d13f79a7
29
2020-10-30 16:16:44-05:00
18,000
['7e1e9d124971e375c431282db1aebf94470ade05']
Add more logging around connections
[{'old_path': 'ci/build/build-release.sh', 'new_path': 'ci/build/build-release.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -67,7 +67,7 @@ EOF\n bundle_vscode() {\n mkdir -p "$VSCODE_OUT_PATH"\n rsync "$VSCODE_SRC_PATH/yarn.lock" "$VSCODE_OUT_PATH"\n- rsync "$VSCODE_SRC_PATH/out-vscode${MINIFY+-min}/" "$...
TypeScript
0b9af6ef67253e4db7eb128a78d6676097a59cb8
29
2020-10-30 16:16:45-05:00
18,000
['c63dc3a1ea8d4b339f970738ad773d37d13f79a7']
Initiate connection handshake from server This way the connection can be initiated by either side. It looks like sometimes the initial message from the client is lost (it never makes it into the onControlMessage callback) but I'm still not sure why or if that is preventable. Also added a timeout on the server end to ...
[{'old_path': 'ci/dev/vscode.patch', 'new_path': 'ci/dev/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2478,10 +2478,10 @@ index 0000000000000000000000000000000000000000..3d428a57d31f29c40f9c3ce45f715b44\n +};\n diff --git a/src/vs/server/node/protocol.ts b/src/vs/server/node/protocol.ts\n new file ...
TypeScript
07e7c38ea2ba601c11d1c4f40380e00e629855e3
29
2020-10-30 16:16:46-05:00
18,000
['0b9af6ef67253e4db7eb128a78d6676097a59cb8']
Immediately pause web socket This will buffer any data sent to it until something is ready to listen on it.
[{'old_path': 'src/node/http.ts', 'new_path': 'src/node/http.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -738,6 +738,8 @@ export class HttpServer {\n }\n \n private onUpgrade = async (request: http.IncomingMessage, socket: net.Socket, head: Buffer): Promise<void> => {\n+ socket.pause()\n+\n try {\...
TypeScript
9ad7d0b7a3e78ff6cb111a263f20e078da140ef3
29
2020-10-30 16:16:46-05:00
18,000
['07e7c38ea2ba601c11d1c4f40380e00e629855e3']
Fix potential 500 when loading in parallel
[{'old_path': 'src/node/app/vscode.ts', 'new_path': 'src/node/app/vscode.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -50,12 +50,15 @@ export class VscodeHttpProvider extends HttpProvider {\n \n logger.debug("setting up vs code...")\n return new Promise<WorkbenchOptions>((resolve, reject) => {\n- ...
TypeScript
e07a59174599f1c39f04196d275c702795387be9
29
2020-11-02 16:48:25-06:00
21,600
['676c7bf915c106c7acc2a09ffd4ddb54fe319766']
Catch cloud agent download failure - See #2251 and #2229.
[{'old_path': 'ci/build/npm-postinstall.sh', 'new_path': 'ci/build/npm-postinstall.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -25,8 +25,11 @@ main() {\n esac\n \n OS="$(uname | tr \'[:upper:]\' \'[:lower:]\')"\n- curl -fsSL "https://storage.googleapis.com/coder-cloud-releases/agent/latest/$OS/cloud-age...
TypeScript
31306f7fddda269a35da2beef78468a92725cb24
55
2020-11-03 14:04:19-05:00
14,400
['a1b61d165935e647e16570c304feb7b3df801afd']
docs: Add iPad self signed certificate documentation Closes #1816 Closes #1566
[{'old_path': 'ci/dev/fmt.sh', 'new_path': 'ci/dev/fmt.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -26,6 +26,7 @@ main() {\n doctoc --title \'# Install\' doc/install.md > /dev/null\n doctoc --title \'# npm Install Requirements\' doc/npm.md > /dev/null\n doctoc --title \'# Contributing\' doc/CONTRIBUTIN...
TypeScript
c07296cce0e448803491aa72a1ceeb2219eee387
55
2020-11-03 14:04:19-05:00
14,400
['31306f7fddda269a35da2beef78468a92725cb24']
docs: Add known issues to iPad docs and add more links to iPad docs Closes #1816
[{'old_path': 'doc/FAQ.md', 'new_path': 'doc/FAQ.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -22,7 +22,6 @@\n - [Heartbeat File](#heartbeat-file)\n - [Healthz endpoint](#healthz-endpoint)\n - [How does the config file work?](#how-does-the-config-file-work)\n-- [Blank screen on iPad?](#blank-screen-on-ipad)\n...
TypeScript
1067507c41810a24eccc02ee7645b762d25b2a0e
29
2020-11-03 14:28:48-06:00
18,000
['f2f1fee6f179059a1a5ed40e36192946c0d4bc86']
Proxy to 0.0.0.0 instead of localhost
[{'old_path': 'src/node/proxy.ts', 'new_path': 'src/node/proxy.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -80,7 +80,7 @@ router.all("*", (req, res, next) => {\n \n proxy.web(req, res, {\n ignorePath: true,\n- target: `http://127.0.0.1:${port}${req.originalUrl}`,\n+ target: `http://0.0.0.0:${port...
TypeScript
8a9e61defbe45eebc55facf6e083ad6dc03c1dca
29
2020-11-03 14:28:49-06:00
21,600
['1067507c41810a24eccc02ee7645b762d25b2a0e']
Use Addr interface everywhere and loop over arg sources
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -414,9 +414,9 @@ export async function setDefaults(cliArgs: Args, configArgs?: ConfigArgs): Promi\n args.auth = AuthType.Password\n }\n \n- const [host, port] = bindAddrFromAllSources(args, configArg...
TypeScript
3a074fd84460cab04d740bf4651da671fd0f4fac
29
2020-11-03 14:30:34-06:00
21,600
['8a9e61defbe45eebc55facf6e083ad6dc03c1dca']
Skip unnecessary auth type check when using --link
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -425,11 +425,8 @@ export async function setDefaults(cliArgs: Args, configArgs?: ConfigArgs): Promi\n args.port = 0\n args.socket = undefined\n args.cert = undefined\n-\n- if (args.auth !== Au...
TypeScript
c72c53f64de627801ae92e9911638031011a8d57
29
2020-11-03 14:36:27-06:00
21,600
['f4e58553187e085fbee1fb3bfc3ed86ecf9633c6']
Fix not being able to dispose vscode after failed disposal
[{'old_path': 'src/node/vscode.ts', 'new_path': 'src/node/vscode.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,8 +22,8 @@ export class VscodeProvider {\n if (this._vscode) {\n const vscode = await this._vscode\n vscode.removeAllListeners()\n- this._vscode = undefined\n vscode.kil...
TypeScript
c10450c4c5479af9e458c903fffe3f2ee19f53dd
29
2020-11-03 15:27:20-06:00
21,600
['c72c53f64de627801ae92e9911638031011a8d57']
Move isFile into util That allows its use in entry.ts as well.
[{'old_path': 'src/node/entry.ts', 'new_path': 'src/node/entry.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,6 +1,5 @@\n import { field, logger } from "@coder/logger"\n import * as cp from "child_process"\n-import { promises as fs } from "fs"\n import http from "http"\n import * as path from "path"\n import...
TypeScript
e243f6e36952cbe4d655cdbd77765b701feccd9f
29
2020-11-03 15:27:21-06:00
21,600
['c10450c4c5479af9e458c903fffe3f2ee19f53dd']
Return early when forking to reduce indentation
[{'old_path': 'src/node/vscode.ts', 'new_path': 'src/node/vscode.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -74,7 +74,10 @@ export class VscodeProvider {\n }\n \n private fork(): Promise<cp.ChildProcess> {\n- if (!this._vscode) {\n+ if (this._vscode) {\n+ return this._vscode\n+ }\n+\n ...
TypeScript
03e00131120263c38786410d48ff99f9a2144133
29
2020-11-03 15:27:21-06:00
21,600
['e243f6e36952cbe4d655cdbd77765b701feccd9f']
Unbind error/exit events once handshakes resolve
[{'old_path': 'src/node/vscode.ts', 'new_path': 'src/node/vscode.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -51,14 +51,20 @@ export class VscodeProvider {\n \n logger.debug("setting up vs code...")\n return new Promise<ipc.WorkbenchOptions>((resolve, reject) => {\n+ const onExit = (code: number...
TypeScript
ddbac8dd78819b76f6fcc385f301ecf725fcec13
66
2020-11-03 23:31:08+00:00
0
['f9e0990594f02a3812c2ca5adeaca39e8608c915']
Update README Alpha section to remove reference to typeform
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -35,12 +35,17 @@ We also have an in-depth [setup and configuration](./doc/guide.md) guide.\n \n ### Alpha Program 🐣\n \n-We're working on a cloud platform that makes deploying and managing code-server easier. Consider...
TypeScript
1eebde56ab6618252dfabcd778715fc685a9d885
66
2020-11-03 18:03:28-06:00
21,600
['e27188c2f9426c2040be38f8cb7cd7add1af5062']
Specify that Coder Alpha requires v3.6.2 (#2270)
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -35,7 +35,7 @@ We also have an in-depth [setup and configuration](./doc/guide.md) guide.\n \n ### Alpha Program 🐣\n \n-We're working on a cloud platform that makes deploying and managing code-server easier. Consider r...
TypeScript
75b93f9dc520ae8bc9256d3c6b02a6dcb8deebdc
29
2020-11-04 17:07:24-06:00
21,600
['8066da12fe17f4d0f158ce5243e65ac0a0d4b189']
Fix bind address priority Broke when converting to a loop.
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -414,7 +414,7 @@ export async function setDefaults(cliArgs: Args, configArgs?: ConfigArgs): Promi\n args.auth = AuthType.Password\n }\n \n- const addr = bindAddrFromAllSources(args, configArgs || { _...
TypeScript
e2c35facdbfd926ff624adf8ec3c07fe43692afd
29
2020-11-04 17:07:35-06:00
21,600
['75b93f9dc520ae8bc9256d3c6b02a6dcb8deebdc']
Remove invalid comment on maybeProxy It no longer handles authentication.
[{'old_path': 'src/node/proxy.ts', 'new_path': 'src/node/proxy.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -25,8 +25,6 @@ export const router = Router()\n *\n * For example if `coder.com` is specified `8080.coder.com` will be proxied\n * but `8080.test.coder.com` and `test.8080.coder.com` will not.\n- *\n...
TypeScript
a653b93ce210e1e160fbe906a777d77ca5b893bb
29
2020-11-04 17:07:36-06:00
21,600
['e2c35facdbfd926ff624adf8ec3c07fe43692afd']
Include protocol on printed address This makes it clickable from the terminal.
[{'old_path': 'src/node/app.ts', 'new_path': 'src/node/app.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -45,7 +45,7 @@ export const createApp = async (args: DefaultedArgs): Promise<[Express, http.Ser\n }\n \n /**\n- * Get the address of a server as a string (protocol not included) while\n+ * Get the address o...
TypeScript
c5ce365482e1f10385605ef66b04838cdcf2818a
29
2020-11-04 17:07:37-06:00
21,600
['a653b93ce210e1e160fbe906a777d77ca5b893bb']
Use query variable to force update check
[{'old_path': 'src/node/routes/update.ts', 'new_path': 'src/node/routes/update.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,19 +12,8 @@ router.use((req, _, next) => {\n next()\n })\n \n-router.get("/", async (_, res) => {\n- const update = await provider.getUpdate()\n- res.json({\n- checked: update...
TypeScript
476379a77e02f11f5261b1ec42cad67b1624a393
29
2020-11-04 17:07:39-06:00
21,600
['210fc049c40865a09f0ec747cd9d51b12208dd3c']
Fix cookie domain Had double Domain=
[{'old_path': 'src/node/http.ts', 'new_path': 'src/node/http.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -130,7 +130,7 @@ export const getCookieDomain = (host: string, proxyDomains: string[]): string |\n })\n \n logger.debug("got cookie doman", field("host", host))\n- return host ? `Domain=${host}` : un...
TypeScript
396af238421458ace5ca9fb0218fd9d02257fdae
29
2020-11-04 17:07:41-06:00
21,600
['34225e2bdf6f10a7a9b3b5fc25932ec8b8a8e17d']
Kill VS Code when process exits This is to ensure it doesn't hang around.
[{'old_path': 'src/node/entry.ts', 'new_path': 'src/node/entry.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -102,10 +102,6 @@ const main = async (args: DefaultedArgs): Promise<void> => {\n throw new Error("Please pass in a password via the config file or $PASSWORD")\n }\n \n- ipcMain.onDispose(() => {\...
TypeScript