Cheena Malhotra
b35942ad80
Fix account names to display UTF8 characters ( #21070 )
2022-11-02 10:04:50 -07:00
Karl Burtram
8a3d08f0de
Merge vscode 1.67 ( #20883 )
...
* Fix initial build breaks from 1.67 merge (#2514 )
* Update yarn lock files
* Update build scripts
* Fix tsconfig
* Build breaks
* WIP
* Update yarn lock files
* Misc breaks
* Updates to package.json
* Breaks
* Update yarn
* Fix breaks
* Breaks
* Build breaks
* Breaks
* Breaks
* Breaks
* Breaks
* Breaks
* Missing file
* Breaks
* Breaks
* Breaks
* Breaks
* Breaks
* Fix several runtime breaks (#2515 )
* Missing files
* Runtime breaks
* Fix proxy ordering issue
* Remove commented code
* Fix breaks with opening query editor
* Fix post merge break
* Updates related to setup build and other breaks (#2516 )
* Fix bundle build issues
* Update distro
* Fix distro merge and update build JS files
* Disable pipeline steps
* Remove stats call
* Update license name
* Make new RPM dependencies a warning
* Fix extension manager version checks
* Update JS file
* Fix a few runtime breaks
* Fixes
* Fix runtime issues
* Fix build breaks
* Update notebook tests (part 1)
* Fix broken tests
* Linting errors
* Fix hygiene
* Disable lint rules
* Bump distro
* Turn off smoke tests
* Disable integration tests
* Remove failing "activate" test
* Remove failed test assertion
* Disable other broken test
* Disable query history tests
* Disable extension unit tests
* Disable failing tasks
2022-10-19 19:13:18 -07:00
Christopher Suh
2a3e41e821
Update redirect-uri to localhost ( #20692 )
...
* wip
* change clientId
* change redirect-uri to localhost
* change clientId to staging env
* wip, using ppe endpoint
* management-preview
* change back management endpoint
* localhost/redirect
* wip
* route redirect
* change back to prod endpoints/clientId
* add error handling
2022-09-30 11:59:53 -04:00
Christopher Suh
791443ddb7
Improve the tenant logging ( #20688 )
...
* added tenant response logging
* add headers to logging
* throw error after tenant response failure
2022-09-28 22:27:02 -07:00
Charles Gagnon
5f8cefc45c
Promote some Azure account API typings ( #20615 )
2022-09-16 11:44:33 -07:00
Charles Gagnon
63aeb606bf
azureAuth.ts strict nulls ( #20583 )
...
* azureAuth.ts strict nulls
* fix test compile
2022-09-12 14:44:31 -07:00
Charles Gagnon
56fcb43c35
Fix more azurecore strict nulls ( #20547 )
2022-09-07 13:05:16 -07:00
Charles Gagnon
8319f89b84
AzureAccountProvider & AzureAccountProviderService strict nulls ( #20543 )
2022-09-06 10:48:32 -07:00
Charles Gagnon
7ec3506f5f
Strict null check SimpleTokenCache ( #20542 )
2022-09-06 10:48:17 -07:00
Karl Burtram
701f656c55
Fix connection issue with wrong resource endpoint ( #19387 )
...
* Fix connection bug accessing PBI resource
* Address CR feedback
* Fix null check
2022-05-16 15:23:23 -07:00
Lewis Sanchez
fcf00b79fc
Resolves cannot read property 'accessToken' of undefined error while connecting to a cloud DB ( #19192 )
...
* Resolves cannot read property 'accessToken' of undefined.
* Checks for and specifies undefined as refreshToken return type
* Adds documentation and checks for undefined results from refreshToken
2022-05-03 14:08:32 -07:00
Christopher Suh
bafbca492b
Clear account tokens before refresh ( #18452 )
...
* clear account tokens on refresh
* update refresh button after refresh
2022-02-17 17:25:05 -08:00
Christopher Suh
cb11c2bb22
Improve verbose logging ( #18147 )
...
* added verbose logging
* refactor logger
* added more info to logs
* add azure loggingLevel, fix logging logic, remove unused code
* fix typescript error
* mask pii data
* fix pii logging
* log tenants
* fix error function
* remove extra info and add else
* use wrapper functions for writing logs, update settings description
* change default to error, change description for pii, refactor
* fix pii logging
2022-02-02 14:39:09 -08:00
Charles Gagnon
1c9ba64ee0
check-param-names ( #18189 )
2022-01-31 12:39:22 -08:00
Charles Gagnon
8e1a1c2797
Fix azure auth error display ( #18110 )
...
* Fix azure auth error display
* Don't localize command
* Only show localized error string
2022-01-19 14:45:28 -08:00
Karl Burtram
c7cdf67b14
Properly set device code auth type ( #17027 )
2021-09-09 09:45:03 -07:00
Hai Cao
0bc2a50d78
Add token expiration handling for AzureMFA auth ( #16936 )
...
* refresh azure account token if it's expired before sending query/list requests
* fix several connection checks && add more logging
* fix async UI glitch during token refreshing
* cleanup
* minor fix
* add test for refreshAzureAccountTokenIfNecessary
* address comments
* comments
* comments
* comments
* error handling
2021-09-02 17:24:45 -07:00
Charles Gagnon
f35576ae7f
Enable no-floating-promises for azurecore ( #16946 )
...
* Enable no-floating-promises for azurecore
* few more
* fix compile
2021-09-02 09:20:32 -07:00
Monica Gupta
47211fa40a
Fix kusto resource uri ( #16862 )
...
Co-authored-by: hhh <gfhg>
2021-08-23 15:58:27 -07:00
Charles Gagnon
ccaf111696
Add more Azure account logging ( #16847 )
...
* logging 1
* More logging
* more logging
* Handle each tenant separately.
* cleanup
2021-08-20 13:23:36 -07:00
Charles Gagnon
5b3fbaa5ff
azdata.Account -> AzureAccount ( #16842 )
2021-08-20 10:28:33 -07:00
Monica Gupta
5049bf0c7f
Fix for getting auth token for Kusto resource ( #16773 )
...
* Fix for getting auth token for Kusto resource
* Addressed comment
Co-authored-by: hhh <gfhg>
2021-08-13 14:50:42 -07:00
Aasim Khan
0e9d956ee5
Adding support for multi cloud in azure rest api calls ( #16454 )
2021-07-29 10:14:15 -07:00
Justin M
f8da3cc32a
China / Germany Cloud Fix ( #15746 )
...
* Added missing resources to chinaAzureSettings and germanyAzureSettings in providerSettings
* Update providerSettings.ts
* Fixed typo in mooncake armResource
* Fixed host for China Cloud in ProviderSettings
2021-07-27 10:24:15 -07:00
Charles Gagnon
3cb2f552a6
Merge from vscode a348d103d1256a06a2c9b3f9b406298a9fef6898 ( #15681 )
...
* Merge from vscode a348d103d1256a06a2c9b3f9b406298a9fef6898
* Fixes and cleanup
* Distro
* Fix hygiene yarn
* delete no yarn lock changes file
* Fix hygiene
* Fix layer check
* Fix CI
* Skip lib checks
* Remove tests deleted in vs code
* Fix tests
* Distro
* Fix tests and add removed extension point
* Skip failing notebook tests for now
* Disable broken tests and cleanup build folder
* Update yarn.lock and fix smoke tests
* Bump sqlite
* fix contributed actions and file spacing
* Fix user data path
* Update yarn.locks
Co-authored-by: ADS Merger <karlb@microsoft.com >
2021-06-17 08:17:11 -07:00
Justin M
c68b359aaa
Add Log analytics Resource AAD Token ( #15099 )
...
* Added Azure Log Analytics resource for generating AAD Token.
* Fixed AzureResource
* Removed debug code from connectionManagementService
* Moved AzureLogAnalytics from AzureResource enum in azdata.d.ts to azdata.proposed.d.ts. Added azureLogAnalyticsResource to all azureSettings in providerSettings.ts
* Updated endpoint for generating AAD Token for LogAnalytics for UsGov, UsNat, and China
* Removed azureMonitor resource from germanyCloud in providerSettings
* Added missing resources to AzureResource in account interfaces.
* Added comment linking enums for AzureResource
2021-05-10 15:05:53 -07:00
Charles Gagnon
6c877a4e20
Update commands and param names ( #14658 )
2021-03-11 07:29:19 -08:00
Charles Gagnon
0906030aa2
Expose AzureAccount typings to other extensions ( #14604 )
2021-03-09 10:16:52 -08:00
Eric Humphrey
7d53e1c185
Fix spelling of retrieval ( #14490 )
...
Changed retrival to retrieval.
2021-03-01 15:52:11 -08:00
Charles Gagnon
dcf17cc08b
Remove async keyword from abstract functions ( #14150 )
2021-02-03 12:16:50 -08:00
Charles Gagnon
f5e737c760
Use correct Azure graph endpoint & cleanup ( #13786 )
...
* Use correct Azure graph endpoint
* Add enum
2020-12-14 10:12:01 -08:00
Karl Burtram
8cf5e4c9fd
Revert "Verify the token belongs to the proper user. ( #11593 )" ( #13321 )
...
This reverts commit 45cbaca31f .
2020-11-09 15:32:21 -08:00
Charles Gagnon
bfb2c20e0f
Add Azure account initialization logging ( #13235 )
2020-11-04 13:24:09 -08:00
Amir Omidi
45cbaca31f
Verify the token belongs to the proper user. ( #11593 )
...
* Verify the user signed into the correct account
* Add and fix tests
* Fix tests
2020-10-09 10:27:12 -07:00
Amir Omidi
15017917b3
don't pass in an object ( #11957 )
2020-08-25 18:14:05 -07:00
Amir Omidi
9c67832880
Return cancelled, not undefined for azure login ( #11656 )
...
* Return cancelled, not undefined.
* fallback to reject
* Add type to the rejection
* add default
2020-08-05 14:48:47 -07:00
Amir Omidi
9d1587f008
Special case personal accounts ( #11538 )
...
* Special case personal accounts
* Add comments
2020-07-27 15:36:20 -07:00
Amir Omidi
56d1a1c1af
Use home_oid, over oid, over unique_name, over sub ( #11514 )
...
* Prefer the homeOid over oid
* Prefer unique_name over sub
* Not always defined
2020-07-24 16:00:25 -07:00
Amir Omidi
5b8039379e
Add versioning for accounts ( #11497 )
...
* Add versioning for accounts
* deletion value
2020-07-23 19:13:44 -07:00
Amir Omidi
587abd43c2
Large cleanup of AzureCore - Introduction of getAccountSecurityToken and deprecation of getSecurityToken ( #11446 )
...
* do a large cleanup of azurecore
* Fix tests
* Rework Device Code
* Fix tests
* Fix AE scenario
* Fix firewall rule - clenaup logging
* Shorthand syntax
* Fix firewall tests
* Start on tests for azureAuth
* Add more tests
* Address comments
* Add a few more important tests
* Don't throw error on old code
* Fill in todo
2020-07-22 15:03:42 -07:00
Amir Omidi
5613a97fae
Use a unique key for the accounts ( #11380 )
...
* Use a unique key for the accounts
* Fix some tests
* Simplify display name
* Change to a random UUID
2020-07-17 13:39:53 -07:00
Amir Omidi
648174e91d
Tenant filter fix ( #11411 )
...
* Fix tenant filter
* Test for the azure filter feature
2020-07-17 12:46:22 -07:00
Amir Omidi
22f85ad4ff
Handle don't ask again button ( #11236 )
...
* Handle don't ask again button
* Change to ignore
* Change language
* Pass in tenant name and ID
* Fix message
* Don't allow common tenant to get interaction required prompt
* Move things around
2020-07-13 14:52:41 -07:00
Amir Omidi
ff979f90d1
Optional PII logging ( #11322 )
...
* Start with logger
* allow user to enable PII logging
* prefix the log
2020-07-13 13:05:00 -07:00
Amir Omidi
b0cab3125e
Revert "Prints out the actual error that happened" ( #11212 )
...
* Revert "Prints out the actual error that happened (#11208 )"
This reverts commit 6eb88924f6 .
* Fix the JSON.stringify
2020-07-06 12:23:46 -07:00
Amir Omidi
6eb88924f6
Prints out the actual error that happened ( #11208 )
2020-07-06 11:58:14 -07:00
Jorge Berumen
a06a06bb58
Add Azure DevOps as a resource for authentication ( #11146 )
...
* Adding ado as auth resource
* Removing Gov ADO resource
* Correctly handling azureDevOpsResource not being present for usgov
2020-07-02 17:22:31 -07:00
Amir Omidi
c879d77b62
Add USNat cloud settings ( #11015 )
...
authored-by: chgagnon <chgagnon@microsoft.com >
2020-06-19 13:40:27 -07:00
Amir Omidi
7d31239e64
Open in azure portal ( #10535 )
...
* initial commit to get it working
* Change configuration to use package.nls.json
* Make the necessary plumbing
* Support multi cloud
* Move the menu item to the bottom
* Fix failing tests
* Fix the tests
2020-05-29 19:59:29 -07:00
Amir Omidi
65a4a56fd7
Prompt for consent when interaction is required ( #10373 )
...
* Reprompt for consent
* Remove unused imports
* Fix typos
* Change the tenant we re-auth too
* Handle the prompt properly
* prompt for consent dialog
* Information message modal
* product name
* Change message per PM feedback
2020-05-21 00:03:21 -07:00