Kim Santiago
39a28c5f51
Add nupkg option to add database reference dialog ( #22772 )
...
* add nupkg option to add database reference dialog
* Add required indicator
* only show nupkg radio button for SDK-style projects
* fix enable ok button
* hookup
* fix typo
2023-04-19 10:09:15 -07:00
Kim Santiago
c29bb27d9e
fix sqlcmd table var table in publish dialog ( #22770 )
...
* fix sqlcmd var table in publish dialog
* const
* remove unused _value
2023-04-19 09:17:34 -07:00
Kim Santiago
4709eab293
make UserDatabaseReferenceProjectEntry class ( #22768 )
2023-04-18 13:23:09 -07:00
Kim Santiago
2dcbdc9c63
Handle nukpg database references in project.ts ( #22762 )
...
* changes in project.ts for adding nupkg database references
* Add tests
* more tests
* fix comment
* remove it.only
2023-04-18 11:11:42 -07:00
Kim Santiago
938a8bffbe
Add AddNugetPackageReferenceRequest for sql projects ( #22757 )
...
* Add AddnugetPackageReferenceRequest for sql projects
* update comment
* fix whitespace
2023-04-17 13:31:17 -07:00
Kim Santiago
18a541b0a6
removed unused data sources code from publish dialog ( #22722 )
2023-04-14 11:44:46 -07:00
Kim Santiago
3deb163210
replace deprecated onDidClick() handler in sql projects ( #22721 )
2023-04-13 16:27:59 -07:00
Kim Santiago
35e1d63871
fix project listed twice when using multi root workspaces ( #22705 )
...
* fix project listed twice when using multi root workspaces
* uppercase
2023-04-13 09:49:14 -07:00
Kim Santiago
c78cc6e534
vbump sql database projects to 1.1.0 ( #22707 )
...
vbump after the April release
2023-04-12 20:27:23 -07:00
Kim Santiago
2280c54d4d
vbump sql projects to 1.0.0 ( #22553 )
...
* vbump sql projects to 1.0.0
* set preview to false
2023-03-31 13:35:43 -07:00
Kim Santiago
e2d4d07c0b
fix console error when trying to drag a sql project node ( #22551 )
...
* fix console error when trying to drag a sql project node
* fix typo
* update comment
2023-03-30 17:27:01 -07:00
Kim Santiago
8e82f62164
cleanup sql projects readme ( #22538 )
...
* cleanup sql projects readme
* update to use code blocks for commands
2023-03-30 15:56:17 -07:00
Kim Santiago
0feabc9a6f
use fsPath instead of path when calculating relative path to sqlproj ( #22534 )
2023-03-30 10:01:06 -07:00
Kim Santiago
4458a5bd57
move publish interfaces out of sqldbproj.d.ts ( #22521 )
2023-03-29 16:27:23 -07:00
Kim Santiago
19a9611407
vbump sql database projects ( #22501 )
2023-03-28 15:13:38 -07:00
Kim Santiago
a7ecff77dd
turn on noUnusedParameters in Schema Compare ( #22452 )
...
* turn on noUnusedParameters in Schema Compare
* use _click
* Add names to unused parameters in test files
2023-03-28 11:17:14 -07:00
Kim Santiago
929184514e
fix undefined error when opening Create Project from Database dialog ( #22480 )
2023-03-28 11:16:53 -07:00
Kim Santiago
3d2a531976
add hover text to icon buttons in sql projects extension ( #22453 )
2023-03-24 16:01:30 -07:00
Kim Santiago
8fdcafcca7
fix aria label for name input box in create project from db dialog ( #22449 )
2023-03-24 15:21:44 -07:00
Kim Santiago
c8d0edf048
add aria labels to a couple radio groups in sql database projects ( #22446 )
2023-03-24 15:21:33 -07:00
Kim Santiago
31ac636222
make screenreader announce task status ( #22434 )
2023-03-24 11:14:10 -07:00
Kim Santiago
0741e18533
vbump dacpac extension after release ( #22418 )
2023-03-22 17:47:56 -07:00
Kim Santiago
3b68aaed72
change publish options to use declarative table ( #22398 )
2023-03-22 09:44:27 -07:00
Kim Santiago
21bb7eb482
add aria label for checkboxes in declrative table ( #22393 )
2023-03-21 16:35:28 -07:00
Kim Santiago
2be49a9911
switch exclude object types table to use declarative table component ( #22390 )
...
* switch exclude options to use declarative table component
* add to disposableListeners
2023-03-21 14:09:31 -07:00
Kim Santiago
931c44ac41
add ariaLive to publish options description ( #22338 )
...
* add ariaLive to publish options description
* use correct string and update typings
* update type
* remove comment update
* create type AriaLiveType
* update MockInputBoxComponent with AriaLiveValue
* update azdata-test and add comment
2023-03-16 16:08:24 -07:00
Kim Santiago
0bbc290790
fix accessibility issues in update project from db dialog ( #22274 )
...
* fix accessibility issues in update project from db dialog
* remove aria label on radio buttons
2023-03-09 14:21:43 -08:00
Kim Santiago
394d88445a
undo remove project change in data workspace ( #22283 )
2023-03-09 14:14:39 -08:00
Kim Santiago
12a5bd0ef2
update target platform text for azure synapse sql pool ( #22265 )
2023-03-09 10:07:12 -08:00
Kim Santiago
ab68c3060c
Add required property in missing places in sql projects ( #22253 )
...
* add required property for missing places in sql projects
* remove comma
2023-03-09 08:45:21 -08:00
Kim Santiago
954d521a83
Fix delete database reference request ( #22214 )
2023-03-08 11:03:44 -08:00
Kim Santiago
5fef212ea3
add vscode mssql handling for getSqlProjectsService() ( #22121 )
...
* add vscode mssql handling for getSqlProjectsService()
* try to fix error because of projectStyle enum
2023-03-03 16:52:05 -08:00
Kim Santiago
d6358b3e29
Add telemetry events for rename and move in sql project ( #22068 )
...
* add telemetry events for rename and move in sql project
* remove check
* update telemetry events
2023-03-01 10:25:09 -08:00
Kim Santiago
bc85f52dd4
Update sql project file move to use DacFx api ( #22064 )
...
* update move to use STS api
* swap rename to use move function
* add try catch
* remove debug statement
* get original path from node
2023-02-28 14:31:49 -08:00
Kim Santiago
0413b95343
Swap rename to use DacFx move api ( #22051 )
...
* swap rename to use DacFx project apis
* add support for rename pre/post deploy scripts and add tests
* update the enum names too
* check instanceof instead of getting and iterating through all the collections
2023-02-28 11:59:09 -08:00
Kim Santiago
8550faaa73
Have different node types for the different item types in sql project tree ( #22053 )
...
* Have different node types for the different item types in sql project tree
* address comments
2023-02-28 10:31:46 -08:00
Kim Santiago
e675fc14f0
Revert 'Add profile section in Publish project UI ( #21906 )' ( #22047 )
...
This reverts commit cb58286247 .
2023-02-27 15:09:50 -08:00
Kim Santiago and Charles Gagnon
7a8888f073
Show error if trying to create or open project when no project extension is installed ( #22021 )
...
* show error if trying to create or open project when no project extensions are found
* only check if project providers are available on startup and when extensions change
* addressing comments
* Update extensions/data-workspace/src/services/workspaceService.ts
use some instead of find
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
---------
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
2023-02-24 13:36:39 -08:00
Kim Santiago
d75cf2b657
Hookup sqlcmdvar delete ( #22018 )
...
* delete sqlcmd variable working
* undo add
* add test
2023-02-23 16:44:08 -08:00
Kim Santiago
4ed1ef34b6
update version of Microsoft.Build.Sql used for building legacy sql projects ( #22010 )
2023-02-23 15:12:09 -08:00
Kim Santiago
169138e24b
Remove data workspace * activationEvent ( #22005 )
...
* remove data workspace * activationEvent
* fix tests
2023-02-22 12:03:39 -08:00
Kim Santiago
10c3199a23
update sql projects azdata dependency ( #22007 )
2023-02-22 11:11:35 -08:00
Kim Santiago
a7f68ebd33
Drag and drop support for sql projects tree ( #21956 )
...
* Drag and drop working
* update comment
* move to projectController
* remove registerTreeDataProvider
* add tests
* fix dragging to project root
* cleanup
* addressing comments
2023-02-21 15:45:25 -08:00
Kim Santiago
7761c3b171
Swap create new project api for sql projects ( #21971 )
2023-02-21 10:00:56 -08:00
Kim Santiago
c5fc37c373
Initial changes for adding SqlProjectsService ( #21967 )
...
* Add SqlProjectsService
* cleanup
* reorder imports
* undo changes in project.ts for now to fix tests
2023-02-16 17:15:24 -08:00
Kim Santiago
4f6fe5955d
Remove parent from sql project tree items ( #21912 )
...
* update getFileProjectEntry and getRelativePath
* remove root and fix tests
* remove parent from sql project tree items
2023-02-14 14:53:39 -08:00
Kim Santiago
fe25674401
change sqlprojUri to projectFileUri ( #21938 )
2023-02-14 13:56:02 -08:00
Kim Santiago
71c12883fe
Remove references to root in sql projects ( #21911 )
...
* update getFileProjectEntry and getRelativePath
* remove root and fix tests
2023-02-14 10:34:46 -08:00
Kim Santiago
d5384cad0e
Fix database name in dacpac wizard not saying required ( #21932 )
2023-02-14 09:50:52 -08:00
Kim Santiago
2b4c608b93
Update sql projects tree to use sqlproj uri instead of parent nodes ( #21901 )
...
* update sql projects tree to use sqlproj uri instead of parent nodes
* remove todo
* undo other change
* update a couple more
2023-02-10 11:22:59 -08:00
Kim Santiago
0e269e0438
Cleanup sql projects tree ( #21883 )
...
* remove MessageTreeItem and rename projectUri to relativeProjectUri
* declare variables inline in constructor
2023-02-09 11:42:00 -08:00
Kim Santiago
f8d9106eef
removing unused SqlDatabaseProjectTreeViewProvider functions ( #21885 )
2023-02-09 09:23:45 -08:00
Kim Santiago
af8316291e
Rename file support in sql projects ( #21858 )
...
* add quickpick for rename file/folder in sql project
* add comment
* make rename file actually do something
* add validation
2023-02-07 16:27:44 -08:00
Kim Santiago
e1b35d266a
Fix publish profile telemetry for ADS ( #21860 )
2023-02-06 17:12:30 -08:00
Kim Santiago
7efe4f9ce9
Remove data sources tree item from sql projects ( #21842 )
...
* remove data sources tree item from sql projects
* remove data sources node name
2023-02-06 14:48:26 -08:00
Kim Santiago
cce794dd14
UI changes for add/edit/delete SQLCMD variables in sql projects ( #21799 )
...
* add edit command
* add and delete
* cleanup
* more cleanup
2023-02-01 15:06:07 -08:00
Kim Santiago
7a0790f365
remove external streaming job from sql project context menu ( #21787 )
2023-01-31 16:36:14 -08:00
Kim Santiago
e7f9763237
fix undefined error in dacpac extension when sending telemetry ( #21727 )
...
* fix undefined error in dacpac extension when sending telemetry
* update interface
2023-01-27 13:22:16 -08:00
Kim Santiago
b273cf5a65
fix update project from db dialog not choosing the db of the connection ( #21746 )
2023-01-27 10:17:31 -08:00
Kim Santiago
cf5572a7f1
vbump dacpac, schema compare, and sql projects after Jan release ( #21739 )
2023-01-26 11:29:25 -08:00
Kim Santiago
17949b9d03
Initial support for SQLCMD variables in sql project tree ( #21574 )
...
* initial changes
* sqlcmd node showing in tree
* Add edit sqlcmdvar command
* remove commands on sqlcmd vars for now
* cleanup
* fix tests
* add icons
* remove TestProject
* add checks for undefined
* add variable
2023-01-25 10:19:39 -08:00
Kim Santiago
c970887d5e
cleanup sql project TestProject created by test ( #21705 )
2023-01-24 11:20:16 -08:00
Kim Santiago and Charles Gagnon
5fbbc3a76b
Change how data-workspace activates project extensions ( #21470 )
...
* change how data workspace activates project extensions
* cleanup
* undo whitespace change
* Update extensions/data-workspace/src/services/workspaceService.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
* activate extensions on data workspace new and open commands
* Update extensions/data-workspace/src/services/workspaceService.ts
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com >
2023-01-04 11:47:51 -08:00
Kim Santiago
754d70d654
Add validation for checking for dacpac being on the same drive ( #21434 )
...
* add extra validation for add dacpac reference quickpick
* Add placeholder with message
2022-12-16 14:18:26 -08:00
Kim Santiago
a4db7309af
Fix schema compare not always showing diff color highlighting ( #21413 )
...
* Fix schema compare not always showing diff color highlighting
* move helper functions into diffEditorWidget.ts
2022-12-14 17:24:10 -08:00
Kim Santiago
146d64435a
fix dacpac wizard not using correct connection ( #21387 )
2022-12-12 10:14:08 -08:00
Kim Santiago
3932332694
update sql projects strings to install .net 6 SDK instead of .net core 3.1 ( #21235 )
...
* update sql projects strings to install .net 6 SDK instead of .net core 3.1
* update to us aka.ms link
2022-11-21 11:53:12 -08:00
Kim Santiago
46aec180e2
hide generate sql project from OpenApi under preview configuration in vscode ( #21263 )
2022-11-21 11:06:24 -08:00
Kim Santiago
ff56398fa9
add missing .dll in list of dlls used for project build ( #21277 )
2022-11-21 10:14:25 -08:00
Kim Santiago
ac494955ac
Hide publish sql project to new azure server behind preview setting ( #21248 )
...
* hide publish to new Azure server under preview setting
* try adding additional properties instead of replacing everything in configuration
* cleanup and change to adding configuration properties instead of replacing the whole thing
* add more info in comment
* remove extra line
2022-11-17 16:05:46 -08:00
Kim Santiago
17d3489778
Update Microsoft.Build.Sql version to 0.1.7-preview ( #21242 )
...
* update the default Microsoft.Build.Sql version used by sql projects
* update Microsoft.Build.Sql SDK version
* update baselines and template to also use 0.1.7-preview
2022-11-17 14:09:03 -08:00
Kim Santiago
f977fe6cf6
vbump dacpac, schema compare, and sql projects after Nov release ( #21241 )
2022-11-16 13:32:05 -08:00
Kim Santiago
b4aed82d44
update working for dotnet install location setting ( #21232 )
2022-11-16 11:05:30 -08:00
Kim Santiago
2a933d43c4
add preview for publish to Azure development container ( #21199 )
2022-11-10 13:25:54 -08:00
Kim Santiago
e928ed660f
projectController.ts code cleanup ( #21112 )
...
* adding regions and doc comments in projectController.ts
* cleanup
* add param info to doc comment
2022-11-10 11:59:04 -08:00
Kim Santiago
00f17bc050
put Generate project from OpenApi/Swagger spec behind preview flag ( #21108 )
2022-11-09 16:37:41 -08:00
Kim Santiago
64f5d9dde3
remove edge template from sql projects new project dialog ( #21144 )
2022-11-08 11:13:21 -08:00
Kim Santiago
d268b9948b
Add a few tests for projectController ( #21083 )
2022-11-03 13:02:53 -07:00
Kim Santiago
bd7d44ad31
Add image tag dropdown for publish to docker in ADS ( #21029 )
...
* add image tag dropdown to publish dialog
* cleanup
* add filtering and move default tag to the first in the dropdown
* fix test
2022-10-31 18:02:03 -07:00
Kim Santiago
15b7c814f6
Remove preview from 2022 in sql projects ( #20940 )
...
* remove preview from 2022 in sql projects
* update new project baselines
* update system dacpac tests
* fix other 150 system dacpac test checks
2022-10-26 09:11:28 -07:00
Kim Santiago
5d896cd8cd
update schema compare azdata dependency to 1.40.0 ( #20944 )
2022-10-24 13:31:29 -07:00
Kim Santiago
8acda681b4
move publish to docker quickpick code to its own file ( #20871 )
2022-10-21 11:09:51 -07:00
Kim Santiago
0f46b3ef9b
update vscode-mssql.d.ts to match the one in vscode-mssql ( #20861 )
...
* update vscode-mssql.d.ts to match the one in vscode-mssql
* format file
2022-10-17 13:54:49 -07:00
Kim Santiago
5106a08ea3
Add include permissions option for create project from db in vscode ( #20845 )
...
* add quickpick for include permissions option
* update vscode-mssql.d.ts
* add const
* undo whitespace change
2022-10-17 11:18:42 -07:00
Kim Santiago
00800db506
Add include permissions option to create project from db dialog ( #20823 )
...
* add import permissions option to create project from db dialog
* change 'import' to 'include'
* update azdata dependency version
* update STS to 4.3.0.37
* fix test
2022-10-13 11:01:37 -07:00
Kim Santiago
1f1ea1ab59
fix sql projects vscode extension not activating because of not finding azdata ( #20814 )
2022-10-11 16:22:38 -07:00
Kim Santiago
1e89df8955
add 160 system dacpacs and update Azure master dacpac ( #20732 )
2022-10-05 14:57:03 -07:00
Kim Santiago
edc11d519d
add logging for data workspace extension ( #20601 )
...
* add logging for data workspace extension
* Addressing comments
* adding back getProjectsInWorkspace() in constructor
* Add more logging in activate()
2022-09-14 11:06:41 -07:00
Kim Santiago
7c34c4bdc0
add config option for Microsoft.Build.Sql version used to build legacy sql projects ( #20532 )
...
* add config option for Microsoft.Build.Sql version used to build legacy sql projects
* addressing comments
2022-09-01 17:05:26 -07:00
Kim Santiago
fda2c37531
the fix open in designer menu item is not available after script is updated with newly added create table statements ( #20522 )
...
* make open in designer available after a script is updated with a new create table statement
* uppercase
2022-08-31 15:39:53 -07:00
Kim Santiago
8926c4f605
Remove sql project build dependency on STS ( #20447 )
...
* download Microsoft.Build.Sql sdk and extract
* cleanup extracted folder and nuget
* add constants
* cleanup
* remove package-lock.json
* making outputChannel required and some cleanup
* only download if the files aren't already there
* Add todo
* add try catches
* addressing comments
2022-08-31 14:04:06 -07:00
Kim Santiago
83043dadcc
move checking if a file contains a create table statement to utils ( #20512 )
2022-08-31 10:21:30 -07:00
Kim Santiago
06a3bf6718
Handle output path and configuration in .sqlproj ( #20426 )
...
* Revert "Revert "Fix sql projects not using OutputPath in sqlproj for publishing (#19987 )" (#20127 )"
This reverts commit dc7522c661 .
* read configuration from sqlproj
* Add more tests
* use last OutputPath in sqlproj
2022-08-25 10:25:12 -07:00
Kim Santiago
2e2fa7bf10
vbump schema compare and sql database projects ( #20464 )
2022-08-24 15:02:16 -07:00
Kim Santiago
cb29eccef3
add current open folder to new project quickpick ( #20414 )
...
* add open folder to new project quickpick
* swap so default save location is first
2022-08-19 14:46:24 -07:00
Kim Santiago
c7ce98c4de
use default folder or open folder as initial location in new project dialog ( #20416 )
...
* use default folder or open folder in new project dialog
* simplify
2022-08-19 12:07:14 -07:00
Kim Santiago and Alan Ren
691a53ac34
update STS to get fix for broken sql project build ( #20384 )
...
* update STS to get fix for broken sql project build
* Update config.json
Co-authored-by: Alan Ren <alanren@microsoft.com >
2022-08-17 12:02:34 -07:00
Kim Santiago
4971f1bd1a
update STS to 4.2.0.15 ( #20329 )
2022-08-12 14:35:56 -07:00
Kim Santiago
f6d2af58af
Add image tag matching target platform for publish to docker ( #20296 )
...
* add the image tag for the sql server version
* add preview text and test
* cleanup
2022-08-11 14:58:09 -07:00
Kim Santiago
c27c5334ba
update container eula link ( #20279 )
2022-08-10 11:59:42 -07:00