summaryrefslogtreecommitdiff
path: root/src/mongo/shell/mongo.js
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-28450 add support for causal consistency to mongo shellMisha Tyulenev2017-04-191-0/+123
|
* SERVER-27576 Fix quit() in shell and all the tests that depend on itJonathan Reams2017-01-121-0/+2
|
* SERVER-27289 fix ConnectionString parsing in shellMatt Cotter2016-12-131-4/+5
|
* Revert "SERVER-27289 fix ConnectionString parsing in shell"Matt Cotter2016-12-121-2/+4
| | | | This reverts commit b9c59fd5c79c0b0d9c845e3c05e50ab1dd9f7f4a.
* SERVER-27289 fix ConnectionString parsing in shellMatt Cotter2016-12-121-4/+2
|
* SERVER-21745 change shell to not print readMode/writeMode fallback messagesDavid Storch2016-11-091-2/+0
|
* SERVER-23219 DBCommandCursor should route getMore operations to original serverJonathan Reams2016-08-291-5/+1
|
* SERVER-22382 allow mongo --host to take uriMatt Cotter2016-08-181-35/+14
|
* SERVER-25357 expose read concern setter for shell mongo objectMatt Cotter2016-08-121-1/+23
|
* SERVER-22383 Do not throw in shell if no database is specified in MongoURIJonathan Reams2016-07-121-1/+1
|
* SERVER-22347 Use "legacy" read mode for replica set connections.Max Hirschhorn2016-06-161-1/+5
| | | | | | | Adds a Mongo.prototype.isReplicaSetConnection() method to connection objects in the mongo shell. The mongo shell then degrades to use "legacy" read mode for replica set connections because DBCommandCursor doesn't route getMore and killCursors operations to the original server.
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-3/+1
|
* SERVER-12489 Make shell warn if version does not match server'sJoanna Cheng2016-05-231-4/+19
| | | | | | Closes #1085 Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com>
* SERVER-22469 Format JS code with approved style in src/mongo/shell & ↵Jonathan Abrahams2016-03-091-89/+86
| | | | src/mongo/scripting
* SERVER-22440 fix shell to resolve readMode correctly on first .find() operationDavid Storch2016-02-081-9/+7
|
* SERVER-22340 Fix JS lint errors in src/mongo/ with ESLint --fixMike Grundy2016-02-051-24/+24
|
* SERVER-21637 add a test for 3.2 shell / 3.0 server find compatibilityDavid Storch2015-12-081-11/+12
|
* SERVER-20640 Get wire versions from native DBClient instead of running isMasterJonathan Reams2015-11-051-24/+8
|
* SERVER-6233 Add URI parsing to mongo shellJonathan Reams2015-10-131-18/+28
|
* SERVER-20067 SERVER-19572 set readMode in shell based on wire versionDavid Storch2015-09-301-10/+44
| | | | | | | | | | "compatibility" readMode now causes the shell to detect whether or not to use find/getMore commands based on wire version. "commands" mode forces use of the find/getMore commands, and "legacy" mode forces uses of legacy OP_QUERY/OP_GET_MORE reads. Also configures tests to force use of "commands" or "legacy" mode as appropriate.
* SERVER-19493 Include 'code' field in thrown js Error objects where possibleSpencer T Brody2015-07-221-3/+3
|
* SERVER-17286 extend shell to use getMore command if --readMode is commandsDavid Storch2015-07-101-5/+10
|
* SERVER-18284 use plain Array.isArray instead of polyfillsAdam Midvidy2015-05-011-5/+1
|
* SERVER-18198 use native runCommand method in the shellAdam Midvidy2015-04-291-0/+39
|
* SERVER-17450 Cleanup SSL test infrastructureSpencer T Brody2015-04-061-1/+1
|
* Revert "SERVER-17450 Cleanup SSL test infrastructure"Charlie2015-03-241-1/+1
| | | | This reverts commit 43e53251a30e680fb57a3f042f66910355197cde.
* SERVER-17450 Cleanup SSL test infrastructureSpencer T Brody2015-03-241-1/+1
|
* SERVER-17286 add --readMode flag to shellDavid Storch2015-03-231-0/+25
| | | | | Passing '--readMode commands' to the shell will now cause it to run find using the find command, combined with wire protocol OP_GET_MORE messages. The default readMode remains OP_QUERY style find.
* SERVER-15426 shell helpers for log component configurationMatt Kangas2014-10-131-2/+35
|
* SERVER-14875 explain helpers for the shellDavid Storch2014-10-131-0/+12
|
* SERVER-9634 typo fixesVeres Lajos2014-06-091-1/+1
| | | | Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
* SERVER-10177 Remove all Js instances of "throw 'string';" with "throw Error();"daveh862014-05-221-7/+7
| | | | | | Includes both the initial patch to remove all throws and patches for all failing tests Signed-off-by: Benety Goh <benety@mongodb.com>
* SERVER-13037 Fix misspelling ("compatability" to "compatibility")Sean Wilkinson2014-04-251-1/+1
| | | | Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
* SERVER-12786: add shell writeMode optionScott Hernandez2014-02-261-12/+41
|
* SERVER-12127 test of single write results, example of using new write ↵Greg Studer2014-02-101-2/+2
| | | | command mode
* SERVER-12214 Make WriteResult in the shell adhere to write command specRandolph Tan2014-01-101-2/+6
| | | | Put back original fix by reverting fa01bee42fa6b495474eded723ec0c4a538d802f
* Revert "SERVER-12214 Make WriteResult in the shell adhere to write command spec"Dan Pasette2014-01-091-6/+2
| | | | This reverts commit 26fd0b03e7b41940a1b7a6de7d23ea3d00d9dc47.
* SERVER-12214 Make WriteResult in the shell adhere to write command specRandolph Tan2014-01-081-2/+6
|
* Remove extraneous warning about connecting to a pre-2.5.4 server.Dan Pasette2013-11-201-1/+0
|
* Downconversion support for mongo shell and typed WriteResults and WriteConcernsGreg Studer2013-11-151-2/+42
|
* SERVER-11627 Make the shell use write commands by defaultRandolph Tan2013-11-111-8/+1
| | | | Append --useLegacyWriteOps when running mongo shell.
* SERVER-11627 Make the shell use write commands by defaultRandolph Tan2013-11-081-0/+11
|
* SERVER-7455 x.509 cluster auth tests and expanded use-ssl passthroughAndreas Nilsson2013-09-301-1/+2
|
* SERVER-8030 Validate connection string in JavaScript connect() functionTad Marshall2013-03-111-16/+48
| | | | | | | | Validate that the "URL" passed to the connect() function matches one of the accepted formats (host:port/database, host/database or database) before trying to use it to connect to a server. Change a uassert in HostAndPort::init() to an massert to match the massert four lines above it. Add jstest for connect() validation.
* SERVER-7423 Support commands for read preferenceRandolph Tan2012-10-311-0/+21
| | | | Step#1 Add shell helper
* bulk move of code to src/ SERVER-4551Eliot Horowitz2011-12-241-0/+102