Граф коммитов

4250 Коммитов

Автор SHA1 Сообщение Дата
Hai Cao c5bc541090
Fix must_change option for login management (#23350) 2023-06-08 09:52:10 -07:00
Kim Santiago 9c72e562cd
Change ReferenceType to ReferencedDatabaseType (#23347)
* change ReferenceType to ReferencedDatabaseType

* update string
2023-06-07 14:32:27 -10:00
Raymond Truong dd277e3f57
[SQL Migration] Remove noisy telemetry error event (#23348)
* Remove RefreshDataCollectionFailed

* Fix timer initialization

* Add refresh
2023-06-07 16:01:17 -07:00
Vsevolod Kukol e0d5cd18b9
Support for MongoDB clusters / vCore (#22512)
* Initial support for MongoDB clusters / vCore

* Get cluster connection string from arm

* Preserve Azure account for any auth type

When a service has been selected through the Azure
browser, we want to preserve the Azure account
information even if a different authentication has
been selected. This allows doing ARM operations
using the signed in Azure account for any resources
including those with a different login types such
as clusters.
2023-06-07 15:38:35 -07:00
Cheena Malhotra 346b207f4e
Fix resource group query filter (#23344) 2023-06-07 11:29:31 -07:00
Cory Rivera 9dcb7e4ee5
Update default values for Owner and Collation in Create Database dialog (#23332) 2023-06-07 09:47:16 -07:00
Austin Bryan 9328c4ee9e
Fixing bug where if copy duration went over 24h it would reset to 00:00:00 (#23290)
* Fixing bug where if copy duration went over 24h it would reset to 00:00:00
2023-06-06 12:21:24 -07:00
Benjin Dubishar bfbc7bb9dc
Fixing and enabling some Projects tests (#23261)
* unskipping tests

* timeout

* bumping STS

* adding in exclude nested projectEntry test

* cleanup
2023-06-05 14:18:46 -07:00
Benjin Dubishar 4eac26de15
making conditions for "delete" exact match for database references (#23317) 2023-06-05 11:18:14 -07:00
Kim Santiago 88f46dde63
update query store readme (#23295)
* update query store readme

* switch Azure SQL to SQL Database

* specify 'execution plan'
2023-06-05 07:40:51 -10:00
Alan Ren 7094be5889
regenerate the yarn lock file (#23303) 2023-06-02 12:49:42 -07:00
Cheena Malhotra 4ac5b6bd3f
Enable support for PGSQL Flexible Servers (#23300) 2023-06-02 09:12:00 -07:00
Cheena Malhotra d3c996dc5c
Delete both cache files on decryption failure (#23291) 2023-06-01 15:49:29 -07:00
Kim Santiago 8d36400c2f
Initial commit for Query Store extension (#23260)
* Initial commit for Query Store extension

* fix eslint explicit-functino-return-type setting

* address comments

* remove specifying explicit-function-return-type eslint rule

* update strings
2023-06-01 14:09:33 -07:00
Cory Rivera 926dae5cfd
Enable Create Database dialog for object management framework (#23168) 2023-06-01 14:05:33 -07:00
Karl Burtram d9f723a75b
Bump STS to 4.8.0.15 for connection pool issue (#23279) 2023-05-31 18:52:36 -07:00
Charles Gagnon 50e08e11df
Add back common extension linting rules (#23271)
* Add back common extension linting rules

* Fix lint issues
2023-05-31 14:31:00 -07:00
Karl Burtram 716176be07
Bump STS to 4.8.0.14 to pickup AAD '-' in email bug fix (#23263) 2023-05-30 21:24:12 -07:00
Alan Ren 53250c6bc4
customize loading status message (#23247)
* customize loading status message

* Update extensions/mssql/src/ui/localizedConstants.ts

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

* Update extensions/mssql/src/ui/localizedConstants.ts

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

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-05-30 13:23:38 -07:00
Charles Gagnon 8db9d10d0f
Fix nested comment colorization (#23245) 2023-05-30 12:00:59 -07:00
Alan Ren f4d5ab616c
add objects dialog (#23243) 2023-05-30 09:53:44 -07:00
Kim Santiago 82f5ef7ea3
Download ScriptDom separately when building legacy sql projects (#23201)
* update sql projects build code to retrieve script dom nuget separately from dacfx nuget

* update readme

* cleanup shared code

* update scriptdom nuget version

* refactor
2023-05-26 16:51:42 -07:00
Kim Santiago 5560b52df1
Allow adding new sqlcmd variables to sql project without DefaultValue (#23229) 2023-05-26 11:01:20 -07:00
Alan Ren 1a1839ab09
fix find object dialog type display name issue (#23232) 2023-05-26 07:59:34 -07:00
Aasim Khan 2717a9b16d
Vbumping import extension (#23227) 2023-05-25 17:31:42 -07:00
Charles Gagnon 8dac1acc71
Set offSide to sql lang configuration to true (#23222) 2023-05-25 13:32:08 -07:00
Sakshi Sharma 6f5741a162
Update product pipelines to add back tests (#23203)
* Update product pipelines to add back core integration tests to Darwin and extension unit tests to Linux

* Update whitespace

* Update indentation

* Skip failing tests for now
2023-05-24 15:43:00 -07:00
Kim Santiago 9f3ce333af
fix sql project move folder tests (#23191) 2023-05-24 10:01:25 -07:00
Sakshi Sharma a82519ca0f
Fix a failing test in publishDatabaseDialog (#23190) 2023-05-23 15:55:17 -07:00
Benjin Dubishar 676f419ddd
Adding option to open referenced project from SQL Project reference item (#23178)
* Adding hook to open a referenced SQL project

* cleanup

* adding docstring
2023-05-22 17:51:23 -07:00
Sakshi Sharma dca1a467f3
Populate Project in Update project from db UI (#23169)
* Populate Project in Update Project from db UI

* Add tests

* Fix test

* Address comment
2023-05-22 15:23:04 -07:00
Benjin Dubishar 4c579ca12b
Validating connectionProfile for missing server before attempting to connect (#23159)
* Validating connectionProfile for missing server before attempting to connect

* rewriting the logic to be more clear

* adding error log
2023-05-18 15:23:31 -07:00
Cheena Malhotra 7d0a7a6721
Fix CMS password login issues (#21260) 2023-05-18 13:59:02 -07:00
Hai Cao a1f2be73a6
Table Designer: Add config for table designer trigger behavior (#23165)
* add a config for table designer trigger behavior

* bump STS
2023-05-18 13:35:50 -07:00
Benjin Dubishar 1efe948abe
Finding index is correct array (#23162) 2023-05-18 10:30:58 -07:00
Charles Gagnon 9a5dd84504
Cleanup mssql dialog base (#23163) 2023-05-17 22:14:09 -07:00
Vasu Bhog d53a35bf4f
Update SQL Bindings VSCode target framework and version, and vbump (#23157)
* update target framework and version, and vbump
2023-05-17 15:49:29 -07:00
Hai Cao 7bebadd784
bump STS (#23153) 2023-05-17 11:47:12 -07:00
Sakshi Sharma 244d56eb12
Add option to save Publish profile in VScode (#23067)
* Publish profile save changes for VSCode

* Fix publish settings

* Fix publish settings

* Address comments

* Address comments

* Address comments

* Address comment
2023-05-16 10:47:58 -07:00
Aasim Khan 20f409adca
Fixing default (#23139) 2023-05-15 21:33:56 -07:00
Sakshi Sharma b260edcec3
Add ability to create publish profile from project context (#23110)
* Ability to add publish profile from project context

* Add/update test + fix Build vs None addition to sqlproj file
2023-05-15 16:14:07 -07:00
Alan Ren b56f2ccb60
add securable settings (#22936)
* wip

* Update typings

* nullable

* update test service

* support securables

* updata test data

* fix issues

* fix build failure

* update test mocks

* fix typo

* fix reference

* fix findobjectdialog issue

* update SearchResultItem type

* fix table component perf issue

* hide effective permission for server role

* hide effective permission for app role and db role

* vbump sts and fix a couple issues

* STS update and UI update

* fix user login display issue

* vbump sts
2023-05-15 15:01:57 -07:00
Aasim Khan 787a66922f
Adding filtering to group by schema and switching to using name from displayName in oe filters. (#23123) 2023-05-13 09:25:07 -07:00
Aasim Khan 2beba9ac08
Adding inline actions to OE (#23101) 2023-05-13 09:24:49 -07:00
Benjin Dubishar 9116f66ca4
Fixing issue where sqlcmdvars wouldn't load from publish profile in ADS (#23116)
* fixing issue where sqlcmdvars wouldn't load from publish profile in ADS

* in -> of
2023-05-11 22:03:41 -07:00
Benjin Dubishar 017bbe61d5
Fix deploy/generatePlan/saveProfile when no sqlcmdvars are defined (#23112)
* fix deploy/generate when no sqlcmdvars are defined

* saveProfile
2023-05-11 22:03:31 -07:00
Barbara Valdez 01bcdf9c01
update workbench file and fix relative link not working in markdown (#23109) 2023-05-11 15:31:43 -07:00
Maddy d5df9c4ce6
remove the access point (#23105) 2023-05-11 15:10:17 -07:00
Kim Santiago 1d3b74e83b
fix sqlcmd variables not getting loaded correctly in vscode (#23103) 2023-05-11 13:52:43 -07:00
Benjin Dubishar 0158bd9861
Fixing bug where SQLCMD vars weren't getting JSONified (#23082)
* changing param for sqlcmdvars back to Record since Json.stringify doesn't handle Maps

* swapping over savePublishProfile
2023-05-10 21:12:21 -07:00
Cheena Malhotra c592c74958
Introduce Universal resource provider to fix ARM throttling issues (#23078) 2023-05-10 21:06:23 -07:00
Aasim Khan 60a280042d
Readding filtering back into main (#23064) 2023-05-09 16:32:58 -07:00
Kim Santiago 7b8ba7630e
fix warning in console when drag and dropping in sql projects (#23056) 2023-05-09 11:18:59 -07:00
Cheena Malhotra f7bc38d552
Fixes import wizard to work with enabled SQL auth provider (#23004) 2023-05-08 21:36:05 -07:00
Benjin Dubishar 0d8e1882fa
Bumping SQL Tools Service (#23046) 2023-05-08 18:35:01 -07:00
Aasim Khan 25bc14fb25
Adding filtering dialog and action to OE (#22937)
* Adding init change

* Adding filter cache in OE

* Adding more filtering changes

* Fixed stuff with dialog

* Fixing filter

* Adding support for connecitons

* Fixed stuff

* filtering

* Fixing  date

* Filters

* Removing is filtering supported

* Removing contracts

* Fixing filters

* Fixing cache

* Adding some accessibility changes

* Reverting some more changes to pull in changes from the main

* Adding comments

* Fixing boolean operators

* Fixing stuff

* Fixing stuff

* Fixing error handling and making dialog generic

* Fixing more stuff

* Making filter a generic dialog

* adding erase icon

* removing floating promises

* Fixing compile issue

* Adding support for choice filter with different and actual value.

* Adding null checks

* Adding durability type fix

* Fixing filtering for providers that do not play well with empty filter properties
2023-05-08 11:00:59 -07:00
Kim Santiago 9c22620032
vbump sql projects to 1.1.1 (#23029) 2023-05-08 10:49:53 -07:00
Raymond Truong 6684dbb78c
[SQL Migration] Add storage/VM connectivity validation (#22982)
* Implement storage account connectivity check for SQL VM targets

* Add missing break statement

* Address PR comments
2023-05-08 08:42:40 -07:00
Benjin Dubishar 1620b3b374
Fixing deleteDatabaseReference test for vscode-mssql (#23008) 2023-05-07 13:08:04 -07:00
Sakshi Sharma feed449d97
Update default folder structure option in VSCode (#23002) 2023-05-05 16:50:32 -07:00
Benjin Dubishar 127a2d2e2f
Updating SqlProjects readme to have absolute github link for image (#23001) 2023-05-05 15:53:02 -07:00
Alex Ma 898bb73a34
Revert new connection string format (#22997) 2023-05-05 13:41:40 -07:00
Cory Rivera 27e0d67dec
Add context menu entries for deleting a database (#22948) 2023-05-05 12:12:35 -07:00
Cory Rivera 876a4a24f6
Bump SQL Tools dependency to 4.7.0.28 (#22983) 2023-05-05 10:39:34 -07:00
Charles Gagnon c3bf85f026
Create separate ScriptableDialogBase (#22974)
* Create separate ScriptableDialogBase

* more
2023-05-05 09:17:51 -07:00
Charles Gagnon 88197a5162
Fix validation errors in package.json when clause (#22972) 2023-05-04 16:19:52 -07:00
Benjin Dubishar 94745a69f5
Bumping Tools Service dependency (#22963) 2023-05-04 11:45:00 -07:00
Benjin Dubishar 8a56e0c0cd
Bumping azdata dependency (#22961) 2023-05-04 11:33:43 -07:00
Alan Ren 8a5387d97a
remove the rename db context menu (#22962) 2023-05-04 10:52:07 -07:00
Karl Burtram 1ddcce5a75
Bump STS to 4.7.0.26 for User w Login fix (#22934) 2023-05-03 14:10:30 -07:00
AkshayMata ced2f7938f
Bump sql-migration version (#22946)
Co-authored-by: Akshay Mata <akma@microsoft.com>
2023-05-03 13:43:43 -07:00
Raymond Truong 0d2ed6e517
[SQL Migration] Improve IR registration experience (#22926)
* Add registration instructions to IR page

* Clean up

* Typo

* Fix typo

* Replace link with aka.ms link

* Refactor + implement regenerate auth keys

* Update strings and clean up comments

* Fix sqlMigrationServiceDetailsDialog

* Fix sqlMigrationServiceDetailsDialog width

* Extract helpers to utils

* Add IR registration instructions to sqlMigrationServiceDetailsDialog

* Update SHIR description slightly
2023-05-03 16:43:00 -04:00
Kim Santiago 844ed758a5
Fix .publish.xml file extension not being used on mac (#22939) 2023-05-03 13:18:42 -07:00
Kim Santiago 8f37ea8746
fix macros not getting replaced in sql project item scripts (#22945) 2023-05-03 13:18:02 -07:00
Sakshi Sharma 55d652198c
Fix schema comparison failure for Azure synapse (#22938) 2023-05-03 13:03:40 -07:00
AkshayMata a8a88ccbeb
[SQL-Migration] Improve log migrations telemetry (#22927)
- Bucketized errors to track top errors
- Created separate login migration specific error to improve monitoring

---------

Co-authored-by: Akshay Mata <akma@microsoft.com>
2023-05-03 10:35:44 -07:00
Kim Santiago ab44d205d0
add telemetry for saving publish profiles (#22933) 2023-05-02 16:09:18 -07:00
Kim Santiago e57fc9f202
shorten 'Save Profile as...' button text to 'Save as...' (#22932)
* shorten 'Save Profile as...' button text to 'Save as...'

* uppercase
2023-05-02 15:37:16 -07:00
Raymond Truong 6de9c5e1ae
[SQL Migration] Add support for assessing XEvent session files (#22210)
* Template

* Refactor

* Update strings

* Clean up

* Add clear button

* Clean up

* Fix typo and use aka.ms link

* Refactor to use GroupContainer

* Remove dialog and clean up common strings

* Fix previous/forward behavior

* Make group container default to collapsed

* Clean up

* Slightly reword string

* Add https to aka.ms link
2023-05-02 10:45:13 -04:00
Alex Ma 7edd48fb11
added new password reset number (#22920) 2023-05-01 18:28:28 -07:00
Kim Santiago a56109dad7
vbump data workspace (#22914) 2023-05-01 15:50:31 -07:00
Charles Gagnon 457365537c
Add License section to extension READMEs (#22912)
* Add License section to extension READMEs

* vbump
2023-05-01 13:51:51 -07:00
Alan Ren 6a7899281a
remove auth type from user (#22905)
* remove auth type from user

* vbump sts
2023-05-01 13:29:55 -07:00
AkshayMata af6f9089f7
[SQL-Migration] Improve error message for failed migration service download (#22846)
Add troubleshooting links to error message when SQL-Migration fails to download the MigrationService as seen in this issue: #22558

---------

Co-authored-by: Akshay Mata <akma@microsoft.com>
2023-05-01 13:24:35 -07:00
Cheena Malhotra ea6bb41f45
Allow 'ApplicationName' to be specified for MSSQL connections (#22890) 2023-05-01 10:55:05 -07:00
Benjin Dubishar 6b1dd0e468
Changing "files" to "sqlObjectScripts" to be more accurate (#22899)
* Changing "files" to "sqlObjectScripts" to be more accurate

* fixing func call
2023-05-01 08:31:13 -07:00
Cheena Malhotra e26937b101
Touch up MSAL errors (#22906) 2023-04-28 21:22:26 -07:00
Cheena Malhotra ed8149599c
Update error for ignored tenants (#22881) 2023-04-28 16:19:29 -07:00
Benjin Dubishar 29ff6ca16c
Adding Move, Exclude, and Rename support for folders (#22867)
* Adding exclude folder and base for move folder

* checkpoint

* rename

* Fixing up tests

* Adding exclude test to projController

* Adding tests

* fixing order of service.moveX() calls

* Updating move() order in sqlproj service

* PR feedback

* unskipping

* reskipping test

* Fixing folder move conditional

* updating comments
2023-04-28 16:05:38 -07:00
Kim Santiago 934d8ff8fa
Add nupkg database reference option for sql projects in vscode (#22882)
* add nupkg db ref option in vscode

* add telemetry for nupkg db ref

* update comment
2023-04-28 14:57:22 -07:00
Alan Ren 4f53d76eb5
User Management - Support new object types: Server Role, Application Role and Database Role (#22889)
* server role dialogs

* dialogs for other types

* refactor

* find object dialog

* script button

* refactoring

* fix issues

* fix title

* vbump sts

* remove language from links
2023-04-28 12:05:20 -07:00
Kim Santiago ba09248483
fix build errors from sql projects test file (#22894) 2023-04-28 11:57:54 -07:00
Sakshi Sharma 757067b132
Required changes to make sql projects extension work with vscode (#22847)
* Update CreateProject api

* More updates

* Fix a few comments

* Address comments

* Remove package.json changes

* Fix error

* Fix testUtil
2023-04-28 10:27:59 -07:00
Cheena Malhotra c04b8af1d2
Prompt user to refresh account credentials for AADSTS70043 and AADSTS50173 error codes (#22853) 2023-04-27 20:44:22 -07:00
brian-harris fe32180c71
SQL-Migration: enable cross subscription service migration (#22876)
* x subscription migration support

* refresh after cutover

* fix service irregular status load behavior

* queue service status requests, fix typo

* add migationTargetServerName helper method

* save context before api call
2023-04-27 16:28:32 -07:00
Charles Gagnon 65f8915b7e
Remove azurehybridtoolkit extension (#22879) 2023-04-27 13:56:14 -07:00
Karl Burtram 109d428d8c
Bump STS to pickup latest User management updates (#22880) 2023-04-27 11:32:22 -07:00
Benjin Dubishar 62255fe4dd
no longer filtering to well-known database sources (#22864) 2023-04-26 13:31:15 -07:00
Charles Gagnon 5ba8369cb0
Fix Azure rest calls not working (#22854) 2023-04-25 19:29:32 -07:00
Kim Santiago d551f5170d
add telemetry for add database reference quickpick (#22848) 2023-04-25 13:52:48 -07:00