Commit Graph

87 Commits

Author SHA1 Message Date
Sandeep Somavarapu 8869a4eca9 proper fix for #232699 (#233827)
* proper fix for #232699

* fix copy paste
2024-11-14 02:43:23 -08:00
Benjamin Pasero 7dd4d72fcb watcher - make configuration to use next watcher support remote as well (#228448) 2024-09-13 11:52:32 +02:00
Sandeep Somavarapu 5c97ba8357 log network requests in the process specific log (#227944) 2024-09-09 10:54:29 +02:00
Sandeep Somavarapu adc86d50f8 #223452 improve logging of network requests (#227620) 2024-09-04 13:25:44 -07:00
Benjamin Pasero 6b924c5152 ESM merge to main (#227184)
Co-authored-by: Johannes Rieken <jrieken@microsoft.com>
Co-authored-by: Alexandru Dima <alexdima@microsoft.com>
2024-08-30 10:31:46 +02:00
Benjamin Pasero bea40cdd3d esm - more diff reduction (#225666) 2024-08-15 10:34:03 +02:00
Logan Ramos cd93de1b0c Rename vsDeviceId (#213261) 2024-05-22 23:13:13 +02:00
Logan Ramos 4ebc77f80a Add VS device id (#213231) 2024-05-22 09:48:44 -07:00
Benjamin Pasero 18a5c4d21c debt - register disposable fs server (#211830) 2024-05-02 09:38:22 +02:00
Johannes Rieken 5bf577b08a make sure super.dispose is called inside overridden dispose methods (#200342) 2023-12-08 13:45:44 +01:00
Isidor Nikolic 9d32835bd7 add sqm id for windows (#195377)
* add sqm id for windows

* Update src/vs/platform/windows/electron-main/windowsMainService.ts

* Update src/vs/platform/sharedProcess/node/sharedProcess.ts

* react on review comments

* The reg entry is called MachineId not MachineGuid

* fix compile error

* no need for \\ prefix in reg path

* Wait for 1s max (as to not block the startup) to read the SQM value

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2023-10-12 13:47:40 -07:00
Logan Ramos 8a7288ffe4 Enable logging only for ext test telemetry (#194056)
Attempt to enable logging only for ext test telemetry
2023-09-26 00:13:33 +02:00
Tyler James Leonhardt 5134662139 Remove CredentialsService & keytar (#192224)
* Remove CredentialsService & keytar

ref https://github.com/microsoft/vscode/issues/115215
fixes https://github.com/microsoft/vscode/issues/143395

* compile

* remove imports

* rip the bandaid
2023-09-05 17:47:30 -07:00
Benjamin Pasero 4f424db46e debt - ensure file scheme when using .fsPath (#191960) 2023-09-01 15:33:06 +02:00
Logan Ramos ef42b49e80 Support proxies in the telemetry service (#187952) 2023-07-14 11:53:47 -07:00
Daniel Imms ab08a18321 Use const enum for all remote terminal requests
Part of #187176
2023-07-06 12:12:56 -07:00
Daniel Imms 0d1bc0818c Clean up pty services 2023-07-06 11:45:42 -07:00
Daniel Imms ed59e75f3d Add IPtyHostService
This is a new service which extends IPtyService and provides additional methods
on the process that manages the connection to the pty host:

- IPtyService: Talk to the pty host, this may be direct via a message port of via
  the main/server procs.
- IPtyHostService: Talk to the pty host management interfaces on the main/server
  procs. These are no longer available as optional methods on IPtyService to be
  clear about where they happen (eg. getProfiles).

Fixes #186935
2023-07-06 11:35:45 -07:00
Tyler James Leonhardt b07469d8e3 First move off of keytar (#185077)
* First move off of keytar

Since keytar is now deprecated, we need a solution going forward. That solution is the electron safeStorage API.

This PR:
* Uses the Electron safeStorage API for encryption
* Since we have encrypted strings we then store them in the StorageService (at the application & machine level)

This PR also refactors things quite a bit... a diagram of the change is going to be in the PR.

It gives embedders the ability to override the behavior of the secret storage similar to the existing Credential Provider embedder API... only with a better API surface since we no longer need to conform to keytar's shape.

More will come after this PR such as:
* Converting all CredentialService usages to SecretStorageService usages

After a while:

* Removing MainThreadKeytar
* Removing all the old code marked in this PR

* Use InMemoryStorageService

* use pausable emitter
2023-06-14 20:09:24 +02:00
Daniel Imms 260501799b Remove unused remote env var 2023-05-12 07:17:01 -07:00
Daniel Imms 3214d06641 Fix compile after merge 2023-05-10 08:18:54 -07:00
Daniel Imms 7f4221a955 Merge remote-tracking branch 'origin/main' into tyriar/utility_ptyhost 2023-05-10 08:10:12 -07:00
Sandeep Somavarapu 3b74e3f2bd detect remote loggers in the UI (#181399) 2023-05-03 14:44:06 +02:00
Daniel Imms a9fbd36e4f Start extracting pty host starter into interface
Part of #175335
2023-03-30 11:05:25 -07:00
João Moreno 5bb3880b20 remove telemetry prop: common.source (#176688)
* remove telemetry prop: common.source

* remove extra code

* use interface

* use interface again

* fix tests
2023-03-10 15:22:27 +01:00
Sandeep Somavarapu 34652da5fa cli: more improvements (#176663)
- more logging
- reduce extensions scanning
2023-03-09 10:29:58 -08:00
Martin Aeschlimann f1d871dbf1 getMachineId should not use errors.onUnexpectedError (#176512) 2023-03-08 14:37:38 +01:00
Sandeep Somavarapu 33b821bab2 fix #175396 (#175631) 2023-02-28 00:58:27 -08:00
Sandeep Somavarapu 52dd56689f Improvements to logger and netwok requests logging (#175492)
- Able to create logger by passing id
- Support when conditions for loggers
- Separate logger for all network requests
- Log request and response headers
- Enable request logger on trace
- Add loggerService in CLI
2023-02-27 10:05:20 +01:00
Tyler James Leonhardt d5277e8e2b Ensure language packs are installed on the server side (#174622) 2023-02-17 07:23:00 -08:00
Sandeep Somavarapu 770fdee6a9 Support profiles in remote (#174392)
* Implement profiles on server
- Ability to create profiles on server
- Client manages the profiles on profile
- Enable profiles in web + remote

* fix tests
2023-02-15 10:08:57 +01:00
Sandeep Somavarapu 11fcbd051a prepare for server profiles (#174232)
* prepare for server profiles
- make state service available in server
- Intrdouce save stragey in state service - state shall be saved immediately in server
- use UserDataProfilesService that can save profiles in server

* feedback

* - add tests
- register IStateReadService in main
2023-02-14 08:58:44 +01:00
Sandeep Somavarapu c9e3ef8655 improve extensions cleanup (#173484)
- rename and delete
- delete generated folders
- developer action to cleanup
2023-02-05 14:50:39 -08:00
Sandeep Somavarapu 47604eeabd fix #172642 (#172667) 2023-01-30 07:44:43 +01:00
Sandeep Somavarapu 05d59b893e Log: Enhancements and cleaup (#171325)
- Make logger service primary source for log level
- Automatically register output channels for loggers from anywhere
- Use logger channels on remote processes (server, pty)
- clean up loggers and log service
2023-01-14 19:46:46 +01:00
Sandeep Somavarapu 73dbd244c2 set logger service in server 2023-01-12 11:26:46 +01:00
Sandeep Somavarapu 5167c393aa proper fix for #165447 (#169883)
- use extensions location to get relative path
2022-12-23 10:47:34 +01:00
Benjamin Pasero 3d58b4623b Allow to configure shell resolution time (#169237)
* Allow to configure shell resolution time

* use `clamp`
2022-12-15 06:14:54 -08:00
Sandeep Somavarapu dd93163b73 Fix #168560 (#168996) 2022-12-13 16:08:23 +01:00
Sandeep Somavarapu d0e44be432 fix #167128 (#167197) 2022-11-24 14:22:10 -08:00
Sandeep Somavarapu 23b25e9d4d Fix #166147 (#166648)
- store default extensions manifest in extensions dir
- command to install an extension from location
- remember and init default profile extensions in cached scanner
2022-11-17 15:26:56 -08:00
Sandeep Somavarapu e9db45a0de Fix #164690 #164730 (#165331)
* Revert "Revert "Fix #164690 #164730 (#165279)" (#165302)"

This reverts commit d9ed6d1ef4.

* store migration completion marker in profile
2022-11-03 12:02:53 +01:00
Megan Rogge d9ed6d1ef4 Revert "Fix #164690 #164730 (#165279)" (#165302) 2022-11-02 17:48:32 -07:00
Sandeep Somavarapu 9c0c68c8cf Fix #164690 #164730 (#165279)
- Maintain default installed extensions manifest always
- Adopt to default installed extensions manifest
- Add externally installed extension to default extensions manifest
2022-11-02 22:48:15 +01:00
Sandeep Somavarapu fe882ab334 api feedback (#164470)
* api feedback
- remove critical log level
- move log level off to be 0

* handle off log level

* fix disabling log level in tests

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2022-11-01 10:41:19 -04:00
Sandeep Somavarapu 845f524e35 Merge pull request #162285 from dtivel/dtivel/verify-packages
Add extension signature verification service
2022-10-18 14:14:05 +02:00
Sandeep Somavarapu 894aa9a7a7 Log improvements (#163532)
* - expose log level in the proposed api
- ability to set log level per logger

* fix tests
2022-10-13 03:48:52 -07:00
Damon Tivel 387563c02b Add extension signature verification service 2022-10-03 08:20:27 -07:00
Sandeep Somavarapu 39f3ab5b53 Fix #159447 (#160310) 2022-09-07 07:43:07 -07:00
Logan Ramos cc098faebd Allow msftInternal to be setting toggled (#156198) 2022-07-25 21:01:27 -04:00