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

241 Коммитов

Автор SHA1 Сообщение Дата
Leila Lali d6593bd1eb downloading the SQL tools service if does not exist (#70)
* downloading the SQL tools service if does not exist before loading the extension
2016-09-13 15:57:29 -07:00
Anthony Dresser de2c4d5973 Feature/stacking grids (#69)
* changed result sets to stacked
2016-09-13 11:18:15 -07:00
Anthony Dresser 9ded20f68d Feature/keyboard navigation (#75)
Implement arrow key navigation and ctrl+ a functionality
2016-09-12 17:57:32 -07:00
Kevin Cunnane 43f0e11ae7 Feature/update connection list (#72)
* Connection List UI Improvements
- Add symbols for Profile vs MRU (MRU will be added in future update)
- Connection is now 1-line
- Add server name to the description. Will update to skip for Profiles in a later update

* Connection should display actual DB name

- On connecting to a server with no DB specified, we will actually get a connection to Master or some default DB.
- This database should be what's displayed to the user instead of <connection default>, and used in the file mapping
- Updated status view to also use DOMAIN\USERNAME for Integrated auth accounts instead of <prompt>
- Added basic unit tests to cover this scenario

* Handle Profile with no name

- Profile names are now optional. All calls (get, save, remove) support this with tests
- Handle difference between MRU and Profile in pick list
- Formatting of Connection list in UI matches functional spec

* Fixes based on PR comments

- Moving isSameProfile function to utils. It's hard to put this directly on an interface as it makes simple object serialization/deserialization to the interface more complex
 - converting function in then callback to a lambda function

* Restore type definition to lambda
2016-09-12 16:38:29 -07:00
Anthony Dresser e06d22e178 Merge pull request #73 from Microsoft/defect/smallResultSet
remove resize call in tab.ts because of bug with small result sets
2016-09-12 16:32:56 -07:00
Sharon Ravindran 2ef35cc9ac Feature/save results as csv (#56)
* code changes for save results as csv

* config changes and bug fixes

* Retrieve the right resultSet after batch execution

* Retrieve the right resultSet after batch execution

* code clean up

* Delete .BROWSE.VC.DB-shm

* Delete .BROWSE.VC.DB-wal

* fix merge error

* fix merge error

*  fixed merge error - removed viewChild decorator and moved html

*  made filepath compulsory

* reset defaults

* remove strict

* removed JSON message and set http status

* remove resize call in tab.ts because of bug with small result sets

* Remove Save command

* Fix tests for Mac/Linux

* Remove dead code

* Change class name to ResultsSerializer

* Remove new lines

* Revert "remove resize call in tab.ts because of bug with small result sets"

This reverts commit 6b63a4db28.
2016-09-12 16:22:15 -07:00
Kevin Cunnane 45908354c4 Update nuget package version (#76)
Update nuget package to 0.0.9 to support updated data returned over the ConnectResponse message
2016-09-12 15:01:09 -07:00
Kevin Cunnane 47ad7c9bf5 Connection should display actual DB name (#71)
* Connection should display actual DB name

- On connecting to a server with no DB specified, we will actually get a connection to Master or some default DB.
- This database should be what's displayed to the user instead of <connection default>, and used in the file mapping
- Updated status view to also use DOMAIN\USERNAME for Integrated auth accounts instead of <prompt>
- Added basic unit tests to cover this scenario

* Added doc comments to the file
2016-09-12 12:50:55 -07:00
Anthony Dresser 6b63a4db28 remove resize call in tab.ts because of bug with small result sets 2016-09-12 12:00:20 -07:00
Anthony Dresser 97d5dea7e3 Merge pull request #68 from Microsoft/feature/updateBuild
Feature/update build
2016-09-09 10:15:20 -07:00
Anthony Dresser ac28503d4b Merge pull request #66 from Microsoft/defect/messagesAtBottom
Angular Rendering Fixes
2016-09-08 16:56:35 -07:00
Anthony Dresser 250c0c5243 Merge pull request #57 from Microsoft/feature/updatedVariousSelection
fixed and added various selection options
2016-09-08 16:56:15 -07:00
Anthony Dresser e92d4a140d incorporated feedback 2016-09-08 16:51:14 -07:00
Anthony Dresser 51c1e66546 removed logging; fixed duplicated tasks 2016-09-08 16:30:43 -07:00
Anthony Dresser cee6cce960 fixed build break 2016-09-08 15:06:14 -07:00
Anthony Dresser 49734f41e0 testing 2016-09-08 15:06:01 -07:00
Anthony Dresser 1a01a1966a checking in a build break for testing 2016-09-08 15:05:46 -07:00
Anthony Dresser 9e46d54d5b fixed build scripts 2016-09-08 15:05:22 -07:00
Kevin Cunnane 4bca91d7d6 Fix Capitalization error in credentialstore refs (#67)
- On Linux strict capitalization is enforced. Fixing references to credentialstore folder that broke due to this
2016-09-08 11:51:04 -07:00
Anthony Dresser b766c356cd fixed lint errors 2016-09-08 11:16:41 -07:00
Anthony Dresser 87e528e5ca Merge branch 'dev' into defect/messagesAtBottom 2016-09-08 11:03:34 -07:00
Anthony Dresser 1d0f4437fc fixed initialization bug 2016-09-08 10:26:06 -07:00
Anthony Dresser 0e15fc1dab mostly implemented change, working with initilization bug 2016-09-07 17:04:35 -07:00
Kevin Cunnane c9561da03a Authentication type support in connection wizard (#65)
- Fix issue where SqlLogin was set as the value for Integrated auth and updated test to cover this
- Verified this works End to End now
2016-09-07 16:26:29 -07:00
Kevin Cunnane fb5844a485 Save Connection Password using Credential Store (#35)
* CredentialStore support via ServiceLayer

- Removed Node-based credential implementation as it send password over the command line
- Replaced with implementation via the ServiceLayer
- Improved error handling to catch rejected Thenables
- Removed no longer used npm dependencies

* Save Password fixes

- Renamed RecentConnections to ConnectionStore to accurately reflect status (it stores Profile info and in the future will also have MRU)
- Added a unit test to cover not saving password in the settings. Will update to include in the secret store instead in a future checkin

* Save and Remove password from credential store

- Password is now saved to credential store and removed from it when RemoveProfile is called

* ConnectionUI constructor requires ConnectionStore

* Fix casing for Credential objects

* Multiple fixes for Connection Behavior

- Integrated authentication handled correctly in the Create Profile workflow
- Error Handling in the main events so that rejected promises are not lost
- Handle Escape from Connection workflows correctly

* Use SqlLogin as authenticationType

* Use VSCodeWrapper for calls to ShowErrorMessage

* Update Nuget Dependency to 0.0.8
2016-09-07 13:44:23 -07:00
Anthony Dresser 79bba6a7c8 Merge branch 'defect/resizeIssues' into defect/messagesAtBottom 2016-09-07 12:58:25 -07:00
Anthony Dresser 381f6fa315 Merge branch 'defect/messagesAtBottom' of github.com:Microsoft/vscode-mssql into defect/messagesAtBottom 2016-09-07 12:56:34 -07:00
Mitchell Sternke a34b83bd2d Merge pull request #60 from Microsoft/bug/savingUntitledDoc
Fixed a bug where connection would be lost when saving an untitled doc
2016-09-07 12:13:34 -07:00
Mitchell Sternke b68b291315 Merge branch 'dev' into bug/savingUntitledDoc 2016-09-07 12:11:12 -07:00
Mitchell Sternke 3e12bc6a09 Merge pull request #62 from Microsoft/feature/connectionChanged
Added handling for the connection changed notification
2016-09-07 11:57:45 -07:00
Mitchell Sternke 0a1999cf9e Moved string to constants, added string formatting function 2016-09-07 11:55:03 -07:00
Anthony Dresser 0983fde603 removed unnecessary imports 2016-09-07 11:04:54 -07:00
Mitchell Sternke 006d6116a3 Addressing feedback 2016-09-06 17:48:42 -07:00
Anthony Dresser 3fd2c4849a fixed a line too long error in lint 2016-09-06 17:03:17 -07:00
Anthony Dresser 7177894bc7 iterated on feedback 2016-09-06 17:03:17 -07:00
Anthony Dresser 9842b7034c iterated on feedback 2016-09-06 17:03:17 -07:00
Mitchell Sternke 613545e25b Re-added the checks for language mode with user prompts before connecting/executing queries 2016-09-06 17:03:17 -07:00
Anthony Dresser 9d1cc0907c finished light and dark themeing 2016-09-06 17:03:17 -07:00
Karl Burtram 2e88a3e3c4 Bump SqlToolsService nuget package version 2016-09-06 17:03:17 -07:00
Mitchell Sternke dc60abd182 Removed checks for sql file when connecting and running queries 2016-09-06 17:03:17 -07:00
Anthony Dresser 56bcd64ecf Merge pull request #63 from Microsoft/defect/lintBuild
fixed a line too long error in lint
2016-09-06 16:22:27 -07:00
Anthony Dresser 1d6608c84e cleaned up committed code for fixing resize issues 2016-09-06 14:59:34 -07:00
Anthony Dresser d37ed0687e fixed resize and message first tab issue 2016-09-06 14:36:16 -07:00
Anthony Dresser 7322b9dadd fixed a line too long error in lint 2016-09-06 13:23:32 -07:00
Anthony Dresser a35aaaae55 Merge pull request #61 from Microsoft/feature/theming
View results theming
2016-09-06 11:46:14 -07:00
Anthony Dresser 1d28f1dd2b iterated on feedback 2016-09-06 11:45:46 -07:00
Anthony Dresser ef2ce26cdf iterated on feedback 2016-09-06 11:44:49 -07:00
Mitchell Sternke 7605aa371e Merge branch 'dev' into feature/connectionChanged 2016-09-02 16:55:54 -07:00
Mitchell Sternke 1d66095d78 Added handling for the connection changed notification 2016-09-02 16:44:54 -07:00
Mitchell Sternke 789df77274 Merge pull request #58 from Microsoft/bug/connectFromNonSqlDocument
Prompt to change language mode to SQL if necessary when connecting and running queries
2016-09-02 15:11:36 -07:00