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

162 Коммитов

Автор 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
Winston Liu fcf9a13740
Update language server to 0.8.0 (#573) 2024-03-11 11:59:12 +04: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
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
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
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] 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
Winston Liu 0d270cd75b
Update language server to 0.7.0 (#503) 2022-12-06 17:57:14 -08: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
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 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
Winston Liu bd0fe41064
Replace simple-git with builtin Git extension API (#461)
* Replace simple-git with builtin Git API

* Fix bug when committing file

* Use workspaceUri as the source of truth

* Pass in Git/workspace details

* Notify when the workspace isn't a Git repo

* Export controlProvider functions directly

* Don't import all of git

* Update @types/vscode

* Switch error message to use stderr
2022-04-26 02:32:14 -04:00
Winston Liu f300278275
Release 1.202.0 (#450)
* 1.202.0

* Update release instructions

* Bump version
2022-03-16 00:38:07 -04:00
AndreyIvanov42 13c2361912
Resolve vulnerabilities in dependencies (#443)
* Bumb versions of dependencies
2022-02-16 13:36:19 +04:00
Winston Liu 2e9781b705
Replace shelljs with copy-webpack-plugin (#439) 2022-01-20 13:53:07 -05:00
Winston Liu 6fde285038
Add unit tests (#434)
* Make LocalGitRepoHelper testable

Unit tests don't have access to vscode

* Add LocalGitRepoHelper tests

* Add GitHubHelper tests and fix bug

* Remove unnecessary import from azureSessionHelper

* Inline stringCompareFunction

* De-duplicate sleepForMilliSeconds

* Make azureDevOpsHelper testable

Incorrectly-formatted URLs are rare enough that we don't need telemetry.
Also, test coverage will help prove we're not parsing URLs incorrectly.

* Yank ExtensionVariables into its own file

This actually makes azureDevOpsHelper testable,
by preventing any usage of vscode in models.
vscode is still imported,
but now only as a typings module that TS can erase.
Really, what are legitimate classes doing in a *models* file?!

* Add some comments to AzureDevOpsHelper

* Add initial tests

* Use substring consistently

* Remove filters

We assume there are no empty path portions.

* Format

* More tests

* Const-ify

* Move ADO-related functions out of commonHelper

* Add tests for generateDevOpsProjectName

* Add user config for remote Git instance

* Stop clobbering user.name/email

* Fix up config-dependent tests
2021-12-12 18:04:22 -05:00
Winston Liu ef835440ad
Fix integration tests (#433)
* WIP: fix tests

* More test fixes

* Add glob types

* equal -> strictEqual

* Remove "Extension Tests From Server"

This is already tested.

* Add integration tests to CI

* Remove test-compile

* Remove unnecessary npx

* Start xvfb

* Export display

* Set env var correctly

* Pass the workspace

* Pass in the src path

* Increase sleeps

* Base tests off of VS Code samples

* Fix path

* Install azure-account

* Pin azure-pipelines-language-server

* Format

* More format
2021-11-28 11:53:08 -05:00
Winston Liu f6a0991768
Release 1.195.0 (#432)
* Release 1.195.0

* Update release instructions

* Bump version for development
2021-11-22 19:58:45 -05:00
Winston Liu 0864e9f2a1
Update azure-pipelines-language-server to 0.6.7 (#431) 2021-11-22 19:44:55 -05:00
Winston Liu 9f402baadb
Fix Create Pipeline flow (#429)
* Initial fix to create pipelines for ADO repos

Works until you try pushing the changes.
Still needs lots of cleanup.

* Finish replacing AzureDevOpsClient with Node API

Still needs lots of cleanup and testing

* Update package-lock.json

* Remove Q dependency

* Rename AzureDevOpsClient to OrganizationsClient

* Remove a missed Q instance

* Fix remote validation

* Keep inputs on-screen when tabbing

* Use bearer token instead of PAT

* Strongly type OrganizationsClient

* Remove identifierUris due to breaking change

https://techcommunity.microsoft.com/t5/azure-tools/azure-active-directory-breaking-change-impacting-azure-cli-and/ba-p/2848388

* Cleanup the ADO auth code a bit

* Add a TODO for myself to replace GraphHelper

* Fix CI?

* Ah, don't sudo.

* Disable minification

Increases extension size by ~500kb
2021-11-19 17:07:13 -05:00
Winston Liu 93365a6dd0
Release 1.194.1 (#427)
* Release 1.194.1

* Bump version for development
2021-10-28 21:23:52 -04:00
Winston Liu bb253c4fee
Release 1.194.0 (#426)
* Release 1.194.0

* Bump version for development
2021-10-28 21:06:37 -04:00
Matt Cooper d3d04de9fb 1.191.1 2021-08-12 09:42:38 -04:00
Matt Cooper b0238a3caa bump version number 2021-08-12 09:31:25 -04:00
Winston Liu cfe6755782
Update azure-pipelines-language-server to 0.6.4 2021-07-28 15:15:13 -04:00
Winston Liu 965e2665b9
Update language-server to 0.6.3 2021-07-07 11:40:03 -04:00
Matt Cooper 36fc507d37 1.188.2 2021-06-15 06:11:03 -04:00
Matt Cooper 007188f7b2 next version will be 1.188.1 if needed 2021-06-14 13:11:54 -04:00
Matt Cooper 1e4b3c2677 version bump 2021-06-14 13:05:56 -04:00
Winston Liu c01e8f8db3
Update workspace trust to limited 2021-06-11 23:01:55 -04:00
Winston Liu e80969f8b2
Support untrusted workspaces
We do not perform any code execution, only parsing;
thus, we should be safe to run in any context.
2021-06-10 21:04:50 -04:00
Winston Liu 6c0d185fd8
Bump version so VS Code stops complaining 2021-06-08 23:12:27 -04:00
Winston Liu a8bf284b57
Update azure-pipelines-language-server 2021-06-08 23:05:04 -04:00
Winston Liu 64026a0840
Remove typed-rest-client 2021-06-06 22:42:06 -04:00
Winston Liu c82afd08af
Remove underscore 2021-06-06 22:16:49 -04:00
Winston Liu 9658dfba52
Upgrade to azure-pipelines-language-server@0.6.1
For Webpack support
2021-02-12 23:08:43 -05:00
Winston Liu c4dfeccc65 Streamline graphHelper 2021-01-29 22:15:15 -05:00
Winston Liu dd15b5e50d
Update commands for webpack
- Move extension to dist/extension.js
- Ignore node_modules when publishing
- Fix debugging tests
2021-01-29 10:42:04 -05:00
Winston Liu 57b38123e0
Migrate everything but graphHelper to credentials2 2021-01-28 23:55:48 -05:00
Winston Liu e0fe572913
WIP: Migrate to new @azure/arm-* packages
Just adal-node left
2021-01-25 23:36:42 -05:00
Winston Liu bd0b30f4d8
WIP: Bundle with Webpack
Doesn't work b/c of a ms-rest critical dependency
2021-01-25 22:34:48 -05:00
Winston Liu 7522cb9c72
Merge branch 'main' into rethink-azureextensionui-dependency 2021-01-21 23:58:10 -05:00