Commit Graph

1916 Commits

Author SHA1 Message Date
Hai Cao
f655c6d660 Fix a few securable search/permission issue related to Azure (#2056) 2023-05-11 13:15:08 -07:00
Hai Cao
d525e88672 Add securable search and permission setting to User Management (#2052) 2023-05-10 18:20:06 -07:00
Alex Ma
c5bc4ebc92 [Loc] update to xlfs and resx for 5-10-2023 (#2055) 2023-05-10 16:10:15 -07:00
Alex Hsu
1c6fd29cff LEGO: Merge pull request 2050
LEGO: Merge pull request 2050
2023-05-09 08:38:35 -07:00
Benjin Dubishar
b9d6657886 Updating DacFx.Projects to bring in UpdateSqlCmdVariable fix (#2045)
* checkpoint

* typo

* removing old nuget
2023-05-08 11:06:35 -07:00
erpett
bd1fc0997d updating main pipeline with new build number after release branch split (#2047) 2023-05-08 11:00:50 -07:00
Alex Hsu
4f1fce4f45 LEGO: Merge pull request 2044
LEGO: Merge pull request 2044
2023-05-07 08:41:22 -07:00
Aasim Khan
34d969c6ad Fixing durability type filter in OE (#2043)
* Fixing durability type filter in OE

* Adding doc comment
2023-05-06 05:40:09 +05:30
Aasim Khan
46e6b484a3 Adding filtering support to OE (#2039)
* Init push

* Fixing filters

* Fixing more filters

* Fixing display strings

* Fixing boolean filter

* Adding comments

* Fixing function name

* Making nullables

* Separating filter parsing logic

* Adding tests

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

Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>

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

Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>

* Update src/Microsoft.SqlTools.ServiceLayer/ObjectExplorer/Contracts/NodeInfo.cs

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

* Update src/Microsoft.SqlTools.ServiceLayer/ObjectExplorer/Contracts/NodeInfo.cs

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

* Update src/Microsoft.SqlTools.ServiceLayer/ObjectExplorer/Nodes/TreeNode.cs

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

* Adding comments

* Fixing whitespace

* Adding more  comments and changing to IEnumerable

* Fixing code comments

* Fixing tests adding more filters

---------

Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-05-06 01:52:42 +05:30
Cheena Malhotra
1b5f774741 Reverting Connection URI related changes for stable release (#2042) 2023-05-05 10:11:54 -07:00
Cory Rivera
ddb3ec2bdb Add DatabaseHandler to enable Delete Database operations (#2041) 2023-05-04 15:39:50 -07:00
Benjin Dubishar
c21203c5c2 Adding ability to only load properties and metadata for a SqlProject (#2040)
* Adding property quick-loading

* Remove whitespace
2023-05-03 18:44:17 -07:00
Karl Burtram
5954bdc65c Query logins on system database for Azure connections (#2038)
* Query logins on system database for Azure connections

* Fix name of connection variable
2023-05-02 12:46:18 -07:00
Hai Cao
8d48ff735b Remove extra connection in app role and db role (#2037) 2023-05-01 18:04:07 -07:00
Alan Ren
5dbed25c40 change user type implementation (#2036)
* change user type implementation

* fix build errors
2023-05-01 10:27:00 -07:00
Cheena Malhotra
f66a203c01 Fix application names to respect connection's appname property (#2034) 2023-04-28 13:39:33 -07:00
Hai Cao
35aa8d42de [User Management] Implement handlers for app role, db role and server role (#2030)
* contracts

* more contracts

* wire up

* add server role and rename data classes

* finish app role

* finish db role

* build

* finish server role

* register

* docs and dispose

* build

* fix issues

* fix null ref issue

* fix schema not being set issue

* fix password for app role

---------

Co-authored-by: Alan Ren <alanren@microsoft.com>
2023-04-28 07:56:15 -07:00
Karl Burtram
ccad4e1f8f Remove extra connection in User dialog (#2033)
* Remove extra connection in User dialog

* Remove a couple unneeded queries
2023-04-27 09:03:18 -07:00
Cheena Malhotra
537c78dbb0 Fix no password user scenario (#2032) 2023-04-25 20:09:40 -07:00
Alex Ma
55335b4615 Removed advanced options from table designer title (#2025)
* Removed advanced options from table designer title

* Revert "Removed advanced options from table designer title"

This reverts commit 70246a605608df67d6aa7293d9e5b3726523187f.

* added null check for advancedOps
2023-04-25 17:08:54 -07:00
Sakshi Sharma
3e0135b907 Update STS changes to be backward compatible with scmpOpen (#2031)
* Update STS changes to be backward compatible with scmpOpen

* Update cleanup code

* Fix test.
2023-04-24 16:58:06 -07:00
Karl Burtram
175f530403 Fix user default language handling (#2029) 2023-04-22 08:38:51 -07:00
Benjin Dubishar
c5cdc4712a Adding move and exclude folder to SqlProjectService (#2027)
* Adding move and exclude folder

* Fixing cross-plat path bug in test
2023-04-21 11:46:11 -07:00
Charles Gagnon
a254020558 Remove unused package projects (#2026)
* Remove unused package projects

* Remove build step
2023-04-20 17:49:17 -07:00
Charles Gagnon
2496e17515 Use correct version number for ManagedBatchParser nuget package (#2024)
* Pass in patch version from pipeline

* Correct patch version

* Fix packaging

* Fix nuget version

* Revert nuget package changes

* Only use build ID for ManagedBatchParser

* Add back assembly version

* fix package nuspec
2023-04-20 16:38:27 -07:00
Charles Gagnon
dec4f2d4b9 Pass in patch version from pipeline (#2020)
* Pass in patch version from pipeline

* Correct patch version

* Fix packaging

* Fix nuget version

* Revert nuget package changes
2023-04-20 12:07:40 -07:00
Alex Ma
6120b99a56 xlf update for 4-20-2023 (#2023) 2023-04-20 11:18:16 -07:00
Simon Sabin
96c5ec81e2 Enable empty passwords (#2021) 2023-04-20 08:49:47 -07:00
Alex Hsu
051fad128d LEGO: Merge pull request 2022
LEGO: Merge pull request 2022
2023-04-20 08:37:43 -07:00
Benjin Dubishar
006488340c Updating DacFx.Projects to 162.0.28 (#2019) 2023-04-19 20:12:56 -07:00
Alex Ma
3eba2ec62b xlf update for 4-19-2023 (#2018) 2023-04-19 17:24:16 -07:00
Alan Ren
e314f839d8 Simplify Object Management APIs (#2015)
* unify requests-wip

* wip

* unify api

* fix test

* add credential handler

* fix credential handler issue.

* generic type update

* fix scripting for user
2023-04-19 15:43:01 -07:00
Charles Gagnon
98ad0197e4 Move pipeline version vars (#2017)
* initial

* Global vars
2023-04-19 14:54:18 -07:00
Charles Gagnon
7796b56d4b Fix release script version (#2016) 2023-04-19 11:31:44 -07:00
Karl Burtram
96c4b82ab5 Fix scripting of users on SQL DB (#2014)
* Fix scripting of users on SQL DB

* Minor typos

* Add null checks
2023-04-19 08:36:38 -07:00
Cheena Malhotra
648d7dbd3c Address warnings and (some) nullables (#2013) 2023-04-18 20:57:13 -07:00
Charles Gagnon
d56f2309da Use major + minor from pipeline for assembly versioning (#2012) 2023-04-18 16:34:36 -07:00
Karl Burtram
54bd06ef98 Prepopulate server roles in Login dialog (#2011) 2023-04-17 16:11:49 -07:00
Alex Ma
add216cc1e Add more specific URI strings to Object Explorer (#1881)
* Added all non null properties to URI generator

* Added all options to URI for session

* added documentation comments

* added generated nodeTypes file

* added updated uri to connection store

* Added debug message for integrated test failure

* Revert "Added debug message for integrated test failure"

This reverts commit 026c53d1ed3fb16b0f37b7b6e0775402a2ef9281.

* added advanced options to table designer table

* removed connectionName from uri generation

* Revert "removed connectionName from uri generation"

This reverts commit 88eedbbc593a0279872edc6d4cbd1b7ca3d72ad0.

* added connectionname to connection details

* added connection name to near front of key
2023-04-17 14:24:12 -07:00
Charles Gagnon
c15108808f Error on unused private properties (#2008)
* Error on unused private properties

* Remove nullable

* Delete some commented out code

* Fix compile
2023-04-17 13:27:13 -07:00
Charles Gagnon
efc8d8f0be Remove Hosting InternalsVisibleTo (#2009) 2023-04-17 12:34:04 -07:00
Charles Gagnon
9d53e1dd3e Add SourceLink to build + fix assembly versioning (#2007)
* Add github source link

* more

* Move to common

* fix multiple dep copy

* Fix doc comment

* cleanup props

* Use GlobalPackageReference

* Set CI build property on pipelines

* Add comment
2023-04-17 09:51:30 -07:00
Karl Burtram
4614795f19 Add support for AAD contained users in SQL DB (#2005) 2023-04-14 17:02:00 -07:00
Kim Santiago
13672c1d05 Add support for nupkg database references in sql projects (#2006)
* add support for nupkg database references in sql projects

* update DacFx.Projects
2023-04-14 16:18:06 -07:00
Charles Gagnon
55b415e5ef Print commands on build failure (#2004) 2023-04-14 11:36:18 -07:00
Karl Burtram
78136e53dd Enable scripting for Logins (#2003)
* Add a LoginActions class

* Enable scripting for Login
2023-04-13 18:20:53 -07:00
Karl Burtram
948ae3903e Support scripting for Users (#2002)
* WIP 1

* WIP2

* Fix merge break

* Support alter existing object
2023-04-13 11:52:37 -07:00
Leila Lali
a37093a773 Enabling DacFx telemetry (#1993)
* Enabling DacFx telemetry
2023-04-11 14:22:05 -07:00
Sakshi Sharma
9aa84f517c Send deploymentOptions to DacFx to save in the publish profile xml file (#1997)
* Send deploymentOptions to DacFx to save in the publish profile xml file

* Update Packages.prop with latest DacFx nuget version.

* Update Dacfx version after merge from main.

* Address comments

* Update method name
2023-04-10 17:31:39 -07:00
Alex Ma
7bf370a4a5 [Loc] update to xlfs for 4-10-2023 (#2000) 2023-04-10 11:32:45 -07:00