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

270 Коммитов

Автор SHA1 Сообщение Дата
Karl Burtram c11898d4cb
Update extension metadata for hotfix (#17318) 2022-04-22 10:56:44 -07:00
Vasu Bhog 0aba07c239
update extension pack for sql-bindings (#17307) 2022-04-14 14:35:05 -07:00
Aditya Bist 214606057e
update package (#17302) 2022-03-24 12:54:22 -07:00
Charles Gagnon 917316581b
Have launch task build first (#17301)
* Have launch task build first

* remove space
2022-03-24 12:51:19 -07:00
Vasu Bhog 5b871d7f15
Removing all logic of sql bindings (#17297)
* remove azure function files

* remove typings
2022-03-15 17:52:40 -07:00
Charles Gagnon 7c9d42a03c
Bump version (#17264)
Now that we've cut off the release branch this version should be updated to the next planned version in preparation for the next release.
2022-02-17 15:39:34 -08:00
Charles Gagnon cf80257e12
Bump version (#17258) 2022-02-14 17:33:08 -08:00
Vasu Bhog 7f2188e1f7
Only show "Create Azure Function with SQL Input Binding" in object explorer (#17243)
* only show create azure table command in object explorer

* for table and seperate command

* move command below
2022-02-11 14:39:43 -08:00
Vasu Bhog f02fd79368
Create Azure Function from Table (#17217)
* wip

* working create azure function functionality

* fully working add sql binding from table

* add more clear comments and more optimized code

* breaking change that will cause sqlbinding to be undefined

Co-authored-by: Alan Ren <alanren@microsoft.com>
Co-authored-by: Aditya Bist <adbist@microsoft.com>
2022-01-31 15:08:41 -08:00
Charles Gagnon c3017781cc
Remove fs-extra-promise and fs-extra (#17226)
* Remove fs-extra-promise

* const

* Remove one more

* Update comment
2022-01-31 13:21:09 -08:00
Charles Gagnon 53a3651493
Include AzureMFA as valid value in settings (#17060) (#17188)
Added support for Settings.json to recognise AzureMFA as a valid value for authenticationType.

Co-authored-by: nic-paul <91414902+nic-paul@users.noreply.github.com>
2022-01-07 16:59:17 -08:00
Alex Ma 38b8aa55da
Added when clause for run and cancel (#17141)
* Added stop and start when clause, WIP

* removed unnecssary addition to package.json

* added status changes for errors

* added run end set false

* added finally block

* removed unnecessary  import

* removed finally as it executes even before the query ends.

* WIP changes to support filename for run

* added more uri logic

* added working disappearing/appearing stop button

* added support for resource paths

* removed comments from mainController

* fixed comment

* fix nospace

* added small changes

* fixed package.json
2021-12-09 11:05:21 -08:00
Aditya Bist fbf8126385
bump version and remove empty default field (#17161)
* bump version and remove empty default field

* fix version
2021-12-08 14:02:29 -08:00
Christopher Suh 744570a933
Added localization (#17146)
* added localization

* added enum descriptions
2021-12-04 19:51:51 -08:00
Karl Burtram bd1ab3188e
Add untrusted workspace support flag (#17140) 2021-12-02 14:02:39 -08:00
Christopher Suh 1f2d4e170e
remove default placeholder values (#17116) 2021-11-16 12:28:38 -08:00
Karl Burtram d9cbafb45c
Update readme, changelog and vbump (#17113) 2021-11-16 10:25:33 -08:00
Charles Gagnon edc033de99
Bump ads-adal-library (#17108)
* Bump ads-adal-library

* Update package names
2021-11-16 09:10:09 -08:00
Charles Gagnon 26d0a0be34
Bump ejs (#17109) 2021-11-15 08:55:59 -08:00
Charles Gagnon d7d6a947ab
Bump plist (#17102) 2021-11-12 12:57:50 -08:00
Charles Gagnon 205285f384
Cleanup/update pipeline (#17100)
* Use yaml pipeline

* Add release var

* Fail CG on alert

* Cleanup build pipeline

* fixes

* don't install globally

* add gulp-cli

* install gulp global

* remove dependency

* Global install vsce

* Specify latest mac for builds
2021-11-12 09:45:04 -08:00
Charles Gagnon 5081c61d60
Fix publisher for ADS extensions (#17084) 2021-10-27 10:41:48 -07:00
Charles Gagnon 4d3c2d703c
Add extension pack (#17075) 2021-10-18 12:55:45 -07:00
Christopher Suh 886823222d
Fix query retry bug (#17066)
* fixed retry query bug

* lint fixes

* pr fixes

* fix package.json

* pr fixes

* fix package.json

* pr fixes

* fix cannot connect message
2021-10-13 18:05:15 -07:00
Karl Burtram d223189db3
Bump version to 1.11.0 (#17067) 2021-10-04 16:22:43 -07:00
Karl Burtram 34ffb6938a
Update version to 1.10.2 for limited release (#17063)
This version will be for a limited release before Oct 1.11.0 release.
2021-09-29 15:31:06 -07:00
dependabot[bot] b6b91270db
Bump tar from 6.1.6 to 6.1.9 (#17054)
Bumps [tar](https://github.com/npm/node-tar) from 6.1.6 to 6.1.9.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.1.6...v6.1.9)

---
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>
2021-09-01 09:30:20 -07:00
Karl Burtram 7fe8b436cd
Add query execution settings (#17052) 2021-08-31 15:46:13 -07:00
Karl Burtram 2e6ac4b633
Enable scripting CREATE/DROP for triggers, keys, indexes, etc. (#17053)
* Enable scripting for triggers, keys, indexes, etc.

* Make new properties optional

* Fix spacing issues

* More spacing issues
2021-08-31 13:40:51 -07:00
dependabot[bot] cf5c371773
Bump xmldom from 0.1.31 to 0.6.0 (#17033)
Bumps [xmldom](https://github.com/xmldom/xmldom) from 0.1.31 to 0.6.0.
- [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/v0.1.31...0.6.0)

---
updated-dependencies:
- dependency-name: xmldom
  dependency-type: direct:development
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-27 15:05:23 -07:00
Charles Gagnon 9eca0f1d2e
Update vscode API and add extension API comment (#17041) 2021-08-17 11:44:34 -07:00
Charles Gagnon 6eacb2730f
Cleanup (#17032) 2021-08-05 14:12:07 -07:00
Christopher Suh e156433b8c
bumped version for hotfix release (#16935)
* bumped version for hotfix release

* merged if statements

* remove changes
2021-01-19 17:45:02 -05:00
Christopher Suh 4c5191d6c1
Update brew command (#16922)
* bump ads-adal-library version

* updated brew command

* fix build errors
2020-12-30 13:23:20 -05:00
Christopher Suh bb9aebad08
bump ads-adal-library version (#1805) 2020-12-08 20:02:02 -05:00
Christopher Suh 51edb96a3e
fixed firewall error (#1781)
* fixed firewall error

* fixed live.com bug

* fix lint
2020-11-03 13:40:20 -05:00
Christopher Suh 38781db475
Refactored firewall service to remove Azure Account dependency (#1773)
* moved token logic to azureController

* wip, refactored firewall service to use ads-adal-library

* fixed failing unit test

* removed unused code

* commented out tests causing undefined errors

* wip

* wipg

* wip

* wip

* wipg

* wipg

* wip

* wip

* wip

* wip

* wip

* wip

* delete account cache functionality added

* added account cache remove functionality

* fix categories for commands

* modified account removal and sqltoolsservice version

* fixes to account removal

* wip

* pr fixes

* bump sqltools

* test

Co-authored-by: Aditya Bist <adbist@microsoft.com>
2020-11-02 15:56:51 -05:00
Christopher Suh 2e758ac864
fix module 'ads-adal-library' (#1771)
* bump version

* wip

* fixed issue with vsix file

* added clear cacheservice

* fixed failing unit test

* moved ads-adal-library to dependencies

* revert yarn.lock change
2020-10-15 22:32:07 -04:00
Christopher Suh c169df2559
bump version (#1768) 2020-10-12 21:34:34 -04:00
Christopher Suh c4fcc97678
AAD on mssql (#1748)
* wip

* wip

* wip

* wip

* able to retrieve auth code & convert to access token

* added config option for Auth Code/Device Code

* modified account storage

* wip

* get tenants error

* working AAD code grant

* modified to pull from github package

* fix ui order issue

* changed to only store account

* working account store

* cleanup

* pr changes

* added email instead of AzureMFA

* added remove AAD account feature

* remove unused file

* changed ads-adal-library reference

* published npm package

* wip

* fix bug with reconnecting to AAD DB

* fix build

* fix lint errors

* fix firewall issue

* pr review change

* fix lint
2020-10-12 11:01:32 -04:00
Aditya Bist 7bc6b580cc
Update packages (#1752)
* update package to use microsoft repo

* update package

* use older package
2020-09-23 13:55:33 -07:00
Aditya Bist 34c4e64601
Fix build (#1750)
* fix build fix and fix builds for future

* Delete yarn.lock

* fix lint issues
2020-09-22 17:47:43 -07:00
Aditya Bist fc6dba94ee
fix build (#1706)
* fix build

* missing semi colon
2020-07-16 16:40:07 -07:00
Aditya Bist 025c7a9c78
fix builds (#1695) 2020-06-16 12:49:59 -07:00
Aditya Bist 1b6a8271fd
Fix build and upgrade vscode API (#1678)
* explicitly set data undefined

* fix tests
2020-05-11 21:10:26 -07:00
Aditya Bist c0ce57e821
Angular app fixes (#1651)
* fix select all behavior in angular

* select all in messages too

* remove dead code

* remove old self
2020-04-15 10:59:49 -07:00
Aditya Bist 1000634f06
Update packages (#1644)
* update decompress package

* specify gulp cli version

* test typescript version

* add tar for unix

* decompress tar

* unspecify  version

* remove lock

* update vscode breaking change

* fix engine version

* update typescript

* add check for warnings

* update import

* add zip file info in package

* fix test
2020-03-11 14:40:31 -07:00
Aditya Bist d7ef79edbd
update vscode engine for breaking change (#1646) 2020-03-11 11:11:46 -07:00
Aditya Bist b9e103b621
fix context clause for viewlet commands on command palette (#1618) 2020-02-27 13:55:49 -08:00
Aditya Bist 678c23efa5
remove unused icon files (#1608) 2020-02-26 09:49:15 -08:00
Aditya Bist 282acdabfd
Improved tree logic and added ability to copy object names (#1602)
* improved tree logic and added abiility to copy object names

* add copy support for disconnected servers

* review comments
2020-02-25 13:20:08 -08:00
Aditya Bist 88785e0a7f
use codicons instead of svgs (#1598) 2020-02-21 10:04:07 -08:00
Charles Gagnon 4f848c355e
Remove all custom events (#1596)
* Remove all custom telemetry events

* Remove unneeded timer

Co-authored-by: Aditya Bist <adbist@microsoft.com>
2020-02-21 08:41:06 -08:00
Aditya Bist bb0248f5b1
updated icons to vscode icons (#1581) 2020-01-29 17:01:17 -08:00
Aditya Bist bf80cb2a73
bump version (#1582) 2020-01-29 16:54:58 -08:00
Aditya Bist 4eeba6e3e0
Feature: Query History (#1561)
* initial query history working

* added context menu actions and empty node

* added clear, empty node and sorting of history

* change default limit to 20

* added delete method

* implemented open query

* fixed tests

* implemented run query

* added setting to capture query history

* added button to start/pause query history capture

* fixed clauses for command palette

* added query history UI in command palette

* finished command palette UI

* review comments

* remove the node itself

* put clear all in view action

* fix tooltip order

* changed icons, added user setting for feature

* fix tooltip and text for nodes

* fixed labels for node

* explicit check for no selection

* more cleanup

* code review comments

* change command string
2020-01-27 17:08:11 -08:00
Aditya Bist 8a2d70e203
Editor/icons (#1556)
* added run query icon

* add icons to editor for run and cancel query
2019-12-19 13:48:33 -08:00
Aditya Bist 50568f0a09
fix azure builds (#1554)
* fix azure builds

* use js syntax

* fix vscode type version

* change gulp

* change gulp test

* remove comment

* remove gulp install from packages
2019-12-19 13:07:46 -08:00
Aditya Bist 6ccd353086
move to vscode-tester (#1552)
* move to vscode-tester

* change appveyor build for tester

* use vscode-tester in gulp test

* replace node test with gulp task

* change gulp test

* read engine from package
2019-12-17 15:16:32 -08:00
Aditya Bist 1819c24959
fix menu order to match ads (#1537) 2019-12-11 10:54:30 -08:00
Aditya Bist 4b6412dec9
Update readme and versions for release (#1521)
* update versions for release

* add more context for reduced size
2019-12-05 10:39:30 -08:00
Aditya Bist ffb93e075b
Feature: Add firewall rules (#1510)
* initial account retrieval done

* adding another language client for resource provider

* firewall rule working with extension dependency

* UX done with azure hard dependency

* added UX for extension not installed/activated

* added UX to add ip address range

* added account picker after extension activation

* added UX for signed out/non activated extension

* add validation for ip address input

* fix test

* initial comments

* fixed valid check for ip

* promise cleanup

* made commands mssql specific

* clean interfaces
2019-11-27 16:20:57 -08:00
Aditya Bist 16554fa136
Scripting (#1474)
* added script as create and script as drop

* remove unnecessary file

* added script as execute

* added script as alter

* add tests for new scripting actions

* review comments
2019-11-20 14:51:03 -08:00
Aditya Bist 19f9d38060
Remove dependencies and move to yarn (#1500)
* removed rxjs and ws from dependencies

* remove dependencies and mode to yarn package manager

* update node version

* remove unused images

* add build files to ignore

* lgtm fixes

* more cleanup
2019-11-20 12:15:27 -08:00
Aditya Bist e007c93f15
convert inline action icons to base64 (#1487) 2019-11-12 12:39:23 -08:00
Aditya Bist 7b6c369262
Use new webview api to get resource (#1478)
* use new webview api to get resource

* update vscode version for appveyor

* update vscode test runner

* disable tests for release merge
2019-11-08 17:58:30 -08:00
Karl Burtram 5e6b9e233c
Update readme for 1.7.1 (#1482) 2019-11-08 12:52:07 -08:00
Aditya Bist 9e4947ee0b
fix context menu clause (#1456) 2019-10-21 20:45:05 -07:00
Aditya Bist 20409fc11c
added short cut for oe (#1419) 2019-10-11 19:07:54 -07:00
Aditya Bist ca01bbf395
fix shortcuts (#1417) 2019-10-11 18:03:11 -07:00
Aditya Bist 219b3acb6e
Changed named to copy all headers to make clear (#1408)
* changed named to copy all headers to make clear

* typo

* fixed typo
2019-10-11 16:07:24 -07:00
Aditya Bist cdfb8220ef
remove angular packages from dependencies (#1381) 2019-10-10 14:40:20 -07:00
Aditya Bist 9a87b6ad40
fix keyboard shortcuts and added support for select all inside grid (#1369) 2019-10-02 14:32:15 -07:00
Aditya Bist dc73da963d
change shortcut to upper case (#1357) 2019-09-30 14:16:09 -07:00
Aditya Bist a4d9aed600
bug fix for new query in OE
* fixes new query from OE

* node not added when a new database connection is made from OE

* remove new query menu option from table

* add back script select for view and rearrange order like ads

* remove refresh option from disconnected servers and match the palette when condition to context menu

* fixed bug when showing connections

* added sql file extension for sql cmd command

* added indicator to show whether server is connected or not

* revert icon change

* Revert "added indicator to show whether server is connected or not"

This reverts commit e4be621897.
2019-09-27 15:29:30 -07:00
Aditya Bist c5ad61756a
Fixed tab switching without retaining context (#1331)
* fixed tab switching without retaining context

* bring results of respective editor when query is run (#1334)

* bring results of respective editor when query is run

* show sqlcmd only when editor is open

* query now runs after selecting connection

* show sqlcmd bar in when results view is focused too

* added return statement

* add return type
2019-09-26 17:20:19 -07:00
Aditya Bist ccb292f9de
add script select for views too (#1313) 2019-09-26 14:58:22 -07:00
Aditya Bist a6e78bce32
OE enable/bugs (#1337)
* fixed initial connection prompt and disconnect

* nodes now show database name if no profile has no name

* remove dead code

* server labels now match ADS behavior

* rename show connections

* added expand deferred promise mapping before the expand request
2019-09-26 13:51:28 -07:00
Aditya Bist 4a132937be
hide OE functionality (#1318)
* hide OE functionality

* fix tests

* fix dark theme icons

* removed disconnect command and updated hc colors
2019-09-24 17:06:46 -07:00
Aditya Bist b5a3c1ac72
demo bugs (#1301)
* OE shows all connections

* OE changes

* added node for adding connections

* remove dead code

* fix test

* change connection for new query from OE

* fixed OE loading from editor and command together

* cleanup after node removal

* fix icon paths for diff OS

* changed expansion to deferred as well

* added new UX for password protected servers

* better UX for server errors and save password

* fix context menu action order

* match profile name in node when making a node from new query

* new query and add working fine

* added icon for add connection node

* fix tests

* fix tests

* Scripting (#1304)

* scripting works

* scripting complete

* removed dead code

* fixed scripting

* fix password issue in saved connections
2019-09-24 00:57:33 -07:00
Aditya Bist f6354613b4
Enable SQLCMD mode (#1296)
* added sqlcmd feature

* remove code

* SQLCMD feature enabled and working

* added ability to run sqlcmd command without editor

* fix sqlcmd bug and changed text to toggle

* fix test
2019-09-20 12:19:56 -07:00
Aditya Bist cc76ea6070
Bug fixes/customer asks (WIP) (#1290)
* add command to focus on results grid

* show connection info in results view as well

* added context menu option for just copying headers

* fixed bug where moving to text editor and refreshibng would show resutls twice

* added use statement for OE query context menu actions

* show xml in results pane

* re-enable code coverage on travis CI

* run tasks only for master branch
2019-09-17 10:34:29 -07:00
Aditya Bist 356762a08d
Web View API and project restructure (#1282)
* webview apis

* got it working

* working with no compile errors

* data not coming yet

* data coming in

* fix styling

* fixed theme styling

* cleaned code

* removed unnecessary files

* fix context menu positioning

* fixed folder structure and compilation

* removed unnecessary refresh mechanism

* added content security policy tags

* added copyright headers

* fixed closing of webviews

* added fixed theming without explicit css, need refresh

* fixed tab switching

* fix bug where changing focus would re-run

* reuse query controller for queries in the panel

* fixed theming changes

* fix conext menu position using angular instead of jquery

* fixed batch linking from resultset

* access denied, need to add to local resource uri

* grid showing without results

* make into one project, needs cleaning

* remove changes for angular

* fix rxjs version

* fixed query runner tests

* fix sqloutput tests

* fixed cancel query

* added webviewpanel controller tests

* added OE to new proj

* fixed all tests

* remove borwser tests from the pipeline

* fix html order

* initial code review comments

* removed commented code

* fix packaged builds

* fix angular package version

* fix the test reports location
2019-09-13 10:53:37 -07:00
Karl Burtram 50a2461aa2
Bump extension to version 1.7 for next release (#1281) 2019-09-06 16:50:30 -07:00
Aditya Bist fb4dd209da
Commiter Work - Object Explorer (#1259)
* initial OE

* object explorer functional with one root node

* working OE

* added context menu actions

* object explorer done

* added icon for or section

* initial comments

* added select top 1000 to context menu

* CR comments

* added tests for OE and fixed old test for builds

* cr comments

* some more comments

* fixed bug for system tables

* added OE MRU
2019-09-03 11:56:07 -07:00
Charles Gagnon abf50c1c63
Update vscode-languageclient to support preselect option (#1269)
* Update vscode-languageclient to support preselect option

* Remove noUnusedLocals compiler option
2019-08-20 13:15:50 -07:00
Shengyu Fu 85f0830420
Adding command for loading completion extension (#1267)
* Adding command for loading completion extension

* Update sql tools service and hide the mssql.loadCompletionExtension from Command Palette

* Update sqltoolservice to 2.0.0-release.1
2019-08-08 16:08:32 -07:00
Karl Burtram 9fc7554278
Bump ws dependency (#1250) 2019-06-20 18:17:14 -07:00
Charles Gagnon 85dcd83072
Clean up linting errors and add in SDL-required rules (#1222)
* Clean up linting errors and add in SDL-required rules.

* Remove unnecessary line

* Add linting for files under js folder - there are typescript files there that should be included.

* Add naming check rules
2019-04-22 16:29:20 -07:00
Aditya Bist d52e2db629
Extension doesn't need to reload any more (#1217)
* fixed extension loading

* removed output channel

* fix test
2019-04-18 21:50:34 -07:00
Karl Burtram ded15541cd
Add port mapping to results webview panel (#1211)
* Setup port mapping to support remote extension host

* Add vscode.proposed.d.ts to avoid case to any

* Use vscode clipboard API

* Update npm shrinkwrap

* Update webview option parameter names

* Use openExternal to open web broweser links

* Add clipboard.writeText to vscode wrapper

* Update AppVeyor VS Code test version

* Remove unused import
2019-04-18 21:38:45 -07:00
Karl Burtram c5930b140e
Update vscode language client module (#1197)
* Update vscode language client module

* Disable another test to try to get clean CI build

* CR feedback, fix spelling error, bump tools service

* Fix bug when downloading tools service
2019-03-22 17:17:12 -07:00
Karl Burtram b037ed507b
Bump vscode telemetry module (#1196)
* Bump vscode telemetry modeul

* Trigger CI rebuild

* Remove appinsight gulp tasks
2019-03-20 17:43:59 -07:00
Matt Irvine fe875d9fda
Update http-proxy-agent and https-proxy-agent (#1164) 2018-11-12 15:06:25 -08:00
Emad Alashi a4fc5d50b2 Use correct tag for gulp package (#1154)
* Use correct tag for gulp package

For new machine setup, running
pm install errors because the tag used for the gulp package does not exist (4.0), it should be (v4.0.0).

* Don't use typings of the parent folder
2018-11-09 13:10:17 -08:00
Sebastian Pfliegel 8670287184 Added more saveAsCsv options (#1128)
* Added more saveAsCsv options

Options:
lineSeperator
textIdentifier
encoding

* Bump tools service version to support csv configs
2018-09-21 14:34:06 -07:00
Chirag Rupani 51b7b41053 Added support for specifying delimiter while exporting query results as CSV (#1120) 2018-07-13 12:45:13 -07:00
Matt Irvine f7b6a3a664
Change display name to 'SQL Server (mssql)' (#1115) 2018-06-27 11:28:00 -07:00
Matt Irvine 47369eb8e1
Bump version to 1.4.0 and update readme and changelog (#1116) 2018-06-27 11:03:34 -07:00
Matt Irvine 934c971ac7
Update query results to use VS Code's new web view API (#1111) 2018-06-25 10:22:45 -07:00