Commit Graph

1971 Commits

Author SHA1 Message Date
Hai Cao
33b5cb98cd Use config instead of parameter for query editor result copy and fix some wording (#2124)
* Fix typo and update wording

* use config instead of parameter for copying result
2023-06-27 16:44:23 -07:00
Sakshi Sharma
4334d79d76 Add "Open XEL file" support to profiler in sqltoolsservice (#2091)
* Open XEL file changes

* placeholders for openxel

* add observable xe reader

* md format tweaks

* implement localfile as a new session type

* add ErrorMessage to session stopped notice

* fix flaky test

* handle already running session

* fix stopped session event send on file completion

* fix flaky unit test

* Update XElite and dependent versions

* Fix errors after merge and remove failing tests for now

* Fix main merge mess-up.
Address comments.
Add one more relevant test.

* Remove extra namespace.

* Remove unnecessary import

* Fix build error

* Address comments.

* Remove disabiling JSON002 compiler warning

* Address comments and update json handling

* Fix build error

* Fix integration test (emerged due to Main merge mess up)

* Clean up code (no functional changes)

---------

Co-authored-by: Karl Burtram <karlb@microsoft.com>
Co-authored-by: shueybubbles <david.shiflet@microsoft.com>
2023-06-27 14:25:18 -07:00
Hai Cao
dbcb156816 Add an option for copying with trailing line break in STS (#2122) 2023-06-27 10:18:57 -07:00
Kim Santiago
95a094438e Fix for schema compare dropping constraints (#2120)
* fix for scripts that are displayed in schema compare drop constraints bug

* update DacFx version

* add more comments
2023-06-26 14:01:28 -10:00
Charles Gagnon
9034b397ac Error on CS8600 (#2112)
* Error on CS8600

* couple more
2023-06-26 08:52:51 -07:00
Alex Ma
c68521f5ed [Loc] XLF update for 6-23-2023 (#2119) 2023-06-23 11:09:17 -07:00
CSIGS@microsoft.com
b06ab4e5a5 LEGO: Merge pull request 2118
LEGO: Merge pull request 2118
2023-06-23 08:40:03 -07:00
Cory Rivera
9d0d4b0cae Enable Detach Database in database handler (#2110) 2023-06-22 17:28:41 -07:00
CSIGS@microsoft.com
2052b597c9 LEGO: Merge pull request 2116
LEGO: Merge pull request 2116
2023-06-22 08:37:34 -07:00
Sai Avishkar Sreerama
5c7dae40e6 Enabling database properties general tab with real time values from SMO (#2093)
* initial commit with all required db handler and props, also getting the data from ADS

* database properties view updated

* Delete Microsoft.SqlTools.ServiceLayer.sln

This file should be ignored

* Removed unwanted file

* Using DatabaseHandler for properties as one handler per object

* removed unused and unnecessary changes

* minimal updates

* moving type conversion to UI side, properties with original types.

* conversion number fixed

* Adding Localized strings

* using existing objectUrn logic to get the smo object

* Adding Integration tests for database properties verification

* refactoring

* updating test
2023-06-21 19:41:18 -05:00
Alex Ma
532f7b0912 removed change to connection service with fix (#2111) 2023-06-20 20:21:07 -07:00
Lewis Sanchez
272d2fdb92 Simplify create date description used in filter dialog (#2107)
* Simplify create date description

* Update localized files with new description
2023-06-20 12:16:20 -07:00
Alan Ren
7f6b357eb0 fix delay in query execution (#2109)
* fix delay in query execution

* fix test case
2023-06-19 16:31:47 -07:00
Alex Ma
6fe0b300e5 Restore new connection string for multiple similar connections (#2067) 2023-06-15 23:31:40 -07:00
Alex Ma
cef3564011 [Loc] update to xlfs 6-15-2023 (#2108) 2023-06-15 17:44:42 -07:00
CSIGS@microsoft.com
4016029e69 LEGO: Merge pull request 2106
LEGO: Merge pull request 2106
2023-06-15 08:35:21 -07:00
Alex Ma
7840cda4c7 [Loc] update to sr xlf (#2104) 2023-06-14 16:37:28 -07:00
Hai Cao
165d89b00e remove Linked Server Login node from OE (#2097) 2023-06-14 11:19:59 -07:00
Alan Ren
a2f6b4b4df add logging for export results operations (#2102)
* add logging

* Update src/Microsoft.SqlTools.ServiceLayer/QueryExecution/ResultSet.cs

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-06-14 10:40:50 -07:00
CSIGS@microsoft.com
98ed1534d5 LEGO: Merge pull request 2103
LEGO: Merge pull request 2103
2023-06-14 08:38:52 -07:00
Hai Cao
c21fde884f filter out db roles for user in sql db master (#2101) 2023-06-13 17:08:30 -07:00
Cory Rivera
c92bc71454 Exclude Data Warehouse as an option when creating an Azure database (#2100) 2023-06-13 16:04:23 -07:00
Kim Santiago
fd0f962056 Fix DacFx nullable warnings (#2099)
* cleanup dacfx nullable warnings

* use operation's SqlTask

* remove unneccesary variables
2023-06-12 10:50:08 -10:00
Cory Rivera
808172bc20 Retrieve Azure SLO details in Database Handler (#2094) 2023-06-12 11:44:17 -07:00
Cheena Malhotra
323f3827e2 Update SqlClient version to 5.1.1 (#2098) 2023-06-09 18:18:14 -07:00
Cory Rivera
f70710124e Skip querying model database for Azure database prototypes. (#2095) 2023-06-09 15:12:11 -07:00
Alan Ren
934df0556a support copy result in STS (#2096)
* use new sql parser

* copy results to clipboard

* fix parameter name
2023-06-09 09:15:08 -07:00
Alex Ma
94981d7bbe [Loc] xlf update for 6-8-2023 (#2092) 2023-06-08 10:18:28 -07:00
Cheena Malhotra
c6be1ba170 Upgrade .NET SDK to v7.0.302 + editorconfig update (#2090) 2023-06-07 09:22:06 -07:00
Alan Ren
94956a6967 use new sql parser (#2089) 2023-06-05 15:19:58 -07:00
Alex Hsu
34adb8db95 LEGO: Merge pull request 2088
LEGO: Merge pull request 2088
2023-06-03 08:46:59 -07:00
Cory Rivera
0ad169781e Replace <default> values in Owner and Collation fields for Create Database dialog (#2086) 2023-06-02 16:19:00 -07:00
Lewis Sanchez
0b247e507e Stops OE from breaking when paused DBs are expanded (#2083)
* Send session failed notification for paused DBs

* Creates error node when connections fail

* Revert "Send session failed notification for paused DBs"

This reverts commit 1f09d8adf9aadb61a7644f84f40558710b0ba5f2.

* Adjusts error node label

* Code clean up

* Update src/Microsoft.SqlTools.ServiceLayer/ObjectExplorer/ObjectExplorerService.cs

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>

* Cleans up error node info creation

* Rename create error node method

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-06-02 12:29:52 -07:00
Hai Cao
37469dcbbd Fix schema level search and refactor search code for user management (#2084) 2023-06-02 10:59:32 -07:00
Alex Hsu
4e108349cd LEGO: Merge pull request 2085
LEGO: Merge pull request 2085
2023-06-02 08:41:17 -07:00
Kim Santiago
a12244f3d0 Add support for adding system db references as PackageReference (#2078)
* Expose adding system db references as PackageReference

* update nuget
2023-06-01 11:38:28 -07:00
Cory Rivera
0a5a7b4cc5 Address remaining comments for Object Management Database Handler (#2081) 2023-06-01 11:02:59 -07:00
Cheena Malhotra
b45026967e Enable connection pooling for languageService (#2080) 2023-05-31 17:15:47 -07:00
Cheena Malhotra
478b10d391 Handles a null reference exception (#2079) 2023-05-31 16:38:52 -07:00
Cory Rivera
d5cfc52ca7 Add object management handler for creating a database (#2071) 2023-05-31 12:55:12 -07:00
Hai Cao
eff103efba use singular form for securable display name (#2077) 2023-05-30 15:50:22 -07:00
Cheena Malhotra
b4f7bd01af Fix email extraction from username (#2075) 2023-05-30 14:46:18 -07:00
Cory Rivera
97988661ec Load TrustServerCertificate value from connection settings when running integration tests. (#2074) 2023-05-22 17:18:19 -07:00
Benjin Dubishar
c59211b31b Bumping Projects nuget (#2072) 2023-05-19 12:49:22 -07:00
Christopher Suh
ff18f82af3 remove codeql (#2073) 2023-05-18 22:44:03 -04:00
Hai Cao
c6e53ea753 use a config for table designer trigger behavior (#2070) 2023-05-18 10:09:24 -07:00
Hai Cao
cb6dfeb68d Fix db role member (#2068) 2023-05-16 09:21:37 -07:00
Alex Ma
036710e634 [Loc] Add ObjectType xlfs and resx files (#2066) 2023-05-15 14:42:05 -07:00
Alex Hsu
4d2d5c402d LEGO: Merge pull request 2064
LEGO: Merge pull request 2064
2023-05-15 08:42:38 -07:00
Alex Hsu
b1e9fdfe32 LEGO: Merge pull request 2063
LEGO: Merge pull request 2063
2023-05-14 08:47:11 -07:00