Commit Graph

2001 Commits

Author SHA1 Message Date
Cory Rivera
7c0da6b6b1 Add extra delete database functionality to DatabaseHandler (#2168)
* Also fixed connections not being properly closed in Detach operations
* Fixed errors being thrown in InitializeObjectView because certain db property fields are not supported against Azure
2023-08-11 13:06:35 -07:00
Cheena Malhotra
0820d9796a Convert Async to sync (SqlClient apis) and cleanup async usage (#2167) 2023-08-09 15:03:02 -07:00
Alex Ma
65a7406063 [Loc] add newly generated sr.cs files (#2164) 2023-08-03 16:23:08 -07:00
Cheena Malhotra
93ee1275b0 Use connection string for change password connection (#2160) 2023-08-02 14:04:40 -07:00
Cheena Malhotra
6099746922 Improve Query editor Read performance + cancel timely for large data (#2161) 2023-08-02 14:04:30 -07:00
Charles Gagnon
969ac0ed8c Use Logger overloads (#2163) 2023-08-02 13:25:21 -07:00
Steven Marturano
dc91e1ecf0 Updated TDE NuGet to 1.0.0-preview.1.0.20230720.98 (#2157) 2023-07-31 14:29:27 -04:00
Cory Rivera
46fa477717 Provide default indexes for database option values instead of reordering options lists (#2156)
* Also re-add <default> to owners list for new database dialog
2023-07-27 16:11:49 -07:00
Z Chen
325f49ff20 Update DacFx to 162.1.80-preview and Projects to 0.1.11-preview (#2149)
* Update package versions

* Use projects 0.1.11-preview
2023-07-18 16:46:58 -07:00
Cheena Malhotra
efb5af0c47 Send user as empty string (default value) (#2151) 2023-07-18 14:59:22 -07:00
Alex Ma
1000886ac3 Removed advanced options from Table Designer tooltip (#2145)
* Removed advanced options from tooltip

* cleanup for table designer
2023-07-17 15:14:50 -07:00
Sai Avishkar Sreerama
1d05cdb131 Fix for Database prototype file is not log file error, as this code is for create database (#2144) 2023-07-12 22:19:04 -05:00
Sai Avishkar Sreerama
ddea088a18 Removing Ledger saving logic (#2142) 2023-07-12 15:22:54 -05:00
Cory Rivera
88ec8713d0 Only set Restrict Access if a non-null value is provided (#2140) 2023-07-11 17:11:58 -07:00
Cheena Malhotra
cba04072c7 Add null checks for connection properties (#2137) 2023-07-11 12:37:45 -07:00
Alex Ma
453051fa9c [Loc] update to sr xlf for 7-11-2023 (#2138) 2023-07-11 11:16:40 -07:00
Cheena Malhotra
8a898837dc Fix app name and connection string defaults to match extension defaults (#2132) 2023-07-10 15:02:52 -07:00
erpett
69e060dc65 updating to version 4.9 now that we have split the release branch (#2135) 2023-07-10 11:13:30 -07:00
CSIGS@microsoft.com
bfc6ab4a6d LEGO: Merge pull request 2134
LEGO: Merge pull request 2134
2023-07-09 08:35:36 -07:00
CSIGS@microsoft.com
e8781673c8 LEGO: Merge pull request 2133
LEGO: Merge pull request 2133
2023-07-08 08:38:10 -07:00
Barbara Valdez
e14828e0d4 Send min and max values for server properties (#2130) 2023-07-07 13:03:25 -07:00
Barbara Valdez
8dfd50ff50 disable test (#2131) 2023-07-07 08:45:20 -07:00
Cheena Malhotra
03a99e48dc Close connection explicitly on rename (#2129) 2023-07-06 22:19:17 -07:00
Cheena Malhotra
226b30ffbd Support enabling connection pooling (#2127) 2023-07-06 20:46:53 -07:00
Barbara Valdez
4c4d6584b3 Update memory settings and implement ServerPrototype (#2126) 2023-07-06 17:25:45 -07:00
Hai Cao
b9277c3830 Add explicit CREATE TABLE permission check for table designer (#2128) 2023-07-06 16:19:50 -07:00
Sai Avishkar Sreerama
11f632aaa9 Sai/db properties options tab (#2121)
* Sending values to ADS, including the arrays, need refactor and tests

* adjusting dd options as per ssms

* sending back the updated options properties to smo

* saving changes

* pulling correct database name changes

* Refactoring

* saving is working fine

* Added genral tab section options for the option tab

* modifying userAccess and pageVerify props types

* fix for database name being master for always for existing database

* Managed Instance save error fixed

* added new assertions to the test case

* server engine edition conditions handling from ADS side

* Adding unsupported options approach to the properties, so that these nullable options can be excluded from UI

* modifying the props name

* modified empty string to null

* Test case update
2023-07-06 13:48:11 -04:00
Barbara Valdez
c2d53a3215 Get server general properties (#2117)
* add server handler

* get server general properties
2023-06-28 16:39:37 -07:00
Aasim Khan
6b251bd24a Adding like filter and removing contains to OE filtering (#2105)
* Adding startswith and like filter

* Adding ends with

* Adding tests

* Remove null and not null

* Fixing string

* Update test/Microsoft.SqlTools.ServiceLayer.UnitTests/ObjectExplorer/NodeFilterTests.cs

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

* Update test/Microsoft.SqlTools.ServiceLayer.UnitTests/ObjectExplorer/NodeFilterTests.cs

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

* Adding back contains, starts with and ends with

* Properly escaping chars for like based filters

* Adding some comments regarding escape characters

* Using generated regex

* removing additional class

* Adding extra auth type that was causing the tests to error out

* Fixing regex

* Adding integration tests

* Fixing unit tests

* Making fluent assertions

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-06-28 16:17:20 -07:00
Hai Cao
2a30a648f7 Fix copying result header behavior #2125 (#2125) 2023-06-28 09:52:55 -07:00
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