Karl Burtram
ce612a3d96
Merge from vscode 2c306f762bf9c3db82dc06c7afaa56ef46d72f79 ( #14050 )
...
* Merge from vscode 2c306f762bf9c3db82dc06c7afaa56ef46d72f79
* Fix breaks
* Extension management fixes
* Fix breaks in windows bundling
* Fix/skip failing tests
* Update distro
* Add clear to nuget.config
* Add hygiene task
* Bump distro
* Fix hygiene issue
* Add build to hygiene exclusion
* Update distro
* Update hygiene
* Hygiene exclusions
* Update tsconfig
* Bump distro for server breaks
* Update build config
* Update darwin path
* Add done calls to notebook tests
* Skip failing tests
* Disable smoke tests
2021-02-09 16:15:05 -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
Charles Gagnon
86aa24e198
Fix service dependency startup warning ( #14180 )
...
* Fix service dependency startup warning
* fix tests
2021-02-06 15:01:16 -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
Alan Ren
0b1239b755
accessibility support for filtering ( #13581 )
2020-12-01 10:13:39 -08:00
Justin M
271fe62344
12567 Fixed Notebooks not adding to recent connections ( #13113 )
...
* 12567 Changed tryAddActiveConnection to always add recent connection
* 12567 Reverted change to tryAddActiveConnection. Removed this._params.input from connectionDialogService > createModel
* 12567 Simplified conditional in connectionDialogService
2020-11-16 11:27:09 -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
Alan Ren
cb1c8503b0
handle keyboard selection ( #13175 )
2020-10-30 21:17:49 -07:00
Alan Ren
2f571d868b
show folder icon for some tree nodes ( #13161 )
2020-10-30 15:38:23 -07:00
Alan Ren
82d5fe3821
put feature behind preview flag ( #13147 )
...
* put feature behind preview flag
* remove unused import
2020-10-30 10:17:54 -07:00
Alan Ren
ac476ba973
make the tree theme aware and remove group color ( #13143 )
...
* make the tree theme aware and remove group color
* fix eslint error
2020-10-29 22:46:11 -07:00
Alan Ren
7819d25c95
resource label update ( #13129 )
...
* resource label update
* preserve existing behavior
* fix connection group color
* comments
2020-10-29 14:42:01 -07:00
Alan Ren
1d4398388c
bring Azure context menu to the new tree and enhance start cloud shell command ( #13101 )
...
* bring context menu to the new tree
* enhance start cloud shell command
* text
2020-10-28 13:48:28 -07:00
Alan Ren
e2c9d3899b
make sure saved connections are up to date ( #13098 )
2020-10-27 19:41:44 -07:00
Alan Ren
79800902db
enable filtering, account node context menu and introduce flat account tree node ( #13066 )
...
* add search box
* switch back to the traditional azure tree
* Revert "switch back to the traditional azure tree"
This reverts commit 7904b9cd599591e94412ec79da23590068de46b6.
* flat account tree node and filtering
* add comment
* context menu
* fix test
* handle disposable
* add logging
2020-10-26 17:00:44 -07:00
Charles Gagnon
2d182fcd03
Remove calls to DOM.addClass and DOM.removeClass ( #13063 )
2020-10-23 14:42:22 -07:00
Charles Gagnon
656d727854
Skip getting icon if we don't have a server info ( #13017 )
2020-10-21 15:56:22 -07:00
Alan Ren
49983a6f05
fix connection dialog scroll issue ( #12956 )
2020-10-16 11:09:30 -07:00
Anthony Dresser
9fdb5037bc
Connection Browse Tab ( #12222 )
...
* add browse tab and flat tree provider for azure
* fix tests
* add comment
* fix build errors
* fix test cases
Co-authored-by: Alan Ren <alanren@microsoft.com >
2020-10-13 14:58:09 -07:00
Vasu Bhog
726f0cef0e
Add Notebook tests for Kernel Alias connections ( #12722 )
...
* More Generic tests for kernel alias connections
* Kernel Alias tests for the Notebook Model
* Updated titles of tests
2020-10-05 23:17:41 -05: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
Alex Ma
82648fab3e
connection tests for connectionDialogWidget ( #11160 )
...
* Added providerRegistered test
* test for EditConnectionDialog
* changed wording
* added test for connectionInfo
* utils.ts tests added
* hasRegisteredServers test
* commented out editconnection tests, addl. tests
* added onConnectionChangedNotification test
* added changeGroupId tests
* Added connection profile changes
* added connectIfNotConnected test
* added delete connection test
* isRecent and disconnect editor tests
* Add CodeQL Analysis workflow (#10195 )
* Add CodeQL Analysis workflow
* Fix path
* added registerIconProvider test
* Fix for ensureDefaultLanguageFlavor test
* added a few tests
* utils prefix test updated
* added utils tests
* disconnect tests added
* Added additional get connection info tests
* added some more tests
* minor additions to tests
* again another commit
* another change
* connectionManagementService finalized
* connectionDialogWidget test WIP
* wip connectiondialogwidget test
* added working connectionDialogWidget test
* added more tests
* current connectionDialogWidget tests
* undid space
* hanging promise addressed
* added open test
* finished connectionDialogWidget tests
* Added showDialog test
* mockConnectionDialogService added
* added accessorConnectionDialogService
* removed accessor service
* added openDialogAndWait test
* added fake error to test
* added error tests
* Added comments to test
* more coverage
* async to await change
* registerCapabilities test added
* connectionDialogService tests finished
* undefined added
* Added views for tests
* tslint disable added
* error catchers added
* added empty connectioninfo
Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com >
2020-09-30 08:39:54 -07:00
Aditya Bist
a0886b9152
Fix connection dialog indentation ( #12401 )
...
* fix connection dialog indentation
* indent tab body
2020-09-17 13:31:29 -07:00
Vasu Bhog
3a0be70783
Kusto Kernel New Notebook Changes ( #12085 )
...
* Kusto New Notebook Action Changes
* Kusto Cluster properly switches context when kernel changes
* SQL Connections kernel change to Kusto works properly
* Multiple New Kusto Notebooks open properly and change kernels properly
* Fix SQL Notebook - Change to Kusto Kernel
* Fix unit tests
* Address comments
* Add test, and finalize changes
2020-09-09 09:19:36 -05:00
Anthony Dresser
503090856a
Strict null scripting ( #12126 )
...
* strict null scripting
* fix compile
* fix tests
* fix icon
2020-09-04 18:04:08 -07:00
Anthony Dresser
f3befb0f4d
Merge branch 'ads-main-vscode-2020-08-22T06-06-45' into main
2020-08-31 14:22:42 -07:00
Charles Gagnon
f7c7274463
Fix context menu for disconnected server nodes ( #12018 )
...
* Fix context menu for disconnected server nodes
* Fix strict compile
2020-08-31 13:34:21 -07:00
ADS Merger
4ad73d381c
Merge from vscode ad407028575a77ea387eb7cc219b323dc017b686
2020-08-31 12:35:56 -07:00
Amir Omidi
4659d727b7
strict null checks azure ( #11928 )
...
* strict null checks azure
* strict compilation
* Fix compilation issues
* Return empty arrays instead
2020-08-25 18:12:47 -07:00
Anthony Dresser
31323d6efb
fix clicking on a profile in azure connection dialog ( #11900 )
2020-08-20 20:41:54 -07:00
Anthony Dresser
adfdd56907
Even more strictness ( #11879 )
...
* add more to strict nulls
* maintain error handling properly
* fix lint
* the rest of workbench/services
* fix compile
2020-08-20 14:00:26 -07:00
Charles Gagnon
3c538d1c2d
Add AsyncServerTree ( #11838 )
...
* wip
* Fixes
* More fixes
* more fixes
* Disable when preview features disabled
* remove unused imports
* Handle promises
* PR feedback
* Single default ServerGroup color value
2020-08-19 14:01:10 -07:00
Shafiq Ur Rahman
97b6d71a06
Kusto - ADS Core changes ( #11750 )
...
* ADS Core changes
* Generic fix to get language mode based on providerId
* Addressed comments
* Fix failing tests
* Fix for "New Notebook" from file menu option
* Remove line
* Fix for merge conflict
* Add removed comment back
* Addressed comments
Co-authored-by: Monica Gupta <mogupt@microsoft.com >
2020-08-19 12:27:16 -07:00
Anthony Dresser
8cf82c1f8b
Azure pane in connection dialog ( #11736 )
...
* azure pane in connection dialog
* fix layering
* fix issues
* fix test
* more test fixes
* add back double click to connect for non-contributed views
2020-08-13 17:02:42 -07:00
Alan Ren
f8a6658128
make sure options is not undefined ( #11715 )
2020-08-07 14:50:09 -07:00
Alan Ren
50b6789e51
show hidden connection properties ( #11646 )
2020-08-05 10:15:56 -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
Anthony Dresser
351ab2f40f
fix default connection group by changing ordering of groups ( #11303 )
2020-07-13 13:25:05 -07:00
Anthony Dresser
93a88e38fe
Messages panel wordwrap ( #10970 )
...
* Add CodeQL Analysis workflow (#10195 )
* Add CodeQL Analysis workflow
* Fix path
* fix word wrap support in the message panel
* fix width on message treee
* fix import
* fix settings editor to reflect the changes in the settings ids
* fix tests
* add configuration upgrader
* make sure to maintian execution order
* make the compiler happy
* add tests for upgrader
Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com >
2020-06-29 16:25:11 -07:00
Charles Gagnon
a303144226
getCredentials returns credentials for any saved connection ( #11029 )
...
* getCredentials returns credentials for any saved connection
* Update doc comment
* Add tests
* cleanup
* cleanup
2020-06-23 11:04:13 -07:00
Alex Ma
e01723f195
Additional tests for connection ( #10944 )
...
* Added providerRegistered test
* test for EditConnectionDialog
* changed wording
* added test for connectionInfo
* utils.ts tests added
* hasRegisteredServers test
* commented out editconnection tests, addl. tests
* added onConnectionChangedNotification test
* added changeGroupId tests
* Added connection profile changes
* added connectIfNotConnected test
* added delete connection test
* isRecent and disconnect editor tests
* added registerIconProvider test
* Fix for ensureDefaultLanguageFlavor test
* added a few tests
* utils prefix test updated
* added utils tests
2020-06-22 13:51:39 -07:00
Amir Omidi
70af4cbe42
Fixes the azure auth for postgresql ( #10662 )
2020-06-04 16:01:50 -07:00
Amir Omidi
3860f07cab
Make azure portal work from server area ( #10699 )
2020-06-03 14:02:23 -07:00
Charles Gagnon
107b3171f2
Add isBigDataCluster property to connection event ( #10606 )
2020-05-29 06:47:03 -07:00
Amir Omidi
b519d51052
Replace the ID of the generated connection profile with the one through edit data ( #10413 )
2020-05-15 10:48:56 -07:00
Charles Gagnon
264c34af97
Add more debug logging to fillInOrClearAzureToken ( #10336 )
...
* Add more debug logging to fillInOrClearAzureToken
* Use toErrorMessage
2020-05-11 15:09:34 -07:00
Amir Omidi
f220f6486a
Stops caching the AAD token ( #10251 )
2020-05-08 16:46:18 -07:00