* 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
* 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>
* 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
* 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
* 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
* 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
* 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