summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/connection_status.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "SERVER-34653 don't parse if early auth-checks can reject.""Billy Donahue2018-05-311-0/+3
| | | | | | This reverts commit 7d0ea48dc8522f41e93b86d9c8f77c64b623ba60. no MakeGuard (the lambda might throw)
* Revert "SERVER-34653 don't parse if early auth-checks can reject."Louis Williams2018-05-251-3/+0
| | | | This reverts commit f2e762dc80e63fa47bd4c1d48e05f628464b0f54.
* SERVER-34653 don't parse if early auth-checks can reject.Billy Donahue2018-05-251-0/+3
|
* SERVER-34628 Really remove appendCommandStatusMathias Stearn2018-05-081-3/+1
| | | | | | | | | | All remaining callers are transitioned to some form of usassert. This was done with an elaborate set of vim macros to make this tractable. Therefore it should not be considered an example of the best way to write new code, just as an improvement on what was there before. In particular, I couldn't easily remove Status's that are named then only used once in uassertStatusOK, nor could I convert the pattern of checking a StatusWith<T>'s getStatus() then calling getValue() to just call uassertStatusOK(returnsStatusWith()).
* SERVER-33286 Provide service context in Command::secondaryAllowed to allow ↵Henrik Edin2018-02-141-1/+1
| | | | getting interfaces without using global get function.
* SERVER-33136 const-ify the command auth accessorsBilly Donahue2018-02-061-1/+1
|
* SERVER-32958 unrevert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Billy Donahue2018-01-311-2/+2
| | | | | | w/fix: update a new command to secondaryAllowed This reverts commit d75cb425fbc3cf4b569eb1722c3f8abec45654a2.
* Revert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Judah Schvimer2018-01-311-2/+2
| | | | This reverts commit be24b0323d3f2d424d9e22337f4221d39001ac31.
* SERVER-32958 slaveOk,slaveOverrideOk replacementBilly Donahue2018-01-311-2/+2
| | | | declare read_preference dep. update service_entry_opint_embedded
* SERVER-32958 Command::help() returns std::stringBilly Donahue2018-01-301-2/+2
|
* SERVER-32646 CommandHelpersBilly Donahue2018-01-161-1/+1
|
* SERVER-29731 get errmsg out of BasicCommand apiMathias Stearn2017-07-131-1/+0
| | | | It is now only used by commands deriving from ErrmsgCommandDeprecated.
* SERVER-29731 convert all direct subclasses of Command to BasicCommandMathias Stearn2017-07-131-2/+2
|
* SERVER-29260 Make BSONObj argument to Command::run() const&Mathias Stearn2017-05-171-1/+1
|
* SERVER-28701 Remove queryOptions argument from Command::run()Mathias Stearn2017-04-121-1/+0
|
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-1/+1
| | | | | | This commit is an automated rename of all whole word instances of txn, _txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all .cpp and .h files in src/mongo.
* SERVER-25488 merge ClientBasic and ClientKyle Suarez2016-08-081-1/+1
|
* SERVER-20224 commands that write support writeConcernJudah Schvimer2016-04-121-0/+3
|
* SERVER-23024 remove isWriteCommandForConfigServer methodMisha Tyulenev2016-03-151-3/+0
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-85/+84
|
* SERVER-15860 Switch replication metadata ops to be replication-specific, ↵matt dannenberg2015-04-171-1/+1
| | | | rather than using commands
* SERVER-17817 Make AuthorizationSession a decoration of ClientBasic.Andy Schwerin2015-04-161-1/+1
|
* SERVER-13256 Remove pch.hAndrew Morrow2015-01-151-3/+0
|
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-0/+4
|
* SERVER-13256 Prohibit new uses of pch.hAndrew Morrow2015-01-051-1/+4
|
* SERVER-13698: Add role and privilege info to connectionStatus output.Amalia Hawkins2014-09-161-4/+60
|
* SERVER-13641 rename TransactionExperiment to OperationContextHari Khalsa2014-05-151-1/+1
|
* SERVER-13641 Unify Command::newRun into runMathias Stearn2014-05-141-1/+1
| | | | | | | | | | | This is the result of the following seds and a few manual fixups, including removing the old run() and fixing the comments. git grep -l '\<run(const' | xargs sed -si -e 's/\brun(const/newRun(TransactionExperiment* txn, const/' git grep -l '\<run( const' | xargs sed -si -e 's/\brun( const/newRun(TransactionExperiment* txn, const/' git grep -l '\<newRun(' | xargs sed -si -e 's/\bnewRun(/run(/'
* SERVER-13643 Kill Command::logTheOp and have Commands log their own opsMathias Stearn2014-04-301-1/+0
| | | | | This is necessary to ensure that the lopOp is on the same Transaction as the operation.
* SERVER-13498 Get rid of LockStatusKaloian Manassiev2014-04-151-1/+1
| | | | | | This change removes all usages of LockStatus and pushes the lock acquisitions to be inside the respective commands. This is a refactoring on the way to per-document locking.
* SERVER-11192 hook c++ driver to transmit mongos authenticated users to ↵Eric Milkie2013-12-241-1/+1
| | | | | | mongod, for auditing Also, add UserNameIterator as a parallel to RoleIterator.
* SERVER-9516 connectionStatus should return authenticatedUsers as {user: ↵Andy Schwerin2013-10-311-2/+5
| | | | | | <string>, db: <string>}. Previously, it reported users as { user: <string>, userSource: <string> }
* SERVER-8886 Add OpenSSL exception to files in src/mongo/dbIan Whalen2013-09-061-0/+12
|
* SERVER-9518 Get UserName out of AuthorizationSession, not PrincipalNamesSpencer T Brody2013-08-191-5/+5
|
* Split AuthorizationManager into 2 classes: AuthorizationManager and ↵Spencer T Brody2013-05-221-3/+4
| | | | AuthorizationSession.
* SERVER-8471 Remove Command::requiresAuthSpencer T Brody2013-03-121-1/+0
|
* SERVER-7124 connectionStatus commandMathias Stearn2012-12-211-0/+60
Currently only returns list of users logged in on current connection