Christopher Suh
6231df85e0
Handle undefined error when opening connection dialog ( #21980 )
...
* handle undefined error when opening connection dialog
* combine into else if
* change log
* update log message
2023-02-17 15:22:51 -08:00
Lewis Sanchez
7c47aea06e
Fix set authenticationType of undefined error ( #21982 )
2023-02-17 15:04:59 -08:00
Cheena Malhotra
66053f5152
Fix missing null ref check causing extension issues ( #21974 )
2023-02-17 09:45:23 -08:00
Lewis Sanchez
d9b24522e5
Fix missing password in Connection pane for Server connections with remembered passwords ( #21813 )
...
* Fix missing password in Connection pane
* Get saved password for SQL login default auth type
* Clean up
* Fix build hygiene errors
* Captures input
* Add timeout waiting for all promises to resolve
* Add missing semicolon
* Code review feedback
* Minor clean up
* Code review feedback
* Improved error messaging
* Update src/sql/workbench/services/connection/browser/connectionDialogService.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* Improves UX around loading passwords
* Remove unused import
* Uses await instead of promise chaining.
* Removes async
* Revert back to resolving password promise.
* Asserts controller map and model have values.
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
2023-02-14 20:49:55 -08:00
Cheena Malhotra
3fb8d57d25
Add support for Encrypt=Strict for TDS 8.0 connections with SQL Server 2022 ( #21256 )
2023-02-10 10:34:36 -08:00
Cheena Malhotra
f43afff8d1
Show tenant dropdown when selecting 'AzureMFA' for first time ( #21763 )
2023-01-27 16:08:11 -08:00
Cheena Malhotra
895b43f36a
Fix account and tenant selection behavior ( #21749 )
2023-01-27 11:47:24 -08:00
Cheena Malhotra
ec7e754009
Handle default tenant to be set when only 1 tenant exists ( #21532 )
2023-01-05 16:40:16 -08:00
Cheena Malhotra
112de46723
Fix ADAL to MSAL transition of connections and account list ( #21425 )
2022-12-15 16:38:45 -08:00
Cheena Malhotra
234c3debaa
Fix issues when setting azureTenantId ( #21412 )
2022-12-14 12:03:11 -08:00
Cheena Malhotra
e89341f6bd
Set both label and values to custom options select Boxes ( #21354 )
2022-12-02 13:48:23 -08:00
Cheena Malhotra
405b3bbfdb
Fix default auth and 'AzureTenantId' to persist and not reset on selection event ( #21289 )
2022-11-23 17:39:03 -08:00
Christopher Suh
86c3f315f2
Add MSAL Authentication Library support ( #21024 )
2022-11-23 14:06:44 -08:00
Cheena Malhotra
be95e95989
Select available tenant Id instead of first one as default ( #21190 )
2022-11-10 11:24:27 -08:00
Cheena Malhotra
68b91089db
Fix population of username/password on loading saved profile ( #21039 )
2022-10-28 22:41:59 -07:00
Cheena Malhotra
f3fcaa21da
Show Trust server certificate on dialog and fix bool select-box defaults ( #21020 )
2022-10-28 19:43:43 -07:00
Cheena Malhotra
0bfb220538
Fix bug where username/password values not clearing. ( #21033 )
2022-10-28 17:14:40 -07:00
Cheena Malhotra
b13e0cf615
Fix get Modal value validation ( #20976 )
2022-10-26 08:10:53 -07:00
Cheena Malhotra
987aed3b92
Add custom option support on Connection dialog + move Encrypt to connection dialog ( #20959 )
2022-10-25 12:19:40 -07:00
Charles Gagnon
85dc506a3c
Add AuthenticationType enum to typings ( #20699 )
...
* Add AuthenticationType enum to typings
* fix
* const
* Add comments
* fix comment
* remove unused
2022-09-30 16:49:36 -07:00
Alan Ren
d166d982c4
make sure controls are enabled ( #19595 )
2022-06-02 10:09:27 -07:00
Alan Ren
b8858f011d
support for connect with connection string ( #19355 )
...
* wip
* WIP
* radio button
* handle connection string
* fix test
* fix test
* fix test cases
* remember password
* pr comments
* pr comments
2022-05-13 14:48:12 -07:00
Lewis Sanchez
a6000aef67
Resolves undefined tenant error while adding an account. ( #18937 )
...
* Selects the first tenant that appears in the drop down list of tenants
* Fixes tenant undefined while adding account error
2022-04-05 13:14:06 -07:00
Aditya Bist
a2c39369c9
Add and move editable dropdown ( #18589 )
...
* add and move editable dropdown
* merge dropdowns
* merge dropdown cell factories
* add new column and hide in properties
* remove editable property
2022-03-03 20:23:20 -08: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
Alan Ren
24b22f63d7
save password checkbox fix ( #17718 )
...
* save password checkbox fix
* remove code to reset the checkbox value
2021-11-19 13:35:35 -08:00
M-Patrone
95a4366edb
replaced the set of the tenantId ( #17223 )
...
Co-authored-by: Patrone Manuel <manuel.patrone@stud.bbbaden.ch >
2021-10-06 16:47:50 -07:00
Cory Rivera
cb7b7da0a4
Merge from vscode e3c4990c67c40213af168300d1cfeb71d680f877 ( #16569 )
2021-08-25 16:28:29 -07:00
Alan Ren
560a8b7c9b
add required indicator ( #16777 )
2021-08-16 10:48:23 -07:00
Alan Ren
d91660b66f
fix the input box validation ( #15634 )
...
* fix the input box validation
* fix one more place
2021-06-08 14:24:50 -07:00
Justin M
c6c65000ca
Added NoAuth authenticationType for Kusto ( #14375 )
...
* Added NoAuth authenticationType for Kusto
* Added SqlLogin to Kusto as an AuthType. Renamed NoAuth to None
2021-02-26 12:28:43 -08:00
Alan Ren
a3cddbc8aa
align with portal button style ( #14187 )
...
* align with portal button style
* fix welcome page
* image button
* more fixes
* use withProperties
* add comment back
* add border radius
2021-02-08 15:12:54 -08:00
Justin M
8f5dc1526a
Initial commit for dSTS Auth ( #13802 )
...
* Initial commit for dSTS Auth
* Removed getDstsToken from accountManagementService. Renamed azureAccount to token.
* Renamed dstsToken to _token in connectionWidget
* Code Review Feedback. Renamed token to authToken in onFetchDatabases.
* Removed dsts options from Kusto package.json
2021-02-01 10:48:16 -08:00
Justin M
c18a54bc1d
12666 Passed azureAccount into onFetchDatabases and set on tempProfile. ( #13239 )
2020-11-16 11:24:22 -08:00
Alan Ren
99e3da5b48
Editable dropdown component improvement ( #13389 )
...
* replace Tree with List
* comments
2020-11-13 13:36:54 -08:00
Charles Gagnon
2d182fcd03
Remove calls to DOM.addClass and DOM.removeClass ( #13063 )
2020-10-23 14:42:22 -07:00
Christopher Suh
6ff1e3866b
Merge from vscode fcf3346a8e9f5ee1e00674461d9e2c2292a14ee3 ( #12295 )
...
* Merge from vscode fcf3346a8e9f5ee1e00674461d9e2c2292a14ee3
* Fix test build break
* Update distro
* Fix build errors
* Update distro
* Update REH build file
* Update build task names for REL
* Fix product build yaml
* Fix product REH task name
* Fix type in task name
* Update linux build step
* Update windows build tasks
* Turn off server publish
* Disable REH
* Fix typo
* Bump distro
* Update vscode tests
* Bump distro
* Fix type in disto
* Bump distro
* Turn off docker build
* Remove docker step from release
Co-authored-by: ADS Merger <andresse@microsoft.com >
Co-authored-by: Karl Burtram <karlb@microsoft.com >
2020-10-03 11:42:05 -07:00
Amir Omidi
32047d5557
change userName to match what the azure account display name is ( #11484 )
...
* change userName to match what the azure account display name is
* Handle undefined value
2020-07-22 19:31:52 -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
77db2d3ac0
connection widget wasn't getting the correct account for the dialog ( #9834 )
2020-04-02 17:05:51 -07:00
Amir Omidi
176edde2aa
Connection management service updates to support multiple providers ( #9698 )
...
* Connection management service work
* Fix tests
* Change how accounts are deleted
* Be consistent with names
* feedback
* Fix based on feedback
* Change sqltoolsservice version
2020-03-25 12:48:01 -07:00
osmant
48dcb7258e
Guest account connection issue while using ( #8726 )
...
AAD authentication
2019-12-18 12:13:46 -08:00
swjain23
e181cf2fcd
Bug fix to return authType as undefined if displayName is not set ( #8731 )
...
We noticed that if displayName is undefined this method would return the first auth type it found as getAuthTypeDisplayName() would return undefined.
If the displayName is undefined, we would not have a matchingTYpe and it should be undefined.
2019-12-18 11:40:20 -08:00
Rich Smith
b631530753
Modify connection management to support Active Directory authType for non-SQL DBs ( #8434 )
...
* First attempt to add Azure MFA login for PostgreSQL
* Finish merge with master
* Fix auth type default selection
* Add AzureMFAAndUser auth type for Orcas
* Fix formatting
* Update change log
* Incorporate some review comments
* Missed an occurrence of AzureResource
* Try to move all changes out of azdata.d.ts and sqlops.d.ts
* Concrete implementation of ConnectionProfile in azdata no longer has azureAccount
* Use enum names instead of numbers in config files
2019-11-26 10:32:59 -08:00
Anthony Dresser
564f78b6f6
Revert "Revert "Remove typings and replace missing methods with vscodes ( #8217 )"" ( #8242 )
...
* Revert "Revert "Remove typings and replace missing methods with vscodes (#8217 )" (#8240 )"
This reverts commit e801a04bcf .
* fix runtime error
* add tests for chartview
2019-11-06 15:00:34 -08:00
Elliot Boschwitz
e801a04bcf
Revert "Remove typings and replace missing methods with vscodes ( #8217 )" ( #8240 )
...
This reverts commit 22a427f934 .
2019-11-06 11:33:55 -08:00
Anthony Dresser
22a427f934
Remove typings and replace missing methods with vscodes ( #8217 )
...
* remove typings and replace missing methods with vscodes
* fix strict-null-checks
* fix tests
2019-11-05 13:03:20 -08:00
Charles Gagnon
5dc7049f8c
Fix floating promises in connection widget ( #8198 )
...
* Fix floating promises in connection widget
* PR feedback
* More feedback changes
* Couple missed promises
2019-11-04 07:24:38 -08:00
Charles Gagnon
2aa7a145d4
Fix connection group input not correctly selecting nested groups ( #7625 )
2019-10-10 11:21:13 -07:00