Commit Graph

3501 Commits

Author SHA1 Message Date
Joe Previte a059129252
chore: increase playwright timeout 2022-12-21 16:07:18 -07:00
Joe Previte 96812433a4
fixup: rm unused import 2022-12-21 15:16:50 -07:00
Joe Previte 02d0aec553
fixup: formatting 2022-12-21 15:15:02 -07:00
Joe Previte fe33adc4bf
refactor: add helper fn getMaybeProxiedPathname 2022-12-21 15:13:59 -07:00
Joe Previte 19b7ba8735
fixup: use REVERSE_PROXY_BASE_PATH 2022-12-21 14:19:53 -07:00
Joe Previte b6928faf44
refactor: modify assertion for proxy 2022-12-21 14:11:33 -07:00
Joe Previte e8ef8bf8ef
wip: update test 2022-12-21 12:53:36 -07:00
Joe Previte cbf00ae7aa
fixup: formatting 2022-12-21 12:18:38 -07:00
Joe Previte 0fabb3a81d
refactor: rm unnecessary navigate call in test 2022-12-21 12:11:23 -07:00
Joe Previte 10ebf1bcd9
refactor: rm unused imports 2022-12-21 12:10:29 -07:00
Joe Previte b3f7a20904
refactor: move vscode tests to e2e (#5911)
* wip: migrate vscode tests to e2e

* feat: add codeWorkspace to global setup

* refactor: only use dir in spawn when we should

* wip: migrate more tests

* refactor: move all vscode tests to e2e

* refactor(ci): move unit to own job

* fixup: add codecov to unit test step

* Update test/e2e/models/CodeServer.ts

* Update test/e2e/models/CodeServer.ts

* docs: add note about intercept requests

* refactor: rm unused clean() calls

* refactor: delete duplicate test

* refactor: update 'should not redirect' test
2022-12-21 12:04:59 -07:00
Joe Previte fc54c4451c
Revert "refactor: delete wrapper test"
This reverts commit 3999279b73.
2022-12-20 13:53:17 -07:00
Joe Previte 3999279b73
refactor: delete wrapper test 2022-12-20 10:55:12 -07:00
Joe Previte 4deb15673b
temp: disable vscode test 2022-12-20 08:55:11 -07:00
Joe Previte d00ab199f4
refactor: use own cache key build code-server job 2022-12-19 14:35:25 -07:00
Joe Previte 0aecf9e108
fix: add GITHUB_TOKEN to build code-server job
Downloading @vscode/ripgrep is failing only in CI so adding this
environment variable to see if it increases the rate limit.

Ref: https://github.com/microsoft/vscode-ripgrep#github-api-limit-note
2022-12-19 13:34:58 -07:00
Joe Previte b1b82057d1
docs: update telemetry testing instructions 2022-12-19 12:09:46 -07:00
Joe Previte 093bbc081e
docs: update testing notes for cli-window-open 2022-12-19 11:31:51 -07:00
Joe Previte 63fb534335
chore: refresh getting-started.diff 2022-12-19 10:41:51 -07:00
Joe Previte da4f4c3496
chore: refresh display-language.diff 2022-12-19 10:41:32 -07:00
Joe Previte 661e1de13c
chore: refresh disable-downloads.diff 2022-12-19 10:41:05 -07:00
Joe Previte 4c00ad438a
chore: refresh sourcemaps.diff 2022-12-19 10:40:45 -07:00
Joe Previte bb2a29b1cf
chore: refresh local-storage.diff 2022-12-19 10:40:19 -07:00
Joe Previte 6acfb0bd95
chore: refresh proxy-uri patch 2022-12-19 10:25:19 -07:00
Joe Previte 6751c827cc
chore: update disable-builtin-ext-update.diff
If my logic is right, then this patch is now simplified thanks to this:
https://github.com/microsoft/vscode/blob/1.74.1/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts#L1238
2022-12-19 10:23:15 -07:00
Joe Previte be1a560114
chore: update sha hash in webview.diff 2022-12-19 10:17:38 -07:00
Joe Previte 8afa5c221d
chore: update marketplace.diff 2022-12-19 09:51:54 -07:00
Joe Previte ec4177c99d
chore: remove require in integration.diff
I don't know what the impact of this is but in 192c67db71
they removed the usage of `require` in `server.main.ts`.

More details in PR: https://github.com/microsoft/vscode/pull/165831
2022-12-19 09:49:28 -07:00
Joe Previte 320f0350ac
chore: upgrade Code to 1.74.1 2022-12-19 09:29:52 -07:00
Toby Cm 930791d249
Added how to disable file downloads in faq (#5907) 2022-12-19 16:00:42 +00:00
Joe Previte 5c21015dbe
release: v4.9.1 (#5893)
* chore: add 4.9.1 to changelog

* chore: bump Helm to 4.9.1
2022-12-16 12:07:36 -07:00
Joe Previte fa39d4761a
fix: dst path in nfpm (#5875)
* fix: dst path in nfpm

* trigger ci

* Update ci/README.md
2022-12-16 11:35:13 -07:00
Joe Previte 87f606db2a
chore(ci): update linux cross-compile runner 20.04 (#5896) 2022-12-16 08:54:23 -07:00
Joe Previte 06483bc59d
refactor: rm node_mods caching in release workflow (#5895) 2022-12-15 14:24:59 -07:00
Joe Previte 9012ddfe79
refactor: use separate cache key in release, run standalone after caching (#5859)
* refactor: remove keytar dep in cross-compile

* refactor: try other keytar package

* refactor: remove keytar step in cross-compile

* fix: manually remove keytar

* try this first

* I think this is it

* Revert "I think this is it"

This reverts commit 5c566b0c01.

* okay this is it

* fixup

* try legacy peer

* remove keytar before standalone

* wrong path

* maybe

* revert: change *npm* back to npm*

* revert: don't uninstall keytar

* fix: use npm run standalone-release

* fixup formatting

* Revert "refactor: remove yarn.lock steps (#5850)"

This reverts commit 907747d394.

* fixup: remove the --exclude

* refactor: remove yarn.lock check

* try ddd in postinstall

* refactor: cache before release:standalone

* refactor: add os to cache key in release

* chore: formatting

* Update ci/build/npm-postinstall.sh

* fixup: formatting
2022-12-12 22:03:07 +00:00
Joe Previte 1efc5f104e
fix: use npm and yarn consistently in build and release (#5852)
* refactor: remove keytar dep in cross-compile

* refactor: try other keytar package

* refactor: remove keytar step in cross-compile

* fix: manually remove keytar

* try this first

* I think this is it

* Revert "I think this is it"

This reverts commit 5c566b0c01.

* okay this is it

* fixup

* try legacy peer

* remove keytar before standalone

* wrong path

* maybe

* revert: change *npm* back to npm*

* revert: don't uninstall keytar

* fix: use npm run standalone-release

* fixup formatting

* Revert "refactor: remove yarn.lock steps (#5850)"

This reverts commit 907747d394.

* fixup: remove the --exclude

* refactor: remove yarn.lock check

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-12-12 21:41:29 +00:00
Joe Previte ef5865f506
fix: add VERSION to env in publish.yaml (#5868)
When I did the last release, `VERSION` wasn't defined which lead to a
blank string in the PR title and the commit message here:

https://github.com/coder/code-server-aur/pull/24

This should fix that.
2022-12-12 21:24:06 +00:00
Joe Previte 48588ee542
chore: update download artifacts in release (#5841) 2022-12-12 17:47:27 +00:00
Geoffrey Huntley ac6b5bd4e6
chore(nfpm): bump to latest version (#5860) 2022-12-12 08:52:33 -07:00
Joe Previte 0ca6620ee6
fix: add missing keytar deps (#5851)
* fix: add missing keytar deps

* fixup
2022-12-08 11:30:08 -07:00
Joe Previte 907747d394
refactor: remove yarn.lock steps (#5850) 2022-12-08 10:44:27 -07:00
Joe Previte d8995ec0b8
refactor: use npm in build.yaml (#5849) 2022-12-08 10:37:42 -07:00
Joe Previte c088e73063
fix: use proper npm casing postinstall (#5848)
* fix: use proper npm casing postinstall

* chore: add log for npm config user agent

* fixup
2022-12-08 10:22:40 -07:00
Joe Previte 83c3453f50
fix: quote VERSION in jq command in release (#5845) 2022-12-07 22:19:20 +00:00
Joe Previte 3182be634e
refactor: use npm in build steps and postinstall.sh (#5844)
* refactor: default to npm in postinstall.sh

yarn has a bug where it will try to update dependencies even if
`yarn.lock` is present. Therefore we're defaulting to `npm` to prevent
further issues.

* refactor: exclude yarn.lock in standalone

By excluding `yarn.lock`, we prevent issues where the user must use
`yarn` instead of `npm` to install code-server.
2022-12-07 15:04:50 -07:00
Joe Previte 1297e9ac88
chore: update qs version (#5840) 2022-12-07 14:57:08 -06:00
Joe Previte 1484bee621
release: 4.9.0 (#5772)
* wip: changelog

* fixup

* fix: add +x to product.json in build-vscode

While testing a pre-release, there seems to be a bug with the file
permissions for `product.json`. Adding `chmod +x` to see if that fixes
it.

* chore: increase timeout

* fix: keep product.json file permissions in release

When we added the change to modify the `package.json` version using `mv`
and `jq` we didn't account for lost file permissions.

This caused a bug only happening in CI.

This should fix it by giving it 755 via `chmod`.

* trigger ci

* chore: update package.json bust cache

* fixup!: fix: keep product.json file permissions in release

* Revert "fix: add +x to product.json in build-vscode"

This reverts commit fc4d2b532f.

* chore: pin ubuntu runner in build code-server

* chore: update prettierignore

* chore: add notes to changelog

* chore: use ubuntu-22.04 for e2e

* chore: pin all jobs in build to ubuntu 20.04

* feat(wrapper): add tests for isChild

* fixup: include description ts-expect-error comment

* chore: update CHANGELOG

* chore: update Helm chart

* fixup: use our childProcess

* Update CHANGELOG.md

Co-authored-by: Asher <ash@coder.com>

Co-authored-by: Asher <ash@coder.com>
2022-12-06 13:28:27 -07:00
Pfau, Sascha f43082e142
fix installing code-server on manjaro image (#5834)
Co-authored-by: Joe Previte <jjprevite@gmail.com>
2022-12-05 15:43:22 -07:00
Geoffrey Huntley b6adcf50c6
feat(securitytxt): add security.txt (#5827) 2022-12-05 15:43:00 -07:00
Joe Previte df49838739
chore: add VERSION check in build-vscode.sh (#5823) 2022-12-01 11:51:07 -05:00