Alex Ma
a0a685bbcf
Remove/comment out connection title generation from all areas. ( #23873 )
2023-07-18 10:47:50 -07:00
Alex Ma
ef8164e5c2
Changed connection title generation to use getConnections (including recent and saved). ( #22954 )
...
* remove advanced options for table designer and notebook Actions title (unnecessary in usage context)
* Revert "remove advanced options for table designer and notebook Actions title (unnecessary in usage context)"
This reverts commit e30aee5151319863aebbb4738fb30354c179c2c5.
* added changes based on feedback
* added null check and updated tests
* WIP change to connection title generation
* WIP connection management service update
* fix to connectionManagementService test
* fix editorConnectionTitles
* renamed nondefault to distinguishing options
* use stored connections for options
* removed erroneous connection name set to null
* added title by ID search for title generation
* Add recent connection title
* added fix for stub bug
* added child title options appended
* WIP rework of getEditorTitle
* more work done
* WIP changes for 5-2-2023
* moved server info to generate titles.
* added reworked title generation
* added working active connection title generation and cleanup
* added comments to argument
* remove unnecessary spaces
* added id fix assign
* added fromEditor save
* Revert "Revert new connection string format (#22997 )"
This reverts commit 898bb73a34 .
* added small fix to tests and exclude empty properties
* made small fixes for tests
* update expected ID
* added support for old password key and removed empty options
* added in authenticationType core property
* fix for whitespace indentation
* added connection save profile to thing
* made some small fixes to connection options
* added small change to connectionDialogService
* added nullcheck for saveProfile
* added negation for connection saveProfile
* remove duplicate editor title generation
* added edit profile handling for titles
* Cleanup serverCapabilities property
* fixed dependency issues
* removed connectionproviderproperties
* added fix for treeupdateutils
* made update to title generation
* added recent connections change
* Revert "Cleanup serverCapabilities property"
This reverts commit 2c7b94f98cabddb34116dcdd83177614a484c026.
* added dashboard text and fix for connection store test
* added group name to end also temporary added dashboard changes based on feedback
* added in new SQL version
* added fix to edit connections
* added clarifying information to title generation
---------
Co-authored-by: Cheena Malhotra <cmalhotra@microsoft.com >
2023-06-21 09:59:58 -07:00
Alex Ma
898bb73a34
Revert new connection string format ( #22997 )
2023-05-05 13:41:40 -07:00
Cheena Malhotra
7b2a07befd
Respect 'showDashboard' disabled by default ( #22907 )
2023-05-01 11:55:38 -07:00
Alex Ma
b69e87df15
Connection URI with complete options (finalized) ( #22735 )
...
* Connection URI made to include every option available instead of basic details (#22045 )
* Revert "Merge remote-tracking branch 'origin' into feat/connectionUri"
This reverts commit 11b2d31bf99e216daee823f732254f69a017fee1, reversing
changes made to 36e4db8c0744f81565efdfd2f56a3ae3c0026896.
* Revert "Revert "Merge remote-tracking branch 'origin' into feat/connectionUri""
This reverts commit f439673c2693e1144c52e04c14e82cd8566c13a6.
* Added changes and fixes for feat connectionuri (#22706 )
* add title generation at start
* added await to refreshConnectionTreeTitles
2023-04-18 11:08:48 -07:00
Cheena Malhotra
152eb32278
Fix saving profile from Azure tree nodes ( #22518 )
2023-03-31 11:58:49 -07:00
Lewis Sanchez
effdf4f538
Stops Azure connection with the "Do not save" server group option from being stored in the default server group list. ( #21997 )
...
* Fix Azure connections do not save to server group error
* Revert unnecessary change
2023-02-21 13:47:40 -08:00
Cheena Malhotra
51751557b6
Revert changes in mainThreadConnectionManagement ( #21802 )
2023-02-01 00:52:38 -08:00
Alex Ma
298402647d
Added error handling service for providers ( #21627 )
...
* added prototype errorHandlerService
* added initial contracts
* Added WIP client sent request function
* added WIP signature for handleOtherError to resourceProviderService
* made some small fixes
* removed unnecessary resourceProviderId
* added updates to contracts and resourceProvider
* moved error codes to azdata proposed
* added connection type instead of profile
* added WIP handleOtherError code
* added fix for send
* added WIP change password function in resource provider
* added work in progress error handling thread
* added errorHandler interface
* added result error check
* renamed errorHandling namespace to diagnostics
* WIP rename of errorhandler
* light cleanup
* Bump json5 from 2.1.3 to 2.2.3 in /extensions/machine-learning (#21514 )
Bumps [json5](https://github.com/json5/json5 ) from 2.1.3 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Stops second invocation of createNewSession while expanding OE tree items on disconnected servers (#21437 )
* Debounces second invocation while expanding OE tree items
* Minor clean up
* Adjusts debounce time
* Adding temp trace comments
* Adds missing semicolon
* Removes debouncer to stop 2nd newSession calls
* Removes temp trace comments
* Updates comment
Co-authored-by: Alan Ren <alanren@microsoft.com >
* Bump json5 from 2.1.3 to 2.2.3 in /extensions/admin-tool-ext-win (#21546 )
Bumps [json5](https://github.com/json5/json5 ) from 2.1.3 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix resource endpoints to end with slash (#21540 )
* Bump json5 from 2.1.3 to 2.2.3 in /extensions/azcli (#21543 )
Bumps [json5](https://github.com/json5/json5 ) from 2.1.3 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump json5 from 2.1.3 to 2.2.3 in /extensions/arc (#21544 )
Bumps [json5](https://github.com/json5/json5 ) from 2.1.3 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* renamed diagnostics service slightly
* registered service
* added work in progress diagnostics implementation
* small changes
* added new diagnostics exe
* Changes for Diagnostics Service (#21583 )
Co-authored-by: Cheena Malhotra <cmalhotra@microsoft.com >
* WIP provider changes
* added changes for errorDiagnosticsService
* removed stuff from mssql.
* made fix to connectionManagementService
* added error catch
* added small changes
* more small changes made
* added small changes to handleOtherError
* moved changePassword to CMS
* added testErrorDiagnosticsService
* Added provider-based handling for change password/generic error handling. (#21662 )
* WIP rework for error connection change
* added connectionProfileDuringError
* added working password reset
* added comments
* consolidated connection profile conversion
* added additionalObjects parameter.
* removed unnecessary error profile grab
* added comments
* added changes to parameters and comments
* added changes and params
* added handleConnectionErrorParam
* added more changes
* added async
* added params and more
* added many fixes
* added updated documentation
* added WIP password change dialog with await
* added error handling
* added comment
* added options as parameters
* cleaned up parameters
* added async
* added check fixes
* Added username to title
* added server name to dialog
* Added dialog changes
* Revert "Added dialog changes"
This reverts commit c2bdcd16f4a0dffdc643ef9cae1c1a20642ac512.
* Revert "added server name to dialog"
This reverts commit dbd22e80461b5a068643f0c2d6728adce4010978.
* Revert "Added username to title"
This reverts commit 6d936b4d5f97f9345f8ec2fdbbcf6b52df18820a.
* Revert "added check fixes"
This reverts commit f58081a5af3276766e2042b4d671455b18add9a7.
* Revert "added async"
This reverts commit dd1198e26ec7542ec51add0628f588361d674299.
* Revert "cleaned up parameters"
This reverts commit 51135c9f9db452104697483779d8df15b6430717.
* Revert "added options as parameters"
This reverts commit b167804a2410558bbe60042e017ae2c77af7697f.
* Revert "added comment"
This reverts commit 0ad37326a3e025e88f715e3f2547be6825597a8d.
* Revert "added error handling"
This reverts commit 69340980d2c84056a2bcf126ea77f4b5ed4cddf3.
* Revert "added WIP password change dialog with await"
This reverts commit 9e43113e07b10421b39575f6c7dd14287662b90d.
* added a fix to check
* added fixes
* added back in change password changes
* added in comment
* added suggested changes
* removed param colons
* Update extensions/mssql/src/errorDiagnostics/errorDiagnosticsProvider.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* Update src/sql/azdata.proposed.d.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* fixed conversion and provider dialog
* altered comments
* Update src/sql/platform/connection/common/utils.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* renamed Id
* Update src/sql/platform/connection/common/utils.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* Improvements for Change password dialog + logs added (#21794 )
* Improvements for Change password dialog + logs added
* Include server
* fixed tab space
* added comment
---------
Co-authored-by: Alex Ma <alma1@microsoft.com >
* Update src/sql/azdata.proposed.d.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* added fix to id to extHostErrorDiagnostics
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lewis Sanchez <87730006+lewis-sanchez@users.noreply.github.com >
Co-authored-by: Alan Ren <alanren@microsoft.com >
Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com >
Co-authored-by: Cheena Malhotra <cmalhotra@microsoft.com >
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
2023-01-31 14:31:12 -08: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
Alan Ren
be8bf7fcdc
handle unsupported connection provider ( #20577 )
...
* handle unknown connection provider
* fix error
2022-09-09 14:14:33 -07:00
Charles Gagnon
41a3c8661c
Fix GetConnection ( #19579 )
2022-05-31 21:32:44 -07:00
Alan Ren
bc3527d310
API improvement: make registerConnectionEventProvider return disposable ( #11880 )
...
* promote api to official
* add comments
* disposable
* move getConnection out
* comment for connection namespace
* remove extra line
* also fix registerQueryInfoHandler
2020-10-12 14:29:48 -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
Amir Omidi
83a8b13750
If the connectionProfile was undefined, then return undefined ( #10899 )
2020-06-12 12:46:34 -07: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
823d136a00
No browser from common ( #7178 )
...
* no browser from common
* clean up some imports
2019-09-12 14:52:42 -07:00
Karl Burtram
9df66deb81
Initial LiveShare extension scaffolding ( #7170 )
...
* LiveShare initial shared connection
* Various cleanups
* Fix type
* Fix hygiene
2019-09-11 15:24:08 -07:00
Anthony Dresser
c540e81108
clean up some disposable use ( #6832 )
2019-08-20 14:34:13 -07:00
Karl Burtram
bc4b527de0
Add connection event listeners ( #6540 )
2019-07-31 11:52:58 -07:00
Anthony Dresser
c1acf6ae93
More work around isolating node imports ( #6512 )
...
* more work around isolating node imports
* rewrite query plan input
* fix hygiene errors
* fix tests
* address feedback
* remove welcome page changes
2019-07-30 14:01:37 -07:00
Anthony Dresser
c23738f935
Inital platform relayering ( #6385 )
...
* moving test files and inital refactoring
* relayer extension host code
* fix imports
* make insights work
* relayer dashboard
* relayer notebooks
* moveing more code around
* formatting
* accept angular as browser
* fix serializer
* add missing files
* remove declarations from extensions
* fix build errors
* more relayering
* change urls to relative to help code relayering
* remove layering to prep for merge
* fix hygiene errors
* fix hygiene errors
* fix tests
2019-07-18 17:29:17 -07:00
Anthony Dresser
0b7e7ddbf9
Merge from vscode 8e0f348413f4f616c23a88ae30030efa85811973 ( #6381 )
...
* Merge from vscode 8e0f348413f4f616c23a88ae30030efa85811973
* disable strict null check
2019-07-15 22:35:46 -07:00
Karl Burtram
5a7562a37b
Revert "Merge from vscode 81d7885dc2e9dc617e1522697a2966bc4025a45d ( #5949 )" ( #5983 )
...
This reverts commit d15a3fcc98 .
2019-06-11 12:35:58 -07:00
Chris LaFreniere
d15a3fcc98
Merge from vscode 81d7885dc2e9dc617e1522697a2966bc4025a45d ( #5949 )
...
* Merge from vscode 81d7885dc2e9dc617e1522697a2966bc4025a45d
* Fix vs unit tests and hygiene issue
* Fix strict null check issue
2019-06-10 18:27:09 -07:00