Search is not available for this dataset
hash
string
author
int32
committer_date
string
timezone
int64
parents
string
message
string
changes
string
language
string
f73e9225b480aafdd35a2acbee952f72a1cc22f5
29
2019-10-25 15:52:39-05:00
18,000
['168ccb0dfceeaa78d83f2a6c3d3c518b169803ba']
Remove directory restrictions for /webview/vscode-resource This makes viewing images work. Fixes #1111.
[{'old_path': 'src/node/server.ts', 'new_path': 'src/node/server.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -193,6 +193,11 @@ export abstract class Server {\n \t\treturn { content: await util.promisify(fs.readFile)(filePath), filePath };\n \t}\n \n+\tprotected async getAnyResource(...parts: string[]): Promi...
TypeScript
3a9b032c721628447cf4591683918690b0663a82
29
2019-10-28 09:59:34-05:00
18,000
['f73e9225b480aafdd35a2acbee952f72a1cc22f5']
Add heartbeat file (#1115) Fixes #1050.
[{'old_path': 'src/node/server.ts', 'new_path': 'src/node/server.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -474,6 +474,9 @@ export class MainServer extends Server {\n \tprivate readonly proxyTimeout = 5000;\n \n \tprivate settings: Settings = {};\n+\tprivate heartbeatTimer?: NodeJS.Timeout;\n+\tprivate hea...
TypeScript
83ff31b620a1affe65888663c0e1da2d391d80ee
29
2019-10-28 13:47:31-05:00
18,000
['3a9b032c721628447cf4591683918690b0663a82']
Fix passwords that contain `=` Fixes #1119. Apparently `split` does not work the way I'd expect.
[{'old_path': 'src/node/server.ts', 'new_path': 'src/node/server.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -440,8 +440,11 @@ export abstract class Server {\n \t\tconst cookies: { [key: string]: string } = {};\n \t\tif (request.headers.cookie) {\n \t\t\trequest.headers.cookie.split(";").forEach((keyValue) =...
TypeScript
a89d83cbbae878584fb3483b21ade67ee4489e86
29
2019-10-28 14:03:13-05:00
18,000
['83ff31b620a1affe65888663c0e1da2d391d80ee']
Fix other incorrect usages of `split`
[{'old_path': 'src/browser/client.ts', 'new_path': 'src/browser/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,15 +3,16 @@ import { URI } from "vs/base/common/uri";\n import { registerSingleton } from "vs/platform/instantiation/common/extensions";\n import { ServiceCollection } from "vs/platform/insta...
TypeScript
ea36345d2c8c7dcad5cb789ff57381e45394b61c
29
2019-10-28 14:29:51-05:00
18,000
['a89d83cbbae878584fb3483b21ade67ee4489e86']
Allow fetching any resource Fixes #1118.
[{'old_path': 'src/node/server.ts', 'new_path': 'src/node/server.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -525,7 +525,7 @@ export class MainServer extends Server {\n \t\t\tcase "/resource":\n \t\t\tcase "/vscode-remote-resource":\n \t\t\t\tif (typeof parsedUrl.query.path === "string") {\n-\t\t\t\t\treturn...
TypeScript
422503ef9856b39dfec670488d23d8183f53f2bc
29
2019-10-28 14:57:01-05:00
18,000
['ea36345d2c8c7dcad5cb789ff57381e45394b61c']
Proxy child exit code when exiting parent process This fixes code-server exiting with zero on errors.
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -204,6 +204,7 @@ export class WrapperProcess {\n \t\t\t\t\tlogger.info("Relaunching...");\n \t\t\t\t\tthis.started = undefined;\n \t\t\t\t\tif (this.process) {\n+\t\t\t\t\t\tthis.process.removeAllListeners(...
TypeScript
197d0b6ca9e7da79c2319797272d432014ba3ff2
29
2019-10-28 16:08:32-05:00
18,000
['422503ef9856b39dfec670488d23d8183f53f2bc']
Strip internal env vars when spawning the shell This should fix all those reports of code-server dropping straight to Node and things like #1121.
[{'old_path': 'scripts/vscode.patch', 'new_path': 'scripts/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -50,6 +50,21 @@ index a657f4a4d9..66bd13dffa 100644\n } else if (typeof process === 'object') {\n \t_isWindows = (process.platform === 'win32');\n \t_isMacintosh = (process.platform === 'darwin...
TypeScript
e22964915a713686a83e88531999514cbd62326a
29
2019-10-28 16:25:51-05:00
18,000
['197d0b6ca9e7da79c2319797272d432014ba3ff2']
Support opening workspaces from command line Partly addresses #1121.
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -90,7 +90,7 @@ const startVscode = async (): Promise<void | void[]> => {\n \t\tbasePath: args["base-path"],\n \t\tcert: args.cert,\n \t\tcertKey: args["cert-key"],\n-\t\tfolderUri: extra.length > 1 ? extra[...
TypeScript
cd859d117f3e323e642ced833ccdf676fc5c37bc
29
2019-10-29 11:04:38-05:00
18,000
['e22964915a713686a83e88531999514cbd62326a']
Start pushing to latest Docker tag
[{'old_path': '.travis.yml', 'new_path': '.travis.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -61,7 +61,7 @@ deploy:\n \n - provider: script\n skip_cleanup: true\n- script: docker build -f ./scripts/ci.dockerfile -t codercom/code-server:"$TAG" -t codercom/code-server:v2 . && docker push codercom/co...
TypeScript
f65c9b23fc4d984e2f3c1885bbd617efe4cdefe9
75
2019-10-29 11:08:01-05:00
14,400
['cd859d117f3e323e642ced833ccdf676fc5c37bc']
Add docker-compose file (#680)
[{'old_path': None, 'new_path': 'docker-compose.yml', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,13 @@\n+version: "3"\n+\n+services:\n+ code-server:\n+ container_name: code-server\n+ image: codercom/code-server\n+ ports:\n+ - "8080:8080"\n+ volumes:\n+ - "${PWD}:/home/coder/project"\n...
TypeScript
7e4a73ce2d19eee08ceea25113debefeb8ac27e2
29
2019-10-29 11:42:28-05:00
18,000
['2f0878d9b7c4ae3cc6b9afcfcc3442308687bac3']
Fix schema matching against vscode-remote Fixes #1104.
[{'old_path': 'scripts/vscode.patch', 'new_path': 'scripts/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -619,6 +619,34 @@ index 84c46faa36..957e8412e1 100644\n \n \t\t\tif (!this.configuration.userDataProvider) {\n \t\t\t\tconst remoteUserDataUri = this.getRemoteUserDataUri();\n+diff --git a/src/...
TypeScript
87485948ad6598d8a1f480b1f5dba2fe2e12c121
29
2019-10-29 14:43:27-05:00
18,000
['7e4a73ce2d19eee08ceea25113debefeb8ac27e2']
Kill inner process if parent process dies Fixes #1076.
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -237,6 +237,7 @@ export class WrapperProcess {\n \t\t\tenv: {\n \t\t\t\t...process.env,\n \t\t\t\tLAUNCH_VSCODE: "true",\n+\t\t\t\tVSCODE_PARENT_PID: process.pid.toString(),\n \t\t\t},\n \t\t\tstdio: ["inhe...
TypeScript
73cf8f34e32f854ed3d36456cdf0a665b04e779c
29
2019-10-30 10:32:57-05:00
18,000
['766efd6079d614c577ab411cfc3b655b0d21ad77']
Fix outgoing scheme transformation Accidentally used local instead of remote. Fixes #1127.
[{'old_path': 'src/node/uriTransformer.js', 'new_path': 'src/node/uriTransformer.js', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -16,7 +16,7 @@ module.exports = (remoteAuthority) => {\n \t\t},\n \t\ttransformOutgoingScheme: (scheme) => {\n \t\t\tswitch (scheme) {\n-\t\t\t\tcase "file": return "vscode-local";\n+\...
TypeScript
3d5db8313a91f80dfc402450fd117b4e63f7711e
29
2019-10-30 10:33:07-05:00
18,000
['73cf8f34e32f854ed3d36456cdf0a665b04e779c']
Add secure domain to requirements
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,10 +22,11 @@ docker run -it -p 127.0.0.1:8080:8080 -v "${HOME}/.local/share/code-server:/home\n \n ### Requirements\n \n-- Minimum GLIBC version of 2.17 and a minimum version of GLIBCXX of 3.4.15.\n- - This is the...
TypeScript
af71203955d2c43360a2f4e8ddb138cd074a935a
29
2019-11-01 10:51:23-05:00
18,000
['fc3acfabb224fc004ec4f29fd7dc5b4539d31a04']
Fix relaunching during an update
[{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,7 +11,7 @@\n "patch:apply": "cd ../../../ && git apply ./src/vs/server/scripts/vscode.patch"\n },\n "devDependencies": {\n- "@coder/nbin": "^1.2.2",\n+ "@coder/nbin": "^1.2.3",\n "@types/fs-...
TypeScript
780a673017052a4424ba474d2017ef6a560014d6
29
2019-11-04 16:01:01-06:00
21,600
['af71203955d2c43360a2f4e8ddb138cd074a935a']
Add meta tag to allow full screen app on iOS Fixes #933.
[{'old_path': 'src/browser/workbench-build.html', 'new_path': 'src/browser/workbench-build.html', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -40,6 +40,7 @@\n \t\t<link rel="manifest" href="./manifest.json">\n \t\t<link rel="apple-touch-icon" href="./static-{{COMMIT}}/out/vs/server/src/media/code-server.png" />\n...
TypeScript
cee0ac213cf80c20537a77b26ea842091b421dc7
29
2019-11-04 17:10:00-06:00
21,600
['780a673017052a4424ba474d2017ef6a560014d6']
Fix error activating extensions on insecure domains Doesn't affect Firefox but it does affect other browsers. Fixes #1136.
[{'old_path': 'scripts/vscode.patch', 'new_path': 'scripts/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -812,6 +812,21 @@ index 3bdfa1a79f..ded21cf9c6 100644\n \n // register services that only throw errors\n function NotImplementedProxy<T>(name: ServiceIdentifier<T>): { new(): T } {\n+diff --git...
TypeScript
2ad2582cc02ea4783dc7296017afe61f739cde91
29
2019-11-05 13:49:18-06:00
21,600
['cee0ac213cf80c20537a77b26ea842091b421dc7']
Minor readme updates and fixes
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -60,14 +60,14 @@ arguments when launching code-server with Docker. See\n ### Build\n \n See\n-[VS Code prerequisites](https://github.com/Microsoft/vscode/wiki/How-to-Contribute#prerequisites)\n+[VS Code's prerequisites...
TypeScript
727ac6483bc6acd35ad4aa277eeb55189f627dac
47
2019-11-07 11:38:10-06:00
18,000
['2c15c09fc0e7a083f75ecc303184d7c49c6111c0']
Clear password when redirecting to login Should prevent endless redirects when the cookie is set on a different path or domain (like with a dot prefix).
[{'old_path': 'src/node/server.ts', 'new_path': 'src/node/server.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -298,7 +298,10 @@ export abstract class Server {\n \t\t\t\t\t\treturn response;\n \t\t\t\t}\n \t\t\t\tif (!this.authenticate(request)) {\n-\t\t\t\t\treturn { redirect: "/login" };\n+\t\t\t\t\treturn {...
TypeScript
a1d6bcb8e5a5f25d94877a4029740208e36d0553
29
2019-11-07 13:36:18-06:00
21,600
['727ac6483bc6acd35ad4aa277eeb55189f627dac']
Handle cookies more robustly If you visit /login/ instead of /login the cookie will be set at /login instead of / which means the cookie can't be read at the root. It will redirect to the login page which *can* read the cookie at /login and redirect back resulting in an infinite loop. The previous solution relied on ...
[{'old_path': 'src/node/server.ts', 'new_path': 'src/node/server.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -98,7 +98,7 @@ export interface Response {\n }\n \n export interface LoginPayload {\n-\tpassword?: string;\n+\tpassword?: string[] | string;\n }\n \n export class HttpError extends Error {\n@@ -298,10...
TypeScript
2018024810269eeaa5ce868e555d5476da2a626d
29
2019-11-07 15:57:57-06:00
21,600
['a1d6bcb8e5a5f25d94877a4029740208e36d0553']
Hash password Fixes issues with unexpected characters breaking things when setting the cookie (like semicolons). This change as-is does not affect the security of code-server itself (we've just replaced the static password with a static hash) but if we were to add a salt in the future it would let us invalidate keys ...
[{'old_path': 'src/node/server.ts', 'new_path': 'src/node/server.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -63,7 +63,7 @@ import { TelemetryClient } from "vs/server/src/node/insights";\n import { getLocaleFromConfig, getNlsConfiguration } from "vs/server/src/node/nls";\n import { Protocol } from "vs/server...
TypeScript
0add01d38332bfdb2d55ae7d6cca912efbde521d
100
2019-11-14 11:12:21-06:00
-3,600
['2018024810269eeaa5ce868e555d5476da2a626d']
Delete apt lists from final image (#1174)
[{'old_path': 'Dockerfile', 'new_path': 'Dockerfile', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -33,7 +33,8 @@ RUN apt-get update && apt-get install -y \\\n \tdumb-init \\\n \tvim \\\n \tcurl \\\n-\twget\n+\twget \\\n+ && rm -rf /var/lib/apt/lists/*\n \n RUN locale-gen en_US.UTF-8\n # We cannot use update-loca...
TypeScript
938c6ef829544acae97f705b12c366f0aa3188ff
29
2019-11-14 11:14:27-06:00
21,600
['0add01d38332bfdb2d55ae7d6cca912efbde521d']
Update fail2ban configuration Fixes #1177.
[{'old_path': 'doc/examples/fail2ban.conf', 'new_path': 'doc/examples/fail2ban.conf', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,11 +2,11 @@\n \n [Definition]\n \n-failregex = ^INFO\\s+Failed login attempt\\s+{\\"password\\":\\"(\\\\.|[^"])*\\",\\"remoteAddress\\":\\"<HOST>\\"\n+failregex = ^Failed login atte...
TypeScript
917aa4807277a58b88e6f852436d4aa651b9cd29
29
2019-11-14 11:16:08-06:00
21,600
['938c6ef829544acae97f705b12c366f0aa3188ff']
Update enterprise link Fixes #1172.
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -188,8 +188,8 @@ Our changes include:\n \n ## Enterprise\n \n-Visit [our enterprise page](https://coder.com/enterprise) for more information\n-about our enterprise offering.\n+Visit [our enterprise page](https://coder....
TypeScript
884491d72be13c93b6172308d44fbd2146643ade
10
2019-12-05 13:38:03-06:00
-3,600
['e14362f3224c101585a26bf7ee5fa6e3bf425046']
Update Dockerfile to fix EACCES issue on mount (#1191) https://github.com/cdr/code-server/issues/1188 Fixes issue with permissions mounting in directories in the container. Folders are generated by root causing issues when the container user "coder" wants to create sub-folders. This fix solves it, at least on Crosti...
[{'old_path': 'Dockerfile', 'new_path': 'Dockerfile', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -49,6 +49,8 @@ USER coder\n # We create first instead of just using WORKDIR as when WORKDIR creates, the\n # user is root.\n RUN mkdir -p /home/coder/project\n+# To avoid EACCES issues on f.ex Crostini (ChromeOS)\n+R...
TypeScript
015a99e87dab9c347d44f22eaaaf0a36a01b25e4
29
2019-12-09 10:55:24-06:00
21,600
['884491d72be13c93b6172308d44fbd2146643ade']
Always install VS Code dependencies This fixes the case where the script is killed before all the dependencies were fully installed.
[{'old_path': 'scripts/build.ts', 'new_path': 'scripts/build.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -169,13 +169,9 @@ class Builder {\n \t\t\t});\n \t\t}\n \n-\t\tif (fs.existsSync(path.join(vscodeSourcePath, "node_modules"))) {\n-\t\t\tthis.log("Using existing VS Code node_modules");\n-\t\t} else {\n \...
TypeScript
e5fc63f2c8fa0c33ddd0314022c62cb9a50f455d
29
2019-12-09 11:25:59-06:00
21,600
['015a99e87dab9c347d44f22eaaaf0a36a01b25e4']
Fix accessing manifest behind basic auth Apparently the manifest spec doesn't include sending credentials in an attempt to be secure by default. Fixes #1212.
[{'old_path': 'src/browser/workbench-build.html', 'new_path': 'src/browser/workbench-build.html', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -37,7 +37,7 @@\n \n \t\t<!-- Workbench Icon/Manifest/CSS -->\n \t\t<link rel="icon" href="./favicon.ico" type="image/x-icon" />\n-\t\t<link rel="manifest" href="./manifest....
TypeScript
44c4722edfa107215824ac96fa9ae79c785880cb
29
2019-12-10 12:06:52-06:00
21,600
['e5fc63f2c8fa0c33ddd0314022c62cb9a50f455d']
Fix data directory path in Dockerfile
[{'old_path': 'Dockerfile', 'new_path': 'Dockerfile', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -50,7 +50,7 @@ USER coder\n # user is root.\n RUN mkdir -p /home/coder/project\n # To avoid EACCES issues on f.ex Crostini (ChromeOS)\n-RUN mkdir -p /home/coder/.local/code-server\n+RUN mkdir -p /home/coder/.local/sh...
TypeScript
e6d1f2a7c8a11d9c22485e7ace03ed0178045b62
29
2019-12-16 16:52:29-06:00
21,600
['44c4722edfa107215824ac96fa9ae79c785880cb']
Update VS Code to 1.41.0
[{'old_path': '.travis.yml', 'new_path': '.travis.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,7 +6,7 @@ services:\n \n before_install:\n - export MAJOR_VERSION="2"\n- - export VSCODE_VERSION="1.39.2"\n+ - export VSCODE_VERSION="1.41.0"\n - export VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER"\n - ...
TypeScript
6a1dcab7a64cb966c609d2ca4bd19e3c07f5d52f
29
2020-01-07 18:27:28-06:00
21,600
['e6d1f2a7c8a11d9c22485e7ace03ed0178045b62']
Update nbin Should finally be able to build with Node v12 now.
[{'old_path': 'package.json', 'new_path': 'package.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -11,7 +11,7 @@\n "patch:apply": "cd ../../../ && git apply ./src/vs/server/scripts/vscode.patch"\n },\n "devDependencies": {\n- "@coder/nbin": "^1.2.3",\n+ "@coder/nbin": "^1.2.7",\n "@types/fs-...
TypeScript
80241443810dff1f974ffc1382306c486ff9fb04
29
2020-01-07 18:27:41-06:00
21,600
['6a1dcab7a64cb966c609d2ca4bd19e3c07f5d52f']
Update VS Code to 1.41.1
[{'old_path': '.travis.yml', 'new_path': '.travis.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,7 +6,7 @@ services:\n \n before_install:\n - export MAJOR_VERSION="2"\n- - export VSCODE_VERSION="1.41.0"\n+ - export VSCODE_VERSION="1.41.1"\n - export VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER"\n - ...
TypeScript
1959d82912967ddabd23d8f0b604a75739e710bf
29
2020-01-08 13:20:50-06:00
21,600
['80241443810dff1f974ffc1382306c486ff9fb04']
Increase cache timeout The Mac build seems to be terminated due to a timeout during the caching stage.
[{'old_path': '.travis.yml', 'new_path': '.travis.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -68,6 +68,7 @@ deploy:\n condition: -n "$PUSH_DOCKER"\n \n cache:\n+ timeout: 1000\n yarn: true\n directories:\n - source\n'}]
TypeScript
1087037728611e283cb13a060d9b8d72c952d667
29
2020-01-08 15:05:12-06:00
21,600
['1959d82912967ddabd23d8f0b604a75739e710bf']
Don't push latest and v2 Docker tags automatically We should only push those when the version is confirmed to work.
[{'old_path': '.travis.yml', 'new_path': '.travis.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -61,7 +61,7 @@ deploy:\n \n - provider: script\n skip_cleanup: true\n- script: docker build -f ./scripts/ci.dockerfile -t codercom/code-server:"$TAG" -t codercom/code-server:v2 -t codercom/code-server . &&...
TypeScript
3ce71294921b37818437bbf2fdb6bd72ddb7d199
106
2020-01-15 13:14:05-06:00
-28,800
['336ee288886f5728e1191e9ada2aeba5eb0bbd76']
Drone CI migration (#1261)
[{'old_path': None, 'new_path': '.drone.yml', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,135 @@\n+kind: pipeline\n+type: docker\n+name: build-amd64\n+\n+platform:\n+ arch: amd64\n+\n+steps:\n+\n+ - name: build\n+ image: node:12\n+ commands:\n+ - apt update && apt install -y build-essential git libs...
TypeScript
6dd5e515c5b64f85520b76183c70535aa6104266
29
2020-01-15 13:21:55-06:00
21,600
['92da02ef3e5ff49314f9be56cd351b1b97a576b2']
Travis release on tags only and remove Docker push The manual tagging is necessary to sync up the releases of the two different CIs.
[{'old_path': '.travis.yml', 'new_path': '.travis.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,26 +17,18 @@ jobs:\n include:\n - name: "MacOS build"\n os: osx\n- if: tag IS blank\n script: travis_wait 60 scripts/ci.bash\n \n git:\n depth: 3\n \n-before_deploy:\n- - echo "$TAG" "...
TypeScript
f2a15795a149588a12f15bb3400d68d152e10c09
29
2020-01-15 13:21:58-06:00
21,600
['6dd5e515c5b64f85520b76183c70535aa6104266']
Use draft releases for Drone This gives us a chance to review it and add notes.
[{'old_path': '.drone.yml', 'new_path': '.drone.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -45,6 +45,7 @@ steps:\n api_key:\n from_secret: github_token\n files: release/*.tar.gz\n+ draft: true\n when:\n event: tag\n \n@@ -113,6 +114,7 @@ steps:\n api_key:\n from_secret: github_tok...
TypeScript
42bddce21f4654bfb305be50e3dd7b7c13faa52b
29
2020-01-15 13:21:58-06:00
21,600
['f2a15795a149588a12f15bb3400d68d152e10c09']
Add defaults for environment variables So we don't have to keep setting them for each CI and every single step since there doesn't seem to be a way to share them between steps in Drone.
[{'old_path': '.travis.yml', 'new_path': '.travis.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -4,14 +4,6 @@ node_js:\n services:\n - docker\n \n-before_install:\n- - export MAJOR_VERSION="2"\n- - export VSCODE_VERSION="1.41.1"\n- - export VERSION="$MAJOR_VERSION.$TRAVIS_BUILD_NUMBER"\n- - export TAG="...
TypeScript
174cb2f8a98f24742eb73ecbedf9fc3e321b0ba0
29
2020-01-15 13:22:42-06:00
21,600
['42bddce21f4654bfb305be50e3dd7b7c13faa52b']
Remove unused Docker step from CI script
[{'old_path': '.drone.yml', 'new_path': '.drone.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -61,8 +61,7 @@ steps:\n - v2\n - ${DRONE_TAG}\n build_args:\n- - codeServerVersion=${DRONE_TAG}\n- - vscodeVersion=1.41.1\n+ - tag=${DRONE_TAG}\n when:\n event: tag\n \n@@ -181,8 ...
TypeScript
57425377e5964e8d062ff79a4c8db4b507268b0c
29
2020-01-15 13:22:45-06:00
21,600
['174cb2f8a98f24742eb73ecbedf9fc3e321b0ba0']
Use CI dockerfile for pushing Docker image
[{'old_path': '.drone.yml', 'new_path': '.drone.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -50,12 +50,14 @@ steps:\n event: tag\n \n - name: publish:docker\n- image: banzaicloud/drone-kaniko\n+ image: plugins/docker\n settings:\n username:\n from_secret: docker_user\n password:\n ...
TypeScript
66ee6e8201dee4e0f584cf10a54eff45b9394bfa
29
2020-01-15 13:48:27-06:00
21,600
['62f050fda795c30b9faf43a3efeffa64f1d979b4']
Ignore 32 bit arm failures for now Seems we are running out of memory.
[{'old_path': '.drone.yml', 'new_path': '.drone.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -279,6 +279,7 @@ steps:\n \n - name: test\n image: node:12\n+ failure: ignore\n commands:\n - yarn test\n \n@@ -348,6 +349,7 @@ steps:\n \n - name: test\n image: node:12-alpine\n+ failure: ignore\n comm...
TypeScript
b2669e78bf755e94449ccd8be535998a1f738e9f
29
2020-01-15 17:13:06-06:00
21,600
['66ee6e8201dee4e0f584cf10a54eff45b9394bfa']
Implement ExtHostStoragePaths for the browser This appears to make vscodevim work again.
[{'old_path': 'scripts/vscode.patch', 'new_path': 'scripts/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -583,6 +583,70 @@ index a1c3e50ffd..910627aaf9 100644\n \t\tif (module.scheme !== Schemas.file) {\n \t\t\tthrow new Error(`Cannot load URI: '${module}', must be of file-scheme`);\n \t\t}\n+diff...
TypeScript
d97feca3ba68c9a94238a2191b01dbed0557d65c
29
2020-01-15 18:02:19-06:00
21,600
['b2669e78bf755e94449ccd8be535998a1f738e9f']
Add code-server version to the about dialog
[{'old_path': 'scripts/vscode.patch', 'new_path': 'scripts/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -750,6 +750,25 @@ index 138707c9a9..9134d5f503 100644\n \t\t\t\t\t} catch (e) {\n \t\t\t\t\t\tconsole.error(\'Could not rewrite csp\');\n \t\t\t\t\t}\n+diff --git a/src/vs/workbench/services/di...
TypeScript
45f70e741ffa0798fcfa0e613f1b37380e2877bf
29
2020-01-16 11:36:17-06:00
21,600
['1474a82c7dafd64a1c7181f18dfec2a9e119f3ae']
Move manifest to the root Fixes #1278.
[{'old_path': 'src/browser/login.html', 'new_path': 'src/browser/login.html', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -5,7 +5,7 @@\n \t\t<meta http-equiv="Content-Security-Policy" content="default-src \'none\'; style-src \'self\' \'unsafe-inline\'; script-src \'unsafe-inline\'; manifest-src \'self\'; img-src ...
TypeScript
7c178805eaece0d2b7de07ba1f312fe48826f4f4
29
2020-01-16 11:44:17-06:00
21,600
['45f70e741ffa0798fcfa0e613f1b37380e2877bf']
Add comment about the manifest's served location Also for #1278.
[{'old_path': 'src/node/server.ts', 'new_path': 'src/node/server.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -297,6 +297,8 @@ export abstract class Server {\n \t\tswitch (base) {\n \t\t\tcase "/":\n \t\t\t\tswitch (requestPath) {\n+\t\t\t\t\t// NOTE: This must be served at the correct location based on the\n...
TypeScript
e2d354c8f2d646bf0f11f7ac48025c5f61169006
29
2020-01-16 12:11:56-06:00
21,600
['7c178805eaece0d2b7de07ba1f312fe48826f4f4']
Move manifest icon to the root as well
[{'old_path': 'src/node/server.ts', 'new_path': 'src/node/server.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -300,6 +300,7 @@ export abstract class Server {\n \t\t\t\t\t// NOTE: This must be served at the correct location based on the\n \t\t\t\t\t// start_url in the manifest.\n \t\t\t\t\tcase "/manifest.json...
TypeScript
101139fabfd9d537af933821873ae81a443e0a14
29
2020-01-16 14:53:59-06:00
21,600
['e2d354c8f2d646bf0f11f7ac48025c5f61169006']
Fix Drone CI releases Also skip the 32 bit arm releases since they don't currently build anyway.
[{'old_path': '.drone.yml', 'new_path': '.drone.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -46,6 +46,8 @@ steps:\n from_secret: github_token\n files: release/*.tar.gz\n draft: true\n+ overwrite: true\n+ title: ${DRONE_TAG}\n when:\n event: tag\n \n@@ -55,15 +57,11 @@ steps:\n userna...
TypeScript
ae356734898704b67584212ceec8f060b0160a60
29
2020-01-16 15:39:44-06:00
21,600
['23f142fdc6f07d25d7a281aac683905a49078da3']
Use custom Yarn cache directory Makes it easier to upload and restore.
[{'old_path': 'scripts/cacher.sh', 'new_path': 'scripts/cacher.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -23,7 +23,7 @@ restore() {\n # the cache-upload directory will be uploaded as-is to the code-server bucket.\n package() {\n \tmkdir -p "cache-upload/cache/$1"\n-\ttar czfv "cache-upload/cache/$1/$tar.ta...
TypeScript
7e7923706f77a5a23290b6cf97647dd8855d378d
29
2020-01-16 17:59:11-06:00
21,600
['ae356734898704b67584212ceec8f060b0160a60']
Fix version generated from Git tag
[{'old_path': 'scripts/ci.bash', 'new_path': 'scripts/ci.bash', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -9,7 +9,7 @@ function main() {\n \t# Get the version information. If a specific version wasn't set, generate it\n \t# from the tag and VS Code version.\n \tlocal vscode_version=${VSCODE_VERSION:-1.41.1}\n-\...
TypeScript
8122b7f69e8598f5aa1b0e3a86d0307a52ed67fa
29
2020-01-17 12:23:36-06:00
21,600
['25f18beda4669cbf008cb42f169480406984f27f']
Remove unused upload service No longer needed since VS Code has their own now.
[{'old_path': 'src/browser/client.ts', 'new_path': 'src/browser/client.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -10,7 +10,6 @@ import { Registry } from "vs/platform/registry/common/platform";\n import { PersistentConnectionEventType } from "vs/platform/remote/common/remoteAgentConnection";\n import { ITel...
TypeScript
f51e045cd5483561afc07694f39307fb673b6d1d
29
2020-01-17 16:27:36-06:00
21,600
['8122b7f69e8598f5aa1b0e3a86d0307a52ed67fa']
Use the nbin centos container to build again This will put the glibc requirement back down to what it used to be.
[{'old_path': '.drone.yml', 'new_path': '.drone.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -12,9 +12,10 @@ steps:\n - ./scripts/cacher.sh\n \n - name: build\n- image: node:12\n+ image: codercom/nbin:centos\n commands:\n- - apt update && apt install -y build-essential git libsecret-1-dev libx11-d...
TypeScript
a674d882bf15d218f1710ac06b76bc4e7f4636f0
55
2020-01-27 12:17:59-06:00
21,600
['f51e045cd5483561afc07694f39307fb673b6d1d']
Remove buggy -v flag from README.md docker run Closes #1270 Will describe in FAQ how to keep state.
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,7 +6,7 @@ remote server, accessible through the browser.\n Try it out:\n \n ```bash\n-docker run -it -p 127.0.0.1:8080:8080 -v "${HOME}/.local/share/code-server:/home/coder/.local/share/code-server" -v "$PWD:/home/c...
TypeScript
bb8bad49dcf3b820abd855bc8d9092ec7671dc8c
55
2020-02-03 11:35:18-06:00
21,600
['a674d882bf15d218f1710ac06b76bc4e7f4636f0']
Remvoe question issue template Closes #1331
[{'old_path': '.github/ISSUE_TEMPLATE/question.md', 'new_path': None, 'type': <ModificationType.DELETE: 4>, 'diff': "@@ -1,17 +0,0 @@\n----\n-name: Question\n-about: Ask a question.\n-title: ''\n-labels: 'question'\n-assignees: ''\n----\n-\n-<!-- Please search existing issues to avoid creating duplicates. -->\n-\n-## D...
TypeScript
5f562dc1131ed12149012786275bfc1464695a50
106
2020-02-04 20:43:54+08:00
-28,800
['bb8bad49dcf3b820abd855bc8d9092ec7671dc8c']
Decomission Travis We won't need Travis from now on since it's only purpose is to do Mac builds, which no one uses anymore.
[{'old_path': '.travis.yml', 'new_path': None, 'type': <ModificationType.DELETE: 4>, 'diff': '@@ -1,37 +0,0 @@\n-language: node_js\n-node_js:\n- - 12.14.0\n-services:\n- - docker\n-\n-jobs:\n- include:\n- - name: "MacOS build"\n- os: osx\n- script: travis_wait 60 scripts/ci.bash\n-\n-git:\n- depth: 3\n...
TypeScript
50234e5f04338011d72f855992383660003f2e3d
79
2020-02-04 11:10:32-06:00
18,000
['bb8bad49dcf3b820abd855bc8d9092ec7671dc8c']
Reflects new location of vscodeVersion (#1327)
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -65,7 +65,7 @@ before building.\n \n ```shell\n export OUT=/path/to/output/build # Optional if only building. Required if also developing.\n-yarn build $vscodeVersion $codeServerVersion # See travis...
TypeScript
c7127cb248d8a05cdce4b28c3dbfa7116f91c6b6
56
2020-02-04 11:23:21-06:00
-3,600
['50234e5f04338011d72f855992383660003f2e3d']
Set display property in manifest to fullscreen
[{'old_path': 'src/media/manifest.json', 'new_path': 'src/media/manifest.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -2,7 +2,7 @@\n \t"name": "code-server",\n \t"short_name": "code-server",\n \t"start_url": ".",\n-\t"display": "standalone",\n+\t"display": "fullscreen",\n \t"background-color": "#fff",\n \t"...
TypeScript
3ee6b0ff0b01eb501c543415a844b1889d6b6414
36
2020-02-04 11:32:45-06:00
-36,000
['e270f7da1b89e9805f2cafc09c52bf0cacfa5307']
Automatically push releases to GCS (#1318)
[{'old_path': '.drone.yml', 'new_path': '.drone.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -66,6 +66,16 @@ steps:\n when:\n event: tag\n \n+- name: publish:gcs\n+ image: plugins/gcs\n+ settings:\n+ source: gcs_bucket\n+ target: codesrv-ci.cdr.sh/\n+ token:\n+ from_secret: gcs-token\n+...
TypeScript
b30aefcfb162e80fe1080e561b5a5d8a4d83b57a
29
2020-02-04 15:42:55-06:00
21,600
['b29346ecdf9e4cfd628152bebf5f270a29524416']
Add linting steps and improve testing steps
[{'old_path': '.drone.yml', 'new_path': '.drone.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -6,22 +6,30 @@ platform:\n arch: amd64\n \n steps:\n-- name: submodules\n- image: alpine/git\n+- name: cache:restore\n+ image: codercom/nbin:centos\n commands:\n- - git submodule update --init\n+ - yum in...
TypeScript
4a54e914fcbe87098890127e750870dbd9cb648d
29
2020-02-04 16:01:00-06:00
21,600
['b30aefcfb162e80fe1080e561b5a5d8a4d83b57a']
Remove 32 bit arm builds from CI
[{'old_path': '.drone.yml', 'new_path': '.drone.yml', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -329,151 +329,3 @@ steps:\n from_secret: gcs-token\n when:\n event: tag\n-\n----\n-kind: pipeline\n-type: docker\n-name: arm:linux\n-\n-platform:\n- arch: arm\n-\n-steps:\n-- name: cache:restore\n- imag...
TypeScript
6e809b6a31159c1677d968870f415c6a83de3d1f
29
2020-02-05 14:23:42-06:00
21,600
['7c6fe56043707d94941756693833b5043560ff45']
Handle when VS Code fails to load This is mostly for development where VS Code might not have finished compiling yet.
[{'old_path': 'scripts/build.ts', 'new_path': 'scripts/build.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -246,18 +246,11 @@ class Builder {\n await this.task("copying vs code into build directory", async () => {\n await fs.mkdirp(vscodeBuildPath)\n await Promise.all([\n- (async (): Pro...
TypeScript
a149c5fc608a206adaa90e2b4568ae61d290ce79
29
2020-02-05 14:48:15-06:00
21,600
['6e809b6a31159c1677d968870f415c6a83de3d1f']
Pass arguments to code-server during watch
[{'old_path': 'scripts/build.ts', 'new_path': 'scripts/build.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -330,7 +330,7 @@ class Builder {\n if (server) {\n server.kill()\n }\n- const s = cp.fork(path.join(this.rootPath, "out/node/entry.js"))\n+ const s = cp.fork(path.join(this.r...
TypeScript
4cc181cedc6029cc4d7f00903568b92dffaa3a3d
29
2020-02-05 17:38:21-06:00
21,600
['a149c5fc608a206adaa90e2b4568ae61d290ce79']
Make routing base path agnostic
[{'old_path': 'src/browser/api.ts', 'new_path': 'src/browser/api.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,3 +1,4 @@\n+import { getBasepath } from "hookrouter"\n import { Application, ApplicationsResponse, CreateSessionResponse, FilesResponse, RecentResponse } from "../common/api"\n import { ApiEndpoint...
TypeScript
205775ac970d9db81f524cae15f281bc2fc0176a
29
2020-02-05 17:45:24-06:00
21,600
['4cc181cedc6029cc4d7f00903568b92dffaa3a3d']
Only serve HTML on specific index.html requests Otherwise there is risk of an infinite loop through the iframe where the fallback keeps loading the root HTML which itself has an iframe...
[{'old_path': 'src/node/app/server.tsx', 'new_path': 'src/node/app/server.tsx', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,6 +3,7 @@ import * as http from "http"\n import * as React from "react"\n import * as ReactDOMServer from "react-dom/server"\n import App from "../../browser/app"\n+import { HttpCode, Htt...
TypeScript
efaeb3b1101d9b5ce93f2647bdb157b474c6b3fb
29
2020-02-06 10:26:53-06:00
21,600
['6cebfa469d0406d10a6155c5d9d8a6ae1c9509ed']
Add hidden username field for accessibility
[{'old_path': 'src/browser/pages/login.css', 'new_path': 'src/browser/pages/login.css', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -17,13 +17,17 @@\n margin-top: 1em;\n }\n \n-.login-form > .field > .input {\n+.login-form > .field > .password {\n border: 1px solid #b6b6b6;\n box-sizing: border-box;\n pad...
TypeScript
8a0f1d846e75d221ea506065711c8255cd8c2595
29
2020-02-06 12:29:38-06:00
21,600
['efaeb3b1101d9b5ce93f2647bdb157b474c6b3fb']
Move start path logic out of patch and fix it
[{'old_path': 'scripts/vscode.patch', 'new_path': 'scripts/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -852,7 +852,7 @@ index 0000000000..eb62b87798\n +}\n diff --git a/src/vs/server/entry.ts b/src/vs/server/entry.ts\n new file mode 100644\n-index 0000000000..cb606e6a68\n+index 0000000000..9995e9f7...
TypeScript
63f3c04c57abce73b40ac015117f9eafbcc4d1e5
29
2020-02-06 13:12:00-06:00
21,600
['8a0f1d846e75d221ea506065711c8255cd8c2595']
Move user data directory logic out of patch
[{'old_path': 'scripts/vscode.patch', 'new_path': 'scripts/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -934,10 +934,10 @@ index 0000000000..56331ff1fc\n +require('../../bootstrap-amd').load('vs/server/entry');\n diff --git a/src/vs/server/ipc.d.ts b/src/vs/server/ipc.d.ts\n new file mode 100644\n-i...
TypeScript
b38cfa473e4f8f37b6e1a348401899d2ea7946cc
101
2020-02-06 23:05:40+01:00
-3,600
['ef8da3864f4f252d2a72bb91103f6809d1fe5348']
Dockerfile: Combine two runs
[{'old_path': 'Dockerfile', 'new_path': 'Dockerfile', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -42,8 +42,8 @@ RUN adduser --gecos '' --disabled-password coder && \\\n USER coder\n # Create first so these directories will be owned by coder instead of root\n # (workdir and mounting appear to both default to root...
TypeScript
5baf16622f0f38fea6595c2719a79b2e44d153fc
29
2020-02-07 16:47:51-06:00
21,600
['256419004d82a4aa25e5593e6ca94fa080ea9b1f']
Fix VS Code product configuration not loading
[{'old_path': 'scripts/build.ts', 'new_path': 'scripts/build.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -172,21 +172,9 @@ class Builder {\n ])\n })\n \n- await this.copyDependencies("code-server", this.rootPath, this.buildPath)\n-\n- await this.task("writing final code-server package.json", ...
TypeScript
250a54220c5a2ad9849fa13d50ab76a83896d4c0
29
2020-02-12 14:31:34-06:00
21,600
['6a693e7181510c3580512e9f1788f4b4af4e86fe']
Update VS Code to 1.42.0
[{'old_path': 'scripts/vscode.patch', 'new_path': 'scripts/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,8 +1,8 @@\n diff --git a/src/vs/base/common/network.ts b/src/vs/base/common/network.ts\n-index 231180d513..5b98e191c1 100644\n+index a68e020f9f..b4ee8a5886 100644\n --- a/src/vs/base/common/net...
TypeScript
d574012871e58e503801f869fab5e3d3a4052390
29
2020-02-12 16:57:44-06:00
21,600
['250a54220c5a2ad9849fa13d50ab76a83896d4c0']
Fix duplicate files opening with folder parameter When using a query parameter without a scheme, the scheme defaults to `file`. This results in the files in the explorer being technically different from the file picker files because they are file:// instead of vscode-remote://, causing the same file to open twice and ...
[{'old_path': 'scripts/vscode.patch', 'new_path': 'scripts/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -76,6 +76,46 @@ index 2c64061da7..c0ef8faedd 100644\n \t\t} catch (err) {\n \t\t\t// Do nothing. If we can't read the file we have no\n \t\t\t// language pack config.\n+diff --git a/src/vs/code...
TypeScript
c8fc54bfb1ba0fae592dee33a5f68843d9b41a4a
29
2020-02-12 18:03:53-06:00
21,600
['d574012871e58e503801f869fab5e3d3a4052390']
Update VS Code version for CI
[{'old_path': 'scripts/ci.bash', 'new_path': 'scripts/ci.bash', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -21,7 +21,7 @@ function main() {\n \n \t# Get the version information. If a specific version wasn't set, generate it\n \t# from the tag and VS Code version.\n-\tlocal vscode_version=${VSCODE_VERSION:-1.41.1...
TypeScript
ac4f2b8215cfeae6d66248f1d77854c612f500a3
29
2020-02-13 11:55:15-06:00
21,600
['5baf16622f0f38fea6595c2719a79b2e44d153fc']
Update VS Code to 1.42.0
[{'old_path': '.gitignore', 'new_path': '.gitignore', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,14 +1,11 @@\n *.tsbuildinfo\n .cache\n binaries\n-binary-upload\n+*-upload\n build\n-cache-upload\n-dist\n-dist-build\n+dist*\n node_modules\n-out\n-out-build\n+out*\n release\n source\n yarn-cache\n'}, {'old_path...
TypeScript
cc79edb31220b491c4c97707e00d0b617a26498e
29
2020-02-13 12:04:22-06:00
21,600
['ac4f2b8215cfeae6d66248f1d77854c612f500a3']
Fix duplicate files opening with folder parameter Reworked from d574012871e58e503801f869fab5e3d3a4052390 to fit in the new structure.
[{'old_path': 'scripts/vscode.patch', 'new_path': 'scripts/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -211,6 +211,46 @@ index 2c64061da7..c0ef8faedd 100644\n \t\t} catch (err) {\n \t\t\t// Do nothing. If we can't read the file we have no\n \t\t\t// language pack config.\n+diff --git a/src/vs/co...
TypeScript
bf1be16d11e52755c975920b9892e452172a398d
29
2020-02-13 12:41:58-06:00
21,600
['cc79edb31220b491c4c97707e00d0b617a26498e']
Fix base path Now it should work whether you have a trailing slash or not.
[{'old_path': 'src/browser/app.tsx', 'new_path': 'src/browser/app.tsx', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,3 +1,4 @@\n+import { field, logger } from "@coder/logger"\n import { getBasepath, navigate, setBasepath } from "hookrouter"\n import * as React from "react"\n import { Application, isExecutableAp...
TypeScript
b8fa7da972ae5892af1684471bb1ea8ef639c60b
29
2020-02-13 20:10:14-06:00
21,600
['bf1be16d11e52755c975920b9892e452172a398d']
Simplify frontend Just a login form and a list of applications. No modals or anything like that.
[{'old_path': '.eslintrc.yaml', 'new_path': '.eslintrc.yaml', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,32 +8,16 @@ env:\n parserOptions:\n ecmaVersion: 2018\n sourceType: module\n- ecmaFeatures:\n- jsx: true\n \n extends:\n - eslint:recommended\n - plugin:@typescript-eslint/recommended\n - plu...
TypeScript
0ec83f8736238e0ba7483b330ed485d0ab14762a
29
2020-02-14 16:46:22-06:00
21,600
['db54f78e8ed1596e5fc4f3c0c1c2c54eda6fddc8']
Check updates daily instead of every time Also add a way to force a check.
[{'old_path': 'src/browser/pages/home.css', 'new_path': 'src/browser/pages/home.css', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -22,17 +22,24 @@\n }\n \n .block-row > .item {\n- color: #b6b6b6;\n- display: flex;\n+ color: #c4c4c4;\n flex: 1;\n- text-decoration: none;\n }\n \n-.block-row > .item.-link {\n+...
TypeScript
80b1b1b672f802d89f497c21243fb0f3b911f9e9
55
2020-02-14 19:46:17-05:00
18,000
['b8fa7da972ae5892af1684471bb1ea8ef639c60b']
Shake CI and docs up
[{'old_path': '.dockerignore', 'new_path': None, 'type': <ModificationType.DELETE: 4>, 'diff': '@@ -1,12 +0,0 @@\n-Dockerfile\n-build\n-deployment\n-doc\n-.github\n-.gitignore\n-.node-version\n-.travis.yml\n-LICENSE\n-README.md\n-node_modules\n-release\n'}, {'old_path': '.drone.yml', 'new_path': None, 'type': <Modifica...
TypeScript
eb3cf303ad09c9c4ee740d4ee9b272d792c8ff8c
55
2020-02-18 11:32:57-05:00
18,000
['0d31a51eeb4a6b7dd599e14786abcc4d418e3987']
Add back travis since github actions is trash
[{'old_path': '.github/workflows/code.yml', 'new_path': None, 'type': <ModificationType.DELETE: 4>, 'diff': '@@ -1,66 +0,0 @@\n-name: code\n-on: [push, pull_request]\n-\n-env:\n- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n-\n-jobs:\n- fmt:\n- runs-on: ubuntu-latest\n- steps:\n- - uses: actions/checkout@v1\...
TypeScript
39a57700bcc11784df5b5bb484877223ce13c249
29
2020-02-18 12:24:12-06:00
21,600
['0ec83f8736238e0ba7483b330ed485d0ab14762a']
Enable access to vscode cli
[{'old_path': 'scripts/vscode.patch', 'new_path': 'scripts/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -12,7 +12,7 @@ index 160c42ed74..0d544c495c 100644\n coverage/\n diff --git a/coder.js b/coder.js\n new file mode 100644\n-index 0000000000..fc18355f89\n+index 0000000000..6aee0e46bc\n --- /dev/n...
TypeScript
d47591e253bfbc30d3c70b6eb080984aa0e882a3
29
2020-02-18 13:01:18-06:00
21,600
['39a57700bcc11784df5b5bb484877223ce13c249']
Inject base path into manifest Might fix #1181, although not for the reasons I initially thought (because the URLs are resolved from the manifest path, not the path of the current page). This should ensure that the URLs used by the manifest are always correct regardless of the manifest's path.
[{'old_path': 'src/browser/media/manifest.json', 'new_path': 'src/browser/media/manifest.json', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,12 +1,12 @@\n {\n "name": "code-server",\n "short_name": "code-server",\n- "start_url": "../../../..",\n+ "start_url": "{{BASE}}",\n "display": "fullscreen",\n "...
TypeScript
87931109419005f75479bc38f88191c9d638b745
29
2020-02-18 14:13:22-06:00
21,600
['16bcf59cb0de6ed959809e45e9b4e3703207ba7b']
Implement endpoint for getting recent directories
[{'old_path': 'src/browser/pages/global.css', 'new_path': 'src/browser/pages/global.css', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -10,8 +10,17 @@ body {\n background: #272727;\n color: #f4f4f4;\n margin: 0;\n- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-se...
TypeScript
bdb189a9bb35a24390b4bbfa166eecbcbada0135
29
2020-02-18 14:57:12-06:00
21,600
['87931109419005f75479bc38f88191c9d638b745']
Allow https images Fixes extension icons not loading.
[{'old_path': 'src/browser/pages/vscode.html', 'new_path': 'src/browser/pages/vscode.html', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -6,7 +6,7 @@\n \n <meta\n http-equiv="Content-Security-Policy"\n- content="font-src \'self\'; connect-src \'self\' https:; default-src ws: wss: \'self\'; style-src...
TypeScript
1aaa53622dea803776b3f44feedcff23ec606909
55
2020-02-18 16:34:28-05:00
18,000
['bdb189a9bb35a24390b4bbfa166eecbcbada0135']
Pass through travis tag in run.sh
[{'old_path': 'ci/image/run.sh', 'new_path': 'ci/image/run.sh', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -7,7 +7,7 @@ main() {\n \n docker build ci/image\n imageTag="$(docker build -q ci/image)"\n- docker run -t --rm -e CI -e GITHUB_TOKEN -v "$(yarn cache dir):/usr/local/share/.cache/yarn/v6" -v "$PWD:/re...
TypeScript
46d6e17508eefb67a94a767290498b8869050675
29
2020-02-18 17:31:23-06:00
21,600
['1aaa53622dea803776b3f44feedcff23ec606909']
Prepare for release - Add VS Code icon - Trim dashboard to just display dedicated VS Code section - Version was getting unset during build - Add back nbin shim which I temporarily took out earlier - Update tests for log level env var changes
[{'old_path': None, 'new_path': '.editorconfig', 'type': <ModificationType.ADD: 1>, 'diff': '@@ -0,0 +1,6 @@\n+root = true\n+\n+[*]\n+indent_style = space\n+trim_trailing_whitespace = true\n+indent_size = 2\n\\ No newline at end of file\n'}, {'old_path': 'ci/build.ts', 'new_path': 'ci/build.ts', 'type': <ModificationTy...
TypeScript
0263188431e9493373d6a1c47acff4daa650623a
29
2020-02-19 10:54:23-06:00
21,600
['fa30639784ebff377de427e24f633ea281f7a6bf']
Handle --long=value format in the cli parser
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -128,8 +128,11 @@ export const parse = (argv: string[]): Args => {\n // Options start with a dash and require a value if non-boolean.\n if (!ended && arg.startsWith("-")) {\n let key: keyof Ar...
TypeScript
0e2eaa9b34518e8efcf59e589f3250a81528f0db
29
2020-02-19 11:11:29-06:00
21,600
['0263188431e9493373d6a1c47acff4daa650623a']
Add valid values for --log
[{'old_path': 'src/node/cli.ts', 'new_path': 'src/node/cli.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -8,6 +8,14 @@ export class Optional<T> {\n public constructor(public readonly value?: T) {}\n }\n \n+export enum LogLevel {\n+ Trace = "trace",\n+ Debug = "debug",\n+ Info = "info",\n+ Warn = "warn",\...
TypeScript
80b2d9481f4a04e1f139d08366532a66fb20dd5c
29
2020-02-19 11:15:39-06:00
21,600
['0e2eaa9b34518e8efcf59e589f3250a81528f0db']
Don't display stack trace for cli parse failures Just display the error message and exit. The stack trace isn't necessary (since it's likely user error) and is potentially confusing.
[{'old_path': 'src/node/entry.ts', 'new_path': 'src/node/entry.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -87,7 +87,16 @@ const main = async (args: Args): Promise<void> => {\n }\n }\n \n-const args = parse(process.argv.slice(2))\n+const tryParse = (): Args => {\n+ try {\n+ return parse(process.argv.sl...
TypeScript
51a5c77cb8aef8df2a0e44c1f400329ed676ad59
29
2020-02-19 14:15:01-06:00
21,600
['b9e7a3daa784f1f0f3968de9a8ae8b3c1ed868ca']
Add binary extraction I temporarily removed this during the refactor so it needed to be added back. This time I bundled it with the nbin loader code since it's all related (will also make it easier to remove).
[{'old_path': 'ci/build.ts', 'new_path': 'ci/build.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -260,35 +260,64 @@ class Builder {\n * Bundles the built code into a binary.\n */\n private async binary(binaryName: string): Promise<void> {\n- // Prepend code to the target which enables finding files ...
TypeScript
e5b68a8f4c88f4192165c0f7238e82695759022b
29
2020-02-19 14:36:48-06:00
21,600
['51a5c77cb8aef8df2a0e44c1f400329ed676ad59']
Switch to new extensions API
[{'old_path': 'ci/vscode.patch', 'new_path': 'ci/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -1815,7 +1815,7 @@ index 0000000000..2a39c524aa\n +export const logger = baseLogger.named('vscode');\n diff --git a/src/vs/server/node/marketplace.ts b/src/vs/server/node/marketplace.ts\n new file mode 1006...
TypeScript
c567a06ff58107344cc4c49a166652309a8da991
29
2020-02-19 17:59:12-06:00
21,600
['e5b68a8f4c88f4192165c0f7238e82695759022b']
Fix HTTPS redirects and TLS sockets It still won't work behind a base path, but if you're using a reverse proxy you can just redirect to HTTPS yourself. And should probably handle TLS termination there too. For sockets I just needed to add back the proxy call.
[{'old_path': 'src/node/http.ts', 'new_path': 'src/node/http.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,4 +1,4 @@\n-import { logger } from "@coder/logger"\n+import { field, logger } from "@coder/logger"\n import * as fs from "fs-extra"\n import * as http from "http"\n import * as httpolyglot from "httpol...
TypeScript
288e794c99c1b6579a40733407fbce2c9944d452
29
2020-02-20 12:52:23-06:00
21,600
['c567a06ff58107344cc4c49a166652309a8da991']
Update locale file location Should make language packs work again.
[{'old_path': 'ci/build.ts', 'new_path': 'ci/build.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -457,18 +457,18 @@ class Builder {\n }\n \n let startingVscode = false\n+ let startedVscode = false\n onLine(vscode, (line, original) => {\n console.log("[vscode]", original)\n // Wait fo...
TypeScript
25288b1afd3d2463425f22e839579982a23beb7d
55
2020-02-20 17:45:04-05:00
18,000
['288e794c99c1b6579a40733407fbce2c9944d452']
Cleanup FAQ and mention GPG/SSH forwarding
[{'old_path': 'README.md', 'new_path': 'README.md', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -9,9 +9,9 @@ Try it out:\n docker run -it -p 127.0.0.1:8080:8080 -v "$PWD:/home/coder/project" codercom/code-server\n ```\n \n-- **Consistent environment:** Code on your Chromebook, tablet, and laptop with a\n- consis...
TypeScript
815dc06118dc1430610bcf8ceb773f174a30336d
55
2020-02-20 19:11:01-05:00
18,000
['3a2644a2bc8259294f97f7004aad2ca69046f9bf']
Use npm rebuild instead of yarn --no-scripts in vscode.sh
[{'old_path': 'ci/release-image/Dockerfile', 'new_path': 'ci/release-image/Dockerfile', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -3,11 +3,6 @@ FROM debian:10\n RUN apt-get update\n RUN apt-get install -y curl\n \n-COPY release/code-server*.tar.gz /tmp\n-RUN cd /tmp && tar -xzf code-server*.tar.gz && \\\n- cp ...
TypeScript
319cd3f7ab8b4943f019292da5949fe1e0233e78
29
2020-02-20 18:48:16-06:00
21,600
['815dc06118dc1430610bcf8ceb773f174a30336d']
Make updating work for both binary and loose releases
[{'old_path': 'src/node/app/update.ts', 'new_path': 'src/node/app/update.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -14,7 +14,7 @@ import * as util from "util"\n import * as zlib from "zlib"\n import { HttpCode, HttpError } from "../../common/http"\n import { HttpProvider, HttpProviderOptions, HttpResponse,...
TypeScript
e44ac0a30ebcc5a829af953927813dedf707b689
29
2020-02-20 18:48:17-06:00
21,600
['319cd3f7ab8b4943f019292da5949fe1e0233e78']
Use last positional argument as working directory Instead of the first.
[{'old_path': 'src/node/app/vscode.ts', 'new_path': 'src/node/app/vscode.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -178,7 +178,7 @@ export class VscodeHttpProvider extends HttpProvider {\n { url: route.query.workspace, workspace: true },\n { url: route.query.folder, workspace: false },\n ...
TypeScript
cf0f11105b3409a30d9535543f225d3e046be327
29
2020-02-21 12:32:58-06:00
21,600
['9b7a203fe5a51808e198020163bafb580c5d934c']
Handle upgrade from binary to loose files As best we can, anyway.
[{'old_path': 'src/node/wrapper.ts', 'new_path': 'src/node/wrapper.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -1,5 +1,7 @@\n import { logger, field } from "@coder/logger"\n import * as cp from "child_process"\n+import * as fs from "fs-extra"\n+import * as path from "path"\n import { Emitter } from "../commo...
TypeScript
33b3523bf4724c949bf79f74fa991d0e78df1707
29
2020-02-21 12:45:57-06:00
21,600
['cf0f11105b3409a30d9535543f225d3e046be327']
Prefer command-line directory to last visited directory If you want to use the last visited directory you should omit the directory from the command line. Fixes #1132.
[{'old_path': 'src/node/app/vscode.ts', 'new_path': 'src/node/app/vscode.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -177,8 +177,8 @@ export class VscodeHttpProvider extends HttpProvider {\n [\n { url: route.query.workspace, workspace: true },\n { url: route.query.folder, workspace: fal...
TypeScript
c147711adeb2c9e7a7dfdd1909bf745a824600d0
55
2020-02-21 15:22:13-05:00
18,000
['bd7583a2542a3f8e6838746ffe69e1e4dab70872']
Remind user that generated password is in logs Closes #446
[{'old_path': 'src/browser/pages/login.html', 'new_path': 'src/browser/pages/login.html', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -25,7 +25,7 @@\n <form class="login-form" method="post">\n <div class="header">\n <div class="main">Welcome to code-server</div>\n- <div class="sub...
TypeScript
04e449c546842d8c5f33466370d941e6b40e2168
29
2020-02-24 15:01:59-06:00
21,600
['c147711adeb2c9e7a7dfdd1909bf745a824600d0']
Require cert-key with cert Fixes #1312.
[{'old_path': 'src/node/entry.ts', 'new_path': 'src/node/entry.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -37,10 +37,13 @@ const main = async (args: Args): Promise<void> => {\n port: typeof args.port !== "undefined" ? args.port : process.env.PORT !== "" ? process.env.PORT : 8080,\n socket: args.sock...
TypeScript
4c6e4bedebf0938f2a554938c74e722e1e0171cb
29
2020-02-24 16:49:10-06:00
21,600
['04e449c546842d8c5f33466370d941e6b40e2168']
Fix port being randomized Also make it a number.
[{'old_path': 'src/node/entry.ts', 'new_path': 'src/node/entry.ts', 'type': <ModificationType.MODIFY: 5>, 'diff': '@@ -34,7 +34,7 @@ const main = async (args: Args): Promise<void> => {\n commit: commit || "development",\n host: args.host || (args.auth === AuthType.Password && typeof args.cert !== "undefined" ? ...
TypeScript
f76c809f7d3f2b87925c9c143e8460ce1d474e42
29
2020-02-25 12:47:22-06:00
21,600
['4c6e4bedebf0938f2a554938c74e722e1e0171cb']
Fix workspace storage creation Fixes #1308.
[{'old_path': 'ci/vscode.patch', 'new_path': 'ci/vscode.patch', 'type': <ModificationType.MODIFY: 5>, 'diff': "@@ -2676,7 +2676,7 @@ index a1c3e50ffd..910627aaf9 100644\n \t\t\tthrow new Error(`Cannot load URI: '${module}', must be of file-scheme`);\n \t\t}\n diff --git a/src/vs/workbench/api/node/extHostStoragePaths...
TypeScript