Commit Graph

1797 Commits

Author SHA1 Message Date
Alex Hsu
7515695314 LEGO: Merge pull request 1901
LEGO: Merge pull request 1901
2023-03-04 08:38:05 -08:00
Alex Ma
4268dec4e0 [Loc] updates to xlfs for 3-3-2023 (#1900) 2023-03-03 15:29:14 -08:00
Hai Cao
cd53af992d [User Management] Fix server role drop for login (#1899) 2023-03-03 15:21:32 -08:00
Hai Cao
e721a44588 [User Management] Fix a few bugs in login handlers (#1897) 2023-03-03 10:37:53 -08:00
Alex Hsu
eda17d165d LEGO: Merge pull request 1898
LEGO: Merge pull request 1898
2023-03-03 08:39:12 -08:00
Benjin Dubishar
b27b7dc379 Adding SetDSP support to SqlProjects service (#1895)
* Adding SetDSP support

* correcting comment
2023-03-02 20:10:13 -08:00
Hai Cao
bec0877e32 [User Management] Fix login handlers (#1896)
* fix default language

* fix update

* fix server role error with azure
2023-03-02 17:51:31 -08:00
Kim Santiago
bb838269ac Updating add database reference requests to check null or whitespace (#1894) 2023-03-02 16:37:16 -08:00
Karl Burtram
3d1c8b91b6 Remove yarn.lock file (#1891) 2023-03-02 15:23:44 -08:00
AkshayMata
bfa64750d8 Update login migrations nuget (#1893)
Updating login migrations nuget to include change to expose error code.
2023-03-02 15:08:38 -08:00
Alex Ma
a81cee8e7f [Loc] XLF update for 3-2-2023 (#1892) 2023-03-02 14:53:26 -08:00
Benjin Dubishar
38836371ed Adding missing properties to GetProjectProperties call; also renaming NoneScript to NoneItem (#1890)
* Renaming NoneScript to NoneItem

* missed a file

* Fixing comments

* Adding ProjectStyle to properties

* Projects nuget bump

* Adding DatabaseSchemaProvider to the props
2023-03-02 13:52:35 -08:00
Raymond Truong
5f78eaa41f Update assessment NuGet (#1889) 2023-03-02 12:21:47 -08:00
Cheena Malhotra
187b6ecc14 Introduce AAD interactive auth mode (#1860) 2023-03-02 09:39:54 -08:00
Alex Hsu
98e50c98fe LEGO: Merge pull request 1888
LEGO: Merge pull request 1888
2023-03-02 08:38:24 -08:00
Alan Ren
c6f19990b8 revert unexpected change (#1887) 2023-03-01 16:01:11 -08:00
Alan Ren
9958c9f003 produce windows arm64 bits (#1886)
* add win-arm64 support

* test version

* fix error
2023-03-01 15:58:10 -08:00
Kim Santiago
c7e64e2334 Remove Value in AddSqlCmdVariableParams (#1885) 2023-03-01 10:03:38 -08:00
Benjin Dubishar
68ac1e01fc Adding project property support to SqlProj service (#1883)
* Nuget update

* Updating nuget

* implementation

* GetProperties test

* Adding SetDatabaseSource

* adding comment

* Nuget update

* PR feedback

* Fixing cross-plat path tests

* Updating to signed nuget

* fixing None test
2023-02-28 18:27:42 -08:00
Cheena Malhotra
c83f380b8e Improve secure enclaves error handling (#1880) 2023-02-28 13:31:40 -08:00
Benjin Dubishar
7941e871d9 Adding SqlProject service support for <None> entries (#1884)
* Implementation

* NoneScript test

* patching up test

* Updating comments
2023-02-28 09:40:20 -08:00
Benjin Dubishar
dc259d70ad Correcting typo (#1882)
* Correcting tyo

* removing extra space

* tests
2023-02-27 16:14:59 -08:00
Sakshi Sharma
b44f0d561f Save file structure in scmp file (#1878)
* Save file structure in scmp files

* Update DacFx version and add test

* Address comments

* Fix test

* try to fix tests

---------

Co-authored-by: Kim Santiago <kisantia@microsoft.com>
2023-02-24 14:24:25 -08:00
Benjin Dubishar
f7fd478857 Adding getters for project items in SqlProject service (#1879)
* Adding getters for project items

* updated comment
2023-02-23 16:25:01 -08:00
Benjin Dubishar
6cf5147eaf Adding docstrings (#1877)
* Adding docstrings

* merge from main
2023-02-22 11:07:24 -08:00
Kim Santiago
dfc54f99cf Fix error not getting sent back when generating deploy plan (#1875) 2023-02-21 16:53:21 -08:00
Benjin Dubishar
2506a4df9c Renaming NewSqlProject to CreateSqlProject to have verb-forward terminology (#1876) 2023-02-21 15:58:23 -08:00
Alex Ma
3dbf9edfdd [Loc] forgot to add resx files (#1874) 2023-02-21 14:29:56 -08:00
Alex Ma
a2b567a341 [Loc] update to service layer xlf for 2-21-2023 (#1873) 2023-02-21 10:51:13 -08:00
Alex Hsu
67a3eef2fa LEGO: Merge pull request 1872
LEGO: Merge pull request 1872
2023-02-21 08:42:49 -08:00
Alex Hsu
c0912bcfbe LEGO: Merge pull request 1871
LEGO: Merge pull request 1871
2023-02-19 08:37:47 -08:00
Aasim Khan
e8d24f8e47 Moving out legacy schemas into their own folder (#1866) 2023-02-17 14:31:25 -08:00
Hai Cao
b3ae394fa6 Login handlers: address comments and fix dispose (#1870) 2023-02-17 14:24:34 -08:00
Hai Cao
7ffc85d7fc Add login management handlers (#1868)
* update contracts

* finish creating/loading login for SQL Server

* support role read for azure and add more handlers

* fix advanced option flags

---------

Co-authored-by: Karl Burtram <karlb@microsoft.com>
2023-02-17 09:56:03 -08:00
Cheena Malhotra
86a8861e78 Build with .NET 7.0.200 + Async improvements (#1869) 2023-02-17 09:54:20 -08:00
Karl Burtram
675427c690 User creation handler clean-ups (#1867)
* Wire up init user message

* Send schema list

* Load database roles

* Add create user

* Add a delete user handler and format service file
2023-02-17 08:38:17 -08:00
Cheena Malhotra
74dd15c868 Address error IDE0270 after MsBuild update (#1865) 2023-02-16 16:15:30 -08:00
Aasim Khan
0f82062502 Removing migration code and packages from sts (#1864)
* Removing migration code and packages from sts

* Removing condition
2023-02-15 22:10:30 -08:00
Cory Rivera
e3fc41af58 Add vscode notebook cells to valid list of URI types. (#1863) 2023-02-15 12:40:11 -08:00
Aasim Khan
c26a2aea14 Adding schema based object folders in OE (#1849)
* Making node types automated

* Adding schema based OE

* added folder types in NodeTypes

* Fixing stuff

* Moving schema to parent and cleaning up some code

* Replacing strings with nameof

* Sorting nodetypes generated by tt

* Adding option to put folders after nodes

* Fixing folder and children order

* Fixing tests

* Formatting file

* Formatting tt files

* Fixing tt

* fixing types

* Update src/Microsoft.SqlTools.ServiceLayer/SqlContext/ObjectExplorerSettings.cs

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

* Fixing stuff

* Updating schema definitions and adding more logs

* Fixing copyright

* Adding Integration and Unit Tests

* Fixing test

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-02-14 13:40:51 -08:00
Benjin Dubishar
c32e1f2b26 Adding script move support for SqlProject service (#1861)
* Adding support for moving object, pre-deploy, and post-deploy scripts

* tests

* Removing redundant backslashes in strings
2023-02-10 18:35:11 -08:00
Benjin Dubishar
d0d67373d1 Adding support for database literal references for Dacpac and SqlProj references (#1858)
* fixing up some nullable spots

* Adding database literal support

* Adding tests and support for same database refs

* Fixing test

* merge laggard

* Split database reference tests up

* PR feedback

* Normalizing strings for cross-plat test passing

* Updating Projects nuget package

* Fixing up test
2023-02-10 11:36:31 -08:00
Alan Ren
15250a9178 make list databases return in their original order (#1859)
* return databases in their original order

* remove using statement

* fix unit tests

* fix error
2023-02-09 14:27:25 -08:00
Sakshi Sharma
497118ed82 Add support to save publish profile (#1844)
* Add support to save publish profile

* Address comments

* Update dacfx nuget package version

* Fix test

* Address comments

* Resolve package.props conflict

* Add content verification in test and use handler methods instead of try-catch

* Address comments
2023-02-09 11:56:43 -08:00
Alan Ren
b717ca9d6c fix db list issue for contained users (#1855)
* fix db list issue for contained users

* add logging
2023-02-08 21:40:59 -08:00
Benjin Dubishar
41c8f15e3e Adding project service support for pre/post-deployment scripts (#1853)
* Patch up db references

* Adding pre/post deploy scripts

* Adding tests

* adding tests
2023-02-08 18:28:23 -08:00
Karl Burtram
8d428aeb8a Minor follow-ups for user management support classes (#1857) 2023-02-08 18:26:44 -08:00
Karl Burtram
2ef5f0918a User management support classes (#1856)
* WIP

* Fix nullable warnings in UserData class

* WIP2

* WIP

* Refresh database prototype classes

* Fix some typos & merge issues

* WIP

* WIP

* WIP

* Additional updates

* Remove unneded using
2023-02-08 18:02:08 -08:00
Cory Rivera
ee086e2067 Bump Kusto and SQL Tools dotnet tool versions to 1.3.0 (#1854) 2023-02-08 16:47:28 -08:00
AkshayMata
c2a361b2bf Update login migrations nuget to return error codes (#1850)
Updated login migrations to return error codes
2023-02-08 12:57:51 -08:00