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
Cheena Malhotra
648d7dbd3c
Address warnings and (some) nullables ( #2013 )
2023-04-18 20:57:13 -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
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
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
Karl Burtram
83b58a27a4
Move Login handlers to separate file ( #1995 )
...
* Move login handlers
* Move Login handlers to seperate file
2023-04-06 16:07:45 -07:00
Sakshi Sharma
098cf3be35
Update openScmp to read file structure ( #1952 )
...
* Update openScmp to read file structure (and dsp) information from the scmp file.
* Address comments
2023-04-04 11:05:36 -07:00
Chris LaFreniere
cccdbf0bef
Address CA1829 (Avoiding Count LINQ method calls when equivalent + more efficient properties exist) ( #1961 )
...
* Address CA1829 (Avoid Count LINQ Method Calls)
* Remove other change
* CA1829 removal
* CA1829 (remove whitespace)
2023-03-23 21:06:49 -07:00
Karl Burtram
c3444e5cf5
Support creating & editing additional user types ( #1962 )
...
* WIP
* Fix contained user password handling
* More user related bug fixes
2023-03-23 18:01:55 -07:00
Karl Burtram
a104251885
Enable support for Windows users ( #1957 )
...
* WIP
* Update for Windows user
2023-03-21 19:00:11 -07:00
Alan Ren
692f444ccb
simplify drop object request handler ( #1953 )
...
* simplify drop object request handler
* fix test cases
* fix issues
* update strings
* fix error
* fix error
2023-03-20 21:54:34 -07:00
Karl Burtram
f59ca1954b
Enable user management tests ( #1912 )
...
* Enable user management tests
* Fix update user test
2023-03-15 17:52:09 -07:00
Karl Burtram
a074b5bf67
Update User edit handlers ( #1903 )
...
* WIP
* Update user tests
* WIP updates
* WIP
* Fix several edit use bugs
* Disable failing tests
* minor updates
* Remove unused using
2023-03-06 14:43:38 -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
Kim Santiago
bb838269ac
Updating add database reference requests to check null or whitespace ( #1894 )
2023-03-02 16:37:16 -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
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
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
2506a4df9c
Renaming NewSqlProject to CreateSqlProject to have verb-forward terminology ( #1876 )
2023-02-21 15:58:23 -08:00
Aasim Khan
e8d24f8e47
Moving out legacy schemas into their own folder ( #1866 )
2023-02-17 14:31:25 -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
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
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
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
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
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
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
Benjin Dubishar
19935552b1
Adds support for checking and updating cross-compatibility for SQL Projects ( #1847 )
...
* Adding cross-platform check and update
* Checkpoint
* checkpoint
* Updating for latest nuget package
* Correctly typing the result object
2023-02-07 19:06:13 -08:00
Cheena Malhotra
8d119876d9
Update to .NET 7 SDK ( #1792 )
2023-02-07 17:53:36 -08:00
Benjin Dubishar
4eac02453b
Support for folders in the projects service ( #1834 )
...
* Delete folder support + tests
* updating casing
* cleanup
2023-02-06 11:30:03 -08:00
Karl Burtram
f288bee294
Make nullable warnings a per file opt-in ( #1842 )
...
* Make nullable warnings a per file opt-in
* Remove unneeded compiler directives
* Remove compiler directive for User Data
2023-02-03 18:10:07 -08:00
Benjin Dubishar
2e950f54bd
Normalize string to fix test case on Unix ( #1841 )
2023-02-01 14:30:28 -08:00
Karl Burtram
7110b1b39b
Update fake password for credscan ( #1839 )
2023-02-01 11:04:15 -08:00
Karl Burtram
3c25549986
Initial WIP code for user management ( #1838 )
...
* Initial user management code
* WIP
* Fix whitespace
* WIP user objects
* WIP user objects
* Cleanup ported code
* WIP
* WIP
* Update the User contracts
* Additional cleanups
* Remove warning silencing which isn't intended for this PR
* Fix some warnings as error in CI
2023-01-31 21:12:53 -08:00
Benjin Dubishar
9fe3aeddc3
Support for database references in SqlProjects service ( #1832 )
...
* initial checkin
* Initial
* Adding test
* Adding comments
* PR feedback
2023-01-31 16:52:07 -08:00
Charles Gagnon
036ce9b527
Fix broken STS language service tests ( #1837 )
...
* Fix broken STS language service tests
* consolidate
2023-01-31 13:25:44 -08:00
Benjin Dubishar
e2962390bc
Support for SqlCmdVariables in SqlProjects service ( #1831 )
...
* Support for SqlCmdVariables
* Adding comments
* Adding update sqlcmdvar method
* swapping for success asserts
2023-01-30 15:45:15 -08:00
Benjin Dubishar
82171740bc
Adding missing nuget references for SqlProjects functionality ( #1827 )
...
* Adding test messages
* Adding file system globbing reference
* fixing string
* fixing string again
* Sigh
2023-01-27 16:18:40 -07:00
Alan Ren
bc0426f946
disable unstable test case ( #1825 )
2023-01-25 20:21:20 -08:00
Benjin Dubishar
9cce26fcbd
Initial check-in of SqlProjects service addition to SqlToolsService ( #1805 )
...
* initial commit
* Initial SqlProjects service + tests
* Added SqlObject script tests; PR feedback
* Added comments for contracts
* Swapping SqlProjectResult for ResultStatus
* Updating tests
* Added automatic test base that provides a working directory and automatic cleanup.
2023-01-25 14:16:15 -08:00
Hai Cao
bcf015f939
Fix datetimeoffset formatting ( #1823 )
2023-01-25 11:19:30 -08:00
Cheena Malhotra
5cc3e6f657
Support updating access token when found expired for OE ( #1772 )
2022-11-28 17:42:05 -08:00
Karl Burtram
3a5935df99
Revert "Update to latest .Net SDK 7.0 ( #1760 )" ( #1763 )
...
This reverts commit 71cda5bbdc .
2022-11-15 11:29:41 -08:00
Karl Burtram
71cda5bbdc
Update to latest .Net SDK 7.0 ( #1760 )
...
* Bump to SDK 7.0 and related updates
* More net 7 updates
* Install SDK 2.0 for ESRP
* Fix typo
* Address comment and update integration test script
* Disable new warnings from SDK update
2022-11-14 20:24:25 -08:00