-
Notifications
You must be signed in to change notification settings - Fork 6k
chore: upgrade Code to 1.66 #5135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
10e9ae9
chore: upgrade Code to 1.66
a8eb7eb
docs: update docs for Code upgrades
4b87916
fixup!: docs
9c8fbf5
chore: update vscode submodule
173932b
chore: update integration patch
a34e57c
chore: update node-version patch
557247a
chore: update github-auth patch
86ca662
refactor: remove postinstall patch
eeb5735
chore: refresh local-storage patch
ed37849
chore: refresh service-worker patch
40ba2b9
chore: bulk refresh patches
8a6608a
fixup!: docs formatting
7cea69d
Merge branch 'main' into jsjoeio/vscode-1.66
jsjoeio afc702e
refactor: remove unused last-opened patch
a0c0ea2
fixup!: formatting docs
4c79c9a
fixup!: formatting docs
8d6b613
refactor: remove rsync postinstall
a5225d3
Revert "refactor: remove rsync postinstall"
202630d
refactor: update postinstall.js to .mjs
5e98158
feat(patches): add parent-origin bypass
jsjoeio 013934d
docs(patches): add notes for testing store-socket
jsjoeio b6a3f9a
docs(patches): update testing info for node-version
jsjoeio 31a354a
refactor(patches): delete github-auth.diff patch
jsjoeio 35a1819
docs(patches): add notes for testing connection-type
jsjoeio bdeb521
fixup!: delete github-auth patch
jsjoeio c6e67f7
fixup!: update connection type testing
jsjoeio d7a0447
docs(patches): add notes to insecure-notification.diff
jsjoeio cf855ae
docs(patches): add nots for update-check.diff
jsjoeio 5ef2c27
fixup!: remove comma in integration patch
jsjoeio f779d85
fix(e2e): disable workspace trust
jsjoeio 7579dbb
refactor: add --no-default-rc for yarn install
jsjoeio 114485b
feat(patches): remove yarnrc in presinstall
jsjoeio 91de1fe
fixup!: silly mistake
jsjoeio 63dfa8d
docs: add note about KEEP_MODULES=1
jsjoeio 786f087
docs(patches): add testing notes for node-version
jsjoeio 70ef582
refactor(patches): remove node-version
5b0f69a
fixup!: add cd ../.. to code upgrade instructions
687009d
fixup!: add note to yarn --production flag
0b34b5b
fixup!: make parent-origin easier to upstream
5d8628d
Revert "refactor(patches): delete github-auth.diff patch"
jsjoeio 1945220
Revert "fixup!: delete github-auth patch"
jsjoeio 022c480
Merge webview origin patch into webview patch
code-asher a78f8b5
Remove unused post-install patch
code-asher 1ce5da3
Prevent builtin extensions from updating
code-asher 85e8183
Refresh sourcemaps patch
code-asher 9cbcfa9
Update Node to v16
code-asher 694c44b
Replace fs.rmdir with fs.rm
code-asher e346fe2
Update github-auth patch
code-asher 1ac2dcf
Prevent fs.rm from erroring about non-existent files
code-asher 7d99254
Install Python 3 in CentOS CI container
code-asher File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule vscode
updated
1246 files
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,7 +122,7 @@ | |
"browser-ide" | ||
], | ||
"engines": { | ||
"node": ">= 14" | ||
"node": "16" | ||
}, | ||
"jest": { | ||
"transform": { | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
Prevent builtin extensions from being updated | ||
|
||
Updating builtin extensions from the marketplace prevents us from patching them | ||
(for example out GitHub authentication patches). | ||
|
||
Index: code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts | ||
=================================================================== | ||
--- code-server.orig/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts | ||
+++ code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts | ||
@@ -206,6 +206,9 @@ export class Extension implements IExten | ||
if (!this.gallery || !this.local) { | ||
return false; | ||
} | ||
+ if (this.type !== ExtensionType.User) { | ||
+ return false; | ||
+ } | ||
if (!this.local.preRelease && this.gallery.properties.isPreReleaseVersion) { | ||
return false; | ||
} | ||
@@ -1057,6 +1060,10 @@ export class ExtensionsWorkbenchService | ||
// Skip if check updates only for builtin extensions and current extension is not builtin. | ||
continue; | ||
} | ||
+ if (installed.type !== ExtensionType.User) { | ||
+ // Never update builtin extensions. | ||
+ continue; | ||
+ } | ||
if (installed.isBuiltin && !installed.local?.identifier.uuid) { | ||
// Skip if the builtin extension does not have Marketplace id | ||
continue; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.