1. 07 5月, 2022 5 次提交
  2. 06 5月, 2022 1 次提交
  3. 05 5月, 2022 3 次提交
    • A
      fix: patch telemetry (#5158) · ef0d76bc
      Asher 提交于
      This seems to have been dropped in the rewrite.
      ef0d76bc
    • J
      refactor(heart): bind class methods and make beat async (#5142) · 88e971c6
      Joe Previte 提交于
      * feat: set up new test for beat twice
      
      * refactor: make Heart.beat() async
      
      This allows us to properly await heart.beat() in our tests and remove
      the HACK I added before.
      
      * refactor: bind heart methods .beat and .alive
      
      This allows the functions to maintain access to the Heart instance (or
      `this`) even when they are passed to other functions. We do this because
      we pass both `isActive` and `beat` to `heartbeatTimer`.
      
      * feat(heart): add test to ensure no warnings called
      
      * fixup!: revert setTimeout for heartbeatTimer
      
      * fixup!: return promise in beat
      88e971c6
    • J
      chore: upgrade Code to 1.66 (#5135) · 7027ec7d
      Joe Previte 提交于
      * chore: upgrade Code to 1.66
      
      * docs: update docs for Code upgrades
      
      * fixup!: docs
      
      * chore: update vscode submodule
      
      * chore: update integration patch
      
      * chore: update node-version patch
      
      * chore: update github-auth patch
      
      They completely changed how auth is handled for GitHub in
      https://github.com/microsoft/vscode/pull/145424 so our patch may not
      work. Will need to test and revisit.
      
      * refactor: remove postinstall patch
      
      It appears they renamed postinstall.js to postinstall.mjs and removed
      the use of `rimraf` which means our patch is no longer needed! 🎉
      
      https://github.com/microsoft/vscode/commit/b0e8554cced292871a67748a18926cfd02f4e840
      
      * chore: refresh local-storage patch
      
      * chore: refresh service-worker patch
      
      * chore: bulk refresh patches
      
      * fixup!: docs formatting
      
      * refactor: remove unused last-opened patch
      
      * fixup!: formatting docs
      
      * fixup!: formatting docs
      
      * refactor: remove rsync postinstall
      
      * Revert "refactor: remove rsync postinstall"
      
      This reverts commit 8d6b613e9d779ba18d0297710614516cde108bcf.
      
      * refactor: update postinstall.js to .mjs
      
      * feat(patches): add parent-origin bypass
      
      * docs(patches): add notes for testing store-socket
      
      * docs(patches): update testing info for node-version
      
      * refactor(patches): delete github-auth.diff patch
      
      * docs(patches): add notes for testing connection-type
      
      * fixup!: delete github-auth patch
      
      * fixup!: update connection type testing
      
      * docs(patches): add notes to insecure-notification.diff
      
      * docs(patches): add nots for update-check.diff
      
      * fixup!: remove comma in integration patch
      
      * fix(e2e): disable workspace trust
      
      * refactor: add --no-default-rc for yarn install
      
      * feat(patches): remove yarnrc in presinstall
      
      * fixup!: silly mistake
      
      * docs: add note about KEEP_MODULES=1
      
      * docs(patches): add testing notes for node-version
      
      * refactor(patches): remove node-version
      
      It appears this is no longer needed due to the `remote/package.json` now which
      targets node rather than electron.
      
      * fixup!: add cd ../.. to code upgrade instructions
      
      * fixup!: add note to yarn --production flag
      
      * fixup!: make parent-origin easier to upstream
      
      * Revert "refactor(patches): delete github-auth.diff patch"
      
      This reverts commit 31a354a34345309fadc475491b392d7601e51a32.
      
      * Revert "fixup!: delete github-auth patch"
      
      This reverts commit bdeb5212e8c7be6cadd109941b486a4bcdae69fa.
      
      * Merge webview origin patch into webview patch
      
      * Remove unused post-install patch
      
      * Prevent builtin extensions from updating
      
      * Refresh sourcemaps patch
      
      * Update Node to v16
      
      This matches the version in ./lib/vscode/remote/.yarnrc.
      
      I changed the engine to exactly 16 since if you use any different
      version it will just not work since the modules will have been built for
      16 (due to the .yarnrc).
      
      * Replace fs.rmdir with fs.rm
      
      Node is showing a deprecation warning about it.
      
      * Update github-auth patch
      
      The local credentials provider is no longer used when there is a remote
      so this code moved into the backend web credential provider.
      
      * Prevent fs.rm from erroring about non-existent files
      
      We were using fs.rmdir which presumably did not have the same behavior
      in v14 (in v16 fs.rmdir also errors).
      
      * Install Python 3 in CentOS CI container
      Co-authored-by: NAsher <ash@coder.com>
      7027ec7d
  4. 27 4月, 2022 6 次提交
  5. 26 4月, 2022 1 次提交
  6. 20 4月, 2022 2 次提交
  7. 15 4月, 2022 4 次提交
  8. 14 4月, 2022 2 次提交
    • J
      revert(docs): partially revert 326a1d18 (#5095) · e7e6c163
      Joe Previte 提交于
      We tried to switch from `yarn` to `npm` because `yarn` ignores lockfiles
      but learned that we missed a few key things.
      
      For now, we are reverting docs and a few other changes that suggested
      using `npm` instead of `yarn` until we fully remove `yarn` from the
      codebase.
      t Please enter the commit message for your changes. Lines starting
      e7e6c163
    • J
      feat: add option for disabling file downloads (#5055) · 0e1f3966
      Joe Previte 提交于
      * feat(cli): add disable-file-downloads to cli
      
      * feat(e2e): add download test
      
      * feat(e2e): add downloads disabled test
      
      * refactor(e2e): explain how to debug unexpected close
      
      * feat(patches): add disable file downloads
      
      * wip: update diff
      
      * Update src/node/cli.ts
      Co-authored-by: NAsher <ash@coder.com>
      
      * fixup! add missing common/contextkeys file to patch
      
      * fixup!: update patch
      
      * fixup!: default disable-file-downloads undefined
      
      * fixup!: combine e2e tests
      
      * fixup!: use different test names
      
      * feat: add CS_DISABLE_FILE_DOWNLOADS
      
      * fixup!: make explicit and cleanup test
      
      * fixup!: use beforeEach
      Co-authored-by: NAsher <ash@coder.com>
      0e1f3966
  9. 13 4月, 2022 4 次提交
  10. 08 4月, 2022 2 次提交
  11. 07 4月, 2022 1 次提交
  12. 01 4月, 2022 1 次提交
    • A
      fix: version in about dialog (#5057) · 5bc26e90
      Asher 提交于
      * Fix code-server version not appearing in other languages
      
      It needs to be separate from the localize call since the language
      version of that string is used and it will not include a spot for the
      code-server version.
      
      I also moved the "v" so we do not get "vUnknown".
      
      * Add code-server version to product configuration
      
      Before 1.64 the entire product configuration was sent to the client but
      that was removed so we have to add anything we want to use on the
      client, like the code-server version (used in the about dialog).
      
      Fixes #5027.
      
      * Refresh patches
      
      * Change version test to look for specific version
      
      This will catch if we are not sending the actual version to the client.
      5bc26e90
  13. 31 3月, 2022 7 次提交
  14. 30 3月, 2022 1 次提交
    • A
      fix: add missing package.json and source maps (#5040) · 06e36b42
      Asher 提交于
      * Use --exclude to skip node_modules
      
      Instead of copying and then deleting them.  This will also catch some
      node_modules directories that were missed.
      
      * Remove per-extension dependency install
      
      Code packages all the dependencies using webpack for each extension so
      there are no dependencies to install.
      
      * Include source maps
      
      I also moved this to its own patch because it feels sufficiently
      standalone.
      
      Fixes #5026.
      
      * Refresh language patch
      
      The base is slightly different so it needed to be refreshed.
      
      * Add missing package.json
      
      This was caused by switching to Code's package step which does not
      include the package.json.
      
      Fixes #5019.
      
      * Include keytar
      
      It seems this actually is used now.
      06e36b42