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
Amir Omidi
923272f989
Let's log every potential failure ( #10342 )
...
* Let's log every potential failure
* Add more context to the error
2020-05-11 13:02:28 -07:00
Amir Omidi
e6ca724571
Add new error message to console ( #10303 )
2020-05-07 13:28:45 -07:00
Amir Omidi
87e5239713
Add a trailing slash ( #10218 )
...
* Add a trailing slash
* Do the same for US govt cloud
2020-04-29 14:16:27 -07:00
Amir Omidi
9d9788d16f
Listen on localhost only ( #9997 )
2020-04-15 14:06:36 -07:00
Amir Omidi
3f77832e4b
Don't enforce the password limit for file keytar ( #9974 )
...
* Allow users to use file based keychain if they have to
* Don't enforce this limit for FS keytar
* Spacing
2020-04-14 14:48:38 -07:00
Amir Omidi
fac2982d7a
Allow users to use file based keychain if they have to ( #9952 )
2020-04-14 14:33:24 -07:00
Amir Omidi
510c12677e
Remove unusable tenants ( #9921 )
2020-04-09 13:01:24 -07:00
Amir Omidi
21964e15b0
Add more debug console logs so we can assist users better ( #9907 )
2020-04-08 13:12:26 -07:00
Amir Omidi
ce12bae00f
Remove unused dependencies ( #9833 )
...
* Remove the adal dependency
* Delete unused files
* Remove request as well
2020-04-02 17:16:54 -07:00
Amir Omidi
223aa3fe0e
We can't authenticate to every subscription ( #9826 )
...
* We can't authenticate to every subscription
* Refresh tenants and subs when the application starts
2020-04-02 09:02:04 -07:00
Amir Omidi
fc726c1477
Enable azure cloud console in ADS ( #8546 )
...
* initial changes
* Enable cloud console
* Delete unnecessary code
* error handling
* error handling
* Deal with promises
* Fix externals
* Fix externals for ws
* Cleanup name of terminal
* Update yarn.lock
* Fix yarn.lock
* Fix externals
* Cleanup parts of the code
* Fix more issues
* Fix cloud terminal
* Go back to our client ID
* Fix message
* Respect preferred location
* Fix govt cloud
* Some more messaging
* Enable items on right click
* Some feedback
* Change to status message
2020-03-31 18:39:58 -07:00
Amir Omidi
a9240f38f7
Fix a few problems with new Azure auth ( #9760 )
...
* Fix a few problems
* Fix bug
* One resource per line
* Dispose before cleaning
* Dispose the event handler
* Dispose webserver
2020-03-27 13:18:27 -07:00
Amir Omidi
bb6e4e5ff1
Forces device code auth on SAW and fixes a small axios issue ( #9756 )
...
* Force device code and fix a device code issue
* Trailing comma
2020-03-26 17:51:51 -07:00
Amir Omidi
5c63419d0d
Keytar and UIKind Azure Authentication ( #9743 )
...
* Handle webmode
* Fix keytar
* Specify that it can be null too.
* Configuraiton option
* Fix callback URL
* Update message, only show if the user is on Linux
* Change message
2020-03-26 13:40:44 -07:00
Amir Omidi
c15ac474d7
New Azure Auth Provider ( #9664 )
...
* Fixes how azure auth is handled on the azure pane
* New auth provider
* Add externals
* Feedback
* Change azdata
* Fix other issues
* Review feedback
* Feedback
* Feedback updates
* Move AKV to azdata.d.ts
* Fix yarn.lock
* Update third party notices
2020-03-23 12:39:25 -07:00
Jeff Trimmer
35b27f1304
Add akv token request logic ( #9556 )
...
Add support for running queries that require a decryption key from Azure Key Vault when using Always Encrypted.
2020-03-19 12:49:05 -07:00
Amir Omidi
e100b8f88e
A simple file and memory based database ( #9649 )
...
* File and memory database
* Add read and write hook tests
2020-03-18 12:20:25 -07:00
Amir Omidi
cc6cc2889a
Simple web server component ( #9648 )
...
* Simple web server component
* More testing
2020-03-17 16:32:06 -07:00
Amir Omidi
c9170aaf0e
Hook up the command again ( #9587 )
2020-03-12 12:26:28 -07:00
Amir Omidi
5578693635
Fix the svg issue ( #9487 )
2020-03-06 15:10:46 -08:00
Amir Omidi
1c9841c8e6
Add ossRdmbs to getAccessTokens ( #9364 )
2020-02-27 14:09:58 -08:00
Charles Gagnon
10b681b3c8
Add Arc Resources to Azure view ( #9271 )
...
* Initial work
* Add setting change handler
* Fix tests
* Update loc names and add preview tag
* Remove TODOs
2020-02-24 08:15:27 -08:00
Amir Omidi
df3f1768f7
Show error to user ( #9014 )
...
* Show error to user
* Update the errors
* change message
2020-02-06 13:42:01 -08:00
Amir Omidi
c6689700f6
Move files locations ( #9015 )
...
* Move files locations
* Extension path
2020-01-31 14:54:32 -08:00