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

658 Коммитов

Автор SHA1 Сообщение Дата
Eric Jizba 2f6f7bf92c
Fix attached accounts timing issue (#493)
I saw issues where the connected mongo database didn't always persist for attached accounts. It's because there is a timing issue related to loading the persisted accounts.

I suppose there was always a bit of a race condition here. For example, if the user expanded the 'Attached Accounts' node before we load the persisted accounts, they would not see their accounts.

Also fix "language client is not ready"
2018-04-06 13:23:43 -07:00
Eric Jizba b66d52b14e
Fix build to work with latest cosmosdb package (#505) 2018-04-06 10:56:02 -07:00
Stephen Weatherford (MSFT) 0c757201d4
Handle errors trying to launch shell, fixes #455 (#498)
* Handle errors trying to launch shell, fixes #455

* fix

* fix

* fix

* fix
2018-04-06 09:04:25 -07:00
Eric Jizba af944adead
Fix creating account in command palette (#496)
And hide stored procedure command since we're not shipping them yet
2018-04-05 21:12:48 +00:00
Eric Jizba a2da102fcd
Fix '(Connected)' label bugs (#491)
Label goes away after refreshing parent node
Label doesn't show when first loading tree
2018-04-04 23:53:55 +00:00
Stephen Weatherford (MSFT) 1664e8fa5b
Stop publishing JS grammar, fixes #464 (#490)
* Stop publishing JS grammar, fixes #464

* fix
2018-04-04 14:11:45 -07:00
Prashanth 53fc96ecda Defer to mongo shell for unsopported cases of multiple parameter calls. (#485) 2018-04-03 20:37:45 -07:00
Stephen Weatherford (MSFT) 9ca0d93615
Prepare for 0.6.0 release (#480)
* Prepare for 0.6.0 release

* fixes
2018-04-03 18:25:08 -07:00
Stephen Weatherford (MSFT) bf712f4d10
Add scrapbook command name to telemetry (#484)
* Add scrapbook command name to telemetry

* fix
2018-04-03 18:24:39 -07:00
Stephen Weatherford (MSFT) 75842e4aff
Add DB to id for multi-tenant scenario, fixes #482 (#483)
* Add DB to id for multi-tenant scenario, fixes #482

* fix
2018-04-03 18:15:55 -07:00
Stephen Weatherford (MSFT) 45cac3b927
Handle connection strings with database specified, fixes #473 (#476)
* Handle connection strings with database specified, fixes #473

* fix
2018-04-03 17:32:40 -07:00
Stephen Weatherford (MSFT) 2d94c14b59
Disable displaying stored procs until view/edit implemented (#479) 2018-04-03 17:09:50 -07:00
Eric Jizba b93741103b
Default to mongo cli in system path if VS Code setting isn't defined (#474) 2018-04-04 00:07:21 +00:00
Eric Jizba d1dd1c923a
Persist connected Mongo DB (#475) 2018-04-03 23:59:51 +00:00
Stephen Weatherford (MSFT) 7722c30b2a
Don't ask for mongo doc ID for new docs, fixes #477 (#478) 2018-04-03 16:17:39 -07:00
Stephen Weatherford (MSFT) fd293a4041
Allow mongo.shell.path to be a workspace setting (#472) 2018-04-03 12:08:36 -07:00
Matt Hernandez 9c82bda790
Merge pull request #452 from Microsoft/fiveisprime/readme-update
Add an intro blurb to the readme.
2018-04-03 08:29:10 -07:00
Stephen Weatherford (MSFT) be4bb373a4
Delete stored procedures (#468)
* Delete stored procedures

* Optimize tree picking

* fix

* fix
2018-04-02 17:31:22 -07:00
Prashanth 0ca7e6320f
Recognize multiple parameters in a command, and support them for find, findOne, insertMany (#460)
* Initial Commit

* Accept multiple arguments from the parser.

* remove commented code

* Support findOne

* InsertMany -> conform to Mongo shell 3.2 (allow collectionWriteOptions)

* Support find with  a query and projection

* rename and fix collectionWriteOptions

* Based on Feedback

* Add tests. Rebuild mongo grammar files in light of merge

* Revert antlr version

* tests - use deepEqual instead of equal to pass object comparison test.

* More parse tests

* fix single argument case

* Add test for missing commas

* Add comma requirement to arguments token.
Throw error if the visitor hits an ErrorNode

* mongo.g4: Add case for 0 arguments
tests:
- Make nested params (array) compliant
- Add empty object argument db.test.find({})

* Change the no-argument rule
2018-04-02 16:20:26 -07:00
Matt Hernandez d65ac6c741 Add an intro blurb to the readme.
Added a blurb to the top of the readme with the features we want users
to know about right away. The emphasizes MongoDB because node...
2018-03-30 18:56:19 -07:00
Stephen Weatherford (MSFT) 6a3e9c5daa
More minor message improvements (#459) 2018-03-30 14:22:27 -07:00
Stephen Weatherford (MSFT) 63f5828855
Fix handling of CRLF and add some unit tests, fixes #386 (#456)
* Fix handling of CRLF and add some unit tests, fixes #386

* More unit tests

* fix
2018-03-30 14:09:35 -07:00
Stephen Weatherford (MSFT) 7f4516371d
README fixes/improvements, fixes #453 (#454)
* README fixes/improvements, fixes #453

* PR fixes

* fixes
2018-03-29 18:10:45 -07:00
Stephen Weatherford (MSFT) 5deef28f3d
Delinting 4 (#448)
* Delinting 4

* PR fixes

* fixes
2018-03-28 11:42:59 -07:00
Stephen Weatherford (MSFT) 8648df08c3
Move to alpha version for next release (#450) 2018-03-27 18:24:02 -07:00
Stephen Weatherford (MSFT) 0b50e69531
Merge pull request #445 from Microsoft/ps/updateMasterToRelease
Update changelog and package.json in master to 0.5.1
2018-03-27 15:53:42 -07:00
Eric Jizba 54bea88f7e
Add openInPortal to subscription (#449) 2018-03-27 20:20:13 +00:00
Prashanth 1632563399
Re-opening VSCode multiple times now shouldn't break update document (#446)
* showDocument -> Retrieve persistedEditorLabels to fix 370

* Handle persistedEditors being undefined
2018-03-27 11:49:16 -07:00
Eric Jizba f98abe0e6a
Update ui package to leverage new subscription api on nodes (#447) 2018-03-27 14:57:00 +00:00
Prashanth 62346fc594 Prep for release: package.json version update, document fixed bug (#439)
(cherry picked from commit 06a5b7d3ced726e5a06c6d0cdb343f3a4b4b185f)
2018-03-26 14:02:41 -07:00
Stephen Weatherford (MSFT) 057344488b Prepare for 0.5.0 release (#379)
(cherry picked from commit 61f9168739f14fedc7bd7b20ea28e6536935660f)
2018-03-26 14:02:03 -07:00
Stephen Weatherford (MSFT) 6abfdc94df
Select Subscriptions icon (#440)
* Select Subscriptions icon

* PR fixes
2018-03-26 12:47:04 -07:00
Prashanth 095352f0c8
Regression fix: (#436)
Check if globalState has the persisted editors before attempting to load
2018-03-23 17:05:56 -07:00
Stephen Weatherford (MSFT) f32c50ce0a
Delinting part 3 (#438) 2018-03-23 16:53:32 -07:00
Matt Hernandez 2e4417ebb4 Update the banner color to improve icon contrast. (#435)
Changed to dark grey to match the theme and better show off the icon.

Closes #359
2018-03-23 15:55:35 -07:00
Stephen Weatherford (MSFT) 6bd4abbda2
Add acct type to telemetry, fixes #409 (#433)
* Add acct type to telemetry, fixes #409

* fixes

* PR fixes

* Fix

* Fix
2018-03-23 14:22:50 -07:00
Stephen Weatherford (MSFT) 08b709d4ee
Delinting 2 (#432)
* Delinting 2

* fix new code
2018-03-23 12:32:56 -07:00
Stephen Weatherford (MSFT) 9a0ee9542f
Saw/new id prompt (#430)
* Improve prompt for new doc, #428

* Change wording

* Mongoe
2018-03-23 12:27:01 -07:00
Stephen Weatherford (MSFT) 44ecccfc9f
Delinting step 1 (#431) 2018-03-22 16:21:16 -07:00
Eric Jizba e6410ac5f4
Refactor createCosmosDBAccount to use shared wizard (#412)
In addition to reducing the amount of copied code, this adds support for the following:

1. Persisting recently used selections
1. Generating a related name for the resource group
1. Consistent use of ignoreFocusOut and UserCancelledError by default
2018-03-22 21:25:12 +00:00
Stephen Weatherford (MSFT) 7627d71d72
Add tslint (with some disabled rules) (#426)
* Add tslint (with some disabled rules)

* PR fixes
2018-03-22 13:08:37 -07:00
Prashanth e8b3ce5973
Label -> add defaultExperience (#424) 2018-03-21 17:03:12 -07:00
Stephen Weatherford (MSFT) ca05f8658f
View collection stored procs in the browser tree (#416)
* Browse stored procedures for DocDB

* Remove undones and fix command palette for create doc

* Fixes
2018-03-21 12:57:39 -07:00
Stephen Weatherford (MSFT) a059b09260
Show message for empty results, fixes #237 (#406)
* Rename empty state -> initial state

* Show message for empty results, fixes #237

* Fix build due to changing socket.io types
2018-03-20 17:54:20 -07:00
Stephen Weatherford (MSFT) f840234db6
Rename empty state -> initial state (#405)
* Rename empty state -> initial state

* Fix build due to changing socket.io types
2018-03-15 15:43:25 -07:00
Stephen Weatherford (MSFT) d9d1a2d6a1
Fix build due to changing socket.io types (#410) 2018-03-15 15:42:58 -07:00
Eric Jizba e0d41f175b
Add upload-vsix to travis ci (#402) 2018-03-13 22:45:44 +00:00
Eric Jizba 16249c5ba1 Add extension recommendations (#400) 2018-03-12 14:10:27 -07:00
Stephen Weatherford (MSFT) 0500fe1280
Add Build script (#399) 2018-03-12 14:07:48 -07:00
Stephen Weatherford (MSFT) 7cc3c38e2f
Fix build (#401) 2018-03-12 14:03:40 -07:00