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

66 Коммитов

Автор SHA1 Сообщение Дата
Anthony Dresser fcd2ba4abc Defect/message close (#293)
* changed condition on hiding message pane

* added resize on message drag; changed default message view to open; changed wording on event

* changed event name
2016-11-08 11:30:40 -08:00
Eric Kang 4f5c55cf73 readme.md 3rdpartynotice.txt changelog.md (#271)
* readme.md 3rdpartynotice changelog

* minor update

* updated MIT license content

* fixed thirdpartynotices.txt issue
2016-11-07 13:15:55 -08:00
Kevin Cunnane 152fccff2a Support code coverage for our VSCode extension. (#273)
- Included a new launch config that supports running with code coverage.
- Coverage is stored in a coverage folder as both LCOV file and HTML report (in sub folder)
- Added new scripts in our build machine to run with code coverage. Will enable a run that uses code coverage once this is merged
- To view code coverage while developing, install the LCOV VSCode extension, enable it and then hit F1 -> LCOV Menu -> Enable Decorations. This will highlight covered / missed lines in green and red.

Note: The HTMLContent codebase is not currently covered. With recent changes to minify this it breaks the remapping tool we use.

Detailed notes
- Coverage uses a config file to load settings. This is copied at the start of each task
- If tests fail, the process exit code will be 1. We should still write out code coverage in these cases as this is a useful detail even on runs with some test failures.

- On Windows, the extension is loaded (pulling in all source files via require) before the test runner is configured. Since instrumentation happens by hooking the require call, this meant that instrumentation never happened on Windows. To resolve this, we invalidate the Module cache for our source files so they are reloaded the next time anything requires them. At this point they are instrumented as expected. There is a minor risk to this if we had some global state or deeper integration test, but this doesn't impact any existing unit tests and is needed to unblock code coverage

* Skip coverage of HTMLContent due to crash
- With the latest HTMLContent changes to minify & uglify the code, the remap-istanbul component responsible for js -> ts remapping crashes trying to parse the sourceMap entries in the file. This is due to lack of whitespace between code which it expects - basically, it's not set up to run against such compact code
- Disabling coverage of this part of the code until this issue is resolved
2016-11-07 12:56:10 -08:00
Sharon Ravindran 085149fa63 Add save as config to package.json (#262)
* Add save as config to package.json

* Modify description
2016-11-07 10:27:47 -08:00
Eric Kang 89401d36a5 final UI strings - UE reviewed (#249)
* final UI strings - UE reviewed

* fix string bug

* updated strings based on PR feedback

* fixed confirmation message
2016-11-03 17:35:38 -07:00
Anthony Dresser e636981736 added css min; minified the source code more (#233)
* added css min; minified the source code more

* added embedded svgs

* added comment comments
2016-11-01 14:35:45 -07:00
Anthony Dresser 7760ed16db Feature/html config (#231)
* added select all event to context menu; added events for save as and select all

* added shortcuts to context menu when present

* fixed build errors

* fixed select all

* added refresh (#195)

* fixed null values in grid (#218)

* added config
2016-10-31 16:28:34 -07:00
Anthony Dresser 59e4ed70c1 Feature/html bundle (#193)
* added bundling

* added minify

* removed unnecessary npm packages

* removes unecessary file
2016-10-26 15:01:40 -07:00
Leila Lali 2c614b3e05 changing the setting namespace to mssql (#222)
* changed the setting namespace to mssql

* Bump service to 0.0.32
2016-10-26 11:54:26 -07:00
Karl Burtram bcef8d0650 Bump extension to version 0.1.1 (#192)
vbump only...
2016-10-24 22:47:57 +00:00
Karl Burtram 6fec20e6ae Merge branch 'dev' of https://github.com/Microsoft/vscode-mssql into dev 2016-10-24 14:48:52 -07:00
Eric Kang 0f62c21c4f Feature/branding (#189)
* fix shortcut for toggleMessagePane

* branding change
2016-10-24 14:42:06 -07:00
Karl Burtram 5c4de34039 Merge dogfood build #2 release branch into dev. 2016-10-24 14:32:10 -07:00
Karl Burtram e29635fb56 Bump package to 0.0.11 (#188) 2016-10-21 16:27:49 -07:00
Eric Kang 8c1c010f11 Feature/ui string review (#176)
* UI strings fit and finish (pre-signoff)

* Fixed UI string for Cancel Executing Query command

* Updated cancel query UI strings

* Authentication type name modification from SQL Authentication to SQL Login

* string change for database promot CR profile

* string review update

* Save file UI string update

* Fix typo
2016-10-19 10:25:30 -07:00
Leila Lali 87ea272687 Feature/editormenu (#169)
* added Execute query menu item to editor context menu
2016-10-18 14:06:01 -07:00
Benjamin Russell b16c0539c3 Support for query cancellation (#148)
Adding a new command for cancelling queries

* WIP

* Creating a cancelling spinner

* Removing keyboard shortcut as per @erickangMSFT

* Changes as per code review feedback
2016-10-17 13:12:01 -07:00
Karl Burtram e401ed24eb Rollback to SqlToolsService 0.0.26 2016-10-17 01:24:59 -07:00
Karl Burtram 1e937dcc67 Update readme.ms 2016-10-16 10:09:25 -07:00
Karl Burtram 3ed06349b3 Bump extension to 0.0.8 for bug bash build (#156)
* Bump sqltoolsservice to 0.0.26

* Bump extension to 0.0.8
2016-10-12 20:55:24 -07:00
Mitchell Sternke a224cad80e Fit and finish for CTP1 connection functionality (#152)
* Fit and finish for CTP1 connection functionality

* Fix so that MRU items not associated with a profile forget passwords

* Minor UI string change

* Addressing feedback

* Minor bugfix related to saving authentication type for MRU items

* Prevent saving plaintext passwords on new profiles

* Fix issue with MRU ordering edge case
2016-10-12 16:45:08 -07:00
Mitchell Sternke 5f64bc1a41 Feature/profiles in settings file (#140)
* Moved conection profiles to vscode settings file

* Fixed tests

* Removed obsolete json schema

* Prevent harmless error message

* Fixed some edge cases

* Addressing feedback
2016-10-10 17:26:32 -07:00
Mitchell Sternke 2279aabe41 Feature/connect fit and finish UI (#134)
* Changed commands from 'MSSQL' to 'MS SQL'

* Rename 'Switch database' -> 'Change database'

* Fix capitalization

* Added disconnected state for new SQL files

* Limit status bar text length

* Finalized tooltip text for connection status

* Added log messages for connect events

* Fix broken unit test

* Minor changes

* Addressing feedback

* Revert change to execute query shortcut
2016-10-07 12:45:49 -07:00
Karl Burtram 15e10922ea Bump package to 0.0.7 2016-10-06 22:43:35 -07:00
Mitchell Sternke 572afc5898 Feature/connect cancel (#126)
* Implemented connection cancellation and handling connection complete notification

* Fixed tests

* Addressing feedback

* Refactor handleConnectionCompleteNotification

* vbump service

* vbump extension version
2016-10-04 16:29:47 -07:00
Mitchell Sternke 2ac7b1ab61 Feature/password handling (#118)
* Improved save password handling for connection profiles

* Move check into promise body

* Update connection json schema
2016-10-04 11:07:02 -07:00
Karl Burtram 44e0879f9a Add embedded Getting Started guide (#120)
* Add prompt to view embedded release notes.

* Add Getting Started guide.

* Correct the display condition
2016-09-28 15:20:49 -07:00
Karl Burtram 4a2d1584c1 Update package version to 0.0.5 (#115)
* Bump SQL Tools version to 0.0.19

* Bump to 0.0.5
2016-09-26 21:42:08 -07:00
Sharon Ravindran 9ec1a76b1a Feature/xml link (#107)
* Add openLink pipe line

* Change post data

* Handle save from  untitle file

* Open file with content

* Add formatter for xml field

* Open xml links in new editor pane

* Remove extra space

* Pretty print xml

* Remove console.log

* Delete .BROWSE.VC.DB-shm

* Delete .BROWSE.VC.DB-wal

* Code cleanup

* Make enableAsyncPostRender an input into slickgrid

* Remove Xml FieldType
2016-09-23 15:02:48 -07:00
Leila Lali 316983e8a5 Status bar message when downloading the service (#101)
* Showing an error in the status bar if downloading the service failed. Hiding the installed service message after 5 seconds

* updating vscode-languageclinet to 2.5.0
2016-09-21 16:16:43 -07:00
Karl Burtram f3f51c46d5 Update service to 0.0.16 2016-09-20 21:42:24 -07:00
Mitchell Sternke 1b1b7dc920 Feature/profile file (#98)
* Initial commit of profile file saving support

* Fix path used on mac/linux

* Fixed issue with loading profiles from settings file

* Refactored out file logic to separate class to fix tests

* Fixed all existing tests

* Fixed unhandled exceptions leaking in tests

* Added unit tests for connection config

* Minor fix for edge case

* Addressing feedback
2016-09-19 18:07:13 -07:00
Leila Lali 3a4625f072 Updating the version of applicationinsights in vs-telemetry module (#100)
* Updating the version of applicationinsights in vs-telemetry module to 0.15.19
2016-09-19 17:59:22 -07:00
Leila Lali a02f63a4b7 gulp scripts for creating vsix package (#94)
* gulp scripts for creating vsix package and installing the service as part of the build
2016-09-19 10:27:33 -07:00
Anthony Dresser 35cd4a881b Feature/copy paste (#83)
* initial copy paste code

* initial copy-paste pipe

* added copy paste functionality

* updated package.json

* added tests; removed console logs

* removed unnecessary code
2016-09-15 11:51:35 -07:00
Kevin Cunnane ee9a4933cb Most Recently Used support in VSCode extension (#77)
* MRU support in ConnectionStore

- Core functionality including tests to support most recently used list
- Configuration option to let users define the size of the MRU list

* Recent Connection added on Connect

- ConnectionManager.Connect will save a connection to the recently used list
- Unit Tests added to cover this
- Default value from the user settings is now filtered out as this change caused it to be shown (and we do not want the sample value visible)
2016-09-13 18:09:38 -07:00
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 250c0c5243 Merge pull request #57 from Microsoft/feature/updatedVariousSelection
fixed and added various selection options
2016-09-08 16:56:15 -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 807a5b44a5 fixed and added various selection options 2016-08-31 16:19:49 -07:00
Mitchell Sternke 1f9f6113ca Added support for most sql connection string properties 2016-08-30 17:30:19 -07:00
Mitchell Sternke 8f17aecf4e Merge branch 'dev' into feature/removeTedious 2016-08-25 16:49:24 -07:00
Leila Lali 97a95add9a Updating language client library to 2.0.0 2016-08-24 16:21:52 -07:00
Mitchell Sternke 4bdb2280d0 Removed Tedious driver and replaced with service calls 2016-08-24 16:12:08 -07:00
Anthony Dresser 180ed98254 added tests for query runner 2016-08-22 11:25:03 -07:00
Mitchell Sternke 83b4c9b214 Updated test runner 2016-08-19 16:38:35 -07:00
Kevin Cunnane 46c9fdfd93 Merge from Dev 2016-08-18 16:18:56 -07:00
Kevin Cunnane dde260f864 Add AuthType question to profile with test
Added AuthenticationType as an option in the Create Profile workflow.
Created new test class and added a single test to verify the basic question flow.
TODO: Add serialization of this property across the API boundary and more tests
2016-08-18 10:11:16 -07:00
Karl Burtram c043faeabf Pull SqlToolsService host binaries from Nuget instead of as checked in
binaries.
2016-08-16 10:15:33 -07:00
Anthony Dresser e0ef372da4 Slick gridwith angular2 (#7)
* Refactored the project to run the front end code as a separate npm package

* Added Slickgrid as UI component rather than Backgrid

* Added Gulp scripts for building
2016-08-01 18:18:36 -07:00