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

84 Коммитов

Автор SHA1 Сообщение Дата
Aasim Khan fe73e2b4df
Add Prettier code formatting to repo (#18044)
* Adding config files

* Making lint step continue on error

* Fixing continue on error

* fixing continue on error
2024-09-17 13:13:21 -07:00
dependabot[bot] 9acac5d990
Bump path-to-regexp from 1.8.0 to 1.9.0 (#18038)
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v1.8.0...v1.9.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-11 22:57:21 -07:00
Aasim Khan 9f19813cd3
Switching to new vscode localization api and library. (#18023)
* new loc

* Updating l10n directory

* Adding new xliff files

* updating git ignore

* remove old loc from nls

* removing old loc files

* remove old loc gulp taks

* Updating vscode ignore and package.json

* Reversing some change

* Adding loc to webview
Fixing task
fixing enu xlf file

* simple example for webview localization

* Adding back loc projects

* Fixing loc

* Adding bundle l10n files

* Adding an example for webview translation

* fixing loc tasks

* Fixing new loc strings

* undo change

* Adding missing strings

* Adding more info to loc readme

* Removing format strings from loc

* adding official documentation.

* Adding comment to explain the localization hook

* Adding more docs

* fixing tests

* fixing names

* Trying inline loc

* Adding missing files

* Fixing typos

* FIxing loc

* Delete src/connectionconfig/connectionDialogWebViewController.ts

* fixing doc
2024-09-07 07:04:44 -07:00
laurennat 4d7baf870f
Execution Plan View (#17983)
* Trying to add azdata graph

* Fixing graph loading

* Fixing azdataGraph

* fixed entry point

* added state provider

* added webview controller

* fixed webview state

* added azdata graph view class

* view graph plan

* basic button functionality done

* basic formatting done

* basic zoom functionality done

* fixed background color bugs

* find nodes done

* cleaned up code

* highlight expensive operations done

* tooltips button done

* query cost and handling multiple graphs

* fixed query cost and load time

* fixed css for icon menu

* fixed multiple popups case

* added tooltips and changed find node popup size

* localization strings

* deleted extra file

* localization pt. 2

* localization pt 3

* minor changes

* added header for files

* restore files from main

* addressing pr comments pt. 1

* addressing pr comments pt. 2

* more pr comments

* more pr comments

* moved functions over to utils files

* added header to new utils file

* removed unneeded change to config file

* more specific command name

* keep default zoom on first load of graph

* added custom editor entry point for view

* various pr comments

* removed uncessary variable

* addressed race condition and moved util function

* pushing updated yarn.lock file

* addressed pr comments

---------

Co-authored-by: Aasim Khan <aaskhan@microsoft.com>
2024-08-26 16:56:15 -07:00
dependabot[bot] bdb9da5c47
Bump axios from 1.6.0 to 1.7.4 (#17993)
Bumps [axios](https://github.com/axios/axios) from 1.6.0 to 1.7.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.6.0...v1.7.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-26 13:58:44 -07:00
Benjin Dubishar 3dc342e71a
Adding advanced connection settings pane to connection dialog (#17990)
* moving form components into tabs in react state

* Semicolons

* refactored out connection form

* connection string dialog also refactored out

* Moving files

* refactoring out the idea of hiding components that are on a different tab

* Consolidating form field creation

* creating components from STS response

* adding tooltips

* ts-ignore error from typecheck

* removing test reducer

* adding advanced options drawer

* Assigning advanced props to saved profile

* removing unused import; PR comments

* swapping console.logger

* controller localization

* cleaning up naming

* cleanup

* fixing string

* bumping STS to consume string fixes
2024-08-26 13:23:53 -07:00
Aasim Khan 179cb9d3a0
Fixing size of webviews in prod vsix files (#17975) 2024-08-13 11:00:34 -07:00
Aasim Khan bfc26e2c62
Adding daily build and test status to readme and publish test reports and coverage (#17957)
* Adding daily test

* fixing space

* fixing space

* removing npm fund

* remove gulp install

* switching to different action

* adding permission to write checks

* switch to junit in playwright

* Fixing reporter

* Adding badges and fixing badge title

* Adding code coverage

* remove publish action

* fixing path

* Adding coverage step

* switching to xml

* fixing stuff

* Adding check run for coverage

* Fixing summary object
2024-08-01 16:38:46 -07:00
Benjin Dubishar c2aee054b1
Bumping MSAL and Node to current/active versions (#17954)
* bump msal

* bumping node

* Updating pipeline to use Node 22
2024-07-31 10:25:49 -07:00
Aasim Khan ca383e62a2
moving some deps to devdeps to reduce package size (#17949) 2024-07-29 14:34:54 -07:00
Aasim Khan a3c514003b
New UI based add connection (#17939)
* Add ui based connection dialog

* Updating connection dialog icon

* Adding recent tab

* Adding icons for connection dialog

* adding form

* feat: Update connection dialog to include account information and support for updating connections

* feat: Add support for editing connections in connection dialog

* More fixes

* adding icon and fixing form

* Adding more fields and action buttons

* feat: Fix action button length check in ConnectionInfoFormContainer

* add validation messages

* feat: Add validation messages and fix action button length check in ConnectionInfoFormContainer

* Update ConnectionInfoFormContainer to use horizontal orientation for checkbox fields

* Adding boiler plate code for connectivity

* rewriting profile

* Adding some validations and adding basic connect method

* feat: Add Azure sign-in functionality to ConnectionDialogWebViewController

* Add validation messages and fix action button length check in ConnectionInfoFormContainer

* connection dialog connect code

* chore: Rename enablePreviewFeatures configuration option to enableExperimentalFeatures

* Adding prompt free connection handling

* Fix recent connection profile name

* fix: Set connection status to error when form validation fails

* Fixing edits

* Adding code to select and focus the connection node after it gets added

* reverting back extension launch

* chore: Update connection edit label to "Edit Connection"

* Fixing icons and form component values not properly being set

* Fixing connection profile field clearing logic

* Rewriting connection password handling in ConnectionDialogWebViewController for conn string

* fix: Handle case when 'Password=' is not found in connection string

* Adding database option

* Hiding old add connection when experimental features are enabled.

* Hiding duplicate connection

* downgrading vscode types

* Adding loading icon
2024-07-25 11:05:10 -07:00
Aasim Khan 1b20783b1e
Making playwright test work in pipelines (#17941)
* Adding playwright extension to recommended extension

* Fixing args

* Adding gulp commands for vscode

* Adding smoke test steps in pipeline

* Update npm dependencies and gulp commands

* chore: Add init script for Xvfb server

* chore: Add init script for MSSQL server

* chore: Update npm dependencies and gulp commands

* making test work on mac

* chore: Refactor testHelpers.ts to improve code readability and maintainability

* Adding mssql path

* chore: Update mssqlExtensionPath in launchVscodeWithMsSqlExt.ts

* reverting local changes

* syncing to main

* Adding xvfb to gulp

* removing unnecessary files

* chore: update npm test script name

* new way of doing things

* Removing disconnecting button

* chore: Refactor query execution test

* Fixing stuff

* Reverting some changes

* Removing carriage returns

* Removing carriage newlines

* Removing more carriage returns
2024-07-23 22:34:30 -07:00
dependabot[bot] d252cbc82d
Bump ejs from 3.1.7 to 3.1.10 (#17896)
Bumps [ejs](https://github.com/mde/ejs) from 3.1.7 to 3.1.10.
- [Release notes](https://github.com/mde/ejs/releases)
- [Commits](https://github.com/mde/ejs/compare/v3.1.7...v3.1.10)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Karl Burtram <karlb@microsoft.com>
2024-07-16 14:22:27 -07:00
dependabot[bot] 8abb4aaa35
Bump tar from 6.1.9 to 6.2.1 (#17893)
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.9 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.9...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-16 14:20:39 -07:00
Aasim Khan 6d88fbc1ea
Adding eslint rules for react and fixing some errors (#17921) 2024-07-09 09:43:03 -07:00
Lewis Sanchez a7e228df9e
Sets up E2E tests with playwright and adds tests (#17917)
* init playwright set up

* Remove unneeded files

* Configure playwright & clean up tests

* Correct gulp set up

* Fix playwright config

* Sets up playwright test boilerplate

* Clean up playwright config file

* Fix timeout issue with init setup

* Add first test

* Rename first test file

* Clean up test

* Clean up

* Adds connection test

* Changes directory name to e2e

* Disconnect from SQL server

* Clean up

* Minor clean up

* Minor adjustment to test hooks

* Add e2e test readme

* Fix formatting in README

* Rename utility file

* Capture screenshots on error

* Read vsCodeVersionName from .env

* Uses env variables to load test conn values

* Adds instructions to .env file

* Adds query execution tests

* Corrects instructions in example .env

* Update E2E test readme.

* Add user name, and password env vars
2024-07-08 17:11:12 -07:00
Aasim Khan deac5f4564
Integrating React App into extension src files and switching from 'Vite+Rollup' to Esbuild (#17919)
* Adding working esbuild

* switching to esbuild in gulpfile

* Fixing eslint config

* chore: Remove commented out code in gulpfile.js

* feat: Add loader configuration for TypeScript, JavaScript, and JSON files in gulpfile.js for building extension

* Fixing theme on initial startup

* chore: Fix casing in import statements for VscodeWebViewProvider

* Fixing file name case

* Refactor import statements for designer components

* chore: Refactor import statements for designer components

* add style file to ReactWebViewPanelController

* chore: Bundle extension files and update localization in gulpfile.js

* Adding back tsc for extension code

* Fixing react warnings

* chore: Refactor import statements for designer components

* Fixing react view html

* reverting changes to telemetry

* adding back prelaunch task

* Fixing gulp task names

* Remove unused esbuild file

* Remove unnecessary excluded paths from tsconfig.json

* Update webview panel ID to 'mssql-react-webview'

* restoring some old files

* Adding typecheck to reactviews

* Ignore reactviews folder in test coverage
2024-07-08 13:45:16 -07:00
Aasim Khan b981673813
Converting warning to errors on eslint and fixing copyright issues. (#17910)
* Adding recommended extension

* Fixing linting errors

* use undefined instead of null

* Update eslint configuration and add eslint-plugin-deprecation

* Reverting code changes

* reverting more code changes

* more null changes and change rule to warn
2024-06-28 10:48:34 -07:00
Aasim Khan 0055cf0e4c
Migrating to ESLint and adding recommit checks (#17908)
* chore: Update eslint configuration and remove unused files

* Adding pre commit hook

* Fixing eslint parser

* fix lint

* chore: Update eslint configuration and remove unused files

* Update eslint configuration and add eslint-plugin-jsdoc

* chore: Update eslint configuration to use "warn" level for "notice/notice" rule
2024-06-18 17:27:40 -07:00
Benjin Dubishar 868f9f0930
Some changes to support OB (#17897)
* updating node packages

* removing tests

* updating lockfile

* reverting package changes

* Updating to latest version of STS

* Fix STS linux package name

* adding cover task to connect remap and combine-json

* Revert "removing tests"

This reverts commit 4097663228.
2024-05-03 17:12:17 -07:00
Kim Santiago 7bf9cc68eb
update follow-redirects to 1.15.4 (#17862) 2024-01-09 16:42:11 -08:00
Cheena Malhotra 2cb5697295
Upgrade test-electron and node version (#17857)
* Upgrade test-electron and node version

* Update to 18
2024-01-03 21:23:29 -08:00
dependabot[bot] 52769a04a6
Bump axios from 0.27.2 to 1.6.0 (#17847)
Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.27.2...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-12 17:23:33 -08:00
Cheena Malhotra 9ce8e9cf41
Update to Node 18 (#17845) 2023-11-07 17:05:47 -08:00
Kim Santiago 6e6e77f001
Revert "Bump @angular/core from 2.1.2 to 10.2.5 (#17825)" (#17839)
This reverts commit 3bd72ef0af.
2023-11-03 08:26:48 -10:00
Cheena Malhotra 68dbcda9ac
Remove HttpClient and Proxy agent options completely (#17828)
* change to axios call

* fix lint error

* fix linter

* Remove Http Proxy agent options completely

---------

Co-authored-by: Christopher Suh <chris.s.suh@gmail.com>
2023-10-24 21:59:51 -07:00
dependabot[bot] 3bd72ef0af
Bump @angular/core from 2.1.2 to 10.2.5 (#17825)
* Bump @angular/core from 2.1.2 to 10.2.5

Bumps [@angular/core](https://github.com/angular/angular/tree/HEAD/packages/core) from 2.1.2 to 10.2.5.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/10.2.5/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/10.2.5/packages/core)

---
updated-dependencies:
- dependency-name: "@angular/core"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update all angular packages

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cheena Malhotra <cmalhotra@microsoft.com>
2023-10-23 18:35:33 -07:00
Alan Ren 0c0a1e6ed9
update the slickgrid version (#17826) 2023-10-18 14:25:25 -07:00
Christopher Suh 92e3f45b7d
Remove all ADAL code (#17749)
* initial commit, remove all ADAL code

* removed more adal/authlibrary references
2023-07-19 16:50:54 -07:00
dependabot[bot] 9bb1d84689
Bump word-wrap from 1.2.3 to 1.2.4 (#17751)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 15:52:43 -07:00
Aasim Khan ed7e71c498
Adding telemetry to extension. (#17711)
* init

* Adding api for sending telemetry through components

* Adding connection events

* Adding telemetry for object explorer expansion

* fix compile error

* fixing lint

* Update src/controllers/connectionManager.ts

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

* Updating package json

* Update src/objectExplorer/objectExplorerService.ts

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

* More fixes

* Update src/objectExplorer/objectExplorerService.ts

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

* Updating ts and fixing some more events

* Removing has error from query completed

* Adding error event

* Adding error messaged

* Fixing linting errors

* Fixing ads-adal-lib compilation

* updating ts version and fixing compilation

* rolling back vscode typing

* Fixing lib version

* Update ads-extension-telemetry (#17715)

* Update ads-extension-telemetry

* fixes

* Fixing typings

* Update src/views/htmlcontent/src/js/components/app.component.ts

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

* moving enum to different file

* Fixing stuff

* Fixing connection events

* fixing extension name

* Update src/controllers/connectionManager.ts

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

* Fixing typo

---------

Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
Co-authored-by: Cheena Malhotra <13396919+cheenamalhotra@users.noreply.github.com>
2023-06-02 14:48:30 -07:00
Alan Ren 493762a15e
fix incorrect column name issue (#17695) 2023-05-18 07:53:37 -07:00
Cheena Malhotra cdf628a96f
Update msal-node and bring latest httpClient changes (#17605) 2023-03-20 13:46:13 -07:00
Christopher Suh 4e527ca652
bump plist package (#17626) 2023-03-15 16:01:27 -07:00
Charles Gagnon 76bf831b45
Remove gulp-json-editor (#17584)
* Remove gulp-json-editor

* Fix config path
2023-03-07 14:06:27 -08:00
Cheena Malhotra 41256a1d03
Resolve with higher version of 'lru-cache' (#17579) 2023-03-07 09:08:56 -08:00
Cheena Malhotra 1b2dd2c7fa
Update @microsoft/ads-adal-library to v1.0.17 (#17569) 2023-03-02 21:02:59 -08:00
Cheena Malhotra 99b91117c3
MSAL Authentication support + code cleanup (#17562) 2023-03-02 17:53:36 -08:00
Cheena Malhotra 25283b481e
Enable Encryption by default + introduce HostNameInCertificate (#17484) 2022-12-19 17:09:46 -08:00
Aasim Khan 2358f04379
Updating decode URI lib (#17496) 2022-12-01 14:01:13 -08:00
Cheena Malhotra ae8c55506c
Adal library version bump (#17489) 2022-11-29 10:45:53 -08:00
Alan Ren f0a77e16f7
fix accessibility issues with query grid (#17479)
* fix accessibility issues

* fix selection and set active grid

* fix linting error
2022-11-18 14:29:08 -08:00
Lewis Sanchez 55712eeadf
Bumps @xmldom/xmldom package version from 0.8.3 to 0.8.4 (#17469) 2022-11-01 13:55:56 -07:00
dependabot[bot] 22be065453
Bump @xmldom/xmldom from 0.8.2 to 0.8.3 (#17457)
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xmldom/xmldom/compare/0.8.2...0.8.3)

---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17 13:54:30 -07:00
Lewis Sanchez e62b224a1c
Includes ts files in coverage report (#17421)
* Includes ts files in coverage report

* Revert "Includes ts files in coverage report"

This reverts commit 92a146247d.

* Adds ts files to coverage report

* Removes commented out code

* Revert "Removes commented out code"

This reverts commit ac7668f51f.

* Revert "Adds ts files to coverage report"

This reverts commit bb189a2236.

* Adds ts files to coverage report using remapIstanbul

* Revert "Adds ts files to coverage report using remapIstanbul"

This reverts commit 0e8885048d.

* coverage-final.json contains typescript files

* Revert "coverage-final.json contains typescript files"

This reverts commit bcfa07e332.

* Adds separate step to remap coverage files to ts.

* Configures remapIstanbul to generate a coverage report with HTML

* update remap-istanbul

* cleanup

* cleanup

Co-authored-by: Hai Cao <hacao@microsoft.com>
2022-08-17 14:18:06 -07:00
Alex Ma 6e9b9682e1
Bump Vscode-Test to fix ext:test task (vscode download econnreset) (#17414)
* vBump for vscode-test (fix failure with download)

* update yarn

* changed download

* removed path.

* added higher vbump
2022-08-02 10:48:51 -07:00
dependabot[bot] f851967537
Bump jquery-ui from 1.13.0 to 1.13.2 (#17404)
Bumps [jquery-ui](https://github.com/jquery/jquery-ui) from 1.13.0 to 1.13.2.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.13.0...1.13.2)

---
updated-dependencies:
- dependency-name: jquery-ui
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-18 10:21:08 -07:00
Aasim Khan 5473fb38ff
Updating vsce (#17388)
* Updating vsce

* Removing vsce from package.json
2022-07-15 09:12:14 -07:00
Aasim Khan 2d90ae08c0
Changing to new lib for xmldom (#17389) 2022-07-14 16:14:46 -07:00
Charles Gagnon 349f3adcea
Fix service installer util tests (#17401)
* Fix service installer util tests

* lint
2022-07-13 16:50:19 -07:00