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

447 Коммитов

Автор SHA1 Сообщение Дата
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
Eric Jizba 8ed6967bd9
Leverage new ui package for tree telemetry (#396) 2018-03-07 15:55:12 -08:00
Nathan 4e550fb13b
Merge pull request #394 from Microsoft/nturinski/deleteLabel
Change label when deleting accounts
2018-03-05 16:05:49 -08:00
Nathan 186becc9c3
Change label when deleting accounts 2018-03-05 15:53:55 -08:00
Stephen Weatherford (MSFT) 54299719d3
Add pre-GA graphs issue to readme (#388) 2018-03-05 15:37:26 -08:00
Stephen Weatherford (MSFT) a4b95eb30a
Update to latest vscode dependencies (#391) 2018-03-05 15:22:26 -08:00
Stephen Weatherford (MSFT) d4f48794f0
EnableGremlin capability to create post-GA graphs, fixes #352 (#376) 2018-03-02 14:52:50 -08:00
Prashanth 136709a289
Enforce noImplicitThis and noImplicitReturns on src (#374) 2018-03-01 11:38:49 -08:00
Eric Jizba cd500e6adb
Leverage updated AzureActionHandler (#375) 2018-02-28 18:04:32 -08:00
Prashanth 1f99c85598
Enforce noUnusedLocals in src (#373)
* ts rules: noUnusedLocals everywhere but src/graph

* Enforce noUnusedLocals in src/graph.

* Changes based on Stephen's feedback.
Remove a subscription push since this.graphView seems to be undefined.

* Changes based on feedback.

* Clean the merge
2018-02-28 14:08:59 -08:00
Prashanth 1a1f06bc22 keytar require - remove assumption on node_module disk layout (#368) 2018-02-27 09:10:35 -08:00
Prashanth 336a27c3e5
Retrieve previous session's state to allow updating re-opened documents and collections (#363)
* Remove textDoc from fileMap

* Rough sketch of getting the right document/child.
Need to fix the separator in label.

* Persisting editors across sessions now works.
TODO: Redo editor-labels, code cleanup.

* Change usage of labels to using ids for retrieving the docs

* Changes based on feedback

* Changes to work with Eric's azuretools UI findNode PR.

* FindOne id BSON->String cast fix

* Feedback from Eric- commit 2

* FindResultEditor - MongoCollectionTreeItem call

* findOne -> throw error if no documents found

* Mongo Find&FindOne editors:
 Use findNode in the node search phase of the update function

* Simplify call to findNode using this.id

* Throw error if doc/collection not found in the tree.

* Add loadPersistedEditor to onDidSaveTextDocument
2018-02-23 16:03:37 -08:00