Граф коммитов

641 Коммитов

Автор SHA1 Сообщение Дата
Aditya Mankal 6e881389eb
[Code Sign] Integrated ESRP Sign Step - AB#2218368 (#598)
* Squashed Commits

* Incremented minor version
2024-10-18 06:29:23 +00:00
Winston Liu 6c788dbfff
Migrate to builtin authentication provider & remove Configure Pipeline support (#595)
* Remove Azure Accounts dependency & delete configure flow

* Don't bring in a new package for one API call

* Only run MSA logic on MSAs

* Account for the non-MSAL case

* Further remove references to Configure Pipeline

* Remove leftover comment

* Use modern versions of vsce

* Bump compilation target

VS Code 1.82/Node 18 supports all the way up to ES2022.

* Also remove uuid dependency

* Switch to @vscode/test-cli

* Provide a fast path for the single org scenario

And use clearSessionPreference when the wrong account is used

* Remove unused telemetry keys

* Add user agent info

* Add Extension Test Runner as a recommended extension
2024-10-01 15:02:55 +00:00
Winston Liu f71d2c0cbb
Release 1.237.0 (#574)
* M235 schema

* Update changelog

* 1.237.0
2024-10-01 12:19:57 +02:00
Ivan Duplenskikh 80041f18db
Migration to CFS (#592)
* Migration to CFS

* Add NpmAuthenticate@0 task before the installation task

* Fix eslint problems
2024-09-09 12:17:32 +02:00
Dmitrii Bobreshev 576887ee91
1ES Migration (#575)
* 1ES Migration

- changed links
- Migrate the pipeline to another pool and org

* 1ES Migration

- temporary comment the pipeline

* 1ES Migration

- restore triggers

* 1ES Migration

- badge update

* 1ES Migration

- test version

* Revert "1ES Migration"

This reverts commit 0a2cda85c6.
2024-03-13 19:37:28 +01:00
Winston Liu fcf9a13740
Update language server to 0.8.0 (#573) 2024-03-11 11:59:12 +04:00
Dmitrii Bobreshev 1c9131734a
1ES Pipelines Template Adoption (#572)
* 1ES Pipelines Template Adoption

- Added 1Es templates ci
- Changed pools for Windows/Ubuntu to 1ES pools

* 1ES Pipelines Template Adoption

- Disable release for testing

* 1ES Pipelines Template Adoption

- Add eslint exception

* Revert "1ES Pipelines Template Adoption"

This reverts commit 27b135817c.
2024-03-06 12:18:27 +01:00
Ivan Duplenskikh 956a7cbac5
Add doNotAskAgain button for Sign In and Select Organization windows (#560)
* Add doNotAskAgain buttons for Sign In and Select Organization

* Add reset state command, move check to separate line and change log messages

* Update indent

* Clarify what the setting does

* Only check DNAA right before the prompts

* Delete missed line

* Clarify the method name

---------

Co-authored-by: Winston Liu <Wliu1402@gmail.com>
2024-02-12 07:44:23 -08:00
Dmitrii Bobreshev 4651edc71c
Update github workflows to avoid issues with GITHUB_TOKEN (#568)
- Added write permissions in gh workflow
2024-01-26 11:56:58 +01:00
dependabot[bot] 134d9ecb07
Bump follow-redirects from 1.14.8 to 1.15.4 (#565)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.8 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.8...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-12 14:20:06 -08:00
Winston Liu 2620721e33
Add file icon (#563) 2024-01-05 09:48:47 +01:00
Winston Liu 4d90333d2a
Recognize more common filename patterns as Azure Pipelines files (#557)
* Cover more pipeline patterns

* Add tests
2023-11-19 21:54:04 -08:00
Winston Liu 35354b34d7
Delete unused dependencies (#556) 2023-11-19 21:05:48 -08:00
Winston Liu a2930f1503
Switch to ESLint (#555)
* Initial migration to ESLint

* Recommend ESLint instead of TSLint

* Fix prefer-const

* Fix no-useless-escape

* Fix restrict-template-expressions

* Fix no-floating-promises

* Fix no-unsafe-enum-comparison

* Fix ban-types

* Fix no-unused-vars

* Fix no-array-constructor, no-var

* Fix require-await

* Fix no-misused-promises

* Fix no-unbound-method

* Fix no-namespace

* Lint telemetryHelper

* Lint graphHelper

* Delete unused OperationsClient

* Lint ServiceConnection*

* Lint configure

* Another round of lint configuration

* Lint restClient

* Ignore parseError

* Lint in CI

* Make it stricter

* Better fix for schemaContributor

* Add a missing progress notification

* Ignore tools for CI, I guess
2023-11-19 17:26:09 -08:00
Winston Liu ffb206064f
Enable TS strict mode (#553)
* Clear some of the easier errors

* Major improvements in nullability

* Redo telemetry a bit

* Fix the last nullability error

* Trim tsconfig a bit

* New nullability fixes

* Fix some errors and logic flaws

* Handle filtered sessions correctly

* Handle no suitable app service

* Better service connection progress notification

* Fix always cancelling after checking in

* Fix getting commit

* Move updateScmType to bottom

* Consistency

* Remove duplicate repositoryName

* Formatting

* Rethrow errors

* Add separate notification for pushing

* Fetch commit from a fresh HEAD

* Add quick pick to create new project

* Fix GitHub integration

* Get tests working again

* Actually compile the tests ✌️

* deepStrictEqual
2023-11-18 00:41:05 -08:00
dependabot[bot] 772fe4247d
Bump debug from 3.2.6 to 3.2.7 in /.azure-pipelines/github-release (#550)
Bumps [debug](https://github.com/debug-js/debug) from 3.2.6 to 3.2.7.
- [Release notes](https://github.com/debug-js/debug/releases)
- [Commits](https://github.com/debug-js/debug/compare/3.2.6...3.2.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 14:44:01 -07:00
Winston Liu 27fbd5f7c4
Fix logger exception when using hardcoded schemas (#549) 2023-09-21 23:36:44 -07:00
Priya Tejankar e23d437e4f
release 1espt schema (#548) 2023-09-21 16:27:33 +04:00
Priya Tejankar a6402226a6
1ESPT Schema Rollout (#543)
* 1ESPT Schema Rollout

* minor updates

* address feedback comments

* comment

* fix

* addressed PR comments

* added comment

* PR comments

* lastUpdated1ESPTSchema converted to map

* disable 1ESPTSchema in workspace when signed out

* add activation event lang to yaml

* read and update workspace 1ESPTSchemaFile Setting

* Update src/schema-association-service-1espt.ts

Co-authored-by: Winston Liu <Wliu1402@gmail.com>

* simplified logic

* remove activation on yaml

* Update schema-association-service.ts

* minor update

* pr comments

* logic if 1espt repo not found

* PR comments

* minor update

* add Don't Ask Again option in popup

* Update src/messages.ts

Co-authored-by: Winston Liu <Wliu1402@gmail.com>

* Update src/schema-association-service-1espt.ts

Co-authored-by: Winston Liu <Wliu1402@gmail.com>

* change repoId1espt to let

* Explain the caching

---------

Co-authored-by: Winston Liu <Wliu1402@gmail.com>
2023-09-13 14:47:52 -07:00
dependabot[bot] 914ccb7075
Bump semver from 5.7.1 to 5.7.2 (#537)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 10:01:22 -07:00
dependabot[bot] 0a523f62df
Bump semver from 5.7.1 to 5.7.2 in /.azure-pipelines/github-release (#536)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 07:51:53 -07:00
dependabot[bot] eca8d5ef20
Bump semver from 5.7.1 to 5.7.2 in /tools/extract-yaml-testcases (#535)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-12 07:51:20 -07:00
dependabot[bot] c29dd04418
Bump tough-cookie and @azure/ms-rest-js (#534)
Removes [tough-cookie](https://github.com/salesforce/tough-cookie). It's no longer used after updating ancestor dependency [@azure/ms-rest-js](https://github.com/Azure/ms-rest-js). These dependencies need to be updated together.


Removes `tough-cookie`

Updates `@azure/ms-rest-js` from 2.6.6 to 2.7.0
- [Changelog](https://github.com/Azure/ms-rest-js/blob/master/Changelog.md)
- [Commits](https://github.com/Azure/ms-rest-js/commits)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
- dependency-name: "@azure/ms-rest-js"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 14:05:53 -07:00
Konstantin Tyukalov 97f39ff988
Update service schema to m219.1 (#522)
* Place m219 schema

* Update schema version

* Remove extensions tasks from schema
2023-04-20 12:57:52 +04:00
ivanduplenskikh dcb9ea3677
Add PowerShell progressPreference input definition (#514)
* Added powershell progressPreference definition

* Added description for progressPreference

* Updated service-schema
2023-04-14 16:25:59 +03:00
dependabot[bot] 588d570a78
Bump xml2js and @azure/ms-rest-js (#518)
Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) and [@azure/ms-rest-js](https://github.com/Azure/ms-rest-js). These dependencies needed to be updated together.

Updates `xml2js` from 0.4.23 to 0.5.0
- [Release notes](https://github.com/Leonidas-from-XIV/node-xml2js/releases)
- [Commits](https://github.com/Leonidas-from-XIV/node-xml2js/commits/0.5.0)

Updates `@azure/ms-rest-js` from 2.6.0 to 2.6.6
- [Release notes](https://github.com/Azure/ms-rest-js/releases)
- [Changelog](https://github.com/Azure/ms-rest-js/blob/master/Changelog.md)
- [Commits](https://github.com/Azure/ms-rest-js/commits)

---
updated-dependencies:
- dependency-name: xml2js
  dependency-type: indirect
- dependency-name: "@azure/ms-rest-js"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 07:55:11 -07:00
dependabot[bot] cf2e89f330
Bump webpack from 5.64.2 to 5.76.0 (#511)
Bumps [webpack](https://github.com/webpack/webpack) from 5.64.2 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.64.2...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 13:57:16 -07:00
Maxim Zaytsev 708f7777cb
Update workflow (#512) 2023-03-15 19:43:37 +03:00
dependabot[bot] 5774323f76
Bump json5 from 2.2.0 to 2.2.3 (#506)
Bumps [json5](https://github.com/json5/json5) from 2.2.0 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.0...v2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 10:33:48 -05:00
Winston Liu 0d270cd75b
Update language server to 0.7.0 (#503) 2022-12-06 17:57:14 -08:00
dependabot[bot] 7eb9b888a5
Bump qs from 6.10.1 to 6.11.0 (#502)
Bumps [qs](https://github.com/ljharb/qs) from 6.10.1 to 6.11.0.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.10.1...v6.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 16:45:43 -08:00
dependabot[bot] e457b479f1
Bump loader-utils from 2.0.3 to 2.0.4 (#501)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-18 06:50:34 -08:00
dependabot[bot] 604bce46e0
Bump minimatch from 3.0.4 to 3.1.2 in /tools/extract-yaml-testcases (#500)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-12 10:28:26 -08:00
Winston Liu a7d771f046
Update dependencies (#499) 2022-11-11 17:30:13 -08:00
dependabot[bot] 37db8518b7
Bump loader-utils from 2.0.2 to 2.0.3 (#498)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.3/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 17:03:51 -08:00
dependabot[bot] 582edd76b4
Bump @xmldom/xmldom from 0.7.5 to 0.7.6 (#496)
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.7.5 to 0.7.6.
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xmldom/xmldom/compare/0.7.5...0.7.6)

---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 23:49:21 -07:00
Maxim Zaytsev 2a607113c4
[Repo config] Add `CODEOWNERS` file (#488) 2022-08-23 11:16:22 +03:00
Winston Liu d4d82fcf06
More auto-detection improvements (#486)
* Introduce constants

* Properly handle text editor events

* Use waitForSubscriptions to avoid race condition

* Calculate workspaceFolder ourselves on lang change

* Only load schema for active text editor

* Only request schema on session change if logged in

* Failure to load Git extension shouldn't be fatal

* Simplify onDidOpenTextDocument handling

* Add a bunch of logs
2022-08-11 22:09:40 -07:00
Winston Liu 282970bd18
Release 1.208.0 (#484)
* Update azure-pipelines-language-server to 0.6.8

* M206 schema

* Update changelog for 1.208.0

* Update auto-detection section in the README

* Fix changelog version

* 1.208.0

* 1.208.1
2022-07-20 21:04:04 -04:00
dependabot[bot] a70fd23369
Bump terser from 5.10.0 to 5.14.2 (#483)
Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 20:22:03 -04:00
Winston Liu 9e1359071f
Expand schema auto-detection to all workspaces (#481)
* Prompt for the right Azure session to use

* Create storage folder after getting Azure session

* Make auto-detection work for non-ADO repos

* Make the flow a little nicer

* Bump listOrganizations API version to 7.0

* Update comment for the future

* Multi-workspace support

* Improve nullability

* Punt auto-detection for non-workspace files

* Only request schema once per session

* Fix schema detection for preview editors

* Fix getRepository returning null on startup

* Log when auto-detection fails

* Add a TODO to update schema associations

* Switch to path instead of toString

* Downgrade Azure Account version used in tests

* Fix launch config for tests
2022-07-20 20:10:42 -04:00
Winston Liu f7704b2066
Update YAML grammar to match VS Code (#476) 2022-05-25 12:33:34 -04:00
microsoft-github-policy-service[bot] fa05e630ed
Microsoft mandatory file (#473)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2022-05-17 13:27:43 -04:00
Winston Liu 054371b10e
Release 1.205.0 (#472)
* M203 schema

* Update changelog for 1.205.0

* Update indentation in RELEASE.md

* 1.205.0

* 1.205.1
2022-05-09 21:49:54 -04:00
Winston Liu 84d129ff23
Update pipeline templates (#471)
* Remove workingDirectory

* Use sourceRepository.branch as the trigger

* Switch to windows-latest

* Use agent-provided .NET

* Rename to dotnet

* Use agent-installed Node & rename templates

* Use agent-installed Python

* Cleanup
2022-05-09 17:10:54 -04:00
Emil Sundin f6cdce862f
Fix schema auto detection (#469) (#470) 2022-05-09 16:05:14 -04:00
Maxim Zaytsev a643d6f62b
Add note about Schema auto-detection (#458) 2022-05-09 16:09:42 +02:00
Winston Liu cda88479ee
Update dependencies (#468)
* Upgrade uuid to v8

* Upgrade mustache to 4.2.0

* Upgrade @vscode/extension-telemetry to 0.5.1
2022-05-03 15:27:17 -04:00
Winston Liu 1ae2282e39
Release 1.204.0 (#465)
* Release 1.204.0

* 1.204.1
2022-04-29 23:10:21 -04:00
Yauhen Svirydzenka 45748cbc5e
Update minimist to 1.2.6 and mkdirp to 0.5.6 (#464)
Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).
mkdirp  0.4.1 - 0.5.1 depends on vulnerable versions of minimist
2022-04-29 10:08:42 +02:00