Commit Graph

4361 Commits

Author SHA1 Message Date
Kim Santiago
55b6f4d16b update sql projects azdata dependency to 1.46.0 (#24248) 2023-08-30 06:08:50 -10:00
Barbara Valdez
362290f8ec Add security tab for server properties (#24209)
Co-authored-by: Cory Rivera <corivera@microsoft.com>
2023-08-29 13:28:17 -07:00
Sakshi Sharma
a21aa840c9 Add reusable settings dialog to QDS Reports (#24181)
* Initial changes

* Add time, resource and chart component to config dialog

* Add appropriate components of Configuration to Overall Resource Consumption Report and Top Resource Consuming Queries

* Fix alignment and sizes of components

* Address comments. Add group containers for individual components

* Fix alignment

* Add extra label and address comments

* Address comments. Fix sequence of component addition

* Update function definition to take in config information, instead of boolean to accomodate all future reports. And update doc comment
2023-08-29 13:04:29 -07:00
Sai Avishkar Sreerama
c4b1765745 Enabling Files tab to the database properties (#24138)
* initial changes for loadin dsc table with real values from smo

* Displaying diff columns for DSC for diff sql server

* checkbox maiants the selection

* elevate option fails to load correct value when set to when_supported option

* all working till maxdop, todo pause option, save

* commented MAXDOP changes, as it is causing issues

* primary,sec,checkbox working as expected, TODO:MaxDop etc options,saving,tests

* Undo MAXDOP commented code

* refactored with service data

* column header width adjustments

* Maxdop and pause resume options completed, apply button is failing now

* Removed option names from loc  and using Id instead as names may change in future like in doc

* Apply button fixed

* refactored to reduce table reload

* Ledger digest completed

* refactor done: maxdop secondary shows wrong data from pause_resume

* refactor more: all working but table focus disturbs on update table

* adds conditions for unsupported dsc to <2016 server

* maxdop secondary checkbox fix

* rows still loses focus after value change due to update table row data

* Fixed updating secondary dropdown value

* reusing the private method and removed the duplicated codes

* initial commit - fullText and owner need revision

* Enter key in input type allows the change to update the table data, reduces the live update issues

* Setting focus to the current row

* loading data, need stylings-increase col length, etc

* using the existed setTableData method

* Adding new file dialog

* creating addFile, but not displaying in table, issue with appendData

* Adding row to the table, options are getting from STS

* all working except InPercent value

* code review comment updates

* Input type checkbox update table additional validation

* all except path

* fixing the input type focus and reverting the enterKeyPress logic

* browse path is created, need stylings,refactor,filestream selection and add

* fixing the flickering issue with data refresh

* new file options toggle and grid display string updates

* moving code inline and using actual component

* cleanup

* Add file saving is done, except one styling issue with autogrowth section

* add,remove working, need to edit file

* add, edit, remove - all working, need css fixes and -1 fix

* addressing code review comments

* adding local changes adn fixing for edit file

* adjusting css

* addressing code review comment for using loc var instead of duplicated line of code to get the rowinfo

* all fixed, need testing and refactor

* vBump STS  and fixing required field causing the apply button not enable for other options on main branch

* fixing autogrowth radio buttons change updates

* all working except some css

* disabled size for filestream

* fixing filegroups and filetypes scnearios, added filename validation for newfile, todo:editingNew file

* added max and min values to the inputs

* editing filename validation completed, all done exccept CSS

* all fixed except scroll bar

* edit db file header, filename enable issue fix

* PR comment supporting updates for STS

* min updates

* modfying addButtonsForTable method and reusing it for edit button

* code review comment updates

* Dialogbase addbuttons to table refactored

* more typo fixes

* removing fulltext index prop

* service fix

* using path.join instead of hardcoded separators

* final commit changes
2023-08-29 14:42:09 -05:00
Sai Avishkar Sreerama
9557e77982 STS version bump to 4.9.0.25 (#24245) 2023-08-29 14:15:42 -05:00
Kim Santiago
40e501fe32 update Microsoft.Build.Sql SDK version used to build legacy sql projects to 0.1.12-preview (#24236) 2023-08-28 15:44:15 -10:00
Z Chen
98c17b85e7 Add projects support for Fabric DW (#24014)
* Update STS and add new platform

* Update vsix version

* Create Fabric DW project from database

* Fix target platform name

* Address comments

* Revert projects version to 1.3.0

* Update STS to 4.9.0.22

* PR comment
2023-08-28 11:16:38 -07:00
Cheena Malhotra
8c98862343 Bump STS to v4.9.0.22 (#24212) 2023-08-24 09:47:07 -07:00
Cheena Malhotra
6c6464e772 Part 2 - Make Model view components disposable + dispose all emitters (#24097) 2023-08-23 12:46:09 -07:00
Chris LaFreniere
25a658775c Ensure Notebook v6 Pip Package Installed (#24180)
* Force notebook v6

* Ensure installExactVersion

* Fix jupyter installation tests
2023-08-22 16:04:34 -07:00
Barbara Valdez
41ad39f665 Enable script button for Server properties (#24201)
* enable script button

* remove override method
2023-08-22 15:42:11 -07:00
Lewis Sanchez
d5a9c172d1 Integrate Contextualization API into Azure Data Studio to get better query recommendations from Copilot (#24044)
* Boilerplate for new metadata API endpoint

* Register all server metadata provider

* Fully registers data provider

* Registers metadata provider

* Instantiate metadata service

* Generates server metadata when connection is established

* Allow queryEditorInput to get server metadata

* Minor clean up

* Renames metadata provider and request endpoint

* Corrects documentation block

* Integrates get server metadata request endpoint

* Adjusts GetServerMetadataResult scripts type

* Add back Cargo.toml file

* Fix SQL hygiene error

* reflect changes made in in STS for table metadata

* Adds feature toggle to serverMetadataService

* Places toggle before request to get create scripts

* Fix build check issues

* Minor review changes

* Improves contextualization setting label

* Generalize contextualization service names

* Additional code review changes

* Update extensions/mssql/src/contracts.ts

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

* Update src/sql/azdata.proposed.d.ts

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

* Code reivew changes

* Capitalize c in contextualization

* Additional review changes

* Update provider type

* Simplify type and method names

* Unregister MSSQL ServerContextualization provider

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-08-21 19:54:44 -07:00
Barbara Valdez
df5693ffd3 update sts (#24178) 2023-08-21 16:26:45 -07:00
Barbara Valdez
60bff01240 Add processors tab (#23634)
Co-authored-by: Cory Rivera <corivera@microsoft.com>
2023-08-21 10:52:55 -07:00
Cory Rivera
0e7942913b Replace usage of Delete with Drop in object management code (#24159)
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-08-17 14:26:03 -07:00
Aasim Khan
2fce9c5b38 Adding sql core dll to esrp code signing and updating sts (#24157) 2023-08-17 21:25:22 +00:00
Lewis Sanchez
1a6bc13885 Remove context builder Extension (#24156)
* Remove context builder ext

* Compiled build dir output
2023-08-17 09:58:48 -07:00
Christopher Suh
f7c71a1fb3 Change proxy to Axios (#24118) 2023-08-16 21:23:50 -07:00
Sai Avishkar Sreerama
e5b7bff7b4 Enabling Database scoped configurations tab to DB Properties (#23890)
* initial changes for loadin dsc table with real values from smo

* Displaying diff columns for DSC for diff sql server

* checkbox maiants the selection

* elevate option fails to load correct value when set to when_supported option

* all working till maxdop, todo pause option, save

* commented MAXDOP changes, as it is causing issues

* primary,sec,checkbox working as expected, TODO:MaxDop etc options,saving,tests

* Undo MAXDOP commented code

* refactored with service data

* column header width adjustments

* Maxdop and pause resume options completed, apply button is failing now

* Removed option names from loc  and using Id instead as names may change in future like in doc

* Apply button fixed

* refactored to reduce table reload

* Ledger digest completed

* refactor done: maxdop secondary shows wrong data from pause_resume

* refactor more: all working but table focus disturbs on update table

* adds conditions for unsupported dsc to <2016 server

* maxdop secondary checkbox fix

* rows still loses focus after value change due to update table row data

* Fixed updating secondary dropdown value

* reusing the private method and removed the duplicated codes

* Enter key in input type allows the change to update the table data, reduces the live update issues

* Setting focus to the current row

* using the existed setTableData method

* code review comment updates

* Input type checkbox update table additional validation

* fixing the input type focus and reverting the enterKeyPress logic

* fixing the flickering issue with data refresh

* moving code inline and using actual component

* cleanup

* addressing code review comments

* addressing code review comment for using loc var instead of duplicated line of code to get the rowinfo

* vBump STS  and fixing required field causing the apply button not enable for other options on main branch
2023-08-16 12:00:18 -05:00
Alex Ma
b150461b27 Added required devDependencies to address the ComponentGovernance alerts (#24139)
* Added required devDependencies to address the ComponentGovernance alerts

* removed unnecessary dependencies
2023-08-15 13:59:52 -07:00
Barbara Valdez
3fbca593be Refactor create inputbox method (#24113)
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-08-15 13:36:02 -07:00
Aasim Khan
752c33c960 Vbumping vscodetestcover (#24133) 2023-08-15 17:22:30 +00:00
Kim Santiago
988b3ccd3c fix schema compare 'Yes' button not showing for recomparing after changing options (#24134) 2023-08-15 07:09:30 -10:00
Cory Rivera
04301629c1 Rename internal references to Delete Database to Drop Database (#24132) 2023-08-14 14:23:53 -07:00
Cory Rivera
22e2b0df9f Add Delete Database dialog to enable additional deletion options (#24109) 2023-08-14 11:20:08 -07:00
Lewis Sanchez
606d808641 Initial commit for Context Builder extension (#24094)
* Initial commit for context-builder extension

* Fix eslint unused param error
2023-08-08 17:05:01 -07:00
Cheena Malhotra
0328450f6a Bump STS to v4.9.0.10 (#24064) 2023-08-02 17:07:26 -07:00
Charles Gagnon
ae05fdc332 Add JS language support (#24035)
* Add JS language support

* fixes
2023-07-31 14:59:15 -07:00
Cheena Malhotra
77ac63741f Use connection Id from result for fetching database list (#24017) 2023-07-31 10:23:22 -07:00
Cory Rivera
9727a761c9 Select default database dropdown values based on a default index value (#24013) 2023-07-28 14:37:37 -07:00
Cory Rivera
5c5b73525d Connect query editor when producing script from object management dialogs. (#24015) 2023-07-28 14:26:33 -07:00
Christopher Suh
7e16d9660f initial commit, added more relevant error codes (#24005) 2023-07-28 09:43:52 -07:00
Christopher Suh
08909dfb27 Add no clouds selected warning popup (#24004)
* initial commit, add no clouds selected warning popup

* move to constants file
2023-07-27 17:42:47 -07:00
Sakshi Sharma
eef6ddd7e7 Vbump extensions for Sept release (#23984) 2023-07-26 10:48:27 -07:00
Cory Rivera
cc778ad69f Use faster, editable dropdown for Collations in database dialogs (#23974)
* Also fixed an issue where a manually edited text field doesn't get updated when selecting the same dropdown value from before the manual edit.
---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-07-26 10:04:29 -07:00
Ali
321117014d Fix broken link in notebook README.md (#23980)
replace the old jupyter notebook link with a new working link
2023-07-25 09:51:15 -07:00
Drew Skwiers-Koballa
9a891605c8 updating eula for import to non-preview (#23951) 2023-07-20 15:40:58 -07:00
Christopher Suh
91359a32c9 Remove ADAL Code (#23360)
* initial commit, removed all adal code

* remove all authLibrary references in extension/azurecore

* removed authLibrary references from src/sql

* remove MSAL/ADAL setting option

* wip fixing tests and removing Msal from method names

* fixed tests

* create accountInfo mock

* fix tests

* fix clientApplication mock

* remove clientapplication

* fix compile

* add typing

* wip

* wip

* wip

* fix tree provider

* remove SimpleTokenCache, FileDatabase & tests

* remove remaining adal / authentication library references:

* remove comma from package.nls.json

* fix error fetching subscriptions

* fix tests

* remove getAzureAuthenticationLibraryConfig

* remove adal check

* fix build

* remove test

* undo remove customProviderSettings

* fix bracket
2023-07-20 10:37:38 -07:00
dependabot[bot]
e85c9a8644 Bump word-wrap from 1.2.3 to 1.2.4 in /extensions/notebook-renderers (#23926)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 16:07:54 -07:00
Cheena Malhotra
a833ae7b79 Allow empty username + fix profiles on read (#23924) 2023-07-18 16:03:10 -07:00
Kim Santiago
ad61bf9870 remove fixed size of schema compare split view (#23910) 2023-07-18 12:42:48 -10:00
Christopher Suh
a752c84216 Add support for custom endpoints (#23390)
* initial commit, add support for custom endpoints

* add template file with public azure endpoints

* add throw error, fix compile

* update description

* move custom provider to settings.json

* cleanup

* test

* wip

* try fix build error

* wip fix build issue

* add typings for package.json

* test remove default

* fix typings

* fix typing

* add object definitions

* add additional checks

* test define object

* add default

* remove default and extra checks

* Organize code well to fix integration tests (#23697)

* pr review updates

* fix custom setting checker

* fix default behavior

* add more required, change name for default cloud

* add one more required

* modify required properties to match with api

* Update extensions/azurecore/package.json

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

* Update extensions/azurecore/package.json

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

* pr review changes

* remove default value from display name

* make akv optional

* remove default name

* remove default

* update descriptions, function names

* add client ID

* small fix

* Update extensions/azurecore/package.nls.json

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

* Update extensions/azurecore/package.json

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

* updated names

* add custom for configkey

* providerSettingsJson -> customProviderSettings

---------

Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-07-18 14:16:53 -07:00
Alex Ma
a0a685bbcf Remove/comment out connection title generation from all areas. (#23873) 2023-07-18 10:47:50 -07:00
Cory Rivera
fed4f2a18e Change OK button label based on whether the dialog is creating a new object or updating an existing one. (#23908) 2023-07-17 15:54:30 -07:00
Kim Santiago
eeab2b4abe Fix horizontal split view not working (#23889)
* Horizontal splitview sorta working

* remove the old element

* support getting size from model view container

* cleanup

* make splitViewHeight optional

* Update src/sql/azdata.proposed.d.ts

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

* fix test

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
2023-07-17 12:31:04 -10:00
Steven Marturano
8161ad9c2f Added info box to help user navigate the wizard (#23868)
* Added info box to help user navigate the wizard

* Addressed PR feedback
2023-07-17 15:38:02 -04:00
Sakshi Sharma
a9a9abd5c1 Add unit test framework for QDS Extension (#23776)
* Query store unit test infra setup

* Update yarn.lock file

* Update tests for utils.ts

* Move test utilities interfaces and functions to its own file
2023-07-17 11:33:05 -07:00
brian-harris
3050c57df3 fix migration summary details page for sqldb (#23858) 2023-07-14 10:16:39 -07:00
Barbara Valdez
6e84766cec Add basic validation to database names (#23842)
Co-authored-by: Cory Rivera <corivera@microsoft.com>
Co-authored-by: Cory Rivera <corivera@microsoft.com>
2023-07-14 10:11:52 -07:00
Cheena Malhotra
6e29e50001 Clean encryption keys with cache clear command (#23875) 2023-07-14 09:29:11 -07:00