* added on end function to end of pipe
* Update for existing localized XLFs. (#16107)
* update to existing german extensions
* Update for existing Spanish Resources
* Added updates to existing French Resources
* update for Italian Resources
* Update for existing Japanese resources
* update for Korean resources
* update for Portuguese resources
* russian resources updated
* update for chinese resources
* Removed async copy in rename function
* added comments and removed async
* added changes to langpacks
* data menu shows up
* clean up code
* remove dead code
* string literal
* add menu item instead
* remove unused code
(cherry picked from commit 5524a3659c)
* Added Azure Log Analytics resource for generating AAD Token.
* Fixed AzureResource
* Removed debug code from connectionManagementService
* Moved AzureLogAnalytics from AzureResource enum in azdata.d.ts to azdata.proposed.d.ts. Added azureLogAnalyticsResource to all azureSettings in providerSettings.ts
* Updated endpoint for generating AAD Token for LogAnalytics for UsGov, UsNat, and China
* Initial Commit of Azure Monitor Extension
* Added extension name to azuremonitor package strings
* Removed azureMonitor resource from germanyCloud in providerSettings
* Added logic to exclude menuItems in object explorer for LogAnalytics
* Changed exe from AzureMonitor to Kusto
* Added if clause for queryName for new queries
* Changed queryWindow name from KustoQuery to KQLQuery for Kusto and LogAnalytics.
* Added LogAnalytics for setTaskBarContent
* Added serialization and telemetry feature classes to AzureMonitor. Added references for azdata and vscode.
* Added azure monitor light and dark icons
* Added config for Dashboard in package.json
* Added workspace information to dashboard
* Added language support for LogAnalytics
* Added Notebook support
* Added Hide flag to package.json for databaseName
* Changed providerId from LogAnalytics to LOGANALYTICS
* Changed Workspace to Workspace ID in package.nls.json
* Added support for Azure Widget browser
* Changed fullName to use workspaceId when connecting
* Changed providerId from alertsManagement to azureMonitor
* Added .gitignore and *.vsix to vscodeignore.
* Removed unused devDependencies
* Code Review Feedback
* Changed tsconfig.json to match Kusto and Sql
* Changed package.json to match kusto package.
* Changed tsconfig to validate unused params and implictAny. Changed existing code to satisfy build.
* Fixed tsconfig to use the correct base class.
* Added objectExplorerNodeProvider and all related classes.
* Removed unused tmLanguage file
* Added logic to to download extension from toolservice
* Fixed launchArgs. Removed commented code from extension.ts. Changed config.json to use net5.0
* Added displayName to package.nls.json. Removed hide flag from databaseName. Other code review feedback.
* Added readme info to AzureMonitor
* Removed unused client-error-handler and ui-references files. Combined outputChannel in azuremonitorServer. Removed TODO from contextProvider. Renamed function in extension.ts. Removed unneeded 'use strict' from cancelableStream.ts. Removed second outputChannel from objectExplorerNodeProvider.
* Removed unused files
* fix filter enter and focus
* debounce and fix search
* refactor null check and undo change/remove await
* using control types to improve and remove 'any'
* Pushing all changes
* Fixing more stuff
* Added new to the newly created resource group
* removing error message when user starts typing
* removing unused import
* Localizing some string
adding aria lables and loading text
* Adding focus to resource group input box
* switching to name instead of display name as it contains (new) param
* changing focus to resource group dropdown after creation of a new resource group
* fixing typo
* - Adding mouse in and out styling to clickbale divs
-Moving dashboard card styling to outer div container from inner form container
* removing detect changes
* Localizing aria label
* moving css from template to styles
* adding themeing participant to change hover styling
* removing unused event handlers
* separating styling
* Bump Sql Db Projects extension
* Bump azdata version for Sql Db projects
* Update package.json
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* Works
* Clean up
* Aria labels added
* Pr fixes, only allow one drop at a time, check for citus
* Cleaning up refresh
* Created separate function for creating drop button
* Added with props, add comment about not able to drop citus extension
* Update url link of postgres extensions to match engine version after config is availible
* fix#123040
* Switch priority of shell/shellArgs and defaultProfile setting
Fixes#123159
We were too aggressive introducing the new default profile system as many
users (as well as dev containers, microsoft/vscode-dev-containers#838) depend
on these settings for their workflow. This also includes a change in behavior
where if shellArgs are specified, they are applied to the fallback shell
(even when shell.platform isn't specified), which aligns with past behavior.
* fixes#123036 (#123263)
* fixes#123041 (#123287)
* 1.56 fix for #123044
* Do not invoke `resolveWithInteraction` over terminal settings (#123590)
* Change grunt, gulp and jake task auto detection to be off by default (#123588)
Co-authored-by: meganrogge <megrogge@gmail.com>
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com>
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
Co-authored-by: Alex Dima <alexdima@microsoft.com>
* remove awaits that were blocking data workspace extension from loading
* add comment
* remove await and use then
* use return instead of await
* add notification when there's an error
* added first strings
* added more localized files
* translated all strings in vscode
* added exported strings to editStrings
* updated files
* more changes
* moved to base
* wip commit
* added function to generate XLFs for ADS
* code cleanup
* removed unnecessary locfunc
* updated extensions and locfunc
* changed wording to be more clear
* added working single extension compile
* added export all extensions
* added more comments and closing sql carbon edit braces.
* consolidated gulpfile.extensions changes
* changed name to remove ADS part.
* changed gulpfile name use
* remove images from metadata on update
* update comment
* reset only on html update
* add comment
* fixes
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* changing the cutover icon on migration cutover page.
* Fixing monitoring table and pending log backups
* converting file upload times in utc to local time zones
* adding autorefresh to dashboard, migration status and cutover dialogs.
* Supporting blob container e2e
* vbump extension
* Fixing some PR comments
* Fixed broken blob container dropdown onChange event
* Localizing display string in refresh dialog
Fixing some localized strings
* Fixing var declaration
* making a class readonly for 250px width
* removing refresh interval dialog and replacing it with hardcoded values.
* Fixing summary page IR information.
* surfacing test connection error
* Clearing intervals on view closed to remove auto refresh.
* added environment language need to test
* added environment language, need to test if it works
* added locale change to code
* added Kusto localization for its ServiceLayer
* removed extra space
* removed console log and moved onto one line
* removed quotes
* make dropdown controls editable, searchable
* updte method name and return type
* update error message, and dropdown index selection logic
* address review feedback
* iterate over every cell and highlight ranges.
* fix yellow for all matches and orange for current
* fix
* avoid duplicate deltaDecorations call
* initialize on declare
* Postgres reduce worker node count (#15534)
* Allow scale in
* Fix word
* Removed changing of min
* Set min for worker count box
* Update server tree action contributions (#15525)
* Update server tree action contributions
* Fix test
* Updated langpacks to be pushed in (#15519)
* updated langpacks to be pushed in
* bumped version number to 1.29.0
* patched german lang pack
* patched spanish langpack
* patched french langpack
* italian langpack patched
* Japanese langpack patched
* Korean langpack patched
* portuguese langpack patched
* russian langpack patched
* patched chinese simplified langpack and fixed changelog for ru and pt
* patched chinese traditional langpack
* Init assets in dialog model (#15533)
* check that there are assets before filtering
* init assets as empty array
* change book icon (#15539)
* add sorting indicator (#15542)
* Vsix build task for langpacks (#15489)
* added refreshlangpack command
* added beginning update-localization yml file, also changed langpack location in RLE
* added regex tester
* moved xlf files into new folder structure
* small change to update-localization
* added yaml script for gulp refresh
* added missing dash.
* added better update-localization yml file
* remove update-localization as its not necessary
* added small changes to langpack-compile
* remove upload sourcemaps and write version information
* added more languages
* added vsce packaging
* added automatic langpack handling
* added built locFunc
* fixed refresh-langpack-extension
* working langpack vsix generator made
* added langpacks to files in copyArtifacts and product-build-linux
* changed command to package-langpacks
* removed unnecessary language flags.
* invalid ADS extensions filter explained
* Fix for regex
* removed unnecessary fields to change, and removed langpack-compile
* added doc comments.
* moved xlf files back to old place.
* WIP translation redirect
* isolated vsix build task
* fixed spaces in locFunc.ts
* use svg for sorting state icons (#15546)
* Add Markdown as a default editing option for text cells (#15540)
* Disable npm recompile step (#15548)
* Revert "Disable npm recompile step (#15548)" (#15554)
This reverts commit db5b68e04a.
* fix file compare issue (#15551)
* Fix notebook file URI test by adding a required forward slash to Windows file paths. (#15550)
* SqlToolService release version updated to 105 from 104 (#15558)
* Schema Compare failing test condition set to uncomment state. (#15512)
* fix changing kernels from kusto to other kernels (#15545)
* adding feedback dialog and support request buttons
* hide support request, widen feedback dialog
* Fix extension publishing during CI build (#15561)
* Disable native module recompile
* Bump distro
* Move web build step earlier
* Dev/brih/revert feedbackdialog commits (#15567)
* Revert "hide support request, widen feedback dialog"
This reverts commit 1d75fcfed5.
* Revert "adding feedback dialog and support request buttons"
This reverts commit 866ced5c08.
* Fixing a couple database reference dialog bugs (#15523)
* fixing a couple database reference dialog bugs
* update comment
* Update action run return type (#15568)
* Update action run return type
* fix tests
* Update rest
* Add back null checks
* Run with Parameters learn more link to use correct format and kernels (#15547)
* indicate to users correct format and kernels
* add test for unsupported kernel
* replace with enum
* Migraiton enhancements v: 0.1.1 (#15570)
* adding filters and cards for failed migrations
* Added card and filter for completing cutover
* Fixing blob container support and some ux enhancements
* Enabling eastus2 and canada central regions
* Increasing height of container to accomodate newer cards and cleaning up database backup page
* vbump migration
* Removing unused code
* fix css to contain image (#15574)
* Bump browserslist from 4.16.3 to 4.16.6 (#15565)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.16.6)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Added build changes to add TSGOps extensions into the build (#15584)
* Add TSGOps specific extensions to SAW build
* Added the KeyVault uri
* Fix edit command to take in worker count of 0 (#15603)
* Allow for worker count to be 0
* Clean up
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
Co-authored-by: Alex Ma <alma1@microsoft.com>
Co-authored-by: Barbara Valdez <34872381+barbaravaldez@users.noreply.github.com>
Co-authored-by: Alan Ren <alanren@microsoft.com>
Co-authored-by: Cory Rivera <corivera@microsoft.com>
Co-authored-by: Karl Burtram <karlb@microsoft.com>
Co-authored-by: Sai Avishkar Sreerama <74571829+ssreerama@users.noreply.github.com>
Co-authored-by: Vasu Bhog <vabhog@microsoft.com>
Co-authored-by: Brian Harris <brih@microsoft.com>
Co-authored-by: brian-harris <61598682+brian-harris@users.noreply.github.com>
Co-authored-by: Kim Santiago <31145923+kisantia@users.noreply.github.com>
Co-authored-by: Aasim Khan <aasimkhan30@gmail.com>
Co-authored-by: Maddy <12754347+MaddyDev@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: rajeshka <rkselfhost@outlook.com>
* Expose default database collation through 'sql-database-projects' extension API.
For the purpose of schema conversion we would need to know whether target database is configured as CI or CS. This will be used to produce a warning, if we detect a case-sensitive identifier, but database is configured as CI. In order to support this scenario we need to access `<DefaultCollation/>` property of the project.
This change adds new method to the `ISqlProject` interface that allows to read the value of the project property. There already was similar method for the SQL version/platform (`<DSP/>` property) and while working on the change, I took an opportunity to refactor the way project properties are extracted from the XML. Original code was hardcoded in the `getProjectTargetVersion` and I extracted it into separate `evaluateProjectPropertyValue` helper, that can be used in the future by any getter or access method that is supposed to return a value of the single property. This also allows us to improve the way properties are retrieved from the XML. Today the logic is very rudimentary - we read the first matching XML element with the required name. This is not correct as it does not verify the parent to be `<PropertyGroup/>`, neither it evaluates the `Condition` attributes nor property value itself. I did not invest in this, but added a TODO there explaining that the method may not perform as expected.
After the helper method was added, I updated the existing `getProjectTargetVersion` method to leverage it. The only complication here was the error throwing logic, as it was using custom error message. I preserved that, as there were tests verifying it already. For the new accessor method I did not introduce a special error message and rely on generic one I defined for use within the helper method. Additionally, for the collation we return default value of `SQL_Latin1_General_CP1_CI_AS`, if project does not have the property defined. This is what SSDT for Visual Studio shows in the UI when property is missing and I decided to align with that.
Finally, I added tests for both - original `getProjectTargetVersion` and new collation extraction method to make sure they work as expected. While working on the tests, I've noticed complaints that some rejected promises were not awaited. I added missing `await`s.
* adding filters and cards for failed migrations
* Added card and filter for completing cutover
* Fixing blob container support and some ux enhancements
* Enabling eastus2 and canada central regions
* Increasing height of container to accomodate newer cards and cleaning up database backup page
* vbump migration
* Removing unused code
* Revert "hide support request, widen feedback dialog"
This reverts commit 1d75fcfed5.
* Revert "adding feedback dialog and support request buttons"
This reverts commit 866ced5c08.
* added refreshlangpack command
* added beginning update-localization yml file, also changed langpack location in RLE
* added regex tester
* moved xlf files into new folder structure
* small change to update-localization
* added yaml script for gulp refresh
* added missing dash.
* added better update-localization yml file
* remove update-localization as its not necessary
* added small changes to langpack-compile
* remove upload sourcemaps and write version information
* added more languages
* added vsce packaging
* added automatic langpack handling
* added built locFunc
* fixed refresh-langpack-extension
* working langpack vsix generator made
* added langpacks to files in copyArtifacts and product-build-linux
* changed command to package-langpacks
* removed unnecessary language flags.
* invalid ADS extensions filter explained
* Fix for regex
* removed unnecessary fields to change, and removed langpack-compile
* added doc comments.
* moved xlf files back to old place.
* WIP translation redirect
* isolated vsix build task
* fixed spaces in locFunc.ts
* updated langpacks to be pushed in
* bumped version number to 1.29.0
* patched german lang pack
* patched spanish langpack
* patched french langpack
* italian langpack patched
* Japanese langpack patched
* Korean langpack patched
* portuguese langpack patched
* russian langpack patched
* patched chinese simplified langpack and fixed changelog for ru and pt
* patched chinese traditional langpack
* Adding support for blob containers and infoboxes
* vbumping migration for May month release.
* setting resotered count to 0 when the active backupsets is empty.
* Removing unnecessary !
* Excluding readme gif from the vsix package
* Removing info box as it not needed now.
* Removing all the changes to migration mode page for the infobox
* update python fwlinks and remove bundle ver
* start fixing path for users with python 36
* prompt user for python version upgrade
* update python path after removing 3.6
* prompt users to upgrade and show pkg warning
* make prompt async
* remove python bundle ver from ML extension
* shutdown python 3.6 before deleting
* check useExistingPython before update prompt
* add dont ask again option
* remove 3.6 after installing 3.8
fix merge conflict
* give option to remove python36
* list user installed pip packages in warning
* create notebook to install pip packages
* update getPythonExePath method and add comments
* clean up code
* add comments
* pr comments
* add comment
* remove option to keep python36
* shutdown active servers before removing python36
* fix error removing old python w/ path change
* update to 3.8.10
* restart sessions for mac/linux
* Enables being able to view and edit Coordinator node scheduling params (#15114)
* Trying to save per role settings
* Updated spec
* Cleaning up
* Removed unneccessary code and comments
* Added separate type for { w?: string, c?: string}, PR fixes
* Added methods to refresh mr,ml,cr,cl versus per role
* Fixed spec
* Put back optional properties, removed passing empty string to reset scheduling params
* Spacing
* vBump arc
* Included roles in fake show output for testing (#15196)
* Update arc specs (#15225)
* Update azdata Arc specs to match April azdata
* vcores -> cpu
* fix spacing
* Consolidate types and update storage volumes
* Fix compile
* Fix spec
* include coordinator
* Adding args
* Query call success
* Check for success in query
* List full coordinator params
* Change name
* Update unit test for engine settings
* Pr changes
* Fix query
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* additions to sqlLocalizedExtensions
* remove azdata from sqlLocalizedExtensions
* fix extension files to work with nls.metadata.json function (required)
* Add notebook editor
Introduce notebook editor component to allow for separate notebook displays in order to accomodate notebook views
* Localize notebook views configuration title
* Refactor view mode and remove the views configuration while it is unused
* Only fire view mode changed event when the value has been changed
* Remove notebook views contribution
* Add metadata capabilities
* Notebook views definitions
* Add notebook views models
* Views test
* Rename type arguments
* Additional tests
* Fix unused import
* Notebook views changes
* Add notebookviews.css
* Update notebookViewModel.ts
* Add cell toolbar styles
* Upgrade gridstack
* Add gridstack styles
* Remove ununsed references
These are part of the next PR and not available yet
* Remove gridstack static file
* Add gridstack as a module in the electron unit tests
* Spacing fixes
* Add copyright notice
* Remove commented code
* Spacing fixes in notebook styles
* Move handle svg to image
* Add typing for gridstack
* Move notebook styles to file
* Rename selector constant
* Rename grid css file
* Add nb-grid-stack class to views grid
* Cell toolbar style adjustments
* Remove unused imports
* Update .eslintrc.json
* Fix outdated instantiation of LabeledMenuItemActionItem
* Address feedback
* Fix from update to main
* Added updated German strings and added hybrid toolkit to locproject.json
* updates to XLF files
* more resources added to locproject
* restored out localizations
* fixes to dacpac and admin-tool
* fixes to dacpac and import
* updates to english XLFs (more up to date)
* Adding a null check to prevent infinite next button loading on account selection page.
* Remove a useless validation in migration cutover page
* Fixed some component formatting in source selection page
* Completely updated target selection page UX according to latest figma mockup
* Adding confirmation for migration cutover and cancel
* migration vbump
* azdata vbump in migration extension
* letting users do a cutover with unrestored files
* Fixing some localized strings
* Adding readme file for migration extension.
* Adding a static link for readme gif
* added sql mi typing, localized strings, some null checks
* casting target instance as sql mi
* Added Azure Log Analytics resource for generating AAD Token.
* Fixed AzureResource
* Removed debug code from connectionManagementService
* Moved AzureLogAnalytics from AzureResource enum in azdata.d.ts to azdata.proposed.d.ts. Added azureLogAnalyticsResource to all azureSettings in providerSettings.ts
* Updated endpoint for generating AAD Token for LogAnalytics for UsGov, UsNat, and China
* Removed azureMonitor resource from germanyCloud in providerSettings
* Added missing resources to AzureResource in account interfaces.
* Added comment linking enums for AzureResource
This change introduces new boolean flag for `addToProject`, `addScriptItem` and `addFolderItem` APIs that allows to skip files/folders if they are already included in the project file. Original behavior was to throw an error if duplicate entry is encountered, so I kept that as a default (new flag is not set).
I started by fixing the original behavior, as it was not always working as expected. In our extension that relies on `addToProject` API we've hit an issue where duplicate items were added and no errors were thrown. There was a test for this scenario, but unfortunately the test had few bugs in it as well, so I addressed that first. First issue with the test code was missing `await` on the `testUtils.shouldThrowSpecificError` calls, so test was not actually testing anything. After adding missing keywords, I hit an issue where exception was not thrown, but this turned out to be different issue, compared to what we were hitting. In the test code, it was using the very first folder from the generate list of test entires. This folder wass actually the root of the project (where sqlproj file is located), and `addToProject` API had a special case to ignore the root. This means neither first call nor second call was actually adding anything to the project and no errors were produced. I fixed this problem by using next available folder in the generated files list.
After addressing the test code I could not reproduce the issue that we were seeing with duplicate entires being added, everything was working as expected and errors were thrown. I started adding more tests that better resemble our production scenario - add files in subfolders, add files to existing project, rather than a new one. Finally I was able to reproduce the problem in tests when adding a file in a subfolder to an existing project. After investigation this turned out to be an issue with mismatch in how `relativePath` is maintained within the `FileProjectEntry`. When loading an existing project, `relativePath` is populated based on the value of the `Include` attribute of the `Build` item. This attribute is normalized to Windows-style path, using `\`, so for nested file you will have `folder\file.sql`. When adding new item to the project, one could pass either Windows or Unix-style path (`folder/file.sql`), so the path comparison between loaded Windows-style path and newly added Unix-style path was failing, resulting in them being treated as different items. In fact, `addToProject` API that we were using was relying on `Uri` helpers to extract relative path, thus the path was forced to be Unix-style and path was never the same as the loaded one. After this discovery I added a dedicated test to validate the round-trip of the `relativePath` for serialized and desirialized project file.
In order to address this problem, I updated the factory method `createFileProjectEntry` to always run `utils.convertSlashesForSqlProj` on the relative path to ensure we have Windows-style path stored in there. I also optimized the helper code slightly to not do split/join, if there are no split points in the input string, which should eliminate unnecessary array instantiation. It is worth mentioning that I had to normalize the input relative paths in the `addScriptItem` and `addFolderItem` APIs, because there is no guarantee that they will be Windows-style when we try to compare them to `relativePath` of the existing project items.
Finally I was able to add a simply flag and update the condition to return existing record, if duplicates were allowed. I also updated typings file for the extension and added tests to cover this scenario.
* Working on table bug
* Removed unit test checking for onEngineSettingsUpdated event to fire since removed from model
* Moved instanceofcheckbox function to utils, pr fixes
* Fix comment
* changes from Chris's branch and cell model updates
* get base64 value
* handle spaces in image names
* add comments
* add tests for imageCallOut dialog
* format document for hygiene errors
* address comments
* check base64 validity using regex
* replace space with regex
* add parameter and return type
* split into two functions
* move functions to fileUtilities
* correct import
* fix for layering issue
* revert file function changes
* Update SC dialog to start a new connection
* Functionally complete
* Fix target db to pick correct database
* Address comments
* Added test+fixed one missing scenario
* Address comments + add one more test
* make sure dialog buttons are not disabled
* use 'enter' to close connect dialog
* retry clikcing the Connect button
* wait for dialog gone after reclicking
* pr comments + add logging
* use debug to log
* close toasts before clicking dialog buttons
* await close notification toast call
* click python wizard buttons instead of enter
* Enables being able to view and edit Coordinator node scheduling params (#15114)
* Trying to save per role settings
* Updated spec
* Cleaning up
* Removed unneccessary code and comments
* Added separate type for { w?: string, c?: string}, PR fixes
* Added methods to refresh mr,ml,cr,cl versus per role
* Fixed spec
* Put back optional properties, removed passing empty string to reset scheduling params
* Spacing
* vBump arc
* Included roles in fake show output for testing (#15196)
* Update arc specs (#15225)
* Update azdata Arc specs to match April azdata
* vcores -> cpu
* fix spacing
* Consolidate types and update storage volumes
* Fix compile
* Update min azdata version
Co-authored-by: nasc17 <69922333+nasc17@users.noreply.github.com>
Co-authored-by: nasc17 <nasc@microsoft.com>
* ISSUE10685 - Edits schemaCompareDialog to show connectionName if provided
* ISSUE10685 - Edits to not show user if connectionName
* ISSUE10685 - Shows connection name is schema compare launched from db
* ISSUE10685 - Shows connection name in schema compare window
* ISSUE10685 - Edits utils tests
* ISSUE10685 - Edits schemaCompare test
* ISSUE10685 - Adds/Edits specs
* ISSUE10685 - Changes let to const
* Add smoke test
* Add wait for service
* Also revert liveshare
* fixes
* Use custom extensions dir
* fix
* compile extensions
* Use build extensions dir
* test break
* revert
* revert yarn.lock
* Add comment
* Add comments
* Adding onChange events in editable dropdowns for values changed through code.
* moved event generation from angular wrapper to core component
* Moving event firing to value setter
* converting back updateSelection to private method
* Removing extra check
* Fixing broken tests by mocking used stuff
* Fixing onTextChange event
* Adding some tests
* Adding necessary tests
* small test name edit
* Fix an assert message
* don't allow adding the same file or folder to the sqlproj if it has already been added
* add a couple more checks in test
* toLowerCase when comparing
* switiching product compile node cache task to newer version
* moving new changes from product-compile to sql-product-compile
* changing to yarn.lock as cache key
* Adding compilation cache
* changing keypath to key
* letting find command do the heavy lifting
* removing old save cache task
* reverting compilation cache to old task
* Creating a js to list compiled files
switching to cache 2 for compiled files
Creating a js file to compute yarn cache
* removed unused input targetFolder from pipeline cache task
* removed save cache
* Fixing compute node modules file
* Adding compiled computenodemodules
* Fixing checked variables on product compile
Updating all pipeline jobs to cache 2
Using tar for windows pipeline. Hoping it works
* Fixing indentation in web job
* Fixing different indentation in web job
* Generating sha keys for compilation cache to be cross plat
* trying deterministic key for compilation cache
* Fixing md5 command
* Trying another method of generating compilation cache
* testing with a hardcoded string
* Changing to a better hardcoded string
* Remove redundant make dir
* Fixing mkdir command in windows and trying new string key
* fixing $$ in sql product compile
* Removin redundant mkdir
* Trying source version var
* Fixing compilation key
* chaning script to powershell
* Adding artifacts to store compiled files
switching to 7zip for windows node cache
* Adding missing step key in web build
* Building not found directories
* Making correct directory
* Switching to vscode's computeNodeModuleCache
* Fixing formatting and making it look more like vscode's pipeline
* Adding back compiled comput cache key
* Fixing cache file
* Fixing copyright message
Adding sql header to custom node cache generator
Updating cache salt to force a cache miss
* Using glob instead of custom method to find all yarn.lock files
Fixing some other pipeline errors.
* Removing unnecessary variable checks.
* Added back VSCODE_STEP_ON_IT check
Moving drop artifacts before compiled files to keep it drop folder free from compiled files
* Changing task name from cache flags to cache key
* Removing glob from compute node module cache
Fixing copyright message
* checking in updated js
* Add message when no history exists on projects dashboard
* Bump version for sql db projects
* Update text, add refresh button
* Remove commented code
* Updated Postgres Spec for where to find engine version, removed calling calling -ev in edit commands (#14735)
* Added spec.engine.version, took out calling engine version with edit calls
* Added text wrong place
* missed updates
* PR fix
* Update Arc Postgres troubleshooting notebook
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* Remove AzdataSession from azdata commands (#14856)
* remove session
* Add in controller-context support
* Revert "Add in controller-context support"
This reverts commit 3b39b968efbf6054041cb01cb2d8443532643a82.
* Add azdataContext to login
* Undo book change
* Undo change correctly
* Add controller context support (#14862)
* remove session
* Add in controller-context support
* Add params to fake
* Fix tests
* Add info and placeholder for controller URL/name (#14887)
* Add info and placeholder for controller URL
* add period + update name
* update memento and allow editing of namespace/URL
* vBump
* vBump
* Fix tests
Co-authored-by: nasc17 <69922333+nasc17@users.noreply.github.com>
Co-authored-by: Brian Bergeron <brian.e.bergeron@gmail.com>
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* vbumping migration
* Adding 2 new icons cancel and warning
* Fixed help link display text in assessments
* Adding summary page redesign and resource name validations
* Made headings bold
* Fixed sku recommendation page styling
Added check item for assessment
* Validating account dropdown after token refresh
* Renamed cutover to mode
* cutover to mode renaming changes.
* Converting to details api for more warnings
* Added target database name and fixed cancel icon
* Surfacing warning info in dashboard.
* Consolidated fetch migrations logic
Localilzed some strings
Surface migration errors in dashboard and status page
Table redesign in status dialog
Fixed a major bug that happens when multiple dashboards are opened due to class variable sharing
* removing console count
* Fixing regex for SQL MI database names
* Allowing spaces in regex
* update DE lang pack extension strings from previous refresh
* bump lang pack versions for DE
* update for spanish langpack
* update for french langpack
* update for italian pack
* update for japanese pack
* update for korean pack
* update for Brazilian Portuguese pack
* update for Russian pack
* Update for Simplified Chinese pack
* update for Traditional Chinese pack
* added updated language packs for german and spanish
* changed vscode version
* added french and italian packs
* changes made to main
* japanese language pack added
* added korean pack
* Added Portuguese pack
* added russian pack, also small change to pt pack
* simplified chinese pack
* added traditional chinese pack
* deleted old language packs
* restore sql.i18n.json files
* Main.i18n.json reverted
* Revert sql json files
* main.i18n.json file for German updated
* updates to language packs 1
* main json for italian updated.
* update to japanese main
* finished translations for vs and sql in main.
* added ADS exclusive extensions to package.json
* fixed markdown and seti translation ids
* German language pack fixed
* Removed make from ads-language-pack-de and fixed es language pack
* french language pack fixed
* fixed italian language pack and restored typescript-basics
* removed unnecessary readme strings and nsions.
* fixed japanese pack
* Korean language pack fixed
* Portuguese language pack fixed
* fixed russian language pack
* Simplified Chinese pack fixed
* traditional chinese fixed
* restored sqlservernotebook
* Adding server name to wizard and dialog title
Surfacing async errors
Fixing a bunch of strings to match the mockup
* Adding auto refresh for migration status
* Removing errors for sql vm migration
* using new logic to get sql server username
* Fixing help links
* Removing unncessary await
* Add selection parameter to query shortcuts
* Add description for selected text as parameter
* Modify feature description since it supports proceedures and queries
* Replace every {arg} inside query shortcut
* wip assessment in progress page
* wip
* working assessment loader
* wip, radio cards not showing up
* working assessments in progress page
* cleanup
* bumped sqlmigration extension version
* cleanup
* First set of changes for workspace dashboard implementing the toolbar
* Workspace dashboard container implementation (#14813)
* First set of changes for workspace dashboard implementing the toolbar (#14160)
* First set of changes for workspace dashboard implementing the toolbar
* Addressed comments
* Addressed one remaining comment
* Removed an extra comma in interfaces file
* Addressed comments
* Addressed comments
* Refactored a bit of code
* Remove unnecessary await
* Addressed comments
* First set of changes for workspace dashboard container
* Update targetPlatform icon+add Time column to deploy table
* Addressed comments
* Removed redundant class definition
* Addressed comments
* Addressed comments
* Change enum to union type in dataworkspace typings
* Fix tests
* Addressed comments
* relative paths written to sqlproj, but can't delete yet
* only keep track of relative path
* remove leading slash
* add test
* use path.relative
* Add error message if dacpac reference is located on a different drive
* Removing canary host
* Rebranding extension name to Azure SQL Migration
* stopping instance table overflow in assessment dialog
* Added info message for details copied
* Limiting storage account and DMS to the same subscription as target
* making accounts page look like figma mockups
* converting error messages to warnings in cutover dialog
* making source config page look like figma mockups
* adding more filters for storage account and dms
* Adding validations for target database names.
* Fixing branding in other strings
* Adding types for SQL Managed Instance
* fix maximum call stack size reached issue
* Revert "fix maximum call stack size reached issue"
This reverts commit 178675633032a508ddb5585d1adc4f83bb243f55.
* add a few array operations
* use new push
* Clear updates in discard
* Update discarding values
* Changed where the info bubble is created , added function for collecting all changed components.
* Remove parameters if the same as original value reset individually
* Moved refreshParametersTable to be private function, try catch for postgresmodel.refresh
* Discard enable if fail
* Made changedCompoenentValues a set, removed unnessaery ! throughout file, cleaned up connec and load
* Fixing Database backup page target layout
* Filtering out Azure sql db issues from assessment results
Correcting the database count for issued databases in sku rec page.
* Adding copy migration details button to migration status
* Adding start migration button to toolbar
* Fixing a syntax error in package.json
* Adding rg and location to target selection page
Filtering storage account by target location.
* Fixing dashboard title to azure sql migration
* Not making assessment targets selected by default.
* Adding tooltip for database and instance table items.
* Fixing duplicate task widget
* Some fixes mentioned in the PR
Localizing button text
renaming a var
changing null to undefined.
* Adding enum for Migration target types
* Fixing a critical multi db migration bug because of unhandled race condition
* Adding Azure location api to azure core
* Adding source database info in status
* start new jupyter server
* restart session working (removed extra code)
* only restart server once
* shutdown session first then stop server
* add comments remove extra lines
* add comment
* fix test
* only restart jupyter sessions
* Dispose jupytersessionmanager and create new one
* move restart server logic out of notebookmodel
* move methods to azdata proposed
* pr comment
* - Added coming soon message for learn more.
- Potential fix for learn more message
* Renaming of controller to sqlMigrationService
* Surfacing some errors
-Azure account is stale error
-Migration Service creation error.
* Adding refresh azure token validation.
* Fixing some errors pointed during PR
-Fixing property names
-Fixing count
* Fixing migration status
- Adding special error handling for resource not found error
- Deleting unfound migrations from local cache
- Using prefetched migration status for view all
Misc fixes:
- Using SQL server version name instead of number
- Fixing Icons on sku recommendation page
- Fixing table column width in cutover dialog
- Adding spinner button to refresh.
* Fixing all strings in migration service page and dialog
* fixed a string error in create service dialog
* Adding source config page to migration to support windows auth
Some refactorings for sqlDatabaseTree (still WIP)
* refactoring assessments code 1
introducing new interface for server assessments
* Filtering out non windows sql vms
Retaining selections made by user on assessments dialog
* Fix compile errors on sqlDatabaseTree
* Exposing migration status errors in cutover dialog
* Updating extension verion
* Correcting typos
Fixing compilation erros
Removing en-us from url
Fixing function names
Make UI calls unblocking
* Unblocking dialog in case of failed assessments
Localizing string
removing blocking code from UI
Fixing comments
* Fixed broken assessment page logic
* tests for deleting postgres from overview page
* upgrade to azdata-test 1.5.0
* Fix api stubbing
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* fix project tree tests failing on windows
* add back test
* Addressing comments
* change to doc comment
* remove unnecessary change
* undo other change
* - Added coming soon message for learn more.
- Potential fix for learn more message
* Renaming of controller to sqlMigrationService
* Surfacing some errors
-Azure account is stale error
-Migration Service creation error.
* Adding refresh azure token validation.
* Fixing some errors pointed during PR
-Fixing property names
-Fixing count
* Fixing migration status
- Adding special error handling for resource not found error
- Deleting unfound migrations from local cache
- Using prefetched migration status for view all
Misc fixes:
- Using SQL server version name instead of number
- Fixing Icons on sku recommendation page
- Fixing table column width in cutover dialog
- Adding spinner button to refresh.
* Fixing all strings in migration service page and dialog
* fixed a string error in create service dialog
* Added integration tests for schema compare
* Addressed comments
* Revert beforeEach change
* Addressed comments and reverted table creation change
* Removed cancelCompare test and addressed a comment
* Increase test timeout from 5 to 10mins
* Figure out initial test
* First trys at refresh unit test
* refresh unit test completed
* Connection profile unit test, need to pass in false
* Engine settings start
* All passing
* Clean up
* Removed class, updated showdialog stubs, using sinon spy
* Removed comment
* Resetting subscriptions after AD tenant is changed
* removing migration in progress info message at the end
* printing migration started errors in console.
* Fixing the icon names
* Fixing settings card position
* getting icon selectors from their source
* Changing var name from dataExplorer to dataExplorerId
* Made dashboard dark ui compat
* foundations for sql vm
* WIP
* Added cancel migration
Added refresh migraiton table
Added multi db config
* disabling cancel migration button if the migration is not in progress.
* Addressing some PR based coments
- Removing (s) from loc strings
- Adding return type to cancel migration
- removing _ from public vars
- localizing strings
- Adding name to dialogs for telemetry
* Adding todo comment for offline mode
* Initial work for handling concurrent operations when calling initialized books
* fixes to init contents
* create a queue of deferred promises for initializing books
* resolve active promise and set to undefined
* remove duplicated variable
* address pr comments
* Added CSS to treat manage packages icon position.
* Wired up a rough concept showing how I propose to pass a masked-icon class, along with the icon name - derived from the action icon path - to the injected action prior to rendering. The end result is an injected action with an icon which behaves like the others in the notebook toolbar.
* Revert "Added CSS to treat manage packages icon position."
This reverts commit 215a67244a78224fe8fd2e6480b7e50d37a15dc0.
* Revert "Wired up a rough concept showing how I propose to pass a masked-icon class, along with the icon name - derived from the action icon path - to the injected action prior to rendering. The end result is an injected action with an icon which behaves like the others in the notebook toolbar."
This reverts commit 1e0cf116602192aa554334d564e855167b0e8bb6.
* Modified LabeledMenuItemActionItem to add masked-icon class to injected label element.
* Modified LabeledMenuItemActionItem to add masked-icon class and styles for injected label element.
* To prevent conflict with Dashboard, I duplicated the existing LabelMenuItemActionItem and odified it.
* Added comment to new method. Added non-prefixed mask-image style.
* Renamed method and modified comments.
* Add podstatus to spec
* Added image to table and fixed spacing.
* Added pod status to spec
* PR fixes
* Added resource health page, created overiew box
* Pod condtion table is up
* Tryingt to fix how table refreshes
* Fixed how drop down changes table
* Overview box shows number of running and pending pods
* overview box refresh fix
* Updated summary section
* PR fixes
* Condensed create pod list function
* Added enum
* fixed refresh
* Fixed refresh, fixed if all availble section add
* Modified modal styles, limiting height of basic modal to 480px.
* wip - added new attachCalloutDialogStyler. Moved callout-specific styler code out of modal.ts
* Moved attach styler code to workbench/common. Added custom styles to imageCalloutDialog
* Moved styler code into calloutDialog. Added callout-specific theme colors to colorRegistry. Removed color styles from modal and callout stylesheets.
* Added CalloutDialogModal that extends CalloutDialog so that the callout can be instantiated from core. Revised calloutDialog so the position cn be passed in from where it is instantiated.
* Revised refactor of modal and image/link callouts so that callout dialog invoked by core can also use the styler. Removed unused properties from dialog code.
* Added conditional to dialogModal to use correct styler for callouts.
* Cleaned up styles. Modified custom colors.
* Wrapped call to positionCalloutDialog in conditional.
* Style, colors, styler and modal updates to align callout with latest OPAC toolkit styles.
* Moved calloutDialog stylesheet
* Consolidated styler code and added a flexible custom styler to provide values for dialogModal
* Added image callout code.
* Remove image callout dialog until wired fully
* Test fixes
Co-authored-by: chlafreniere <hichise@gmail.com>
While working on the tree control for our extension, I noticed that the sample implementation was not optimal. For instance, `vscode.TreeDataProvider.onDidChangeTreeData` should only be called once for the top-most node that has changed, as all children will be refreshed as well.
This change updates the code of the sample to track state changes during propagation and only raise the event for the top-most parent node that has its state changing.
There also was an issue with root node `1` not rendering, which impacted the new algorithm, as it was not refreshing the tree, when invisible root was changing. In order to address this, I updated `getChildren` to actually return the `1` node, when root was requested. This in turn changed the presentation (`1` is now rendered in the tree) and addressed the problem with tree not refreshing when `1` is the node that raises the event.
Lastly, there is one more optimization that I didn't make due to the bug that is in the works: `getTreeItem` can actually return the `element` directly, without the copy, as it already implements `TreeComponentItem`. The problem currently is that `TreeNode` also defines an `id`, which causes an error during refresh. Once that is addressed - this part can be optimized as well.
* upgrade pip after python installation
* add comment
* only upgrade pip for new python installations
* reinstall pip version instead of upgrade to latest
* update comment
* get pip version through packages list
* add improvements TODO on creating book experience
* fix create book to support a more complex folder structure
* replace \\ to a forward slash on windows
* address pr comments
* fix tests
* use the posix version of path.sep
* reset scheduling parameters
* Added right quotation marks
* Fixed comment
* Worker text box needs to have value, can't pass in emptry string
* Fixed ConfigurationSpecModel and added doc comment to handleOnTextChanged
* Add to information bubbles that user can reset scheduling parameters by passing in empty value
* Changed name of handleOnTextChanged
* Modal - added code to stop the keyboard event after it is handled. textCell and codeCell - onKey now fired on keydown.
* Moved stop method into the conditional with Escape key.
* Creating separate pages for worker and coordinator parameters
* Added new gear, hid coordinator server parameters page
* Commented out azdataApi
* Added white gear, created abstract class for server parameters page
* Chaged gear name, condensed base class more, changed file name
* Added colored gears for parameter pages
* Edited to describe configuring both coordinator and worker
* Start adding coordinator section
* Coordinator section shown on CS page
* Updated information bubbles, edited discard button
* Cleaned up code, hid coordinator section
* Add return types to functions, fixed configuration string name
* Configuration section does not need to be edited when model is refreshed since it is not seen
* Changed back information bubble to inform that both worker and coordinator nodes will be configured
* calloutDialog refactor - split code specific to image and link into their own super classes. Moved callout styles into a new stylesheet.
* Image and Link inserts working.
* Stylesheets cleanup. Refactor cleanup.
* Removed CSS comment. Added missing image callout style. Revised generic open and cancel classes. Moved all remaining localized strings into shared constants file.
* pass function to debounce
* remove debounce decorator and move watch methods to bookmodel
* Move the vscode tree change data event to book model
* address pr comments
* fix book tests
* expose addToProject in dataworkspace.d.ts
* remove changes in data workspace extension
* add sqldbproj.d.ts
* change list to be Uris instead of strings
* don't add files/folders if any don't exist
* fix test on windows
* WIP changes
* toc.yml edit
* added first cell to AG page
* Changed to SSMS instructions, will need to change steps.
* switched back to SQL
* added clarification of primary server database requirement.
* fixed spaces
* split adding nodes to its own page.
* more changes
* added message for prerequisites step
* test with invoke command added
* added run direct command to failover cluster notebook
* test-cluster temp file added
* added module change and changed readme
* fixed domain name
* fixed escape
* Test Cluster changed to comment again due to permissions issue
* moved additional failover cluster to first notebook
* more cleanup
* more changes added
* added endpoint url
* fixed commas
* failover cluster wording changed
* added select for sqlvm name
* added a check for service account
* fixed secure password string
* first availability group command added
* Current Availability Group Page
* small change
* configure-ag change
* more changes
* changes made to notebooks
* . Added fetch logic for controllers (no need to create a new one everytime)
. Fixed retention logic
* Fix field reloading logic.
Fixed localized string
Removing hardcoded colors
* Add dialog for creating books
* create empty book
* add localized constants
* add validation to dialog
* reset the create book command to original
* address pr comments
* change error message
* Init book toc manager in bookTreeView
* Adding Dashboard
Fixing auth keys api
create status Dialog
* making some changes requested in the PR
* switched to text component from dom component
* Adding TODO comment
* Fixing image url to work on windows
* Fixing stuff pointed out in PR comments
* adding return type to dasboard register function
* Adding more todos
* Two options
* remove commented line and add the null check
* fix tests: pass isDirty explicitly
* remove commented line
Co-authored-by: chlafreniere <hichise@gmail.com>
* New feature for Notebooks - callout. This utilizes a modifed modal.ts that renders a small modal set to appear at the trigger event and disappear when user clicks off of it. This is intended only for micro-interactions such as inserting links, tables and images into Notebooks. Error dialogs dependent on modal have been updated to implement the modified width property correctlty.
* Modified dialogStyle names in interface. Applied updates to files dependent on this. Wired up disposable listener for browsing local files in image select callout. Renamed callout to calloutDialog.
* Converted double quotes in CSS to single quotes. Revised run method, removing the promise wrapping from the conditional.
* Passing click target to modal for positioning. Created custom buttons and click event handlers for Insert image and Insert link. Set feature behind preview flag.
* Revised structure and styles.
* Updated component for use with ML extension. Updated ML extension code with changes for custom dialog creation.
* Fixed async context for handleBrowse. Passing the new modal properties into Dialog implementation for ML.
* Added option to suppress callout dialog header and footer from the machine learning view file. Added a compact variant of callout. Corrected Dialog tab initialization.
* Maddy/callout modifications (#13586)
* initial changes
* canSelectFolders false
* change label, placeholder text on radiobtn click
* Added support for custom XY offset to account for modal size and to provide for fine-tuning of unique modal instances.
* Updated Image icon with latest from Design.
* Replaced node process with IPathService for retreiving image file.
* Added theme color lookups to provide default colors when none are provided.
* Added async/await to tests calling transformText.
* textCell, modal - swapped out HostListener for a member method which listens for the Esc keyup. Updated templates with method call on keyup. This cleaned up the double event call whenever the Esc key was pressed. Added property to modal Cancel button call to make it a secondary button.
* Cleaned up callout styles.
* Removed color use for input fields because component code delivers theme-specific values.
* Added check for CSS class `mac` on the body tag. Added conditionals to supply alternate dialogXYOffset in the case of non-Mac environment.
* Cleanup: Simplified DialogPosition. Renamed telemtry references and dialog related methods. Corrected spelling. Added missing signatures and types. Updated warning callout link URLs.
* Removed async and await as there are no promise dependencies. Added a signature.
* Revert "Fix windows insiders icons (#13579)" (#13630)
This reverts commit a0ef594792.
* Changed cores validation message (#13617)
* Changed cores validation message
* Missed validation
* Remove cores validation message
* Applied verification for cores change to miaa c+s page
* WYSIWYG Improvements to highlight (#13032)
* Improvements to highlight
* wip
* Tests pass
* Leverage escaping mechanism
* Tweak highlight logic
* PR comments
* add await to thenable method (#13635)
* Delete ConnectionDialogue.ipynb (#13634)
this nb was an attempt at creating a connection dialog. removing
not found in toc
* Added engine version argument to edit command. (#13610)
* Added engine version argument to edit command. Neccessary for not using pg12
* Included for changing password in overview page
* Updated fakeazdataapi test
* Fix empty column issue (#13641)
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
* add right padding to notebook toolbar action item (#13640)
* add right padding to action item
* remove extra line and add space
* Adding SQL Edge project template (#13558)
* Checkpoint
* removing flag for not creating subfolder
* Adding Edge template
* Removing janky map function
* Adding templates for additional objects
* Updating tests, fixing bug
* Added Edge project icon
* Updating strings to Drew-approved text
* Cleaning up template scripts and Edge project template names
* Update package.json (#13626)
* Update Import UI to match other UIs (#13637)
* Update Import UI to match other UIs
* Fixed another bug
* Fix notebook unordered grid values after papermill execution (#13614)
* Fix unordered table
* check entire first row schema:
* SQL Notebooks should not get affected
* delete unused variable and edit comments
* refactor for efficient table ordering
* nit naming
* Normalize path to change (#13660)
* vbump asde deployment extension (#13662)
do a patch version update, will adjust if the next change is a major one.
* Add test for dynamic enablement (#13602)
* Add test for dynamic enablement
* update names
* Remove debug console log (#13669)
* Remove placeholder on deployment wizards when field is disabled dynamically (#13658)
* Bump highlight.js in /extensions/markdown-language-features (#13675)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.15.10 to 10.4.1.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.15.10...10.4.1)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add ability to control the enabled state of checkbox cells (#13644)
* control enabled state of checkbox cells
* add more check
* Prevent Table from Disappearing due to exception when looking for tHead (#13680)
* Prevent exception when tHead doesn't exist at node
* Add test for no thead
* Fix issue with pasting results in Teams (#13673)
* Fix issue with pasting results in Teams
* Addressed comment to change header tag to th
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
* Add descriptions and validation to connected mode (#13676)
* Add dependent field provider to resource deployment (#13664)
* Add dependent field provider to resource deployment
* Change name to value provider service
* Add error handling
* providerId -> id
* Set dropdown value correctly
* missed id
* back to providerId
* fix updating missed id
* remove placeholder
* Have resource deployment providers return disposables (#13690)
* Add dependent field provider to resource deployment
* Change name to value provider service
* Add error handling
* providerId -> id
* Set dropdown value correctly
* missed id
* back to providerId
* fix updating missed id
* Make resource deployment providers disposable
* Retry publish and always try adding asset (#13700)
* Retry publish and always try adding asset
* Undo asset upload change
* Add logging
* Notebooks: Remove result set summary from saved metadata (#13616)
* remove result set summary from metadata
* remove batchId and id from celloutputmetadata
* remove extra line
* Add scan suppressions (#13705)
* Add action for responding to Needs Logs label (#13707)
* Fix action name (#13708)
* Add action for responding to Needs Logs label
* Fix action name
* Rename action config file (#13709)
* Add action for responding to Needs Logs label
* Fix action name
* Rename config file
* remove quotes
* Adding unit tests for schema compare service (#13642)
* Retry getConfig (#13712)
* Retry getConfig
* Add logging
* vBump Arc and Azdata (#13717)
* switch schema compare to use inputbox instead of table headers (#13715)
* Added Accounts and Database Backup Page to Migration wizard (#13548)
* Added localized strings
Created a db backup page
added radio buttons
* created components for database backup page
* Added account selection page
* Added accounts page
* Some more work done
- Added page validations
- Almost done with db backup except for a few api calls.
* Some more progress
added graph api for storage account
* Finished hooking up all the endpoints on db page.
* Some code fixed and refactoring
* Fixed a ton of validation bugs
* Added common localized strings to the constants file
* some code cleanup
* changed method name to makeHttpGetRequest
* change http result class name
* Added return types and return values to the functions
* removed void returns
* Added more return types and values
* Storing accounts in the map with ids as key
Fixed a bug in case of no subscriptions found
* cleaning up the code
* Fixed localized strings
* Added comments to get request api
Added validation logic to database backup page
removed unnecessary page validations.
* Added some get resource functions in azure core
* Changed thenable to promise
* Added arm calls for file shares and blob storage
* Added field specific validation error message
* Added examples in validation error message.
* Fixed some typings and localized string
* Added live validations to dropdowns
* Fixed method name to getSQLVMservers
* Use console.log for retry logging (#13722)
* Fixed Schema compare integration tests by adding retry (#13649)
* Add workspace information in Import UI (#13648)
* Add workspace information in Import UI
* Addressed comments
* Reduced space between Workspace heading and the label
* Lint azdata.d.ts (#13728)
* Added developer name to the list of developers. (#13725)
onboarding commit: Added developer name to the list.
* Fix environment variables for controller create (#13732)
* vbump schema compare and sql database projects (#13730)
* December release readme (#13733)
* Change server group look (#13608)
* change server group look
* remove dead code
* add top padding
* add bot padding as well
* fix heights to account for padding
* fix arrow alignment
* fix ellipses and node length parity
* fix alignment
* Make loading components not valid and improve RD radio group (#13738)
* Revert "Added Accounts and Database Backup Page to Migration wizard (#13548)" (#13742)
This reverts commit e169005571.
* Add loading text properties for option sources (#13743)
* Add loading text to deployment radio options
* Fix loading race condition
* Update text
* Add kube config and kube cluster to arc data controller screens (#13551)
* Un-skip and fix a few of the db projects tests (#13726)
* Un-skip and fix a few of the db projects tests
* Addressed comments
* Fix one test failure on Linux/Mac
* Update STS to revert SqlClient update (#13758)
* Update required azdata versions (#13762)
* fix the recent list (#13770)
* Adding base classes for data dev extension telemetry (#13763)
* adding telemetry dependencies for data-workspaces and sql-database-projects
* Adding telemetry dependencies for dacpac extension
* Adding telemetry base to data workspaces and projects
* Adding telemetry base code to the dacpac extension
Co-authored-by: Benjin Dubishar <benjin@Largo.local>
Co-authored-by: Sai Avishkar Sreerama <ssreerama@microsoft.com>
* Update changelog (#13773)
* Notebook Extension: First logging improvements (#13729)
* First logging improvements
* PR feedback for err output
* Add BEGIN/END to snippet (#13784)
* Adding database backup and accounts page to migration wizard (#13764)
* Added localized strings
Created a db backup page
added radio buttons
* created components for database backup page
* Added account selection page
* Added accounts page
* Some more work done
- Added page validations
- Almost done with db backup except for a few api calls.
* Some more progress
added graph api for storage account
* Finished hooking up all the endpoints on db page.
* Some code fixed and refactoring
* Fixed a ton of validation bugs
* Added common localized strings to the constants file
* some code cleanup
* changed method name to makeHttpGetRequest
* change http result class name
* Added return types and return values to the functions
* removed void returns
* Added more return types and values
* Storing accounts in the map with ids as key
Fixed a bug in case of no subscriptions found
* cleaning up the code
* Fixed localized strings
* Added comments to get request api
Added validation logic to database backup page
removed unnecessary page validations.
* Added some get resource functions in azure core
* Changed thenable to promise
* Added arm calls for file shares and blob storage
* Added field specific validation error message
* Added examples in validation error message.
* Fixed some typings and localized string
* Added live validations to dropdowns
* Fixed method name to getSQLVMservers
* Using older storage package
* Update typings/namings (#13767)
* Update typings
* more typings fixes
* switched fileshares and blobcontainers api to http requests
* removed the extra line
* Adding resource graph documentation link as a comment
* remove makeHttpRequest api from azurecore
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* change afterClean to beforeBuild for removing the generated assests.json (#13736)
* change afterClean to beforeBuild for removing the generated assests.json
* fix merge conflict
* rename files
* Clean up Loading Component typings (#13785)
* Clean up Loading Component typings
* add properties to impl
* Log active element when notebook smoke test fails (#13724)
* add error log for active element
* fix active element selector
* await isActiveElement call
* call waitforactiveleement
* Bump ini from 1.3.5 to 1.3.7 in /samples/sqlservices (#13776)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.7 in /build (#13765)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.4 to 1.3.8 (#13792)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.4 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.4...v1.3.8)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump ini from 1.3.5 to 1.3.8 in /extensions/markdown-language-features (#13791)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* renable kernels dropdown test (#13727)
Verify no skipped core tests
* Remove redundant parameter in test scripts (#13755)
* Fire onDidSelect event when selecting event from code (#13691)
* Fire onDidSelect event when selecting event from code
* Fix import tests
* fix typo
* Use correct Azure graph endpoint & cleanup (#13786)
* Use correct Azure graph endpoint
* Add enum
* Update CODEOWNERS (#13798)
* Make project workspace selectable if no workspace is open yet (#13508)
* allow new workspace location to be editable
* fix workspace inputbox not showing up after toggling open workspace radio buttons
* add a few tests
* cleanup
* fix errors
* addressing comments
* fix filter for windows
* add error message if existing workspace file is selected and change picker to be folder only
* address comments
* fix typos and update tests
* vbump 2018 -> 2019 (#13800)
* Fix "not externalized correctly" warnings (#13806)
* Notebook Deep Link to Section (#13795)
* Notebook deep link to section
* fragment wip
* table component improvement (#13801)
* hyperlink column
* fixed width for image only button - old behavior
* Server Reports extension: fix for start and stop xevent sessions (#13565)
* fix for start and stop xevent sessions
* vscode.open for help URL
* setup info messages for localization
@kburtram - I could use an assist on updating the v# and publishing the vsix, but there's no rush this can wait until after the holidays
* Arc - Update Postgres name length limit (#13807)
Arc - Update Postgres name length limit. It was recently reduced from 12 to 11.
* Fix whitespace differences in sqlproj (#13805)
* add whiteSpaceAtEndOfSelfclosingTag
* update test baselines
* Fix paths for tests (#13816)
* Fixed the stray validation error message in Resource Deployment wizard (#13747)
* Fixed the stray validation error message
* Removed not working ' with validation
Adding back cancel button disabling
* mark a couple data workspace tests as unstable (#13822)
* cosmetic changes (#13820)
* cosmetic changes
* moved limitLongName function to the utils
* add . as trigger character (#13811)
* Remove hardcoded search box height (#13823)
* Use azdata-test modelview stubs (#13818)
* Filter vscode delegate command events (#13832)
* Fix duplicate SVG rendering (#13828)
* Fix select box event ordering (#13831)
* Fix select box event ordering
* more fixes
* Fix page
* Revert typing change
* Undo param
* Fix compile error
* Completely remove typings
* Dacpac - Showing error message to user if operation fails (#13830)
* Showing error message to user if operation fails.
* Added more tests
* Fix unstable data-workspace tests (#13824)
* stub file existing validation
* add error message
* change back to calling dialog.validate()
* move tests to separate dialogbase file and add more error message validation
* comment out the unstable unit test step (#13834)
* remove --build flag
* comment out unstable test
* add build tag back
* Removed padding-top / bottom declarations for text cell notebook-preview. This compacts the text cell by 14px on top and bottom. (#13815)
* Stop forcing left text align on tables (#13840)
* Have same connection logic for all nb int tests (#13844)
* Added fix for the infinite page refresh in resource Deployment tools page (#13813)
* Added fixed for the infinite loop in resource Deployment tools page
Generating events for select boxes only when the select box value is changed.
* Fixed the check logic in select method
* Reverted to old code and fixed some bugs
* Fixed event generation check logic
* Make new workspace inputbox editable in Create project from database dialog (#13842)
* update create project from database dialog to have editable new workspace
* add validation
* add test
* add error message
* Remove test for now
* cleanup
* add periods
* throw errors
* change return type to void
* Removal of Components folder, moving ADP notebook to its own notebook. (#13848)
* adp folder removed, notebook moved.
* moved ADP notebook to own folder.
* Passing click target to modal for positioning. Created custom buttons and click event handlers for Insert image and Insert link. Set feature behind preview flag.
* Revert "Revert "Fix windows insiders icons (#13579)" (#13630)"
This reverts commit 111dcb4c6885d9ab1a24398b13f103835789e6e0.
* Corrected button style and declared dialogStyle for ManageModelsDialog. This fixes broken layout see when user clicks: Import or view models.
* Revised suppressHeader/Footer to renderHeader/Footer and fixed logic. Code cleanup. Changed how calloutType: IMAGE and LINK are implemented. Added comments where neeed.
* Fixed callout separator: Swapped out transparent for notebookToolbarLines
* Removed promise context from image callout logic.
* Moved calloutDialog into modal folder.
* Code and style adjustments per feedback. Removed dependency on mac body class. Cleaned up dialog theme. Revsied modal callout logic.
* Corrected CSS for notebook toolbar. Removed unused code. Added code to ensure that renderFooter would occur whether true or undefined.
* Code cleanup. Clarified more details in my code comments. Added comments to values that needed identification. Escaping user-supplied text before it is rendered.
* Renamed TriggerProperties interface and implementations to DialogProperties. Added default value for DialogStyle to sqlExtHost.api.impl so existing dialogs take flyout by default.
* Replaced null value with undefined. Revised theme logic to account for undefined color value.
* Fixed top 30px offset rule so callout dialogs do not get this added.
* Revised undefined check for modal theme color. Removed calloutCompact. Moved callout dialog widths into DialogWidth property when calling methods to create callout or dialog. Added comments. Revised CSS.
* Providing fallback value in the case of null. Hex: FFFFFF00 is white with no transparency.
* Removed fallback hex color for foreground. Added check for foregroundRgb before attempting to grab rgba values. Added footer top border color.
* Added formatting after resolving conflicts.
* Corrected implementation after taking changes from main.
Co-authored-by: Maddy <12754347+MaddyDev@users.noreply.github.com>
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
Co-authored-by: nasc17 <69922333+nasc17@users.noreply.github.com>
Co-authored-by: Chris LaFreniere <40371649+chlafreniere@users.noreply.github.com>
Co-authored-by: Barbara Valdez <34872381+barbaravaldez@users.noreply.github.com>
Co-authored-by: Christopher C <37060219+cavonac@users.noreply.github.com>
Co-authored-by: Monica Gupta <scorpio90m@gmail.com>
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
Co-authored-by: Benjin Dubishar <benjin.dubishar@gmail.com>
Co-authored-by: Karl Burtram <karlb@microsoft.com>
Co-authored-by: Sakshi Sharma <57200045+SakshiS-harma@users.noreply.github.com>
Co-authored-by: Vasu Bhog <vabhog@microsoft.com>
Co-authored-by: Alan Ren <alanren@microsoft.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lucy Zhang <luczhan@microsoft.com>
Co-authored-by: Leila Lali <llali@microsoft.com>
Co-authored-by: Kim Santiago <31145923+kisantia@users.noreply.github.com>
Co-authored-by: Aasim Khan <aasimkhan30@gmail.com>
Co-authored-by: Sai Avishkar Sreerama <74571829+ssreerama@users.noreply.github.com>
Co-authored-by: Aditya Bist <adbist@microsoft.com>
Co-authored-by: Arvind Ranasaria <ranasaria@outlook.com>
Co-authored-by: Benjin Dubishar <benjin@Largo.local>
Co-authored-by: Sai Avishkar Sreerama <ssreerama@microsoft.com>
Co-authored-by: Drew Skwiers-Koballa <dzsquared@users.noreply.github.com>
Co-authored-by: Brian Bergeron <brian.e.bergeron@gmail.com>
Co-authored-by: Vladimir Chernov <v-chvlad@microsoft.com>
Co-authored-by: Alex Ma <alma1@microsoft.com>
* fix not numbered field
* fix for adding extra field and removing it from sections
* use const for variable
* use spread operator to create new object
* address pr comments
* change function name and simplify
* Add comment and put the initializeContents in the finally block
* Add podstatus to spec
* Added image to table and fixed spacing.
* Added pod status to spec
* PR fixes
* Edited so that when page is closed and reopened, does not have empty server group node table
* Adding summary page,
Storing ongoing migrations,
localizing some string,
made changes to how dropdowns work
updated database backup page
* Moved classes into different files
Fixed a lot of typos
Fixed some UI margins
* Turn on Linux CI test validation
* Add checks around a code block raising exceptions in unit tests
* Bump node version to 12
* Add check around classList add
* Adding migration notebooks to extension
* Adding toast notification instead of printing error in the console
* removed localization info from the links in the notebook
* Removed localization info from the links 2
* Fixed comments, placeholder and letter cases.
* highlight current range in the marked html
* find ranges on textContent not innerHtml
* add comment
* highlight all and mark the specific in orange
* register highlights in color themes
* fix the closure on the last style
* undo delete locproj file
* add comment
* undo format on locProj file
* Exposing azure HTTP request in azurecore
Moving migration specific request from azurecore to migration
Created a migrations typing file
* Deleting the typings file in sql migration
* Fixed typos in comments
* Adding default host for azure https requests
* Fixed operator in service url modification
* Changed path and host logic
* Made chagned requested in the PR
* Fixed variable names
* Adding / check for path.
* Changing error code check
* Fixed status logic in azure rest request
Fixed comment logic
Converting error array to string while throwing
* Fixed status check
* Fixed typos and cleaning up
* start work on ui
* Move notebooks complete
* Simplify version handling
* fix issues with add section method
* fix issues with the edit experience and add the quick pick for editing
* add version handler for re-writing tocs
* fix book toc manager tests
* add notebook test
* fix localize constant
* normalize paths on windows
* check that a section has sections before attempting to mve files
* Implement method for renaming duplicated files
* moving last notebook from section converts the section into notebook
* Add recovery method restore original state of file system
* Add clean up, for files that are copied instead of renamed
* remove dir complexity
* divide edit book in methods for easier testing and remove promise chain
* Keep structure of toc
* normalize paths on windows
* fix external link
* Add other fields for versions
* fix paths in uri of findSection
* add section to section test
* Add error messages
* address pr comments and add tests
* check that the new path of a notebook is different from the original path before deleting
* Initial commit for dSTS Auth
* Removed getDstsToken from accountManagementService. Renamed azureAccount to token.
* Renamed dstsToken to _token in connectionWidget
* Code Review Feedback. Renamed token to authToken in onFetchDatabases.
* Removed dsts options from Kusto package.json
* Added publish and schema compare telemetry
* Adding telemetry points for add/exclude/delete
* telemetry for validation
* Adding telemetry from project roundtrip updates, editing sqlproj, and db refs
* Changed method for obtaining extension ID during registration
* Fixing test failures, updating ads telemetry package dependency
* replacing action strings with enums
* change database project string actions to enums
* Changed action name to better match dialog
* PR feedback
* Addition: properties page with link to dashboard
* Include new page
* Initial Parameter page start
* Include new changes from merged PRs
* Including new constants
* Git errors
* Add parameter commands and help
* Reset command
* Added chart
* git fix
* Fixed string issues
* connectSqlDialog is an abstract class. Separated out Miaa and Postgress connection
* Initial start to adding connect to sql for postgres instance
* Simplified classes extending ConnectToSqlDialog, added get providerName, and function to create error message
* Miaa models provides dialog title
* Updated failed message parameters
* completionPromise.reject
* Fixed connect to MSSql
* Messy dialog showing from button
* removed this._completionPromise.reject
* Cleaning up code
* Set connectSqlDialog to be an abstract class. Separated out Miaa and Postgres. (#13532)
* connectSqlDialog is an abstract class. Separated out Miaa and Postgress connection
* Simplified classes extending ConnectToSqlDialog, added get providerName, and function to create error message
* Miaa models provides dialog title
* Updated failed message parameters
* completionPromise.reject
* Fixed connect to MSSql
* removed this._completionPromise.reject
* Connect button clean up
* Format
* Format doc
* Fixed compile errors
* Cleaning up page
* Clean up
* clean up refresh
* Format doc
* Removed ellipse
* Cleaning up problems
* Updating localized constants
* Missing username update
* Get connection profile added to Resource model, abstract method created for calling connection dialog
* Added createConnectionProfile
* took out import
* Pulled in new changes, fixed usercancellederror
* Getting engine settings
* Git errors
* Git errors
* Git errors fix
* Fixing Css
* Freezes, Search function working, 20 parameters
* Fixed re
* Git errors
* Save and reset commands working
* Discard works, updated how engine settings refresh with model
* Updated search, add back loading for when trying to connect
* Cleaning up comments left in code
* Git error
* Corrected names of icons and constants, Fixed Miaa dialog title
* Removed using any on page, added void return types, took out commented code
* Changed gear svg, made postgres extension a loc constant, fixed formatting
* Fixed controller model name
* Put connection profile and id in resource model, changed back controller model in base class
* Fixed a comment
* Added loading component for waiting for postgres extension to be installed
* Fix parameters page to show parameters if engine settings are already loaded (#13996)
* Added progress message for installing postgres extension
* Minor styling updates
* Making sure search box and rest buttons are enabled when opening page with loaded data. Update refresh
* Git errors
* change name
* Code review updates: Combined create parameters and refresh table.
* Update sql-assessment to use latest ads-extension-telemetry npm package (#14003)
* Change configure Jupyter server steps from async to sync (#13937)
* change config steps to sync
* fix tests
* use pathexistsSync
* remove pathExistsSync call
* address PR comments
* Use a minimum cell height to prevent whitespace markdown cells from becoming invisible. (#14008)
* Fix validation errors (#14009)
* Fix validation errors
* fix compile
* update return type
* Cleanup model component wrapper event handlers (#14012)
* Clean up button component disposables (#14011)
* Clean up button component disposables
* consolidate logic
* Adding Dacpac extension telemetry and core wizard/page telemetry updates(#13859)
* Dacpac telmetry code changes
* Removed added spaces
* Generate deployScript accessibility changed back to public
* code review suggessions updates
* dacpac extension tests fixes
* Updated time and filesize methods allowing general return values
* Telemetry code updates
* Dacpac Telemetry potential data loss capture and PII error excluded
* Dacpac telemetry code updates for comments
* Wizard pages navigation telemetry event capture moved to the core
* DacpacTelemetry code updates
* Extension wizard cancel telemetry for data loss
* Dacpac telemetry pagename and small code updates
* final Dacpac telemetry code updates...
* migrated loc files (#14015)
* Took out some info bubbles and addingitems
* Update search function
* Handle special value occasions
* Undo change
* Undo change
Co-authored-by: chgagnon <chgagnon@microsoft.com>
Co-authored-by: Lucy Zhang <luczhan@microsoft.com>
Co-authored-by: Cory Rivera <corivera@microsoft.com>
Co-authored-by: Sai Avishkar Sreerama <74571829+ssreerama@users.noreply.github.com>
Co-authored-by: khoiph1 <khoiph@microsoft.com>
* Adding minimum height to text cell element so whether empty or occupied with a single line of content, the container is the same height.
* Added styles to remove top padding/margin from first child element and set top-padding of container.
* Switch top padding to px value
* Removed line-height and min-height as these are no longer necessary to maintain text-cell height.
* Made azure arc as resourcesubtype
Added new azure arc resource type
Added support for different eula statement for different subtypes
Consolidated getSelectedOption
* Fixed some PR based comments
* Fixed more pr comments
* Fixed the error in unit test by deep copying extension resourceTypes (to keep the original one intact)
* Fixed property name 'agreement' to 'agreements'
* Cloning subresourceTypes
* add check for if there are projects that haven't been added to the workspace
* add check when workspace folders change
* add comment
* update wording
* filter for multiple file extensions at the same time
* add test
* addressing comments
* updates to variablesand subscription
previous notebook was not taking Subscription into account. Here, I'm setting to use the az context explicitly with the $Subscription variable
* Converted appendix to nb, wording
* remove whitespace, add clarity
* - Fixed GetMigrationController
- Added createMigrationController and getControllerAuthKeys API in azure core.
- Added typings for Migration Controller
- Fixed database backup page validation logic
- Added IR page with create controller
* Fixing all the comments from the PR
* Fixed typings
* - Adding null checks for onValueChanged
- Adding new event for radiobuttons onDIdChangeCheckedState
* Adding get MigrationController API to azure core.
* string templating
fixed typings
* Fixed typing and sorting logic
* Made the undefined check logic concise.
* Fixing radioButton checked status
* Fixed all kinds of event bugs in radio buttons
* removing uneeded checks
* Fixing the logic for radiobutton onChange event generation for all possible scenarios.
* Made small changes in radioButton logic.
* add md preview line height settings
* remove if condition
* listen for configuration change
* change setting description
* only change line height outside of edit mode
* set minimum line height to 1
* combine ondidchangeconfiguration callbacks
* Enable Parameterization via Notebook URI
* Add Parameterization and Move notebookModel tests
* minor typos
* parameter typo
* Multiple parameters through uri fix
* Address PR comments and tests fix
* add new injected parameters after original injected parameters
* Add new test to verify notebookURi parameter is injected after both parameter and injected cell
* fix tests
* Fixing the checked variable in radio buttons
* Emitting the checked state of radio button.
* Adding onChanged event to radioButtons (exposing it)
Deprecating onClick event for radioButtons
Fixing radio button stubs
* Made some type fixes
* Firing event in checked event setter
* updating azdata-test to 1.1 in arc extension
* Some logic fixes in checked setter
* added proper typings and updated package version for azdata-data
* Renamed the event to onDidChangeCheckedState
* Fixed deprecation message
* Fixed broken Schema compare stubs
* Addition: properties page with link to dashboard
* Include new page
* Initial Parameter page start
* Include new changes from merged PRs
* Including new constants
* Git errors
* Add parameter commands and help
* Reset command
* Added chart
* git fix
* Fixed string issues
* connectSqlDialog is an abstract class. Separated out Miaa and Postgress connection
* Initial start to adding connect to sql for postgres instance
* Simplified classes extending ConnectToSqlDialog, added get providerName, and function to create error message
* Miaa models provides dialog title
* Updated failed message parameters
* completionPromise.reject
* Fixed connect to MSSql
* Messy dialog showing from button
* removed this._completionPromise.reject
* Cleaning up code
* Set connectSqlDialog to be an abstract class. Separated out Miaa and Postgres. (#13532)
* connectSqlDialog is an abstract class. Separated out Miaa and Postgress connection
* Simplified classes extending ConnectToSqlDialog, added get providerName, and function to create error message
* Miaa models provides dialog title
* Updated failed message parameters
* completionPromise.reject
* Fixed connect to MSSql
* removed this._completionPromise.reject
* Connect button clean up
* Format
* Format doc
* Fixed compile errors
* Cleaning up page
* Clean up
* clean up refresh
* Format doc
* Removed ellipse
* Cleaning up problems
* Updating localized constants
* Missing username update
* Get connection profile added to Resource model, abstract method created for calling connection dialog
* Added createConnectionProfile
* took out import
* Pulled in new changes, fixed usercancellederror
* Getting engine settings
* Git errors
* Corrected names of icons and constants, Fixed Miaa dialog title
* Changed gear svg, made postgres extension a loc constant, fixed formatting
* Fixed controller model name
* Put connection profile and id in resource model, changed back controller model in base class
* Fixed a few await issues
* Introduced ModelView as a class member in schemaCompareMainWindow
* Added a few button tests
* Fixed tests
* Add a missing await
* check untrusted notebook behavior
* remove skips
* check for elements after trusted nb is reopened
* move trusted element checks to notebook method
* make selector more specific
* Add notebook editor
Introduce notebook editor component to allow for separate notebook displays in order to accomodate notebook views
* Localize notebook views configuration title
* Refactor view mode and remove the views configuration while it is unused
* Only fire view mode changed event when the value has been changed
* Remove notebook views contribution
* Add metadata capabilities
* Notebook views definitions
* Add notebook views models
* Views test
* Rename type arguments
* Additional tests
* Fix unused import
* Update resize cell test
* Add notebook editor
Introduce notebook editor component to allow for separate notebook displays in order to accomodate notebook views
* Localize notebook views configuration title
* Refactor view mode and remove the views configuration while it is unused
* Only fire view mode changed event when the value has been changed
* Remove notebook views contribution
* update create project from database dialog to have editable new workspace
* add validation
* add test
* add error message
* Remove test for now
* cleanup
* add periods
* throw errors
* change return type to void
* Added fixed for the infinite loop in resource Deployment tools page
Generating events for select boxes only when the select box value is changed.
* Fixed the check logic in select method
* Reverted to old code and fixed some bugs
* Fixed event generation check logic
* stub file existing validation
* add error message
* change back to calling dialog.validate()
* move tests to separate dialogbase file and add more error message validation
* fix for start and stop xevent sessions
* vscode.open for help URL
* setup info messages for localization
@kburtram - I could use an assist on updating the v# and publishing the vsix, but there's no rush this can wait until after the holidays
* allow new workspace location to be editable
* fix workspace inputbox not showing up after toggling open workspace radio buttons
* add a few tests
* cleanup
* fix errors
* addressing comments
* fix filter for windows
* add error message if existing workspace file is selected and change picker to be folder only
* address comments
* fix typos and update tests
* Added localized strings
Created a db backup page
added radio buttons
* created components for database backup page
* Added account selection page
* Added accounts page
* Some more work done
- Added page validations
- Almost done with db backup except for a few api calls.
* Some more progress
added graph api for storage account
* Finished hooking up all the endpoints on db page.
* Some code fixed and refactoring
* Fixed a ton of validation bugs
* Added common localized strings to the constants file
* some code cleanup
* changed method name to makeHttpGetRequest
* change http result class name
* Added return types and return values to the functions
* removed void returns
* Added more return types and values
* Storing accounts in the map with ids as key
Fixed a bug in case of no subscriptions found
* cleaning up the code
* Fixed localized strings
* Added comments to get request api
Added validation logic to database backup page
removed unnecessary page validations.
* Added some get resource functions in azure core
* Changed thenable to promise
* Added arm calls for file shares and blob storage
* Added field specific validation error message
* Added examples in validation error message.
* Fixed some typings and localized string
* Added live validations to dropdowns
* Fixed method name to getSQLVMservers
* Using older storage package
* Update typings/namings (#13767)
* Update typings
* more typings fixes
* switched fileshares and blobcontainers api to http requests
* removed the extra line
* Adding resource graph documentation link as a comment
* remove makeHttpRequest api from azurecore
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
* adding telemetry dependencies for data-workspaces and sql-database-projects
* Adding telemetry dependencies for dacpac extension
* Adding telemetry base to data workspaces and projects
* Adding telemetry base code to the dacpac extension
Co-authored-by: Benjin Dubishar <benjin@Largo.local>
Co-authored-by: Sai Avishkar Sreerama <ssreerama@microsoft.com>
* change server group look
* remove dead code
* add top padding
* add bot padding as well
* fix heights to account for padding
* fix arrow alignment
* fix ellipses and node length parity
* fix alignment
* Added localized strings
Created a db backup page
added radio buttons
* created components for database backup page
* Added account selection page
* Added accounts page
* Some more work done
- Added page validations
- Almost done with db backup except for a few api calls.
* Some more progress
added graph api for storage account
* Finished hooking up all the endpoints on db page.
* Some code fixed and refactoring
* Fixed a ton of validation bugs
* Added common localized strings to the constants file
* some code cleanup
* changed method name to makeHttpGetRequest
* change http result class name
* Added return types and return values to the functions
* removed void returns
* Added more return types and values
* Storing accounts in the map with ids as key
Fixed a bug in case of no subscriptions found
* cleaning up the code
* Fixed localized strings
* Added comments to get request api
Added validation logic to database backup page
removed unnecessary page validations.
* Added some get resource functions in azure core
* Changed thenable to promise
* Added arm calls for file shares and blob storage
* Added field specific validation error message
* Added examples in validation error message.
* Fixed some typings and localized string
* Added live validations to dropdowns
* Fixed method name to getSQLVMservers
* Add dependent field provider to resource deployment
* Change name to value provider service
* Add error handling
* providerId -> id
* Set dropdown value correctly
* missed id
* back to providerId
* fix updating missed id
* Make resource deployment providers disposable
* Add dependent field provider to resource deployment
* Change name to value provider service
* Add error handling
* providerId -> id
* Set dropdown value correctly
* missed id
* back to providerId
* fix updating missed id
* remove placeholder
* Added engine version argument to edit command. Neccessary for not using pg12
* Included for changing password in overview page
* Updated fakeazdataapi test
* draft commit
* few changes
* Changes to copy query with results in plain and html formatting
* undo changes
* undo unintended change
* remove comments
* Addressed comments
* Some clean up
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
* UI hook up
* Add tests
* Add back the missing statement for opening project
* Fix failures
* Add a few more tests
* Fix test failure
* Addressed comments
* Update UI to match the mocks
* Update UI to match updated mockups
* Addressed comments to match UI with mockup
* Updated all import strings to be called as Create Project From Database strings
* Fix a couple of test failures and one comment addressed
* Update one missed import string
* Skipping a failing test for now
* Fix failures. Fix alignment of icons
* Addressed PR comments
* Addressed couple more PR comments
* saving wip to merge main
* temp fixes for textValidation* removal
* save wip to switch tasks
* save wip to switch tasks
* save wip to switch tasks
* code complete - with known bugs
* missed test file
* fix extHostModelView changes
* validation module
* missed test changes
* missed change
* pr feedback
* pr feedback
* revert inadvertent change
* remove unneeded change
* merge from bug/12082-2
* pr feedback
* pr feedback
* bdd -> tdd for validation tests
* bdd -> tdd for validation tests
* pr feedback
* remove unneeded file
* pr feedback
* EOL instead of '\n'
* pr feedback
* pr feedback
* minor fixes.
* pr feedback
* fix comment
* comments and var renames
* test fixes
* working version after validation simplification
* working version after validation simplification
* remove inadvertent change
* simplified validations
* undo uneeded change
* cleanup
* working version after latest merge
* comments and whitespace fixes
* remove is_integer checks
* sentence case field validation messages
* Use generic strings in sample fields
* minor fixes to sample extension strings
* spaces to tabs for indentation
* request fields before limit fields
* reaarange request/limit fields
* is_integer checks for PG Server Group number fields
* Thenable to Promise
* InputBoxInfo
* pr feedback
* pr feedback
* isUndefinedOrEmpty to utils
* include asde package.json
* use ValidationValueType
* ValidationValueType -> InputValueType
* Add support for dynamic enablement of resource deployment components
* use instanceof function
* getValue returns InputValueType
Co-authored-by: Arvind Ranasaria <ranasaria@outlook.com>
* Fix project context menu actions (#12541)
* delete works again
* make fewer changes
* update all sql db project commands
* cleanup
* Remove old projects view (#12563)
* remove old projects view from file explorer view
* fix tests failing
* remove projects in open folder opening up in old view
* Update db reference dialog to show projects in the workspace (#12580)
* update database reference dialog to show projects in the workspace in the project dropdown
* remove workspace stuff from sql projects extension
* undo change
* add class that implements IExtension
* undo a change
* update DataWorkspaceExtension to take workspaceService as a parameter
* add type
* Update sql database project commands (#12595)
* remove sql proj's open and create new project from comman palette
* hook up create project from database to data workspace
* rename the remaining import databases to create project from database
* remove open, new, and close commands
* expose addProjectsToWorkspace() in IExtension instead of calling command
* Addressing comments
* fix failing sql project tests (#12651)
* update SSDT projects opened in projects viewlet (#12669)
* fix action not refreshing the tree issue (#12692)
* fix adding project references in new projects viewlet (#12688)
* Remove old projects tree provider (#12702)
* Remove old projects tree provider and fix tests
* formatting
* update refreshProjectsTree() to accept workspaceTreeItem()
* Cleanup ProjectsController (#12718)
* remove openProject from ProjectController and some cleanup
* rename
* add project and open project dialogs (#12729)
* empty dialogs
* wip
* new project dialog implementation
* revert gitattributes
* open project dialog
* implement add project
* remove icon helper
* refactor
* revert script change
* adjust views
* more updates
* make data-workspace a builtin extension
* show the view only when project provider is detected (#12819)
* only show the view when proj provider is available
* update
* fix sql project tests after merge (#12793)
* Update dialogs to be closer to mockups (#12879)
* small UI changes to dialogs
* center radio card group text
* Create workspace if needed when opening/new project (#12930)
* empty dialogs
* wip
* new project dialog implementation
* revert gitattributes
* open project dialog
* implement add project
* remove icon helper
* refactor
* revert script change
* create workspace
* initial changes
* create new workspace working
* fix tests
* cleanup
* remove showWorkspaceRequiredNotification()
* Add test for no workspace open
* update blue buttons
* move loading temp project to activate() instead of workspaceService constructor
* move workspace creation warning message to before project is created
* pass uri to createWorkspace
* add tests
Co-authored-by: Alan Ren <alanren@microsoft.com>
* Additional create workspace changes (#13004)
* Dialogs workspace updates (#13010)
* adding workspace text boxes
* match new project dialog to mockups
* Add validation error message for workspace file
* add enterWorkspace api
* add warning message for opening workspace
* cleanup
* update commands to remove project so they're more generic
* remove 'empty' from string
* Move default project location setting to data workspace extension (#13022)
* remove project location setting and notification from sql database projects extension
* add default project location setting to data workspace extension
* fix typo
* Add back project name incrementing
* other merge fixes
* fix strings from other PR
* default to last opened directory instead of home directory if no specified default location
* A few small updates (#13092)
* fix build error
* update title for inputboxes
* add missing file
* Add tests for data workspace dialogs (#13324)
* add tests for dialogs
* create helper functions
* New project dialog workspace inputbox fixes (#13407)
* workspace inputbox fixes
* fix folder icons
* Update package.jsons and readme (#13451)
* update package.jsons
* update readme
* add workspace information to open existing dialog (#13455)
Co-authored-by: Alan Ren <alanren@microsoft.com>
* Fixed the generate script logic for notebook wizards.
* -reverted previous changes
-added last page check to the page validation change logic.
* checking if the page is valid when entering it.
* removing unnecessary index variable in forEach loop
* added comments for generate script button enabling on notebookwizard page.
* Added azurehybridtoolkit to list of external extensions
* Added updated book
* added to recommended extensions
* extensions.js updated for build
* added small changes to extension
* small changes to extension
* tsconfig change
* gitignore and vscode changes
* changed package display name
* save connection info in notebook metadata
* update attachTo dropdown based on saved alias
* add setting for saving connection (default=false)
* save/read cell connection name to/from metadata
* get started on toggling multi connection mode
* add activeConnection property to cell model
* add changeContext method for cell
* add comments
* add unit test for reading connection name
* save connection mode in metadata
* clean up code
* address PR comments
* Add archive logs step to linux build
* right file
* try
* try this
* correct order
* build artifact
* export
* log
* use tmp
* zip up all
* Remove extra publish
* other scripts
* add test name to dir
* Push the latest update for WYSIWYG bug
* Improvements to nested lists
* OL tests and PR feedback
* Fixed all toolbar options for tags
* Address PR comments
* Ensure style is kept and not escaped
* Add all markdown toolbar action tests
* Style text edge case fix
* Address repeat function and type comment
* add more clarifying test
* SQL VM wizard migration to ResourceType Wizard
* Revert "SQL VM wizard migration to ResourceType Wizard"
This reverts commit e58cd47707a7e2812be20d915f1fe638b96b035f.
* migrated notebook wizard
* SQL VM wizard migration to ResourceType Wizard
* Fixed some imports on SQL VM wizard
* migrated sqldb wizard to generic ResourceTypeWizard
* Added missing import
Solving errors from the merge
* Moved some common functionality into ResourceTypeWizard
* Changed logic of start deployment
* fixed some import after changing files.
* added pagelss model and tools and Eula Page
* Hacky solution to fix wizard update bugs
* Removed tools and Eula components from resourceTypePickerDialog
* Removing changes in ext host
* reverting every change in ext host dialog
* Fixed setting the first provider for resourceTypeWizard.
* Some PR related changes
-Fixed typo in localized constants
-made some code logic concise
-Removed unnecessary check in tools&Eula
* Added some fixes for compilation error
* some refactoring for PRs
* moved comment
* cleaning up some code to make it more readable
* fixed comment typo
* Some additional cleaning up of code.
* Adding a public getter for model
* -Adding error message for failed EULA validation
-Removed unnecessary check for selected resource.
* Added comment to explain model variable behavior
* Added additional comments
* Fixed a comment to make it accurate
* Better phrasing for a comment
* added arialable for check all checkboxes and added some missing roles for the table elements
* removed duplicate attribute
* Moved column header aria label logic to a function.
* fixed typos in declarative table
* Changed the aria label text to something that is more intuiive.
* fixed typo in localized string identifier
* adding focus outline styling for checkboxes
* Merge pull request #110038 from aasimkhan30/aasim/fix/checkboxOutline
Added outline offset to checkbox to make focus visible.
* Revert "adding focus outline styling for checkboxes"
This reverts commit 1f9de7a00f7e947725e9e935d0be5bca2d662600.
Co-authored-by: Miguel Solorio <miguel.solorio@microsoft.com>
* Added new warning icon for model input mapping view. Adjusted padding between it and the input field beside it.
* Added new warning icon for model input mapping view. Adjusted padding between it and the input field beside it.
* Modified icon fill colors for better presentation in dark/HC themes. Modified font sizes and padding in various places. Increased input field widths. Removed unnecessary width properties.
* Revised styles and added elements to view models stage of the View and import models.
* Implemented Leilas DataInfoComponent, replacing my use of icon and title, description fields. Corrected some styles.
* Fixed the issue with icon title and description
* Fixed severla issues
* Added method to output localized text for number of models shown. Added component to display models shown text.
* Fixed the issues with order of components
* Fixed showing number of models
Co-authored-by: llali <llali@microsoft.com>
* Added Tools Service call for ValidateStreamingJob
* Partial addition of ESJ
* adding test mocks
* Validation working
* Modifying command visibility logic to submatch ESJs in addition to files
* Changed string literal to constant, corrected attribute order
* Added tests
* correcting casing that's causing test failures on linux
* Swapping Thenable for Promise
* excluded validate from command palette
* Add interface for modifying the table of contents of books
* Add logic for creating toc
* Fix issue with toc
* Add test for creating toc
* Delete bookTocManager.test.ts
* update allowed extensions
* Fix failing tests and add test
* Add tests for creating books
* Remove unused methods
* add section to section
* Created a function to disable the upgrade existing databases radio button if no databases exist.
* Created helper functions for the upgrade database radio button and new database radio button and abstracted the code accordingly.
* Made changes to helper function names and signatures, and added the enableUpgradeRadioButton() helper function.
* Made some changes to the enableUpgradeRadioButton helper function.
* Made changes to helper functions to ensure the radio buttons enable accordingly when a server is changed from the server dropdown.
* Made changes to helper functions and checks.
* Made additional checks to the populateDatabaseDropdown function.
* Added the logic to select the new radio button when upgrade radio button is disabled.
* Hiding dacpac from search for SQLOD
* Removing Schema compare from search bar for SQL OD
* Updating STS version for removing ServerRoles folder change for SQL OD
* save connection info in notebook metadata
* update attachTo dropdown based on saved alias
* add setting for saving connection (default=false)
* dont show saved conn if seting off + added test
* show conn dialog if save conn name setting off
* address PR comments and fix unit test
* change connectionName to connection_name
* SQL VM wizard migration to ResourceType Wizard
* Revert "SQL VM wizard migration to ResourceType Wizard"
This reverts commit e58cd47707a7e2812be20d915f1fe638b96b035f.
* migrated notebook wizard
* SQL VM wizard migration to ResourceType Wizard
* Fixed some imports on SQL VM wizard
* migrated sqldb wizard to generic ResourceTypeWizard
* Added missing import
Solving errors from the merge
* Moved some common functionality into ResourceTypeWizard
* Changed logic of start deployment
* fixed some import after changing files.
* fixed some easy typos on sql db wizard.
* Fixed some instructions in the notebook
* - Added option to enable or disable firewall rules
* converted toggle firewall dropdown to checkbox
* Add support for "More Actions" column in resource viewer
* update provider
* remove import
* Use menu contribution and make actions column always show
* cleanup
* move context menu anchor
* Comments
* Vores and memory had needed request/limit commands switched
* If saving returns an error, leave discard button enable
* Check if workers is undefined
* refactor grid streaming (convert to data first)
* change convertRowsToHtml method to return value
* remove griddataconversioncomplete checks
* send row data from STS to gridoutput component
* clean up code
* send data updates to cell model
* serialize cell output at the end of cell execution
* remove unused parameters
* update output contents instead of output reference
* remove unnecessary promise
* move azdata changes to proposed
* update comment
* add search box
* switch back to the traditional azure tree
* Revert "switch back to the traditional azure tree"
This reverts commit 7904b9cd599591e94412ec79da23590068de46b6.
* flat account tree node and filtering
* add comment
* context menu
* fix test
* handle disposable
* add logging
* Backend work for Parameterization + Tests
* address comments
* Add Parameters Tag upon state change
* Edit CSS Styling for accessibility
* more generic tag names
* Set python path in kernel specs when running on SAW devices.
* Use tab spacer for kernel json.
* Update path to jupyter kernelspec.
* removing the kernelspec write
* Changed powershell kernel.json to use appdata folder
* Addressed PR and added try catches around the code.
* removed redundant try catch
* removed redundant try catch
* removed another try catch
* removed space
* Fix for multiple powershell notebook failing issue
Co-authored-by: Cory Rivera <corivera@microsoft.com>
* Set python path in kernel specs when running on SAW devices.
* Use tab spacer for kernel json.
* Update path to jupyter kernelspec.
* removing the kernelspec write
* Changed powershell kernel.json to use appdata folder
* Addressed PR and added try catches around the code.
* removed redundant try catch
* removed redundant try catch
* removed another try catch
* removed space
Co-authored-by: Cory Rivera <corivera@microsoft.com>
* fix for removed links in untrusted notebooks
* replace whitespaces on link for %20
* remove dot from hyperlinks
* Address PR comments
* Change name of variable
* processwhenclause added
* processWhenClause explanation added
* changed comment to be more generic.
* changed expected comparison
* test and space fix added
* fixed tests
* resourceTypeService now uses forloop
* promote api to official
* add comments
* disposable
* move getConnection out
* comment for connection namespace
* remove extra line
* also fix registerQueryInfoHandler
* added filtering to the resource type along with a new component.
* -Added caching of cards
-Removed unused component props
-localized tags
-limited the scope of list items
* Made some changes in the PR
* - Added Iot Category to SQL edge
- Moved category names to constants
- Moved localization strings to localized constants
- Made filtering logic more concise
- Changed how category list is generated
--Category list can now be ordered
-Added back event generation for selectedCard
* Fixed bugs, and some additional changes
-Fixed radiogroup height to avoid the movement of options below it
-Restoring the focus back to the search and listview components
- Added focus behaviour for listview
- Fixed a typo in comment
* Made categories an Enum
* Added localized string
* localized category string
converted categories to enum.
* made the filtering logic more concise.
* returning string if no localized string formed
removed unnecessary returns
* fixed the filtering tag logic
resetting search when category is changed
* removing the iot tag from sql edge deployment
* made filtering logic more concise
made enum const
* added vscode list
* some cleanup
* Some PR changes
- Made PR camelcase
- added comments to SQL
- removed unnecessary export
* -Some PR related changes
-Removing unsupported style property
-scoping down css and removing unused ones.
* Fixed a comment text
* Fixed typings for listview event
* fix search for pinned notebooks
* fix filtering when verifying that a search folder is not a subdirectory from the current folder queries path
* Show book node on pinned notebooks search results
* fix parent node on pinned notebooks search results
* fix search for pinned notebook and modify how pinned notebooks are stored in workspace
* update format of pinned notebooks for users that used the september release version
* removed unused functions
* Address PR comments
* fix parent node for legacy version of jupyter books
* remove cast from book path
* Getting the proper attribute during column modification
Exposing errors of change column settings and stopping import if they occur
* removing extra space
* Added a comment for error handling
* Fixed a test error that was caused due to insufficient null checks.
* removing unnecessary return
* Add quick pick to select target platform for a project
* add test
* show current target platform and info message for new target platform
* fix test failing
* 3644 Added RequestSecurityTokenParams, RequestSecurityTokenResponse, and SecurityTokenRequest to Kusto/contracts.ts. Added AccountFeature to features.ts. Registered feature in kustoServer.ts
* 3644 Removed TryCatch in kusto features > getToken
* 3644 Added AccountId to Kusto > RequestSecurityTokenParams. Refactored kusto features getToken to use the accountId for the query window.
* 3644 Removed unused AccountQuickPickItem
* 3707 Changed getIconpath in serverTreeRenderer to always set iconPath if iconId is undefined. Changed renderConnection to always renderServerIcon
* 3707 Added default flag to KustoIcon in package.json
* fix caching issue
* 3707 Changed default to optional variable. Updated asyncServerTreeRenderer > getIconPath to check for default
* 3707 Changed logic for setting iconPath in getIconPath
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* dashboardWidget to use updated button component - added an enum for buttonType.
* Code fixes.
* Casting ButtonType to string
* Leaving default description value as empty string. Testing logic for buttonType.
* Moved ifFile check into buttonType getter. Hard coded button type returns to test on the front end.
* revised buttonType getter to return Normal by default if not specified in properties.
* Extended sql Button as InfoButton for use in dashboardWidget.
* Added InfoButton to ngAfterViewInit
* Upadted how infoButton element is built. Exposed properties for use in button.component.
* Experiment: Added interface and imported iconUtils for getting iconClass.
* infoButton updates
* Some modifications
* Defined HTMLElements and populated each with properties from dashboardWidget.
* Rewrote elements and passed in properties from dashboardWidget to define button contents and layout.
* Added missing delineator.
* Correctd width getter.
* Code cleanup
* Styled header and button copy. Corrected button and header dimensions.
* Button and welcome page background style adjustments.
* infoButton: Added element reference for container coming in via super so I could apply styles to it. Corrected how button renders.
* Addressed PR feedback - removed async functionality where not needed. Modified syntax that is being deprecated. Made extended IButtonOptions all optional.
* Formatted azdata.proposed. Hygiene check flagged it.
* Removing ? and undefined from button properties as all are being passed from dashboard Widget
* Initialized private vars representing options from custom interface IInfoButtonOptions.
* Addressed PR feedback - added stylesheet for infoButton. Removed iconPath from infoButton context. Cleaned up overall implementation.
* Simplified linear-gradient behind main image so it works across all three themes.
* Style cleanup.
* Removed block notation from element creation in constructor.
* Fixed type signature of IInfoButtonOptions.
* Removed comments. Shifted infoButton style properties into stylesheet.
* Set background color for infoButton when active. This fixes issue where is becomes invisible while selected.
* Corrected styles. Removed hard-coded font-colors. Removed unnecessary styles.
* CSS - added hover styles to side panel items per Figma comps. Cleaned up CSS and removed code comments.
* remove unused splash screen and fix issue reporter path (#12218)
* data workspace extension batch 2 (#12208)
* work in progress
* load projects in view and test cases
* update scope
* make the sql proj menu available in workspace view
* add extension unit test
* address comments
* fix errors
* Add reference to another sql project (#12186)
* add projects to add database reference dialog
* able to add project references
* check for circular dependency
* only allow adding reference to project in the same workspace
* fix location dropdown when project reference is enabled
* add tests
* more tests
* cleanup
* fix flakey test
* addressing comments
* fix focus order (#12233)
* Notebook Text Cell Highlight Improvements (#12197)
* 1st iteration
* works but multiple highlights
* remove comment
* Works but multiple selects
* wip
* cleanup
* cleanup
* Update TPN
* Add mark.js to remote + web
* PR feedback
* Tweak workbench html files
* Add vcore limit support (#12212)
* Quick tweaks to resource viewer (v1) (#12210)
* Hackathon - Better Markdown Editor (#11540)
* Hackathon - better markdown editor - modified Bold to wrap selection in HTML. Split Image button into two new options: embed and link. Made preview container contentEditable.
* Removed the new dropdown from Image button -- it is not necessary since we are adding a context panel instead.
* Modified preview icons
* Set code-component dimensions so it is not visible. It is still being used to pass markdown changes to however.
* add turndown and save markdown
* update model on UI when source changes
* Added conditional that sets element attribute contentEditable when it is in edit mode.
* Added textView component that can be used for editing.
* update source on MD view not on every keystroke
* Added markdown editor buttons that allow user to swap editor, preview views.
* Cleaning up implementation
* Setting base value of _showPreview to false.
* don't allow html edit on split view
* Update editor automagically
* Add an image picking dialog to notebook toolbar.
* Await transformText()
* revert pushEditOperations to fix cursor issue
* Implemented radio buttons for three view toggles.
* Added new, optional properties to radioButton: name, icon class and tooltip. This allows for display as toggleable icon. Updated styles and theme accordingly.
* Style tweaks.
* Added new ViewAction file where the RadioButton action will reside.
* Removed radio button implementation in exchange for native button instantiation. Adjusted CSS and theme accordingly.
* Styles, component and template changes to handle view toggle between text, markdownn an splitview. Includes reverting of radioButton as this is no longer used.
* WYSIWYG 3 Modes
* Ensure one action active at a time
* Setting Text View button active by default. Cleaned up styles. Moved toolbar element to prevent code cell layout overflow.
* Ensure we respect editMode, add showMarkdown
* hiding overflow on code-cell
* Empty text container needs 100% width. Eliminates weird selection border too.
* Initialize _previewMode
* Actions Compatibility
* Further toolbar enhancements
* Update yarn lock after merge
* Slim down changes
* Remove commented out code
* Added margins around notebook-preview container for more visual space for text
* Add turndown to workbench html
* Tweak import
* Add types/turndown
* Remove workbench.html fix
* Import cjs modules directly for turndown
* Leverage solution from github
* browser umd
* non browser umd
* welp dependency
* Modified updatePreview to insert a p tag only when text cell is empty.
* add listener for undo
* add turndown to remote and web
* Fix workbench, check in plugin
* PR comment
Co-authored-by: maddydev <makoripa@microsoft.com>
Co-authored-by: chlafreniere <hichise@gmail.com>
Co-authored-by: Cory Rivera <corivera@microsoft.com>
Co-authored-by: Lucy Zhang <luczhan@microsoft.com>
* Update external repo links (#12226)
* Update external repo links
* Update yarn files
* make schema compare test unstable (#12234)
* make schema compare test unstable
* also make Standalone database context menu test unstable
* Fix missing package update (#12235)
* Resource Deployment UX Refresh (#12173)
* adding new card to styles
* renamed property, removed unnecessary css
* Fixed to match new props
* added horizontal class
* merged from master
* Make SandDance work generically for Kusto (#12229)
* Make SandDance work generically for Kusto and Postgres
* Addressed comments
* removed param
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
* Set items in cell model (#12237)
* Change tables to make them work for our scenario (#12193)
* Change tables to make them work for our scenario
* Comments & deprecate API
* Disable selections by default
* Have default values in add database dialog input boxes (#12155)
* show default values in text boxes
* add sqlcmd formatting
* add tests
* Add some sqlcmd variable name validation
* Addressing comments
* fixes after merge
* fix test
* don't localize OtherServer
* fix for windows
* one more fix
* fix test
* fix bug that doesn't register double click enabled on new notebook contexts (#12239)
* Notebooks: Hide link and image buttons in text cell toolbar in WYSIWYG mode (#12240)
* hide link and image buttons in WYSIWYG mode
* defined taskbar actions
* rename arrays
* Notebooks: Add setting for default text cell edit behavior (#12245)
* Add setting for default text cell edit behavior
* string updates
* Fix pinned notebooks navigator (#12246)
* Added loading to dropdowns (#12214)
* Added loading prop to dropdowns
* Added property for setting loading text message
* removed unnecessary sets
* changed code to match new changes
* Changed the dropdown loader to use select component instead of edit.
Added missing props in dropdown loader
* Address comments jupyter create book notebook (#12250)
* Remove toc file link and add warning for windows users
* Bump node-fetch from 2.6.0 to 2.6.1 in /build/actions (#12219)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump node-fetch from 2.6.0 to 2.6.1 in /build (#12220)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix Notebook Kusto Kernel Consistency (#12256)
* fix kusto notebook consistency
* Address undefined
* add existing project to workspace feature (#12249)
* add existing project to workspace feature
* update file name
* new test and use URI
* handle workspace with no folder
* add more validation
* and more tests
* use forward slash
* Use correct resource name (#12288)
* Add heasdingStyle atx option (#12286)
* Disable resource viewer (#12291)
* Disable resource viewer
* comment
* Remove unused
* adding icon for add new and open project (#12265)
* remove project feature (#12297)
* remove project feature
* update test
* Fix notebook cancel query bug (#12300)
* fix undefined query runner error
* store connection id
* revert sqlSessionManager change
* Update PG Deployment with new fields (#12187)
* Added 5 missing field options
* Missing apostrophe
* Change extensions label
* Update volume size descriptions
* Change volume size labels
* Reorder required tools
* Reorder required tools
* Argument fixes
* Removed tabs
* Rearrange option order
* Rearrange option order
* Rearrange option order VS
* Added validation to fields. VS accepts only integer and appends Gi
* Changed Dusky deployment title
* Removed text validation for VS and Mem. Changed to Number field type
* Min set to 1 for VS and Mem
* Min set to 1 for Cores
* Memory limit must be at least 256Mi
* the casing of 'preview' should remain consistent
* Removed empty line
* Portal links for main branch (#12319)
* first commit
* json field added
* message genericized
* order changed
* removed summary page text
* fixed url
* controller dropdown field to SQL MIAA and Postgres deployment. (#12217)
* saving first draft
* throw if no controllers
* cleanup
* bug fixes
* bug fixes and caching controller access
* pr comments and bug fixes.
* fixes
* fixes
* comment fix
* remove debug prints
* comment fixes
* remove debug logs
* inputValueTransformer returns string|Promise
* PR feedback
* pr fixes
* remove _ from protected fields
* anonymous to full methods
* small fixes
* new postgres model (#12305)
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* Nasc/delete instance code removal (#12307)
* Formatted page
* Removed ResourceHealthPage from the dashboard
* Deleted files that no longer applies to the public preview backend
* shouldn't be able to open the postgres dashboard
* Add new deployment options for MIAA (#12325)
* Use custom dialog for prompting MIAA connection info (#12316)
* Use custom dialog for prompting MIAA connection info
* disable inputs
* Update strings
* remove data-workspace dependency (#12321)
* Arc public preview updates (#12329)
* Arc public preview updates
* disable PG dashboards again
* Stop watching for sqlproj updates after the file is closed (#12311)
* stop watching for sqlproj updates after the file is closed
* remove watcher if project is closed
* Fix component items in declarative table not showing (#12330)
* fix maximize bug (#12334)
* 12284 Removed custom CSS that positioned editor text beneath overlapping layers. Text is now selectable. (#12312)
* Add newline after caption (#12276)
* Watch for on load event (#12309)
* Update deletion strings to refer to instances instead of resources (#12332)
* Update deletion strings to refer to instances instead of resources
* one more
* Remove unused
* More
* Fix DT linting issues (#12290)
* vbump sql-db-proj extension (#12336)
* update sqlproj dependency version (#12359)
* Fix highlight issue (#12278)
* Fix highlight issue
* Address PR comments
* remove a import unit test (#12358)
* SQL VM deployments (#12144)
* Added sql vm deployment option
* Added more fields for sql vm deployments
* created basic sqlvm deployment. Mostly hardcoded
* added string to package.nls
* added poc deployments for sql vm
* Made some changes in the notebook that was mentioned in PR
* Added scaffolding for azure sql vm wizard.
* code cleanups
* added some async logic
* added loading component
* fixed loader code
* completed page2 of wizard
* added some more required fields.
* added some more fields
* added network settings page
* added sql server settings page
* added azure signin support and sql server settings page
* added some helper methods in wizard code
* added some fixes
* fixed azure and vm setting page
added validation in azure setting page
* added changes for the notebook variable
* validations and other bug fixes
* commenting sql storage optimization dropdown
* cleanedup wizard base page
* reversing vm image list to display newer images first
* cleaning model code
* added validations for network setting
* Completed summary page
fixed the code poisition
some additional field validations
* fixed networking page
* - fixed an error with vm size model variable
- removed byol images because it was not working with az sql vm
- Fixed vm size display names in dropdown
* added double quotes to some localized strings
* added some space inside strings
* -Added live validations
-Restyled network component
-Added required to regions
-Some bug fixes
* -redesigned summary page
-localized some strings
* Fixed summary page section titles
* -Fixed validations on sql server settings page
-Fixed some fields on Summary Page
* corrected onleave validation
using array for error messages
using Promises.all
* Fixed bug on network settings dropdowns when user does not have existing resource to populate them
* Change resource deployment display name
Added Ninar's iteration of the notebook
Changed RDP check box label
Surfacing API errors to user
Filtering regions based on Azure VM regions and user's subscription region
Made form validation async
Displaying new checkbox on network page when dropdowns empty
Fixed a small bug in SQL auth form validation
Made summary single item per row and fixed the gaps in spacing
Fixed validations in vm page
Checking if vm name already exists on azure
* Fixed sql vm eula
Fixed sql vm description
Added hyperlink for more info on vm sizes
* Replaced loading component with dropdown loaders.
* localized string
Fixed a bug in network settings page
* Added additonal filtering
* added reverse to image images
* Fixing some merge related issues
* Update arc regions for public preview (#12366)
* Fix duplicate arc instance nodes (#12381)
* Add "No instances available" node for empty arc controllers (#12374)
* Remove MIAA Port Deploy Option (#12388)
* fix option sources (#12387)
* Fix manage action for arc view (#12389)
* 12360 Notebook UI - Mac/Win fix for Select all. (#12383)
* 12360 Notebook UI - Mac/Win fix for Select all.
* Fix for ctrl key selecting all in windows
* Fix undo as well
* preventDefault to prevent confusing behavior
Co-authored-by: chlafreniere <hichise@gmail.com>
* Fix notebook table rendering with multiple code cells (#12363)
* create unique query runner for each cell
* use cellUri instead of cellId to identify runner
* disconnect each query runner connection
* remove queryrunners size check
* Remove azdata eula acceptance from arc deployments (#12292)
* saving to switch tasks
* activate to exports in extApi
* working version - cleanup pending
* improve messages
* apply pr feedback from a different review
* remove unneeded strings
* redo apiService
* remove async from getVersionFromOutput
* remove _ prefix from protected fields
* error message fix
* throw specif errors from azdata extension
* arrow methods to regular methods
* pr feedback
* expand azdata extension api
* pr feedback
* remove unused var
* pr feedback
* Notebooks: Fast update WYSIWYG support for source update (#12289)
* Fast update WYSIWYG support for source update
* Do bracket matching over hardcoding line offsets
* Update Windows command and minor update to installation cell (#12361)
* Fix windows command and minor update to installation cell
* Add expand_section field on the first section of the book
* marking intermittent test failure as unstable (#12402)
* Fix connection dialog indentation (#12401)
* fix connection dialog indentation
* indent tab body
* Remove container registry from arc control deploy (#12392)
* Fix error when clicking on header for tables with no rows (#12408)
* Change default Select query label to "Take 10" for Kusto tables (#12396)
* Change default label to "Take 10" for Kusto tables
* Addressed comments
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
* Fix resource deployment text field validation (#12421)
* Fix arc deployment regions and remove docker summary (#12430)
* start with eulaCheckButton hidden (#12427)
* start with eulaCheckButton hidden
* reset buttons on card select
* remove testcode
* fix the legacy card style issue (#12428)
* fix the legacy card style issue
* replace the card class
* Fix Spark kernel connections and switch from Kusto to Spark kernels (#12436)
* Fix connection dialog for Spark and issue when switching from Kusto to Spark
* Address comments
* Add Arc MIAA username configuration (#12429)
* Add Arc MIAA username configuration
* username -> userName
* fix postgres product name (#12443)
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* vBump azdata extension (#12452)
* Arc - Enable Postgres dashboard (#12439)
* get overview, conn strings, properties pages working
* hook up password reset, azure link, scale configuration
* fix comments
* enable opening postgres dashboard from controller dashboard
* minor fixes
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* Remove ItemGroup from sqlproj if node being removed is the last one (#12398)
* remove ItemGroup if node being removed is the only one
* fix for if ItemGroup has elements with different tag names
* fix for ItemGroups not at the end of the sqlproj
* fix the extension dependency issue (#12347)
* Bump arc/azdata extension versions (#12463)
* Add preview to Arc controller deployment (#12465)
* Update azdata extension icon (#12469)
* small optimization for select (#12419)
* Revert BDC deployment back to using old azdata check (#12470)
* remove/use unused strings (#12460)
* Activate arc extension with resource deployment command (#12472)
* change to allow refresh and delete correctly (#12477)
* update resultSet in data provider (#12478)
* Add SQL instance name validation (#12480)
* Add SQL instance name validation
* Move -
* Update PG validation
* Fix regex
* simplify
* add table name to models that are imported (#12445)
* add table name to models
* adding null check for safety
* As per PR comment
* Arc/Azdata string updates (#12485)
* Arc/Azdata string updates
* more updates
(cherry picked from commit 2c6f7ac4472e0197650be299ec899388bb495fd8)
* couple more fixes
* more
* update sql database projects readme (#12481)
* remove option to add reference to same database (#12495)
* Update default values and example text when dropdown value changes (#12493)
* Fix PySpark kernel connection change (#12494)
* Notebooks: Fix Grids Not Rendering when Unsaved Notebook Reloaded (#12483)
* Clear Output and fix output change
* Fix tests after forced clear + append output
* Add warning message for users using the new version of jupyter book (#12496)
* Add warning message for users
* Address pr comments
* Arc Postgres - Add Azure params to overview page, update notebook (#12482)
* add azure params to pg overview page, update troubelshooting notebook, string changes
* no default pg version for notebook
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* Arc good ARC bad (#12499)
* default to 0 workers (#12506)
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* Add progress indicator for arc instance deletion (#12510)
* Fix core and memory request MIAA deploy (#12505)
* Fix core and memory request MIAA deploy
* Memory request/limit as 2Gi for MIAA
* In-Viewlet Notebooks Search (#12455)
* fix search
* Add sql carbon tags to vs files
Co-authored-by: chlafreniere <hichise@gmail.com>
Co-authored-by: abist <adbist@microsoft.com>
* Replace vCores property with state for arc controller dashboard (#12512)
* Bump extensions (#12516)
* fix the reference error due to extra $ in default variable (#12523)
* use GB instead of MB for postgres memory (#12528)
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* data workspace review feedback implementation (#12489)
* add a view to handle no workspace scenario
* text update
* project type filter improvement
* fix the project level context menu issue
* update strings
* Add timestamps to azdata output channel output (#12530)
* Fix arc controller ns/name validation (#12525)
* Fix arc controller ns/name validation
* Rename control plane references
* Fix validation
* new download location of azdata.msi (#12466)
* new download location of azdata.msi
* refactor
* Disable tests
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* move eula prompt post azdata discovery (#12532)
* new download location of azdata.msi
* move eula prompt post azdata discovery
* unacceptEula - test change
* Revert "unacceptEula - test change"
This reverts commit f84a3f5e41797de25b38f87143d66f7041b5c4ec.
* Remove Direct connectivity mode option (#12533)
* Remove Direct connectivity mode option
* remove option completely
* fix string
* Arc - Update Postgres deployment field labels and descriptions (#12537)
* update help text strings
* update field descriptions to match help text
* update cpu/memory field descriptions
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* Add troubleshoot button to arc controller/MIAA dashboard (#12534)
* Add troubleshoot button to arc controller dashboard
* Add MIAA button
* Fix links
* Change azdata output channel to Azure Data CLI (#12545)
(cherry picked from commit cdd80c66764bddb2f5ed79045fbd8a0606d1d084)
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* Fix windows azdata install (#12542)
* Fix windows azdata install
* skip failing tests
* Update/release docs (#12544)
* update changelog for 1.22
* update fwlinks
* fix format
* escape the value for display (#12547)
* Add new profile (#12556)
* Add new profile
* version
* move
* fix readonly summary page field widths (#12558)
* Arc - Enable Postgres support request link (#12560)
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* Add test for notebook result grid streaming (#12539)
* start testing convertAllData
* add test for convertAllData method
* clean up code
* bump ads and extensions (#12550)
* bump ads and extensions
* bump azdata
* bump asde deploy
* Remove command link from deployment error (#12573)
* [Kusto extension] Updated links (#12569)
* Add CodeQL Analysis workflow (#10195)
* Add CodeQL Analysis workflow
* Fix path
* updated links
* edit line 31
* edit lines 11 and 31
* edit line 11 again
Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
* Don't use deprecated param (#12574)
* add event.preventDefault() (#12564)
* strict compile for sql/workbench/contrib/queryHistory (#12579)
* clone the object to be modified (#12583)
* Strict compile for sql/workbench/services/dialog (#12578)
* Strict compile for sql/workbench/services/dialog
* fix errors
* strict compile for queryResultsView (#12581)
* Add telemetry for ModelView wizards (#12596)
* Add telemetry for ModelView wizards
* Remove unnecessary params
* Fix compile error
* Improved behavior for accepting EULA. (#12453)
* working version of overloading "select" button
* promptForEula to use showErrorMessage
* make parameter optional in promptForEula
* remove test code
* PR feedback
* eula to EULA
* minor fix
* Remove arc deployment extension check (#12598)
* add role for history tab (#12608)
* add title and tab-index for X button (#12605)
* set aria-hidden for a non-visible control (#12607)
* Convert MIAA and Postgres deploy from Dialog to NotebookWizard (#12609)
* dialog to NotebookWizard
* move fields
* fix 12599
* pr feedback
* add missing page titles
* Fix undefined error in server tree data source (#12616)
* Fix undefined error in server tree data source
* Add comment
* Add ModelViewEditorOpened event (#12597)
* Add ModelViewEditorOpened event
* fix
* Fix compile
* Update sqltoolservice release for kusto extension (#12622)
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
* Delete database reference (#12531)
* remove ItemGroup if node being removed is the only one
* fix for if ItemGroup has elements with different tag names
* fix for ItemGroups not at the end of the sqlproj
* add delete for db references
* fix failing tests
* add test
* cleanup
* Addressing comments and fixing a string
* simplify the preview information feature (#12606)
* dashboardWidget to use updated button component - added an enum for buttonType.
* Code fixes.
* Leaving default description value as empty string. Testing logic for buttonType.
* revised buttonType getter to return Normal by default if not specified in properties.
* Extended sql Button as InfoButton for use in dashboardWidget.
* Some modifications
* Rewrote elements and passed in properties from dashboardWidget to define button contents and layout.
* Styled header and button copy. Corrected button and header dimensions.
* Merged latest from main. Resolve conflicts.
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
Co-authored-by: Aditya Bist <adbist@microsoft.com>
Co-authored-by: Alan Ren <alanren@microsoft.com>
Co-authored-by: Kim Santiago <31145923+kisantia@users.noreply.github.com>
Co-authored-by: Chris LaFreniere <40371649+chlafreniere@users.noreply.github.com>
Co-authored-by: maddydev <makoripa@microsoft.com>
Co-authored-by: chlafreniere <hichise@gmail.com>
Co-authored-by: Cory Rivera <corivera@microsoft.com>
Co-authored-by: Lucy Zhang <luczhan@microsoft.com>
Co-authored-by: Karl Burtram <karlb@microsoft.com>
Co-authored-by: Aasim Khan <aasimkhan30@gmail.com>
Co-authored-by: Monica Gupta <scorpio90m@gmail.com>
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
Co-authored-by: Kartik Arora <33497301+ktech99@users.noreply.github.com>
Co-authored-by: Barbara Valdez <34872381+barbaravaldez@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vasu Bhog <vabhog@microsoft.com>
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
Co-authored-by: Udeesha Gautam <46980425+udeeshagautam@users.noreply.github.com>
Co-authored-by: nasc17 <69922333+nasc17@users.noreply.github.com>
Co-authored-by: Alex Ma <alma1@microsoft.com>
Co-authored-by: Arvind Ranasaria <ranasaria@outlook.com>
Co-authored-by: Brian Bergeron <brian.e.bergeron@gmail.com>
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
* remove ItemGroup if node being removed is the only one
* fix for if ItemGroup has elements with different tag names
* fix for ItemGroups not at the end of the sqlproj
* add delete for db references
* fix failing tests
* add test
* cleanup
* Addressing comments and fixing a string
* working version of overloading "select" button
* promptForEula to use showErrorMessage
* make parameter optional in promptForEula
* remove test code
* PR feedback
* eula to EULA
* minor fix
* update help text strings
* update field descriptions to match help text
* update cpu/memory field descriptions
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* new download location of azdata.msi
* move eula prompt post azdata discovery
* unacceptEula - test change
* Revert "unacceptEula - test change"
This reverts commit f84a3f5e41797de25b38f87143d66f7041b5c4ec.
* add a view to handle no workspace scenario
* text update
* project type filter improvement
* fix the project level context menu issue
* update strings
* add azure params to pg overview page, update troubelshooting notebook, string changes
* no default pg version for notebook
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* remove ItemGroup if node being removed is the only one
* fix for if ItemGroup has elements with different tag names
* fix for ItemGroups not at the end of the sqlproj
* create unique query runner for each cell
* use cellUri instead of cellId to identify runner
* disconnect each query runner connection
* remove queryrunners size check
* 12360 Notebook UI - Mac/Win fix for Select all.
* Fix for ctrl key selecting all in windows
* Fix undo as well
* preventDefault to prevent confusing behavior
Co-authored-by: chlafreniere <hichise@gmail.com>
* Added sql vm deployment option
* Added more fields for sql vm deployments
* created basic sqlvm deployment. Mostly hardcoded
* added string to package.nls
* added poc deployments for sql vm
* Made some changes in the notebook that was mentioned in PR
* Added scaffolding for azure sql vm wizard.
* code cleanups
* added some async logic
* added loading component
* fixed loader code
* completed page2 of wizard
* added some more required fields.
* added some more fields
* added network settings page
* added sql server settings page
* added azure signin support and sql server settings page
* added some helper methods in wizard code
* added some fixes
* fixed azure and vm setting page
added validation in azure setting page
* added changes for the notebook variable
* validations and other bug fixes
* commenting sql storage optimization dropdown
* cleanedup wizard base page
* reversing vm image list to display newer images first
* cleaning model code
* added validations for network setting
* Completed summary page
fixed the code poisition
some additional field validations
* fixed networking page
* - fixed an error with vm size model variable
- removed byol images because it was not working with az sql vm
- Fixed vm size display names in dropdown
* added double quotes to some localized strings
* added some space inside strings
* -Added live validations
-Restyled network component
-Added required to regions
-Some bug fixes
* -redesigned summary page
-localized some strings
* Fixed summary page section titles
* -Fixed validations on sql server settings page
-Fixed some fields on Summary Page
* corrected onleave validation
using array for error messages
using Promises.all
* Fixed bug on network settings dropdowns when user does not have existing resource to populate them
* Change resource deployment display name
Added Ninar's iteration of the notebook
Changed RDP check box label
Surfacing API errors to user
Filtering regions based on Azure VM regions and user's subscription region
Made form validation async
Displaying new checkbox on network page when dropdowns empty
Fixed a small bug in SQL auth form validation
Made summary single item per row and fixed the gaps in spacing
Fixed validations in vm page
Checking if vm name already exists on azure
* Fixed sql vm eula
Fixed sql vm description
Added hyperlink for more info on vm sizes
* Replaced loading component with dropdown loaders.
* localized string
Fixed a bug in network settings page
* Added additonal filtering
* added reverse to image images
* Fixing some merge related issues
* Formatted page
* Removed ResourceHealthPage from the dashboard
* Deleted files that no longer applies to the public preview backend
* shouldn't be able to open the postgres dashboard
* Added 5 missing field options
* Missing apostrophe
* Change extensions label
* Update volume size descriptions
* Change volume size labels
* Reorder required tools
* Reorder required tools
* Argument fixes
* Removed tabs
* Rearrange option order
* Rearrange option order
* Rearrange option order VS
* Added validation to fields. VS accepts only integer and appends Gi
* Changed Dusky deployment title
* Removed text validation for VS and Mem. Changed to Number field type
* Min set to 1 for VS and Mem
* Min set to 1 for Cores
* Memory limit must be at least 256Mi
* the casing of 'preview' should remain consistent
* Removed empty line
* add existing project to workspace feature
* update file name
* new test and use URI
* handle workspace with no folder
* add more validation
* and more tests
* use forward slash
* Added loading prop to dropdowns
* Added property for setting loading text message
* removed unnecessary sets
* changed code to match new changes
* Changed the dropdown loader to use select component instead of edit.
Added missing props in dropdown loader
* show default values in text boxes
* add sqlcmd formatting
* add tests
* Add some sqlcmd variable name validation
* Addressing comments
* fixes after merge
* fix test
* don't localize OtherServer
* fix for windows
* one more fix
* fix test
* Hackathon - better markdown editor - modified Bold to wrap selection in HTML. Split Image button into two new options: embed and link. Made preview container contentEditable.
* Removed the new dropdown from Image button -- it is not necessary since we are adding a context panel instead.
* Modified preview icons
* Set code-component dimensions so it is not visible. It is still being used to pass markdown changes to however.
* add turndown and save markdown
* update model on UI when source changes
* Added conditional that sets element attribute contentEditable when it is in edit mode.
* Added textView component that can be used for editing.
* update source on MD view not on every keystroke
* Added markdown editor buttons that allow user to swap editor, preview views.
* Cleaning up implementation
* Setting base value of _showPreview to false.
* don't allow html edit on split view
* Update editor automagically
* Add an image picking dialog to notebook toolbar.
* Await transformText()
* revert pushEditOperations to fix cursor issue
* Implemented radio buttons for three view toggles.
* Added new, optional properties to radioButton: name, icon class and tooltip. This allows for display as toggleable icon. Updated styles and theme accordingly.
* Style tweaks.
* Added new ViewAction file where the RadioButton action will reside.
* Removed radio button implementation in exchange for native button instantiation. Adjusted CSS and theme accordingly.
* Styles, component and template changes to handle view toggle between text, markdownn an splitview. Includes reverting of radioButton as this is no longer used.
* WYSIWYG 3 Modes
* Ensure one action active at a time
* Setting Text View button active by default. Cleaned up styles. Moved toolbar element to prevent code cell layout overflow.
* Ensure we respect editMode, add showMarkdown
* hiding overflow on code-cell
* Empty text container needs 100% width. Eliminates weird selection border too.
* Initialize _previewMode
* Actions Compatibility
* Further toolbar enhancements
* Update yarn lock after merge
* Slim down changes
* Remove commented out code
* Added margins around notebook-preview container for more visual space for text
* Add turndown to workbench html
* Tweak import
* Add types/turndown
* Remove workbench.html fix
* Import cjs modules directly for turndown
* Leverage solution from github
* browser umd
* non browser umd
* welp dependency
* Modified updatePreview to insert a p tag only when text cell is empty.
* add listener for undo
* add turndown to remote and web
* Fix workbench, check in plugin
* PR comment
Co-authored-by: maddydev <makoripa@microsoft.com>
Co-authored-by: chlafreniere <hichise@gmail.com>
Co-authored-by: Cory Rivera <corivera@microsoft.com>
Co-authored-by: Lucy Zhang <luczhan@microsoft.com>
* add projects to add database reference dialog
* able to add project references
* check for circular dependency
* only allow adding reference to project in the same workspace
* fix location dropdown when project reference is enabled
* add tests
* more tests
* cleanup
* fix flakey test
* addressing comments
* work in progress
* load projects in view and test cases
* update scope
* make the sql proj menu available in workspace view
* add extension unit test
* address comments
* fix errors
* add onResultUpdate handler in gridoutput
* convert rows to mimetype and html
* wait for data conversion to finish before saving
* detach changeRef after output is created
* fix save grid action
* move data conversion check to each cell
* move conversion logic to dataprovider
* notify data converting when user saves
* add comments and remove unused methods
* fix method return type
* fix tests
* fix convertData method header
* move azdata changes to azdata proposed
* address PR comments
* display top rows message
* fix messages/table ordering and query 100 rows
* add missing escape import
* set default max rows to 5000
* add undefined check to updateResultSet
* change gridDataConversionComplete return type
* Add support for new jupyter book version
* Add changes to the jupyter notebook to create books
* Create config file
* Add support of new version of jupyter book on ADS
* Fix paths for opening folder with v1 and v2 books
* Add tests for jupyter book v2
* Update tests
* Fix tests
* Fix get parent issue
* Address PR comments
* Fix bookVersion condition in getSections and fix issue on create book notebook
* Fix search
* update python notebook
* Remove commented lines
* For testing azdata Ext
* add back skipped test
* all tests fixed on linux
* For testing azdata Ext
* fix for mac
* brew upgrade test fix
* remove temp changes
* remove Logger.log calls from test
* _ for unused parameters
* Genericify components
* Fix compile issue
* Fix feedback
* Genericify azdata components (#12164)
* azdata generics
* Add the withProps method to azdata proposed as there may be mistakes with the interfaces in the generics
* Fix build issues because of other extensions
* Remove extra spaces
* Add CodeQL Analysis workflow (#10195)
* Add CodeQL Analysis workflow
* Fix path
* [Kusto] Update readme
* changed click to select
* Add Animated gifs and some text updtes
* add link
* change in media format syntax
* Removed peek definitions
* removed all machine learning refs
* removed en-us
* rename media to images
* removed gifs
* added back peek definitions
* changed media to images
* rename folder again and remove azuredatastudio repo link
* help whitespace identions
* renamed media files
* change image format text
* removed gifs
* add gifs back
* edit gulpfile.hygiene.js file to add gifs
* fixed image
Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
* add role on toggelMore action element
* add aria-haspopup
* Fix localization and more descriptive
* single localized constant
Co-authored-by: Vasu Bhog <vabhog@microsoft.com>
remove sqllint for now
fix hygiene
Revert "remove sqllint for now"
This reverts commit 981ff90b9a5bbf3710d0f0ce58a8b67a92fe64eb.
distro
update smoke version
fix default theme
* add suppress missing dependencies checkbox
* add example usage
* set font-styles
* Fix typo
* allow example usage to be selectable
* don't localize example usage
* move example usage strings to a new section
* WIP
* first version with working tests
* fixes needed after merge from main
* Linux untest changes and merge from other changes from mac
* after testing getTextContent
* rename 2 methods
* linux discovery
* tested code on linux
* using release.json for update discovery on linux
* comment added
* dead code removed
* coomments
* revert unrelated change
* revert testing changes
* code complete, testing pending
* test complete
* PR feedback
* remove SendOutputChannelToConsole
* cleanup
* pr feedback
* PR Feedback
* pr feedback
* pr feedback
* pr feedback
* fix loc function
* install/upgrade command - context sensitive
* add awaits as pr feedback
* cleanup
* merge from main
* merge from main
* cleanup and pr feedback
* PR feedback and cleanup
* cleanup
* pr feedback
* pr feedback.
* revert accidental changes
* cleanup
* test fixes
* test fixes and pr feedback
* pr fixes and eula similar to install/upgrade
* revert extraneous change
* log and prompt fixes
* string fixes
* string updates
* string updates based on PR feedback
* loc const rename
* pr feedback
* string fixes
* make setContext settings uniform
* add commandPallete
* eulaAccepted setContext from memento
* misc fixes
* bug fixes
* test fix
* skip failinf test for fix later
* pr feedback
* upgrading -> updating
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* add tests for Jupyter Session
* remove comment and fix description
* throw error if spark kernel provider is not mssql
* use localize strings and add pythonEnvVarPath test
* Fixed a bug with validating inputs when generating predict script
* Fixed the bug with verifying R packages
* Fixed the tests
* Added warning for when output column data type doesn't match with model output data type
* Fix the issue with selecting db
* Fix for query editor toolbar actions to show correctly based on file type when not connected
* Addressed comments
* Fix when it is .sql file but connection is kust
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
* NotebookUriHandler Test
* set test to previous, return promise for handleUri
* Added tests for file uri scheme https/http
* Updated NotebookUri to await handleUri calls and add more tests
* WIP
* first version with working tests
* fixes needed after merge from main
* Linux untest changes and merge from other changes from mac
* after testing getTextContent
* rename 2 methods
* linux discovery
* tested code on linux
* using release.json for update discovery on linux
* comment added
* dead code removed
* coomments
* revert unrelated change
* revert testing changes
* PR feedback
* remove SendOutputChannelToConsole
* cleanup
* pr feedback
* PR Feedback
* pr feedback
* pr feedback
* merge from main
* merge from main
* cleanup and pr feedback
* pr feedback
* pr feedback.
* pr feedback
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* Initial changes for adding pre/post deploy script in project
* Right click > Add pre/post deploy script
* Print script files in tree
* Add new pre-post deploy items with their own tags and additional ones with None
* Add tests
* Fix error due to merge conflicts
* Addressed comments and fixed tests.
* Fix code scan error
* Addressed comments
* auto increment db proj name
* auto increment on import project from db
* adding separate message if workspace setting is invalid
* updating based on feedback
* adding do not ask again functionality
* moving constants
* making newprojecttool only top level functions
* adding tests
* updating to address merge conflicts
* fixing tests
* fixing tests
* initial changes
* got everything lined up
* get rid of bottom scrollbar
* change database textbox to dropdown and cleanup
* more cleanup and fix profile text box
* fix label
* add fireOnTextChange to editable dropdown
* change edit icon and enable input boxes
* tests for getRow method
* use suiteSetup
* added more tests
* revert changes to gridOutput.component.ts
* mocked out services for DataResourceDataProvider
* add test for serializeResults
* change path to fsPath
* fix param type and use fs promises
* use async in startSerialization
* mock ContextService
* wip
* Fixes
* More fixes
* more fixes
* Disable when preview features disabled
* remove unused imports
* Handle promises
* PR feedback
* Single default ServerGroup color value
* ADS Core changes
* Generic fix to get language mode based on providerId
* Addressed comments
* Fix failing tests
* Fix for "New Notebook" from file menu option
* Remove line
* Fix for merge conflict
* Add removed comment back
* Addressed comments
Co-authored-by: Monica Gupta <mogupt@microsoft.com>
* Update Open Project to display pre-post deployment scripts in the project tree
* Address comments
* Fixed tests
* Update nonDeployScripts to noneDeployScripts and throw a warning message instead of informational message for prePostDeployCount
* Able to get Kernel Alias using extension registery
* Get Kernel Alias through Capability Services
* Notebook Action feature to add kusto to dropdown based on extension - complete
* Fixed indexing issue when Kusto is in kernels Dropdown
* Kusto Kernel listed properly and selected when kernel changes
* Added kernel change when user Attaches To Kusto connection
* Deleted unnecessary code/refactored
* Fix Merge Issues
* Resolving Compile issues - test file error
* Capabilities Provider Changes
* Fixed Notebook Tests
* Rearchitect kernel changes to Notebook Model
* Address minor changes
* wip
* wip
* weird splitview scrolling stuff
* working table
* remove spliceable table
* handling resizing columns
* get perf table integrated into grid
* make more improvments to table view
* testing
* wip
* wip
* fix async data window; add more optimization to scrolling
* work on scrolling
* fix column resizing
* start working on table widget
* inital work to get table widget working with styles and mouse controls
* fix unrendering selection; fix sizes of cells
* support high perf table option; remove unused files; add cell borders to high perf
* add accessibility tags
* handle borders and row count
* more styling changfes
* fix strict null checks
* adding inital keyboard navigation
* center row count; add padding left to rows
* inital drag selection
* remove drag implementation; it can be done better utilizing the global mouse monitor object
* range logic
* create custom grid range
* work with new range
* remove unused code
* fix how plus range works
* add drag selection; change focus to set selection; fix problem with creating a range with inverse start and end
* code cleanup
* fix strict-null-checks
* fix up perf table
* fix layering
* inital table service
* finish table service
* fix some compile errors
* fix compile
* fix compile
* fix up for use
* fix layering
* remove console use
* fix strict nulls
* make table editable
* add button to load values from sqlproj
* use form component group
* match mockups
* move UI constants to a separate file
* fix error
* add support for AAD interactive for project data sources
* fix whitespace
* remove warning message
* choose azureMFA if a connection string has both integrated security=true and authentication=active directory interactive
* azure pane in connection dialog
* fix layering
* fix issues
* fix test
* more test fixes
* add back double click to connect for non-contributed views
* first changes for showing project references
* add tests
* fix interface and formatting
* add try so that project still gets loaded even if dependency project loading fails
* use instanceof
* add circular reference error
* hook in grid panel to edit data input through the editDataResultsInput
* added then at end of refreshGrid to ensure cell reset happens after refresh.
* abstraction
* Timeout removed as its causing issues with refreshing
* added await for dataRows
* Added working timeout for refresh
* removed spaces
* added comment explaining isRefresh
* Timeout set to 500 for better coverage.
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
Co-authored-by: Anthony Dresser <andresse@microsoft.com>
* test changes
* maintain uri if it's not a file
* check file and path is string
* missed this
* Add SQL CARBON EDIT
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* Use vscode.URI for local paths
* Use vscode.uri file method to set the name for remotebookfull path compressed file
* Add await on extract tar function
* Replace remote paths too
* Use vscode.uri.file instead of parse for local paths
* fixes duplicate list items on welcome
* fixes duplicate list, and comments on PR
* updates to use clearNode, and removes unnecessary formatter
* awaits maplistentries, calls functions directly
* Add a test for SchemaCompareDialog and update the product code with deferred promise
* Update test to verify that button clicked worked
* Addressed comments
* Updated verifyButtonsState to use should instead of console.log
* Notebook cell toolbar additions - move up and move down added. Stubbed out related actions. Cleaned up component code.
* Added new more actions menu item: Convert cell.
* add move cell support in model
* Schema Compare cleanup (#11418)
* cleanup async and await stuff
* remove awaits
* remove more awaits
* fix (#11437)
* Add some unit tests for PyPiClient. (#11442)
* handle invalid character in kubectl version output (#11460)
* Add tests for azdata extension (#11423)
* Add tests for azdata extension
* Fail on stderr
* Skip test for not implemented logic
* Move executeCommand stub
* Add missing packages
* let semver to parse the version (#11463)
* let semver to parse the version
* check
* Stop hardcoding python3 (#11464)
* Add ConnectControllerDialog tests (#11443)
* Automatically fix up arc controller URL
* wip
* Force tests to pass
* Refactor
* comment
* adds role of button to all links that are buttons (#11465)
* Merge from vscode 0a7364f00514c46c9caceece15e1f82f82e3712f
* bump smoke extensions
* bump node version in builds
* bump smoke extensions
* Add query-history and sql-assessment to recommended extensions (#11477)
* First draft of outputProcessor tests (#11368)
* First draft of outputProcessor tests
* add return type for a function
* pr feedback
* comments and Spellings, getRandom ==> getRandomElement
* pr feedback
* pr feedback
* Adds support for installing azdata on Linux (#11469)
* Large cleanup of AzureCore - Introduction of getAccountSecurityToken and deprecation of getSecurityToken (#11446)
* do a large cleanup of azurecore
* Fix tests
* Rework Device Code
* Fix tests
* Fix AE scenario
* Fix firewall rule - clenaup logging
* Shorthand syntax
* Fix firewall tests
* Start on tests for azureAuth
* Add more tests
* Address comments
* Add a few more important tests
* Don't throw error on old code
* Fill in todo
* Adding button plugin to table component (#10918)
* Added delete plugin to table component
* Arc - Remove Azure params from Postgres deployment (#11478)
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
* tests for KernelsDropdown class (#11476)
* add return type for a function
* tests for KernelsDropdown class
* remove inadvertent change
* remove inadvertent change
* formatting changes
* pr feedback
* pr feedback
* implement review feedback (#11470)
* fix sql proj sqlcmd table showing after loading profile when it shouldn't (#11479)
* Feature/outer paths for project (#11445)
* allow relative paths in project file outside of project folder
* Adding some tests
* Adding error string to loc strings
* Fixed test
* fix error message
* PR comments and some more fixes
* change userName to match what the azure account display name is (#11484)
* change userName to match what the azure account display name is
* Handle undefined value
* Merge from vscode 8c426f9f3b6b18935cc6c2ec8aa6d45ccd88021e
* recomment out integration tests
* Fix/open book error (#11379)
* add isNotebook param and showPreview option
* showPreview changes
* update OpenNotebookFolder to open a specific path
* added test for showPreviewFile
* test name typo
* remove isNotebook from openBook
* Add test coverage for dacpac wizard import flow (#11483)
* Adding importConfig onPageEnter() test
* Removing redundancy from dacpac wizard pages
* promisifying file selection so it can be awaited in the test
* removing debug prints
* PR feedback
* Remove all accounts regardless of failure in one account (#11431)
* distro (#11487)
* distro
* distro
* distro
* distro
* Adding icons to Database Projects' tree view (#11488)
* Add images
* Splitting to light and dark mode icons
* Hooks up icons to treeItems
* updating package.json with new icon and vbump
* move icon loader before tree view created
* Update Arc extension version and fix Controller connectivity status names (#11498)
* Update connectivity mode names
(cherry picked from commit f0aabcfa86d178cdf74470f9fdeded19718bcea2)
* Bump package version
(cherry picked from commit e08370539006c638d6e25c2f4f23fa2754a3377d)
* deploy to single existing device (#11494)
* deploy to single existing device
* comments
* Add versioning for accounts (#11497)
* Add versioning for accounts
* deletion value
* Changes to getAccountSecurityToken (#11502)
* Hook up convert cell
* Fix tests
* Add convert cell tests
Co-authored-by: chlafreniere <hichise@gmail.com>
Co-authored-by: Kim Santiago <31145923+kisantia@users.noreply.github.com>
Co-authored-by: Maddy <12754347+MaddyDev@users.noreply.github.com>
Co-authored-by: Cory Rivera <corivera@microsoft.com>
Co-authored-by: Alan Ren <alanren@microsoft.com>
Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
Co-authored-by: Chris LaFreniere <40371649+chlafreniere@users.noreply.github.com>
Co-authored-by: v-bbrady <60623315+v-bbrady@users.noreply.github.com>
Co-authored-by: ADS Merger <andresse@microsoft.com>
Co-authored-by: Arvind Ranasaria <ranasaria@outlook.com>
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
Co-authored-by: Leila Lali <llali@microsoft.com>
Co-authored-by: Brian Bergeron <brian.e.bergeron@gmail.com>
Co-authored-by: Brian Bergeron <brberger@microsoft.com>
Co-authored-by: Udeesha Gautam <46980425+udeeshagautam@users.noreply.github.com>
Co-authored-by: Benjin Dubishar <benjin.dubishar@gmail.com>
* Add setting for max number of expanded books
* Remove extra commas
* Add setting for expanding/collapsing books at root level
* Change typo in name of setting
* Change default value to false
* Add open book option in UI
* Add dropdowns option on dialog
* Add flow logic
* Fetch releases and validate URL
* Add class for github books and shared file books
* Change code structure
* Unblock local copy + stack overflows
* Download books from github
* Remove unused files
* Clean code and use the openNotebookFolder command to open remote book
* Checkpoint
* Refactor remote book dialog model to only hold data
* Remove ApiWrapper and refactor createlocalcopy method
* Use sinon js framework instead of typemoq for testing remotebookController
* Remove api wrapper
* Add some tests
* Add more tests and address pr comments
* Address PR comments
* Fix remotebook broken tests
* Add download location in output channel and use openBook command
* Address PR comments
* Fix typos, print error message and remove failing test
* Print error message
* Separate tests in different files
* Declare controller variable inside extension.tst
Co-authored-by: chlafreniere <hichise@gmail.com>
* Add images
* Splitting to light and dark mode icons
* Hooks up icons to treeItems
* updating package.json with new icon and vbump
* move icon loader before tree view created
* Adding importConfig onPageEnter() test
* Removing redundancy from dacpac wizard pages
* promisifying file selection so it can be awaited in the test
* removing debug prints
* PR feedback
* add isNotebook param and showPreview option
* showPreview changes
* update OpenNotebookFolder to open a specific path
* added test for showPreviewFile
* test name typo
* remove isNotebook from openBook
* allow relative paths in project file outside of project folder
* Adding some tests
* Adding error string to loc strings
* Fixed test
* fix error message
* PR comments and some more fixes
* add return type for a function
* tests for KernelsDropdown class
* remove inadvertent change
* remove inadvertent change
* formatting changes
* pr feedback
* pr feedback
* do a large cleanup of azurecore
* Fix tests
* Rework Device Code
* Fix tests
* Fix AE scenario
* Fix firewall rule - clenaup logging
* Shorthand syntax
* Fix firewall tests
* Start on tests for azureAuth
* Add more tests
* Address comments
* Add a few more important tests
* Don't throw error on old code
* Fill in todo
* First draft of outputProcessor tests
* add return type for a function
* pr feedback
* comments and Spellings, getRandom ==> getRandomElement
* pr feedback
* pr feedback
* Add support for installing azdata on Windows
* Don't run startup code when in test context since it blocks on UI input
* restart checks
* Disable calls for now
* unit test of the method
* stash changes
* revealActiveDocumentInViewlet test
* separate tests
* test on activate
* added tests
* feedback changes
* naming change
* initial changes for reading connection from profile
* connection string can now be read from publish.xml
* fix build errors and update test
* move publish profile tests to their own file
* cleanup
* update message
* fix string
* remove apiWrapper
* Slight import refactor
* Test updates
* Adds test, sets script name for File extractType to projectName
* generating correct folder list
* Correctly setting serverId for Imports started from Object Explorer
* Adding regression test
* uncommented test check
* Handle don't ask again button
* Change to ignore
* Change language
* Pass in tenant name and ID
* Fix message
* Don't allow common tenant to get interaction required prompt
* Move things around
* distro
* renable web smoke
* add missing script
* update node version
* update node version everywhere
* ensure playwright drivers are installed
* fix screenshot capture
* try this
* rewrite connection dialog code
* fix permissions
* more wip
* replace more $ with ^
* revert changes
* refactor and revert more changes
* add screen shot functionality to playwright
* fix compile
* fix profiler compile
* don't run new files for web
* continue on error for web
* continue on error for web not normal
* revert some changes
* Setting up tests on import extension
* -Added API wrappers for all the azdata and vscode APIs to make them easily mockable
-Added some unit tests for the import extension
-Some code logic separations
* -added code report for the import extension in ci
* Did some more code refractoring
* -Added json report generation
* updated vscodetestcoverage to latest version in import extension.
* -remove duplicate codecoverageConfig.json
* -Added some modifyColumnPage tests
* pushing temp changes
* -Added some more testcases
* -Added tests using available vscode and azdata apis
* some minor comment change
* removed unnecessary test
* added accidently removed test
* Added some comments
* fixed some broken tests and added comments in fileConfigPage
* code clean up and some more comments
* fixed the prosePreviewPage test and the download test
* added getter and setters
* Increasing timeout and fixing a comment
* removed unnecessary comments and some other code cleanup
* Deleting dotnet files before redownloading them
* - made changes in the PR
- Moved extensioncode to utils.test for better reusability
* added some 'should' messages
* add import database project to database and server dashboard home toolbar
* connection profile is getting passed to the extension
* use MenuItemAction instead of creating a new one
* move database picking
* add comment
* add helper function
* Azure IoT deployment type
* more updates
* organize fields
* a few more improvements
* resolve merge issues
* new rg improvement
* fix tests
* comments 1
* comments 2
* Move the tests out to their own tasks
* Revert change
* Lets try this
* Actually reference to the tests
* Lets try this
* lets try this too?
* this one?
* Manually define them :(
* Formatting
* Add the node command
* Fix machine learning and address comments
* Adds heading dropdown to markdown toolbar.
* Added a method specific to headings that places markdown at beginning of line selected.
* Rewrote comment for my new method.
* Revised code to support multi select for headers, similar to how unordered list is applied. Multi-line headings can be undone if the multi lines are selected.
* Modified transformText to make single-line undo operation possible with just the cursor position.
* Added utility methods to help determine if the selection is a line-only or multi-line.
* Building isReplaceOperation to determine when preceeding characters need to be replaced with a new MarkdownButtonType.
* Updated comments.
* Applied changes written by Chris.
* Reverted changes to earlier stage where heading addition works just like list item additions.
* getExtendedSelectedText now returns an actual value in range for MarkdownLineType.EVERY_LINE.
* Added conditional so that Preview element is updated only when Preview is enabled.
* Updated tests for heading toolbar: heading 1, 2 and 3.
* Removed code that could not be reached.
* Corrected tests for headings.
* wip
(cherry picked from commit 43deb9635cc0eeebaffef22d4373f1f6ad713ace)
* cleanup
* fix error
* Fix tests
* Add more testing
* delete
* re-add
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* Schema compare tests for updateSourceAndTarget method
* Merge conflict resolution
* Move resetbutton call before adding them to toolbar
* PR comments- added a buttons interface for readability and created a test class to add test functionality to the orginal class
* Moved interface ButtonState to test code
* show error when trying to create file or folder that already exists
* add test for file that already exists
* add folder tests
* fix error messages
* hide Properties folder
* update comment
* Add CodeQL Analysis workflow (#10195)
* Add CodeQL Analysis workflow
* Fix path
* fix word wrap support in the message panel
* fix width on message treee
* fix import
* fix settings editor to reflect the changes in the settings ids
* fix tests
* add configuration upgrader
* make sure to maintian execution order
* make the compiler happy
* add tests for upgrader
Co-authored-by: Justin Hutchings <jhutchings1@users.noreply.github.com>
* udpate import to have friendly names for the extract file organization options
* update tests
* update message
* remove camelcase stuff
* use localized constants instead of enum
* Change Azure region dropdown to use azurecore API for getting display name
* Fix compile errors
* Adding a few things to the vscodeignore
* and another
* -Added check all null checkbox
* Modified declarative table to add check all columns in the column header
* -changed to using existing methods for firing events.
* -changed table height to auto
-center aligned data in table cell
-Check all generates event for only changed values
* -changes column header from text to column header (#10787)
* This fixes the weird angular stuff - we need to do this in every other component
* -added changes made by amir for dom object tracking
-added automatic checkall detection.
-made text-align center in table cells
* -fixed styling issues and issue with checkboxes
* -Removed unsued function
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
* Added toggle preview button to Markdown toolbar. Revised components, theme and styles to present the preview as a second column beside the markdown.
* Added showPreview to model and began working on togglePreview.
* Uncommented use of cellModel.showPreview
* add cell model event for onPreviewChange
* Renamed my showPreview boolean to prevent confusion with local boolean used in toogglePreview.
* Added CSS class when preview is enabled. Adjusted styles accordingly.
* Swapped icon show/hide references for correct sequence. Modified updatePreview to include state of doShowPreview.
* Added check for isEditMode so we can run togglePreview and show it once editor closes.
* Added listener to code.component that triggers layoutEmitter on changes to peview.
* Renamed local boolean doShowPreview. Removed unneeded code. Fixed ambiguity in my use of booleans, adding a getter and setter to textCell.
* Cleaned up implementation of new get/set for toggling preview.
Co-authored-by: chlafreniere <hichise@gmail.com>
* Added code to remove multiple separators from more actions menu.
* Moved check for separators after list is deduped.
* Logic cleanup
* Added unit test for cell toolbar ellipses menu.
* Fix tests
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* Setting up tests on import extension
* -Added API wrappers for all the azdata and vscode APIs to make them easily mockable
-Added some unit tests for the import extension
-Some code logic separations
* -added code report for the import extension in ci
* changes code coverage to 36%
* adding some comments
* Removing unnecessary exports
* -refactored test code to replicate src structure
-some changes mentioned in the pr
* removed unnecessary prefixes from test case name
* get children of unexpanded books
* highlight item inside collapsed parent in treeView
* fix path issue on windows
* refactor common code into separate func
* refactor
* don't allow adding duplicate database references
* add test
* addressing comments
* remove XML checking from databaseReferenceExists()
* change to get
* fix for windows path to show in project tree across platforms correctly
* allow retrying on project that failed to load
* test for project failed to load case
* Adding platform safe uri for database ref in tree
* Added providerRegistered test
* test for EditConnectionDialog
* changed wording
* added test for connectionInfo
* utils.ts tests added
* hasRegisteredServers test
* commented out editconnection tests, addl. tests
* added onConnectionChangedNotification test
* added changeGroupId tests
* Added connection profile changes
* added connectIfNotConnected test
* added delete connection test
* isRecent and disconnect editor tests
* added registerIconProvider test
* Fix for ensureDefaultLanguageFlavor test
* added a few tests
* utils prefix test updated
* added utils tests
* load database name from profile.xml
* load sqlcmd variables from profile
* Add warning text
* add tests
* fix file filter for windows
* add comments
* show SQLCMD variables in a table
* reset dialog before testing readPublishProfile callback
* Fixed scroll to top
* removed brackets
* Don't trigger the cellSelectionModel when className is the resizable handler
* Added message for header listener
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
* Fix leak
* We don't need the full connection profiles for drag drop control
* Remove unused code
* Change test definition
* Change test definition
* Change equality check
* Setting up tests on import extension
* -Added API wrappers for all the azdata and vscode APIs to make them easily mockable
-Added some unit tests for the import extension
-Some code logic separations
* -added code report for the import extension in ci
* Did some more code refractoring
* -Added json report generation
* updated vscodetestcoverage to latest version in import extension.
* -remove duplicate codecoverageConfig.json
* able to drag objects from left pane
* changed scheme from file
* base functionality working
* extended functionality to tables
* added string literals and formatting
* cleanup
* cleanup
* added table/column parsing
* removed bad logic
* updated to use metadata
* cleanup and added sql carbon edit tags
* moved changes from vs into sql code base
* refactoring drag and drop
* cleanup
* cleanup
* cleanup
* added unit tests
* pr changes
* moved treeMock file
* fixed small bug
* add system database reference for VS
* a few fixes
* update tests
* update tests
* fix tests after merge
* addressing comment to make logic a little more clear
* fix replacing SSDT reference name in tree
* Added some logging and disabled half of the tests for sql database projects
* Comment out data souces tests, a probable test failure
* Used skip instead of actual commenting out of code
* Adding reading SqlCmdVars from project file
* organized apiWrapper, added calls
* Adding test to confirm deployment/script gen profiles with sqlcmd vars
* convert system database references from SSDT
* remove empty ItemGroup if no other database references
* fix baseline files
* also update sqlproj if system database references were added in SSDT since the sqlproj got updated with ADS imports
* undo change
* move updating system db references out of updateProjectForRoundTrip()
* update test to have an already updated system db ref
* add clean target after merge from master
* add await
* addressing comments
* add database references to same itemgroup
* show database references in tree
* update tests
* refresh project tree after a reference is added
* addressing comments
* add validation
* Add test
* sort imports
* highlight correct notebook on navigation.
* add back behavior of highight on viewlet visible
* optimize bookViewer create
* createTreeView for every book
* -"Run current" command runs the entire selection instead of only first statement in the selection
* -brought some logic back from the old code to correct the behavior
* -Added unit tests for runCurrent command
* -Fixed a comment
* - Added checks for run input parameters
* -Added some extra checks
* -Fixed some spacing issue
* Changed to using verify instead of a counter variable
* add dacpacs
* able to add reference to appropriate master dacpac
* able to add reference to a dacpac
* Add a few tests
* fix tests
* fix wording
* fix adding reference to same database
* add project tests
* fix test for windows
* addressing comments
* Adding another test
* update tests
* fix build error
* Test code for round tripping feature
* Fixed tests. Edited updateImportedTargetsToProjFile method to push newly added import target to the list.
* Added couple more tests
* Addressed comment
Fixes bug where files located in a subfolder defined before the folders themselves in .sqlproj would result in those files not appearing in the ADS treeview
* wip
* Update to latest vscodetestcover and add tests back in
* Update to latest version of vscodetestcover
* updates
* another yarn.lock
* update version
* Revert import path change
* save not yet tested work
* Merge from master.
* Screeens Shared for Feeedback
* Code complete
* remove unneeded changes
* remove unnecessary comma
* remov wss
* remove dead code
* PR feedback
* checkpoint fixes
* PR & minor fixes
* minor fix for feature of resourceType options being optional.
* reverting experimental change
* separating out changes for future featurework.
* revert unneeded change
* review feedback fixes
* review feedback
* rename InputFieldComponent to InputComponent
* working version of custom summary page
* add option to align items in a flex- container.
* changes to support labelColor
* save work , still pending issue with labelCSSStyles
* Summary page and setting variabless in notebook.
* minor fixes.
* pr feedbck
* fix formatting issues
* pr feedback
* pr feedback
* pr feedback
* fixing docs
* summary page value setting fix
* rename children of RowInfo to items
* rename a method
* rename summary_text to evaluated_text
* rename properties of fieldInfo
* revert inadvertent change
* rename linked_texttext to hyperlinked_text and removing linking facility from readonly_text
* pr feedback
* fix setting tools variables in env and notebook
* removing saving of originalValues for EvaluatedText
* await on launchNotebookWithEdits
* await on launchNotebookWithContent
* merge RadioOptions & Options into 1
* merge ReadOnlyText, links & evaluatedText
* Samples for new generic wizard features
* fix comment
* fix assertions
* return type and comment for getClusterContext
* fix inadvertent change
* increase minimum required azdata version
* remove unneeded environment variable settings
* not leaking passwords in notebooks
* initial commit to get it working
* Change configuration to use package.nls.json
* Make the necessary plumbing
* Support multi cloud
* Move the menu item to the bottom
* Fix failing tests
* Fix the tests
* 10551 - Notebook UI: Added cell toolbar component, actions scaffolding, styles and theme colors. Removed markup for legacy, hidden hover buttons. Updated instaces of icon class: mask to masked-icon.
* Uncommented lines for CellToggleMoreActions so we can see how the ellipses currently work.
* Added EditCellAction which toggles between two icons.
* Cleaned up comments and removed some unused code.
* Copied DeleteCellAction into celltoolbarActions
* Connecting model and cell model to toolbar component for necessary context.
* Pass in cell + nb model from notebook component
* Adding context for EditCellAction so we can activate a cell via icon.
* Removed my copy of AddCellAction and simply referred to the existing one.
* Fixes to propogate cell model edit mode changes
* Added onCellModeChanged event registration to code.component.
* Moved cellToggleMoreActions into cellToolbarActions. Suppressing ellipses in code and textCell components.
* Fix adding cells
* Copied and modified ToggleMoreWidgetAction for use in cellToolbarActions. Instantiating cellToggleMoreActions and adding to toolbar.
* Removed unused markup, code and styles. Moved cell toolbar template into compoent.
* Removed double-click from textCell. Changed message to indicate where content goes - without it the cell does not have dimension and cannot be found by the user.
* Removed unused code file.
* Fixing my boo boo
* Updated AddCellAction with null coalescer. Set Promise to type: void.
Co-authored-by: chlafreniere <hichise@gmail.com>
* Add and fix Notebook tests
* Fix name
* Fix compile
* Acutally fix error
* Add Notebook title test and fix command
* Add extra check and add comments
* Remove extra show error message
* Initial changes for Import database as new project
* Functionally complete code
* Initial changes for Import database as new project
* Functionally complete code
* Resolved conflicts with latest changes. Also did some code refactoring.
* Addressed comments. Added unit tests.
* Addressed comments
* Moved ExtractTarget enum from azdata to mssql
* Addressed comments
* Fixed indentation in project templates
* Reprompt for consent
* Remove unused imports
* Fix typos
* Change the tenant we re-auth too
* Handle the prompt properly
* prompt for consent dialog
* Information message modal
* product name
* Change message per PM feedback
* Fixed the issue with wrong title in predict page
* Fixed the type of ml settings
* Increased timeout
* Fixed the bug with R package management and Windows auth
* fixed the tests
* fixed a typo
* run tests in every pipeline and include integration tests
* fix test env
* fix integration test scripts
* remove windows unit tests
* remove unused tests in integrations
* add comments
* Reworking notebook action bar functionality and appearance.
* added separator
* Revised notebookActions for collapse, clear and trusted such that they can be implemented with a boolean set to T of F and show labels or shift them into tooltip for accessibility. Updated styles for select boxes. Added toolbar icons to common icon location. Split icon definition for use as masked or background-image.
* Completed styles for action icons: collapse, clear and trusted. Added theme colors. Simplified icon behavior styles.
* Made maskedIconClass optional. Added theme colors for toolbar icons, select box border and dropdown arrow. Experimenting with adding masked icon to pseudo element so I can pull out label text from icons.
* Added icons styles to handle masked SVG elements as pseudo element beside button text. Added icons using this method to respect the color theming system.
* Adjusted styles for the cell and run all icons in notebook toolbar.
* Prepped notebook toolbar with placeholder icon for Underline action. Implemented Underline action. Added custom --wip-- ButtonMenu control, a modified copy of DropDown.
* Revised colorRegistry and corresponding notebook styles. Removed unused code from new custom control: buttonMneu. Revised icon styles to create a dropdown arrow for buttonMenu.
* Added new icon for Underline action.
* Removed comment from needed markup.
* Replaced actionItemProvider with optional undefined per DropdownMenuActionViewItem constructor.
* Cleaned up new control, removing unneeded code and referencing what the class needs. Corrected style declaration for overriding input box padding. Removed unused notebook color styles. Scoped element styles to the toolbar so others outside the toolbar are not affected.
* Removed unnecessary !important from style override.
* Removed reference to unused color entry.
* Syntax cleanup.
* Put notebook toolbar improvements behind the preview flag. This involves some conditionals and CSS classes.
* Updated icon used for Manage Packages. Created and updated styles for notebook toolbar icon spacing. Modified notebook.component contributed actions so that the label text is shifted into the title attribute. Added new icon for Not Trusted toggle.
* Replaced SVG code for not-trusted icon.
* Addressed PR feedback: changed masked classname. Revised component and CSS accordingly. Removed unnecessary instance of in-preview class. Fixed code logic that assigns label text to tooltip on incoming contributed action
* add support for schema compare to specify source dacpac
* add build and dacpac produced from build
* check if dacpac exists
* add tests
* move exists check code to utils
* fix test run failing
* WIP registerKeybind
* testing command
* Moved command to query.contribution
* Moved command to editData.contribution
* simplified command
* more simplification
* Working keybind for toggle query pane added.
* removed space
* added option to always show sql pane
* removed keybind default and changed option
* added some checks
* Added return undefined
* added handling for multiple loads
* added more error handling
* minor space change
* added explanation message
* simplification
* added changes from create new row
* added some checks
* Added return undefined
* added handling for multiple loads
* added more error handling
* minor space change
* added explanation message
* simplification
* editDataGridPanel corrected
* updated to most recent master version
* removed space at end
* added newline
* added another try catch
* changed message
* added check and message
* added clarifying message
* removed redundant try catch loop
* grid data is now backed up
* wording change
* initial build command execution
* adding tests
* Clean up test names
* update SqltoolsService release in ADS for Build
* Updating as per PR comments
* updating yarn lock
* Adding one more test for command run
* Test fixes
* remove request promise for request-light
* make sure data is a string not a json
* add configure call
* remove unused reference
* more fixes
* Move configure calls
* clean up
* fix name
* move test deps as dev
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* connection picking dialog for deploy
* add data source option
* fix errors
* merge fix
* show connection name instead of connection string if there is one
* remove unnecessary async
* async (#10292)
* Revert "async (#10292)"
This reverts commit c94139aa45d8f1d868ebd251f3016315718b56ae.
* add a few tests
* addressing comments
* remove cancel click handler
* remove text box for generate script file path because it will just open up a new editor with the script
* fix test
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
* rework some code and write an inital test
* fix strict
* add more to standard test
* add to existing workflow test
* fix tests
* simplify the code
* add more tests
* remove bad import
* fix compile
* fix timestampiong
* Add Cell after current active cell
* fixed error
* more fixes
* Addressed PR
* merged with master
* Fixed the tests and code
* removed try catch and modified the test to check the method does not throw.
Co-authored-by: Rajesh Kamath <rajkashop@hotmail.com>
* - Removed PG connections in the new connection wizard
- If a PG database is active sending an error
- Removed refresh button #6611
* Added back the refresh
* -Using getConnection only once.
* -Fixed the error message
-Fixed the bugs mentioned in the PR
Co-authored-by: Aasim Khan <aaskhan@microsoft.com>
* Added Edit Connection Command
* Wip changes for new connection dialog
* Testing
* WIP commit
* added ID check to ensure connection
* wip commit
* model id check implemented
* addfooterbutton now accepts events
* wip commit
* message explaining check
* temporary change
* connectionManagementService restored
* Revert "connectionManagementService restored"
This reverts commit 9704a63184a06a33bee2648ef0a899229d117cc0.
* formatting test
* editConnection promise testing
* edit existing connection command added
* WIP Connection Edit
* disconnect added to editConnection promise
* WIP on editExistingConnection
* changed isEdit to true
* Amir/edit connection (#10112)
* Get edit connection working
* Delete unused code
* check for isEdit as well
* connection tree test added
* WIP connection management tests
* comment out test to find out what's wrong
* fix for one error
* added note about test skipped
* changed signature of saveprofile
* saveprofile fixed
* wrote working test
* added additional test
* changed message
* Fixes made
* fix for matcher
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
Converted `test-extensions-unit.bat` to javascript to add a small QoL improvement that I think people will find useful: specifying which extension(s) you want to run tests for instead of commenting out lines of a script.
In addition to existing behavior being mostly preserved (node test-extensions-unit.js defaults to running all unit tests), you can specify one or more:
```
node test-extensions-unit.js sql-database-projects
node test-extensions-unit.js sql-database-projects schema-compare
```
* Add a pop up for dotnet install if not present
* Second option of default location for mac/linux
* correcting the pop up message
* remove extra dependency
* updating as per PR comments
* Put new welcome page behind preview features flag (#10099)
* import correct welcome page (#10117)
Co-authored-by: Anthony Dresser <andresse@microsoft.com>
* Using azure sql compatible query
* Included changes requested in PR for azure specific DBs and then fixed issue #9361 for contained databases.
* Made some changes mentioned in the PR
- Converted let to const
- Logging the error
* Fixes for attach to. Still need to update cache
* Don't have jupyter hardcoded
* Handle DOTNET_ROOT env var
* Fix on load
* Put behind feature flag
* Cleanup
* Error check
* PR feedback
* Changed the activation event from onCommand to startup "*"
* Refractored some code to fix the issue
* Made some PR related changes and fixed a condition where the same error was occurring when the flatFileImport has to download binaries from the internet.
* Reverted activation event back to previous state as it had no effect.
* Made changes mentioned in the PR
Co-authored-by: Aasim Shahnawaz Khan <aaskhan@microsoft.com>
* Fixing potential bad order of template loading and map construction
* Fixing bug where templates get mapped before loaded from file
* Parallelizing loading templates from file
* Addresses bug: 10062. Replaced scrollTop with getBoundingClientRect.top minus the combined height of the top tabs and action bar.
* Setting initial value of chrome offset, and checking for existence of both tool bars before getting their heights.
* fixes the video images not showing when a 2nd welcome page is opened, and replace the admin pack image
* deletes unused image
* hardcodes video image src into html
* removes dead code
* embeds require.toUrl in markup
* Adding enablePreviewFeatures check before showing the new toolbar.
* Removed unused code.
* Added hook to trigger onDidChangeConfiguration -- this makes the UI change after user has checked or unchecked, without having to restart the app.
* Initializing the component with the current config value of enablePreviewFeatures.
* layout properties in 2 columns
* fix height after collapsing
* update with reflow values
* set height better
* cleanup
* fix crashing when resizing while properties widget is loading
* Switch to grid layout
* Only two columns max
* Update comment
* Undo color change
* Cleanup
* Fix test
Co-authored-by: chgagnon <chgagnon@microsoft.com>
* makes the preview button hover state stay active when hovering over tooltip
* fixes the duplicating list on the extension pack when a 2nd welcome page tab is opened
* Markdown editor toolbar - initial commit
* Moved icons. Refactored new toolbar component to include markup.
* Edited markdown toolbar component and referencing in textCell component markup.
* Completed UI updates for selected cell toolbar and markdown toolbar.
* Modified import path to Event class. Changed EventEmitter to Emitter.
* Cleaned up newly added toolbar components
* Works sometimes sometimes editor is null
* Removed commented out code and styles. CellToolbar and MarkdownToolbar: moved component markup into html file.
* Added icon for highlight. Removed more commented code. Re-scoped two styles to their parent components. Corrected templateUrl reference for the new toolbars.
* Adjusted paths to SVG icons from toolbar stylesheet.
* Add lists and links
* Refactor out of component, add actionbar
* Support for nothing selected, quick bug fix
* Updated split view icons. Added markdown tool backgrounds and cell border colors to color registry and parent components. Updated toolbar icons to use mask as this allows the SVG icon colors to be adjusted on theme change.
* Added colorRegistry entries for code cell. Removed colors from styles. Running registerThemingParticipant from code.component.
* Revised code component style rules and corrected syntax.
* Merged in Chris' working branch and removed unused markup.
* Corrected styles and moved another color into colorRegistry for use in new markdown toolbar.
* Corrected style error. Overrode left position of content inside textCell and codeCell. Added more entries to colorRegistry.
* Moved toolbar and editor icons to common-icons location. Updated related stylesheet. Revised color theming rules for markdown and code cells.
* Added themed border between markdown and preview. Moved all notebook themes into notebookStyles.ts
* Merged in latest from origin/master and included a small but significant style tweak to light theme code cell toolbar.
* Add Undo Support for Markdown Toolbar (#9915)
* Remove comment
* Renamed registered notebook colors and prefixed with notebook. Moved markdown component theme colors into notebookStyles.ts. Removed colors from cellToolbar styles. Revised icon class names to generic names for better re-use. Removed commented markup.
Co-authored-by: chlafreniere <hichise@gmail.com>
Co-authored-by: Chris LaFreniere <40371649+chlafreniere@users.noreply.github.com>
* Added Notebook telemetry for livesite
* added back the metadata retension code
* Unified Telemetry services
* fixed names
* Fixed texts to use new NullAdsTelemetryService
* Validate GUID before sending it
* made GUID check a bit more robust
Co-authored-by: Rajesh Kamath <rajkashop@hotmail.com>
* WIP sash fix
* stuff to fix
* working mostly
* added tabbedPanel fix
* added null checks
* removed additional space in editdata.css
* wip change for border-top
* Fix for query editor and editdata colors in modes
* removed junk additions for panel.css
* fixed div and classes for editDataGridPanel,
* small optimizations
* Small tweaks
* simplified color checks
* test commit
* Test changes
* no need for important
* updates made
* removed small space
* initial changes for actionbar collapsing
* fix more not always all showing after resizing
* collapse toolbar if window size is already small when dashboard is opened
* make wrapping default behavior and collapse opt in
* fix so keyboard navigation works in overflow
* more keyboard fixing so that the actions in overflow get triggered
* change overflow background with theme
* change margin
* udpate more button
* use icon for ...
* addressing comments
* overflow css changes to match portal
* arrow navigation working
* handle tab and shift tab in overflow
* keep arrow navigation within overflow
* move reused code to helper methods
* set roles for overflow
* use actionsList instead of document.getElementById all the time
* move collapsible action bar to its own class
* renamve to overflowActionBar
* fix focus rectangle around more element
* hide overflow after an action is executed
* hide overflow when clicking an action
* hide overflow when focus leaves and loop focus within overflow when using arrow keys
* fix double down arrow to move focus in overflow
* update comment
* fix clicking more not hiding overflow
* add box-shadow for themes
* fix hygiene error
* fix hygiene error
* widen focused outline for overflow actions
* move properties widget collapse to bottom
* fix double bottom border for high contrast
* show title when collapsed
* move css to classes
* vertical center collapse icon
* adds icons for welcome page
* updates markup and styles for welcome page
* updates color registry with welcome page colors
* updates styles for welcome page
* updates markup for welcome page
* updates theming styles for welcome page and adds date since last opened functionality on history items
* adds all icons and images for welcome page
* updates markup for welcome page
* updates styles for welcome page
* updates color registry with welcome page styles
* updates welcome page icons with microsoft flag and dark theme home banner
* updates welcome page markup
* updates dynamically generated extension list
* updates styles for welcome page
* updates markup for welcome page
* adds dynamic lists for extension pack individual extensions
* updates icons for welcome page
* updates styles for welcome page
* updates welcome page styles
* updates theme colors
* updates markup for welcome page
* updates color registry with welcomepage colors
* updates sql.de.xlf with copy for welcome page
* reverts generated file
* updates welcome page styles
* updates extension pack copy casing
* updates color registry with welcome page styles
* updates welcome page markup
* adds welcome page icons
* updates welcome page markup
* updates welcome page icons
* updates welcome page styles
* reverts color registry in vs folder to original state
* moves color registry to sql folder
* removes dead code, localizes dates
* updates welcome page styles
* moves all colors from css to color registry
* updates styles by removing all colors
* removes stat import because of laying issue, adds color registry colors to welcomePage
* updates welcome page font sizes to ems
* updates localized strings
* removes unnecessary comment
* removes double quotes around string key for single quotes
* updates welcome page styles
* updates color registry
* updates welcome page markup
* adds dropdown button functionality
* adds centering classes for installed button text
* updates welcome page styles
* updates markup and styles for welcome page
* removes icon attempt from color registry
* removes theme specific icon svgs for theme specific icon css
* removes unused import
* removes console.log
* adds back mac new file button
* removes unused rules
* updates markup
* updates markup
* updates extension links to link to extensions in ADS
* pulls in changes from welcome-page-reskin-anthonydresser
* adds back code-icon to vs folder
* reverts welcomePage.css
* removes duplicate color registry variables
* fixes icon overlap on text for mac
* removes null import
* updates welcome page styles for mac
* updates welcome page images to use sql folder
* updates welcome page markup
* updates welcome page styles
* updates styles
* updates files paths
* delete images from sql folder
* updates icons
* updates welcome page styles
* updates preview popup
* updates markup for accessibility
* adds hover state to tiles
* updates dropdown
* fixes line-height issue
* updates class names
* updates keyboard accessibility for tooltip
* format document
* updates accessibility for preview tooltip
* removes whitespace
* updates preview modal accessibility
* adds aria labels to popup and tooltip
* removes max-width for zoom
* removes escaped strings, adds keycodes to promises, marks function as async and has the return as the signature of the function
* moves keycoes to class, removes comment
* fixes promise
* testing promise
* testing promise
* promise test
* localizes copy
* uses keycode import
* removes unnecessary arguments
* formating
* refactor constructor into async function called by constructor
* attempts to fix floating promise
* removes floating promise
* moves icons and images to sql folder, removes unused icons
* uses icons already existing in ads
* updates styles
* updates color registry
* updates keycode events
* fixes issues per charles comments
* moves icons to media folder
* updates image file paths
* updates file path
* adds href to extension pack extensions
* fixes links
* fixes issues per alan's comments
* uses exisiting colors from color registry
* updates welcome page to use existing colors from color registry
* updates dark theme
* updates color registry
* updates dark theme
* formats css
* fixes dropdown arrow icon on mac
Co-authored-by: Anthony Dresser <andresse@microsoft.com>
* initial changes
* Enable cloud console
* Delete unnecessary code
* error handling
* error handling
* Deal with promises
* Fix externals
* Fix externals for ws
* Cleanup name of terminal
* Update yarn.lock
* Fix yarn.lock
* Fix externals
* Cleanup parts of the code
* Fix more issues
* Fix cloud terminal
* Go back to our client ID
* Fix message
* Respect preferred location
* Fix govt cloud
* Some more messaging
* Enable items on right click
* Some feedback
* Change to status message
Adds the ability for the user to select from two or more linked azure accounts, using an integrated UI dialog, when executing a query that requires a Always Encrypted column master key located in Azure Key Vault.
* Fix the select box issue
* map => forEach
* Fix tests and a product issue
* Maybe another potential fix
* Fix a few more issues
* Change backendValue to value
* localization
* Use Array.isArray
* dashboard improvement - WIP (#8836)
* wip
* wip
* tabgroup
* tab group
* agent views
* clean up
* formats
* feedback
* fix error
* contribute top level server/db dashboard tab (#8868)
* tabbedPanel component (#8861)
* tabbed panel
* tabbed panel
* fix errors
* revert main.ts changes
* use margin
* address comments
* remove orientation property
* content tab group (#8878)
* add databases tab
* use more extensible approach
* remove unnecessary code
* add when expression
* objects tab for database dashboard (#8892)
* fix build errors
* fix build error
* Dashboard toolbar (#9118)
* remove old toolbar with only edit and refresh
* remove tasks widgets from server and databases dashboards
* adding toolbar to dashboardpage and clicking new query works
* restore and new notebook now do something
* add backup to toolbar for database dashboards
* new notebook connects to db
* only show backup and restore for non-azure
* new backup and restore svgs
* clean up
* got toolbar actions to show up from contribution
* some cleanup and add database dashboard toolbar contributions
* don't show all tasks when there should be no tasks
* fix toolbar showing multiple times when switching opening another dashboard from OE
* only show toolbar for home page
* update to new icons - same icons for light and dark theme
* don't show separator if there aren't any actions
* read toolbar actions from tasks-widget
* remove tasks widget from home dashboard page
* show extension's actions in toolbar
* clean up
* more cleaning up
* fix extension actions not always loading the first time
* add configure dashboard
* remove old edit icon css
* change tasks back to original order
* make sure tasks widget is the one being removed
* collapsible tab panel (#9221)
* collapsible vertical tab panel
* fix lint error
* comments batch 1
* pr comments
* update new query icon (#9351)
* Update toolbar actions (#9313)
* remove edit and configure dashboard and add refresh to toolbar for other dashboard pages too
* Add refresh for tabs that have container type with refresh implemented
* change refresh to only refresh the current tab
* remove map for tab to actions
* add back configure dashboard to home toolbar
* check if index is -1 before trying to remove tasks widget from widgets
* Move objects widget back to database home tab (#9432)
* move objects widget back to database home tab and reorder toolbar
* change order of actions back to previous order
* Allow extensions to add actions to home toolbar (#9269)
* add support for extensions to add actions to home toolbar
* fix spacing
* use menu contribution point
* undo previous changes that added dashboardToolbarHomeAction contribution
* remove home from name
* add context key for tab name
* allow actions to also be added to the toolbar of other tabs
* add extension contributed actions even if no tasks-widget
* fix refresh being added twice after merging
* hide the tab list when collapsed (#9529)
* update the order of css selectors (#9606)
* Update dashboard style to be closer to mockups (#9570)
* update style to be closer to mockups
* tab panel styling
* change back tab styling for tabs in a tab contributed by an extension
* change color of borders when theme changes
* set dark theme active tab background to same as OE for now
* update border colors
* move colors to theme file
* fix a few issues (#9690)
* couple fixes
* comments
* small dashboard toolbar fixes (#9695)
* fix backup icon in toolbar
* fix database page toolbar border color
* add back center center in common-icons.css (#9703)
* change padding so bottom border shows again (#9710)
* tab panel fixes (#9724)
* tab panel fixes
* fix package.nls.json
* feedbacks (#9761)
* feedbacks
* remove comments
Co-authored-by: Kim Santiago <31145923+kisantia@users.noreply.github.com>
* Handle webmode
* Fix keytar
* Specify that it can be null too.
* Configuraiton option
* Fix callback URL
* Update message, only show if the user is on Linux
* Change message
* Connection management service work
* Fix tests
* Change how accounts are deleted
* Be consistent with names
* feedback
* Fix based on feedback
* Change sqltoolsservice version
* async-await install service; add check for the files after downloading
* remove del
* use the same function for installing service
* fix for unix
* fix ssmin on linux
* fix syntax
* fix script
* fix issue
* Work around coveralls parallel upload issue
* Make dir
* Fix extension paths
* Revert "Fix extension paths" (#9639)
This reverts commit 4598561f858a62b49de5f951de95c099889a85b2.
Co-authored-by: Amir Omidi <amomidi@microsoft.com>
* address untitled editor file name differences; remove feature for updating title for untitled to content
* add tests for new methods
* fix tests
* fix up tests
* remove unncessary await
* revert changes to title for content
* Prevent check in openerService for cmdregistry
* Revert "Prevent check in openerService for cmdregistry"
This reverts commit c40079e6f38dcd379941474accc1a1e3b42f6103.
* Add internal command that calls extension command
* Add comment
This repository includes configuration for a development container for working with Code - OSS in an isolated local container or using [GitHub Codespaces](https://github.com/features/codespaces).
> **Tip:** The default VNC password is `vscode`. The VNC server runs on port `5901` with a web client at `6080`. For better performance, we recommend using a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/). Applications like the macOS Screen Sharing app will not perform as well.
## Quick start - local
1. Install Docker Desktop or Docker for Linux on your local machine. (See [docs](https://aka.ms/vscode-remote/containers/getting-started) for additional details.)
2.**Important**: Docker needs at least **4 Cores and 6 GB of RAM (8 GB recommended)** to run full build. If you on macOS, or using the old Hyper-V engine for Windows, update these values for Docker Desktop by right-clicking on the Docker status bar item, going to **Preferences/Settings > Resources > Advanced**.
> **Note:** The [Resource Monitor](https://marketplace.visualstudio.com/items?itemName=mutantdino.resourcemonitor) extension is included in the container so you can keep an eye on CPU/Memory in the status bar.
3. Install [Visual Studio Code Stable](https://code.visualstudio.com/) or [Insiders](https://code.visualstudio.com/insiders/) and the [Remote - Containers](https://aka.ms/vscode-remote/download/containers) extension.

> Note that the Remote - Containers extension requires the Visual Studio Code distribution of Code - OSS. See the [FAQ](https://aka.ms/vscode-remote/faq/license) for details.
4. Press <kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> and select **Remote - Containers: Open Repository in Container...**.
> **Tip:** While you can use your local source tree instead, operations like `yarn install` can be slow on macOS or using the Hyper-V engine on Windows. We recommend the "open repository" approach instead since it uses "named volume" rather than the local filesystem.
5. Type `https://github.com/microsoft/vscode` (or a branch or PR URL) in the input box and press <kbd>Enter</kbd>.
6. After the container is running, open a web browser and go to [http://localhost:6080](http://localhost:6080) or use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to `localhost:5901` and enter `vscode` as the password.
Anything you start in VS Code or the integrated terminal will appear here.
Next: **[Try it out!](#try-it)**
## Quick start - GitHub Codespaces
> **IMPORTANT:** You need to use a "Standard" sized codespace or larger (4-core, 8GB) since VS Code needs 6GB of RAM to compile. This is now the default for GitHub Codespaces, but do not downgrade to "Basic" unless you do not intend to compile.
1. From the [microsoft/vscode GitHub repository](https://github.com/microsoft/vscode), click on the **Code** dropdown, select **Open with Codespaces**, and the **New codespace**
> Note that you will not see these options if you are not in the beta yet.
2. After the codespace is up and running in your browser, press <kbd>F1</kbd> and select **Ports: Focus on Ports View**.
3. You should see port `6080` under **Forwarded Ports**. Select the line and click on the globe icon to open it in a browser tab.
> If you do not see port `6080`, press <kbd>F1</kbd>, select **Forward a Port** and enter port `6080`.
4. In the new tab, you should see noVNC. Click **Connect** and enter `vscode` as the password.
Anything you start in VS Code or the integrated terminal will appear here.
Next: **[Try it out!](#try-it)**
### Using VS Code with GitHub Codespaces
You will likely see better performance when accessing the codespace you created from VS Code since you can use a[VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/). Here's how to do it.
1. [Create a codespace](#quick-start---github-codespaces) if you have not already.
2. Set up [VS Code for use with GitHub Codespaces](https://docs.github.com/github/developing-online-with-codespaces/using-codespaces-in-visual-studio-code)
3. After the VS Code is up and running, press <kbd>F1</kbd>, choose **Codespaces: Connect to Codespace**, and select the codespace you created.
4. After you've connected to the codespace, use a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to connect to `localhost:5901` and enter `vscode` as the password.
5. Anything you start in VS Code or the integrated terminal will appear here.
Next: **[Try it out!](#try-it)**
## Try it!
This container uses the [Fluxbox](http://fluxbox.org/) window manager to keep things lean. **Right-click on the desktop** to see menu options. It works with GNOME and GTK applications, so other tools can be installed if needed.
Note you can also set the resolution from the command line by typing `set-resolution`.
To start working with Code - OSS, follow these steps:
1. In your local VS Code, open a terminal (<kbd>Ctrl/Cmd</kbd> + <kbd>Shift</kbd> + <kbd>\`</kbd>) and type the following commands:
```bash
yarn install
bash scripts/code.sh
```
Note that a previous run of `yarn install` will already be cached, so this step should simply pick up any recent differences.
2. After the build is complete, open a web browser or a [VNC Viewer](https://www.realvnc.com/en/connect/download/viewer/) to the desktop environnement as described in the quick start and enter `vscode` as the password.
3. You should now see Code - OSS!
Next, let's try debugging.
1. Shut down Code - OSS by clicking the box in the upper right corner of the Code - OSS window through your browser or VNC viewer.
2. Go to your local VS Code client, and use Run / Debug view to launch the **VS Code** configuration. (Typically the default, so you can likely just press <kbd>F5</kbd>).
> **Note:** If launching times out, you can increase the value of `timeout` in the "VS Code", "Attach Main Process", "Attach Extension Host", and "Attach to Shared Process" configurations in [launch.json](../.vscode/launch.json). However, running `scripts/code.sh` first will set up Electron which will usually solve timeout issues.
3. After a bit, Code - OSS will appear with the debugger attached!
# This dockerfile is used to build up from a base image to create an image with cached results of running "prepare.sh".
# Other image contents: https://github.com/microsoft/vscode-dev-containers/blob/master/repository-containers/images/github.com/microsoft/vscode/.devcontainer/base.Dockerfile
# Each line is a file pattern followed by one or more owners.
# Syntax can be found here: https://docs.github.com/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->
<!-- Also please test using the latest insiders build to make sure your issue has not already been fixed. -->
<!-- Use Help > Report Issue to prefill these. -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://github.com/Microsoft/azuredatastudio#try-out-the-latest-insiders-build-from-main -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in Azure Data Studio to pre-fill useful information. -->
- Azure Data Studio Version:
- OS Version:
Steps to Reproduce:
1.
2.
<!-- 🔧 Launch with `azuredatastudio --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes/No
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
comment:"Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues [here](https://aka.ms/vscodeissuesearch). See also our [issue reporting](https://aka.ms/vscodeissuereporting) guidelines.\n\nHappy Coding!"
}
]
perform:true,
commands:
[
{
type:"label",
name:"Needs Logs",
action:"comment",
comment:"We need more info to debug your particular issue. If you could attach your logs to the issue (ensure no private data is in them), it would help us fix the issue much faster.\n\nTo find your logs:\n\n- Open command palette (Click **View** -> **Command Palette**)\n- Run the command: **`Developer: Open Logs Folder`**\n\nThis will open the log file locally. Please include renderer.log",
candidatesComment:"This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding!",
perform:true
},
onMonitorUpvotes:{
upvoteThreshold:20,
acceptanceComment:":slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding!",
perform:true
},
onMonitorDaysOnCandidateMilestone:{
daysOnMilestone:60,
warningPeriod:10,
numberOfCommentsToPreventAutomaticRejection:20,
rejectionComment:":slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding!",
warningComment:"This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our [documentation](https://aka.ms/vscode-issue-lifecycle).\n\nHappy Coding",
comment:"We need more info to debug your particular issue. If you could attach your logs to the issue (ensure no private data is in them), it would help us fix the issue much faster.
There are two types of logs to collect:
**Console Logs**
- Open Developer Tools (Help -> Toggle Developer Tools)
- Click the **Console** tab
- Click in the log area and select all text (CTRL+A)
- Save this text into a file named console.log and attach it to this issue.
**Application Logs**
- Open command palette (Click **View** -> **Command Palette**)
- Run the command: **`Developer: Open Logs Folder`**
- This will open the log folder locally. Please zip up this folder and attach it to the issue."
"value": "### Categorizing Issues\n\nEach issue must have a type label. Most type labels are grey, some are yellow. Bugs are grey with a touch of red.",
"value": "## tl;dr: Triage Inbox\n\nAll inbox issues but not those that need more information. These issues need to be triaged, e.g assigned to a user or ask for more information",
"editable": true
},
{
"kind": 2,
"language": "github-issues",
"value": "$inbox -label:\"needs more info\"",
"editable": true
},
{
"kind": 1,
"language": "markdown",
"value": "##### `Config`: defines the inbox query",
"value": "New issues or pull requests submitted by the community are initially triaged by an [automatic classification bot](https://github.com/microsoft/vscode-github-triage-actions/tree/master/classifier-deep). Issues that the bot does not correctly triage are then triaged by a team member. The team rotates the inbox tracker on a weekly basis.\n\nA [mirror](https://github.com/JacksonKearl/testissues/issues) of the VS Code issue stream is available with details about how the bot classifies issues, including feature-area classifications and confidence ratings. Per-category confidence thresholds and feature-area ownership data is maintained in [.github/classifier.json](https://github.com/microsoft/vscode/blob/main/.github/classifier.json). \n\n💡 The bot is being run through a GitHub action that runs every 30 minutes. Give the bot the opportunity to classify an issue before doing it manually.\n\n### Inbox Tracking\n\nThe inbox tracker is responsible for the [global inbox](https://github.com/microsoft/vscode/issues?utf8=%E2%9C%93&q=is%3Aopen+no%3Aassignee+-label%3Afeature-request+-label%3Atestplan-item+-label%3Aplan-item) containing all **open issues and pull requests** that\n- are neither **feature requests** nor **test plan items** nor **plan items** and\n- have **no owner assignment**.\n\nThe **inbox tracker** may perform any step described in our [issue triaging documentation](https://github.com/microsoft/vscode/wiki/Issues-Triaging) but its main responsibility is to route issues to the actual feature area owner.\n\nFeature area owners track the **feature area inbox** containing all **open issues and pull requests** that\n- are personally assigned to them and are not assigned to any milestone\n- are labeled with their feature area label and are not assigned to any milestone.\nThis secondary triage may involve any of the steps described in our [issue triaging documentation](https://github.com/microsoft/vscode/wiki/Issues-Triaging) and results in a fully triaged or closed issue.\n\nThe [github triage extension](https://github.com/microsoft/vscode-github-triage-extension) can be used to assist with triaging — it provides a \"Command Palette\"-style list of triaging actions like assignment, labeling, and triggers for various bot actions.",
"editable": true
},
{
"kind": 1,
"language": "markdown",
"value": "## All Inbox Items\n\nAll issues that have no assignee and that have neither **feature requests** nor **test plan items** nor **plan items**.",
"value": "##### `Config`: This should be changed every month/milestone",
"editable": true
},
{
"kind": 2,
"language": "github-issues",
"value": "// list of repos we work in\n$repos=repo:microsoft/vscode repo:microsoft/vscode-remote-release repo:microsoft/vscode-js-debug repo:microsoft/vscode-pull-request-github repo:microsoft/vscode-github-issue-notebooks repo:microsoft/vscode-internalbacklog\n\n// current milestone name\n$milestone=milestone:\"April 2021\"",
"value": "## Papercuts\n\nThis notebook serves as an ongoing collection of papercut issues that we encounter while dogfooding. With that in mind only promote issues that really turn you off, e.g. issues that make you want to stop using VS Code or its extensions. To mark an issue (bug, feature-request, etc.) as papercut add the labels: `papercut :drop_of_blood:`",
"editable": true
},
{
"kind": 1,
"language": "markdown",
"value": "## All Papercuts\n\nThese are all papercut issues that we encounter while dogfooding vscode or extensions that we author.",
"value": "### Bug Verification Queries\n\nBefore shipping we want to verify _all_ bugs. That means when a bug is fixed we check that the fix actually works. It's always best to start with bugs that you have filed and the proceed with bugs that have been filed from users outside the development team. ",
"editable": true
},
{
"kind": 1,
"language": "markdown",
"value": "#### Config: update list of `repos` and the `milestone`",
* Show book's notebook TOC title in pinned notebooks view
* Add new book icon
* Update Python to 3.8.10
* Query Editor Features:
* Added filtering/sorting feature for query result grid in query editor and notebook, the feature can be invoked from the column headers. Note that this feature is only available when you enable the preview features
* Added a status bar item to show summary of the selected cells if there are multiple numeric values
* Extension Updates:
* SQL Database Projects
* Machine Learning
* Bug Fixes
* Fix WYSIWYG Table cell adding new line in table cell
* Supports brand new text cell editing experience based on rich text formatting and seamless conversion to markdown, also known as WYSIWYG toolbar (What You See Is What You Get)
* Supports Kusto kernel
* Supports pinning of notebooks
* Added support for new version of Jupyter Books
* Improved Jupyter Shortcuts
* Introduced perf loading improvements
* Added Azure Arc extension - Users can try out Azure Arc public preview through Azure Data Studio. This includes:
* Deploy data controller
* Deploy Postgres
* Deploy Managed Instance for Azure Arc
* Connect to data controller
* Access data service dashboards
* Azure Arc Jupyter Book
* Added new deployment options
* Azure SQL Database Edge
* (Edge will require Azure SQL Edge Deployment Extension)
* Added SQL Database Projects extension - The SQL Database Projects extension brings project-based database development to Azure Data Studio. In this preview release, SQL projects can be created and published from Azure Data Studio.
* Added Kusto (KQL) extension - Brings native Kusto experiences in Azure Data Studio for data exploration and data analytics against massive amount of real-time streaming data stored in Azure Data Explorer. This preview release supports connecting and browsing Azure Data Explorer clusters, writing KQL queries as well as authoring notebooks with Kusto kernel.
* SQL Server Import extension GA - Announcing the GA of the SQL Server Import extension, features no longer in preview. This extension facilitates importing csv/txt files. Learn more about the extension in [this article](sql-server-import-extension.md).
* Resolved [bugs and issues](https://github.com/microsoft/azuredatastudio/issues?q=is%3Aissue+milestone%3A%22September+2020+Release%22+is%3Aclosed).
## Version 1.21.0
* Release date: August 12, 2020
* Release status: General Availability
* New Notebook Features
* Move cell locations changd
* Added action to convert cells to Text Cell or Code cell
* Jupyter Books picker to open Jupyter Books directly from Github
* Search bar added to Notebooks Viewlet for searching through Jupyter Books
* Address issues in [August 2020 Milestone](https://github.com/microsoft/azuredatastudio/milestone/59?closed=1)
* Fix bug #11356 Dark theme is now the default theme [#11356](https://github.com/microsoft/azuredatastudio/issues/11356)
* Known Issues:
* Some users have reported connection errors from the new Microsoft.Data.SqlClient v2.0.0 included in this release. Users have found [following these instructions](https://github.com/microsoft/azuredatastudio/issues/11367#issuecomment-659614111) to successfully connect. This issue was caused by a client driver update which fixed an issue where TLS encryption wasn't enforced correctly. See https://github.com/dotnet/SqlClient/blob/master/release-notes/2.0/2.0.0.md#breaking-changes-1 and https://docs.microsoft.com/en-us/sql/relational-databases/native-client/features/using-encryption-without-validation for more information.
## Version 1.20.0
* Release date: July 15, 2020
* Release status: General Availability
* Feature Tour
* New Notebook Features
* Header support in Markdown Toolbar
* Side-by-side Markdown preview in Text Cells
* Drag and drop columns and tables into Query Editor
* Azure Account icon added to Activity Bar
* Address issues in [July 2020 Milestone](https://github.com/microsoft/azuredatastudio/milestone/57?closed=1)
* Bug fixes
## Version 1.19.0
* Release date: June 15, 2020
* Release status: General Availability
* Address issues in https://github.com/microsoft/azuredatastudio/milestone/55?closed=1
* Bug fixes
## Version 1.18.1
* Release date: May 27, 2020
* Release status: General Availability
* Hotfix for https://github.com/microsoft/azuredatastudio/issues/10538
* Hotfix for https://github.com/microsoft/azuredatastudio/issues/10537
## Version 1.18.0
* Release date: May 20, 2020
* Release status: General Availability
* Announcing Redgate SQL Prompt extension - This extension lets you manage formatting styles directly within Azure Data Studio, so you can create and edit your styles without leaving the IDE.
* Announcing the new machine learning extension. This extension enables you to:
* Manage Python and R packages with SQL Server machine learning services with Azure Data Studio.
* Use ONNX model to make predictions in Azure SQL Edge.
* View ONNX models in an Azure SQL Edge database.
* Import ONNX models from a file or Azure Machine Learning into Azure SQL Edge database.
* Create a notebook to run experiments.
* New notebook features:
* Added new Python dependencies wizard
* Improvements to the notebook markdown toolbar
* Added support for parameterization for Always Encrypted - Allows you to run queries that insert, update or filter by encrypted database columns.
* Bug fixes
## Version 1.17.1
* Release date: April 29, 2020
* Release status: General Availability
* Hotfix for https://github.com/microsoft/azuredatastudio/milestone/54?closed=1
## Version 1.17.0
* Release date: April 27, 2020
* Release status: General Availability
* New Welcome Page
* New Notebook features
* New Markdown editor toolbar
* Books viewlet now works with notebooks
* Improved dashboard
* Always encrypted support
* Accessibility bugs
* VS Code merge
## Version 1.16.0
* Release date: March 18, 2020
* Release status: General Availability
* Notebooks:
* Charting
* Creating Jupyter books
* Postgres extension update - Users can now authenticate to Azure Postgres servers with their linked Azure account
* Accessibility bugs
* VS Code merge
* In the next release, GitHub releases will no longer contain the binary files to the latest version. Rather, they will contain links to the latest release. This will have no impact on users using the in-app update functionality.
## Version 1.15.1
* Release date: February 19, 2020
* Release status: General Availability
@@ -356,7 +603,7 @@ The May release is focused on stabilization and bug fixes leading up to the Buil
* Announcing **Redgate SQL Search** extension available in Extension Manager
* Community Localization available for 10 languages: **German, Spanish, French, Italian, Japanese, Korean, Portuguese, Russian, Simplified Chinese and Traditional Chinese!**
* Reduced telemetry collection, improved [opt-out](https://github.com/Microsoft/azuredatastudio/wiki/How-to-Disable-Telemetry-Reporting) experience and in-product links to [Privacy Statement](https://privacy.microsoft.com/en-us/privacystatement)
* Reduced telemetry collection, improved [opt-out](https://github.com/Microsoft/azuredatastudio/wiki/How-to-Disable-Telemetry-Reporting) experience and in-product links to [Privacy Statement](https://privacy.microsoft.com/privacystatement)
* Extension Manager has improved Marketplace experience to easily discover community extensions
* SQL Agent extension Jobs and Job History view improvement
* Updates for **whoisactive** and **Server Reports** extensions
[](https://gitter.im/Microsoft/sqlopsstudio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
If you are interested in fixing issues and contributing directly to the code base,
@@ -59,12 +62,10 @@ please see the document [How to Contribute](https://github.com/Microsoft/azureda
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
## Localization
Azure Data Studio localization is now open for community contributions. You can contribute to localization for both software and docs. https://aka.ms/SQLOpsStudioLoc
Localization is now opened for 10 languages: French, Italian, German, Spanish, Simplified Chinese, Traditional Chinese, Japanese, Korean, Russian, and Portuguese (Brazil). Help us make Azure Data Studio available in your language!
Azure Data Studio is localized into 10 languages: French, Italian, German, Spanish, Simplified Chinese, Traditional Chinese, Japanese, Korean, Russian, and Portuguese (Brazil). The language packs are available in the Extension Manager marketplace. Simply, search for the specific language using the extension marketplace and install. Once you install the selected language, Azure Data Studio will prompt you to restart with the new language.
## Privacy Statement
The [Microsoft Enterprise and Developer Privacy Statement](https://privacy.microsoft.com/en-us/privacystatement) describes the privacy statement of this software.
The [Microsoft Enterprise and Developer Privacy Statement](https://privacy.microsoft.com/privacystatement) describes the privacy statement of this software.
## Contributions and "Thank You"
We would like to thank all our users who raised issues, and in particular the following users who helped contribute fixes:
@@ -121,22 +122,19 @@ We would like to thank all our users who raised issues, and in particular the fo
* olljanat for `Implemented npm version check (#314)`
* Adam Machanic for helping with the `whoisactive` extension
* All community localization contributors:
* French: Adrien Clerbois, ANAS BELABBES, Antoine Griffard, Arian Papillon, Eric Macarez, Eric Van Thorre, Jérémy LANDON, Matthias GROSPERRIN, Maxime COQUEREL, Olivier Guinart, thierry DEMAN-BARCELÒ, Thomas Potier
* Italian: Aldo Donetti, Alessandro Alpi, Andrea Dottor, Bruni Luca, Gianluca Hotz, Luca Nardi, Luigi Bruno, Marco Dal Pino, Mirco Vanini, Pasquale Ceglie, Riccardo Cappello, Sergio Govoni, Stefano Demiliani
* German: Anna Henke-Gunvaldson, Ben Weissman, David Ullmer, J.M. ., Kai Modo, Konstantin Staschill, Kostja Klein, Lennart Trunk, Markus Ehrenmüller-Jensen, Mascha Kroenlein, Matthias Knoll, Mourad Louha, Thomas Hütter, Wolfgang Straßer
* Spanish: Alberto Poblacion, Andy Gonzalez, Carlos Mendible, Christian Araujo, Daniel D, Eickhel Mendoza, Ernesto Cardenas, Ivan Toledo Ivanovic, Fran Diaz, JESUS GIL, Jorge Serrano Pérez, José Saturnino Pimentel Juárez, Mauricio Hidalgo, Pablo Iglesias, Rikhardo Estrada Rdez, Thierry DEMAN, YOLANDA CUESTA ALTIERI
* Chinese (simplified): DAN YE, Joel Yang, Lynne Dong, Ryan(Yu) Zhang, Sheng Jiang, Wei Zhang, Zhiliang Xu
* Chinese (Traditional): Bruce Chen, Chiayi Yen, Kevin Yang, Winnie Lin, 保哥 Will, 謝政廷
* Korean: Do-Kyun Kim, Evelyn Kim, Helen Jung, Hong Jmee, jeongwoo choi, Jun Hyoung Lee, Jungsun Kim정선, Justin Yoo, Kavrith mucha, Kiwoong Youm, MinGyu Ju, MVP_JUNO BEA, Sejun Kim, SOONMAN KWON, sung man ko, Yeongrak Choi, younggun kim, Youngjae Kim, 소영 이
* Russian: Andrey Veselov, Anton Fontanov, Anton Savin, Elena Ostrovskaia, Igor Babichev, Maxim Zelensky, Rodion Fedechkin, Tasha T, Vladimir Zyryanov
* Portuguese Brazil: Daniel de Sousa, Diogo Duarte, Douglas Correa, Douglas Eccker, José Emanuel Mendes, Marcelo Fernandes, Marcondes Alexandre, Roberto Fonseca, Rodrigo Crespi
And of course, we'd like to thank the authors of all upstream dependencies. Please see a full list in the [ThirdPartyNotices.txt](https://raw.githubusercontent.com/Microsoft/azuredatastudio/master/ThirdPartyNotices.txt)
And of course, we'd like to thank the authors of all upstream dependencies. Please see a full list in the [ThirdPartyNotices.txt](https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/ThirdPartyNotices.txt)
## License
Copyright (c) Microsoft Corporation. All rights reserved.
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://docs.microsoft.com/en-us/previous-versions/tn-archive/cc751383(v=technet.10)), please report it to us as described below.
## Reporting Security Issues
**Please do not report security vulnerabilities through public GitHub issues.**
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report).
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc).
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
* Full paths of source file(s) related to the manifestation of the issue
* The location of the affected source code (tag/branch/commit or direct URL)
* Any special configuration required to reproduce the issue
* Step-by-step instructions to reproduce the issue
* Proof-of-concept or exploit code (if possible)
* Impact of the issue, including how an attacker might exploit the issue
This information will help us triage your report more quickly.
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://microsoft.com/msrc/bounty) page for more details about our active programs.
## Preferred Languages
We prefer all communications to be in English.
## Policy
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd).
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/*SourceMapOptions*/
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
/*ExperimentalOptions*/
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/*SourceMapOptions*/
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
/*ExperimentalOptions*/
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.