Commit Graph

25 Commits

Author SHA1 Message Date
Tyler James Leonhardt f363be172c Rename LocalizationsService to LanguagePackService and misc moves (#150314)
* rename LocalizationsService to LanguagePackService and misc moves

* couple more renames

* one more rename
2022-05-24 15:05:17 -07:00
Sandeep Somavarapu 562c9f6d8b register policy definitions from policy configuration 2022-05-17 16:01:10 +02:00
Joao Moreno 70b7af01e8 wire up policy service 2022-05-16 21:57:56 +02:00
Sandeep Somavarapu e4c04ea2e9 - Introduce policy model with file policy
- Introduce policy configuration using policy model
- Use policy configuration while reading, inspecting and writing configuration
- Adopt json settings editor
2022-05-10 13:49:31 +02:00
Logan Ramos 9be47ee6ab Update server telemetry 2022-04-19 10:32:32 -04:00
Connor Peet 0de44f9786 variables: allow resolving extensionDir (#146274)
* variables: allow resolving `extensionDir`

This allows us to fix https://github.com/microsoft/vscode-remote-release/issues/5516#issuecomment-911597917

It enables a new replacement in the format `${extensionDir:<id>}` which
will expand to the filesystem path where the extension is stored. This
involved churn, since now resolution is always synchronous (where before
the terminal took a synchronous-only path.)

Additionally, changes were needed to inject this information in the
variable resolver. As part of this I made the extension host resolver
(used by debug and tasks) its own extension host service.

* fixup! preserve object key order in resolution, add extensionDir support

* fixup! address pr comments

* fixup! address pr comments

* fixup! address pr comments

* config: fix config replacement only working for first variable per line

* fixup! fix unit tests
2022-04-07 08:06:31 -07:00
Sandeep Somavarapu a6180a732e Show localized manifest for installed extensions in UI:
- move translations into extensions scanner service
2022-04-05 12:09:13 +05:30
Sandeep Somavarapu 9fe18d2e6b fix layering 2022-04-01 23:12:19 +05:30
Sandeep Somavarapu a51801b465 align extension scanning
- Extract extension scanning, validating and nls replacement into `INativeExtensionsScannerService`
- Use `INativeExtensionsScannerService` for scanning in Desktop and Remote extension managements and extension hosts
- Represent invalid extensions in Extensions UI
- Remove prompting for invalid extensions while scanning in Desktop Extension Host in Dev mode
2022-04-01 11:02:02 +05:30
Alex Dima 344a1defd8 Use IFileService in ExtensionScanner 2022-03-22 14:17:55 +01:00
Alex Dima f903e88a3f Merge remote-tracking branch 'origin/main' into alex/issue-143645 2022-03-21 16:16:13 +01:00
Alex Dima d61e2520e0 When the remote extension host disconnects, ask the server if it actually just crashed (using the management connection) 2022-03-21 16:13:51 +01:00
Tyler Leonhardt 4e1c18d113 Ensure we prompt on Desktop when keytar doesn't load. Fixes #145282 2022-03-18 13:45:17 -07:00
Sandeep Somavarapu e767f79f1f consider outdated targetplatform while loading extensions 2022-03-17 12:20:13 +05:30
SteVen Batten 5612d0124a fix layer breakage 2022-02-23 11:15:18 -08:00
SteVen Batten d3d1be0131 fix layer breakage 2022-02-23 09:53:40 -08:00
SteVen Batten b43fff4d34 improve pii path logic 2022-02-23 09:32:16 -08:00
Alex Dima 32571dd1cc 💄 2022-02-18 17:53:53 +01:00
Martin Aeschlimann 5a0c28a463 serverGreeting is optional 2022-02-09 16:18:37 +01:00
Alex Dima ed54b04b4f Simplify uri transformer creation 2022-02-04 16:22:18 +01:00
Alex Dima a05cb7a87a Move server telemetry service code to platform/telemetry (fyi @lramos15) 2022-02-04 15:22:46 +01:00
Johannes Rieken 4a130c40ed enable @typescript-eslint/member-delimiter-style, https://github.com/microsoft/vscode/issues/140391 2022-02-02 14:35:33 +01:00
Alex Dima 9cf6d28996 Only log server greeting to log file, not again to the console 2022-01-26 14:04:44 +01:00
Alex Dima 38a7ba7c6d Move initial logging to setupServerServices 2022-01-24 16:48:58 +01:00
Alex Dima 868bdad96d Extract service setup to a separate file 2022-01-24 16:38:16 +01:00