Commit Graph

283 Commits

Author SHA1 Message Date
Benjamin Pasero
3d6f6d2df3 run OSS license tool (#229904)
* run OSS license tool

* bump distro
2024-09-27 06:21:02 +02:00
Benjamin Pasero
2815397248 eng - update licenses 2024-09-23 11:26:22 +02:00
Connor Peet
061cbf557f cli: add server-data-dir and extensions-dir on command-shell (#228287) 2024-09-12 17:06:42 +02:00
Connor Peet
4d221c6b85 cli: reapply "code server-web when offline" 2024-09-09 09:18:56 -07:00
Robo
746ba5bc68 cli: revert "code server-web when offline" (#227981)
* Revert "Merge pull request #227830 from microsoft/connor4312/cli-offline-serve"

This reverts commit 136a5c6f5f, reversing
changes made to 9d388bbf8b.

* chore: bump distro
2024-09-09 16:21:08 +02:00
Connor Peet
077bd2f1b4 fixups
- Don't set a config option for update interval. We don't let the one
  in core be configurable, don't see a huge need for this.
- Don't start the server when the update is available
- Fix some race conditions
- Fix some clippy lints on Rust 1.81
2024-09-06 12:20:13 -07:00
Connor Peet
cb285eb438 Merge remote-tracking branch 'RitamM16/cli-serve-web-offline-use-cache' into connor4312/cli-offline-serve 2024-09-06 11:21:45 -07:00
Daniel Imms
5811c5d042 Update distro - OSS tool 2024-08-26 15:20:04 -07:00
Ritam
b97dc79649 feat: serve-web now checks for update every 1 hour by default and can be configured by the flag "update_check_interval" 2024-08-25 16:10:27 +05:30
Ritam
785aaa3fdf refactor: moved the cli serve-web cache seeding to ConnectionManager initialization from get_latest_release 2024-08-15 18:55:06 +05:30
Ritam
2ed4fb19e6 Merge branch 'main' into cli-serve-web-offline-use-cache 2024-08-15 15:41:53 +05:30
Robo
1835a67cb6 ci: publish win32 arm64 server (#224929) 2024-08-06 14:57:22 +02:00
Connor Peet
fcfd4be5b8 cli: determine archive type based on filename instead of path (#224602)
Refs #219632

Seems like PRSS sometimes(?) doesn't return the full archive name in
the response. I don't reproduce this, but others consistently do. This
PR removes the dependency on the URL path and instead checks for the
gzip magic number in the first two bytes of the archive to figure out
what to do.
2024-08-02 09:34:11 -07:00
Connor Peet
e59d6aee71 cli: allow listening on range of ports (#223953)
* cli: allow listening on range of ports

For https://github.com/microsoft/vscode-remote-release/issues/10043

* clippy lint
2024-07-26 13:36:36 -07:00
dependabot[bot]
f0e1640e0a Bump openssl from 0.10.64 to 0.10.66 in /cli (#223104)
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.64 to 0.10.66.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.64...openssl-v0.10.66)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-24 10:49:42 -07:00
Connor Peet
b6d022bc08 fix: --connection-token-file not functional in "code serve-web" (#223524)
Fixes #215537
2024-07-24 10:36:49 -07:00
Henning Dieterichs
551bb65397 Runs OSS tool 2024-07-22 22:49:17 +02:00
Robo
cab98a1ca8 fix: bump minimum glibcxx version for armhf remote server (#221259) 2024-07-10 08:04:46 +09:00
Snoppy
8d54ffc9f6 chore: fix typos (#216562)
Signed-off-by: snoppy <michaleli@foxmail.com>
2024-06-27 20:01:19 +00:00
Michael Lively
1435b366b2 Chore: OSS tool (#217642)
* oss tool

* update distro hash
2024-06-25 03:13:26 +02:00
Connor Peet
03d781a755 cli: fix closing incorrectly if updated failed (#215595) 2024-06-15 00:54:51 +02:00
Connor Peet
aef8e26d88 serve-web: fix SECRET_KEY_MINT_PATH does not honour server-base-path (#214250)
Fixes #212369
2024-06-04 09:57:17 -07:00
Connor Peet
54dd0ecc65 forwarding: make https work for port forwarding (#213943)
Closes https://github.com/microsoft/vscode/issues/201465
2024-05-30 21:42:51 -07:00
Connor Peet
ebeb99b8f2 Connor4312/issue211378 (#213829)
cli: fix inverted condition not showing warning correctly

Fixes #211378
2024-05-29 18:50:34 +02:00
Benjamin Christopher Simmonds
9031ecddff Update license and third party notices (#213580) 2024-05-27 17:58:05 +02:00
Ritam Mukherjee
bc5e7b51a2 refactor: removed unnecessary check for empty vector in DownloadCache load 2024-05-22 23:05:10 +05:30
Ritam Mukherjee
23f2247b72 refactor: fix clippy let-and-return error in linting 2024-05-22 22:33:16 +05:30
Ritam Mukherjee
3de59fcc49 feat: allows cli to serve locally cached server when update service not available 2024-05-22 21:03:54 +05:30
Connor Peet
eb99b85bdf chore: update CLI dependences, add env var options for login 2024-05-20 08:33:23 -07:00
Connor Peet
e3d04f279f cli: support refresh token in tunnel user login (#212106) 2024-05-06 18:47:37 +02:00
Connor Peet
0f2b535662 cli: automatically remove servers that fail to start (#211500)
Fixes https://github.com/microsoft/vscode-remote-release/issues/9823
2024-04-27 06:54:06 -07:00
Connor Peet
60bd03a02e cli: fix tunnels not working on Windows (#211498)
I made a change this past iteration to use `CREATE_BREAKAWAY_FROM_JOB`
in order to allow the code-server process to outlive SSH connections run
from the exec server.

However, it appears that this _can_ break things if it's run from a job
that doesn't have the JOB_OBJECT_LIMIT_BREAKAWAY_OK flag set. I'm not
a winapi expert, so this is a simple though perhaps inefficient change
to probe whether we can do this via an echo command before starting the
server.
2024-04-27 01:38:38 +02:00
Connor Peet
233775583c cli: warn when cli options are not applied (#211492)
Fixes #211378
2024-04-26 15:23:02 -07:00
Logan Ramos
01f02799cf Run OSS tool (#210971) 2024-04-23 00:40:44 +02:00
Connor Peet
85178f0fb4 cli: bubble error from setup to the remote server (#210967)
cli: bubble error from setup to the remote server logs
2024-04-22 23:57:44 +02:00
Connor Peet
036d8e31b2 cli: use the legacy server for environment with prereq detection skipped (#210952)
Fixes #210029
2024-04-22 21:18:15 +02:00
Connor Peet
21e0716833 cli: update proc macro and clippy (#210414) 2024-04-15 20:27:34 +02:00
Connor Peet
d30b358ac7 cli: ensure vscode server outlives CLI on windows (#210279) 2024-04-13 01:50:34 +02:00
dependabot[bot]
a9174e5ac9 Bump h2 from 0.3.24 to 0.3.26 in /cli (#209660)
Bumps [h2](https://github.com/hyperium/h2) from 0.3.24 to 0.3.26.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.24...v0.3.26)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-13 00:48:00 +02:00
Connor Peet
2a5d88dcbd cli: allow command shell to listen on a specified host (#209691)
CLI part of https://github.com/microsoft/vscode-remote-release/issues/9713

Closes https://github.com/microsoft/vscode-remote-release/issues/9713
2024-04-05 16:19:25 -07:00
Connor Peet
6813d7ccbc chore: update to rust 1.77 (#209563)
* chore: update to rust 1.77

* fix tests
2024-04-04 20:34:01 +02:00
Connor Peet
26edf9ca9f cli: add progress for extraction (#209499)
For https://github.com/microsoft/vscode-remote-tunnels/issues/724
2024-04-03 17:08:49 -07:00
Connor Peet
8558da1335 cli: allow public port forwarding via tunnels (#209489) 2024-04-04 00:28:00 +02:00
solimant
9b22c85e7d Honor GitHub brand name casing (#208503) 2024-03-25 15:49:45 +00:00
Robo
cf216ecd5a chore: run oss tool for 1.88.0 (#208481)
* chore: run oss tool for 1.88.0

* chore: bump distro
2024-03-23 03:43:12 +01:00
Connor Peet
2efb6a9f8c cli: allow downloading legacy servers for older glibc versions (#204194)
* cli: allow downloading legacy servers for older glibc versions

Refs #206790

* chore: update asset name

---------

Co-authored-by: deepak1556 <hop2deep@gmail.com>
2024-03-21 11:01:24 -07:00
Connor Peet
2ffe804c46 cli: allow specifying a server-data-dir and extensions-dir (#208225) 2024-03-20 18:09:51 +01:00
Connor Peet
1ab312aeed cli: try to automatically reload services during tunnel service install (#208119)
Fixes #208094
2024-03-19 15:29:30 -07:00
Connor Peet
7015a87618 cli: avoid adoption of tunnels with existing host connections (#208033)
Fixes https://github.com/microsoft/vscode-remote-release/issues/9655
2024-03-18 19:44:07 +01:00
btwiuse
b356b209a5 cli: add --server-base-path flag to code serve-web command (#207932)
* feat(cli): add --server-base-path flag to `code serve-web` command

* fix clippy

* fmt

---------

Co-authored-by: navigaid <navigaid@gmail.com>
2024-03-18 08:12:08 -07:00