summaryrefslogtreecommitdiff
path: root/src/mongo/scripting
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-61234 Expand support for $function returning scalar BSON valuesJustin Seyster2022-03-2610-17/+236
|
* SERVER-63467 Create a shell helper that can be used to call compact ↵Erwin Pe2022-03-152-1/+10
| | | | encryption data
* SERVER-64298 Added some safety checks for failed JS constructor callsMohammad Dashti2022-03-081-8/+3
|
* SERVER-61008 Upgrade vendorized mozjs to esr91.3Justin Seyster2022-03-0747-296/+441
| | | | Co-authored-by: Mohammad Dashti <mdashti@gmail.com>
* SERVER-27209 Eliminate dangerous BSONElement string extraction methodsMatt Kneiser2022-01-132-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix: Change return type of BSONObj::getStringField to include size (StringData vs. char*). A char* only contains the data with an ending NULL termination. Whereas a StringData contains data + size so caller knows how to interpret data if there are embedded NULLs. - Cleanup: Remove old tag - CachedSizeTag - that disambiguated BSONElement ctors. A dangling reference to 'maxLen' in a comment led me to this historical issue. $ git log -S'maxLen' -- src/mongo/bson/bsonelement.h commit 0d38ef5 Author: Mathias Stearn mathias@10gen.com Date: Tue Dec 19 14:23:08 2017 -0500 SERVER-32302 Compute BSONElement sizes eagerly - Test: Add tests for NULL bytes being returned by getStringField - $ ninja -j400 +bson_obj_test - Cleanup: Move BSONElement::valuestr() from public to private - Cleanup: Remove BSONElement::valuestrsafe() - Cleanup: Remove all external callers of valuestr/valuestrsafe and cleanup their callsites with better alternatives. - Cleanup: Make multi-line BSONElement & BSONObj public API comments conform to style guidelines - Nit: Fix spelling in a comment
* SERVER-58035 Remove db.runCommandWithMetadata from mongo shellBlake Oler2021-12-212-19/+0
|
* SERVER-61385 Migrate callers of 'DBClientBase::query()' legacy API to the ↵David Storch2021-12-212-10/+10
| | | | | | | | | modern 'find()' API There are a handful of remaining callers of the legacy API, either using the exhaust option or which are involved in a code path which still relies on the OP_QUERY-inspired BSON format. These should be cleaned up as follow-up work.
* SERVER-47808 Add new registerChange overload to simplify Change codeGabriel Marks2021-11-192-15/+2
|
* SERVER-61403 Refactor doRunCommand implementationSara Golemon2021-11-121-9/+11
|
* SERVER-31551 Test server-side JS property enumerationCharlie Swanson2021-10-111-0/+1
|
* SERVER-58210 Eliminate unnecessary RPC protocol negotiation codeDavid Storch2021-10-012-32/+0
|
* SERVER-59234 Fix clang-12 warnings in C++20 modeAndrew Morrow2021-09-171-1/+1
|
* SERVER-59233 Don't apply clang/gcc warning suppressions on WindowsAndrew Morrow2021-09-161-1/+1
|
* SERVER-59233 Suppress some warnings in third-party code or its useAndrew Morrow2021-09-161-0/+9
|
* SERVER-59782 migrate makeGuard calls to ScopeGuardBilly Donahue2021-09-082-5/+5
|
* SERVER-58670 Tighten up what kind of BSON the 'Query' type can be wrapped aroundIrina Yatsenko2021-08-232-2/+4
| | | | | | | | | This refactor includes: Remove dead code from 'Query' type and reduce it public interface. Split query argument in query/update/removed methods into filter BSON and settings (which are still passed around as 'Query' type). Remove Query(string) constructors. Remove most callers of 'Query(const BSONObj&)'. Replace public 'Query(const BSON&)' and 'Query.obj' with an explicit factory method and a getter.
* SERVER-57446 fix clang-tidy header issues and add header-filterDaniel Moody2021-08-021-1/+1
|
* SERVER-58703 Change internal client to only support the OP_MSG RPC protocolYoonsoo Kim2021-08-022-22/+1
|
* SERVER-57461 Remove SPLIT_LIMITED_SORT and associated QueryPlanner codeEric Cox2021-07-311-2/+2
|
* SERVER-58381 Define and process kind(2) in OP_MSG payloadSara Golemon2021-07-302-72/+81
|
* SERVER-58607 Error out on invalid values for CountDownLatchInfo's argumentYoonsoo Kim2021-07-301-18/+33
|
* SERVER-57462 Change the shell to use OP_MSG for exhaust queries instead of ↵Yoonsoo Kim2021-07-153-39/+15
| | | | OP_QUERY
* SERVER-57457 Close connection on receiving of OP_DELETE, OP_INSERT, ↵Irina Yatsenko2021-07-081-141/+0
| | | | OP_UPDATE and OP_KILL_CURSORS
* SERVER-57206 Resolve Compiler warnings in JSStringWrapper::JSStringWrapperyingdongyuan2021-06-041-1/+2
| | | | | | Signed-off-by: Andrew Morrow <acm@mongodb.com> Closes #1404
* SERVER-56777 Fix UB in valuewriterIan Boros2021-05-101-2/+6
|
* SERVER-56585 replace MONGO_COMPILER_VARIABLE_UNUSED with c++17 attribute ↵Benety Goh2021-05-041-4/+2
| | | | maybe_unused (.cpp files only)
* SERVER-53605 Ensure replsettest.asCluster works with clusterAuthMode = x509Mark Benvenuto2021-05-032-1/+9
|
* SERVER-54596 remove 1-arg shouldLog function (an ODR violation)Billy Donahue2021-03-182-3/+3
|
* SERVER-53671 Make ~PooledScope() resilient to 'InterruptedAtShutdown' exceptionsMihai Andrei2021-02-051-63/+24
|
* SERVER-38938 include metadata in command responseRobert Guo2021-01-192-0/+7
|
* SERVER-52545 Define listIndexes with IDLA. Jesse Jiryu Davis2020-12-162-5/+27
|
* SERVER-30815 Added linter to check for unnecessary PUBLIC libdeps, and added ↵Daniel Moody2020-12-161-1/+3
| | | | schema versioning.
* Revert "SERVER-52545 Define listIndexes with IDL"Lingzhi Deng2020-12-162-27/+5
| | | | This reverts commit 0c132588e9907c7b123f986a61c3a43cd087381f.
* SERVER-52545 Define listIndexes with IDLA. Jesse Jiryu Davis2020-12-152-5/+27
|
* SERVER-48291 Add global dependency pushdown to libdepsRyan Egesdahl2020-11-261-2/+0
| | | | | | | | | | | | | | | | | We sometimes have situations where a dependency applies at a large scope, such as in the case of tcmalloc, which can apply everywhere. What we have done previously is to hack these dependencies into the LIBDEPS environment variable by adding a builder to all nodes that can produce a compiler result. This is, as stated previously, hackish and hard to control, and it results in adding a Public dependency to all those nodes. What we now do instead is to define LIBDEPS_GLOBAL on the *build environment* (not the Builder node) listing the targets we would like to push down to all other nodes below that point. This has the effect of adding those targets as Private dependencies on all Builder nodes from that point downward, which means some common Public dependencies can be converted to a Private dependency that is stated only once.
* SERVER-50388 Support $where operator in SBENikita Lapkov2020-11-171-0/+1
|
* SERVER-51827 Log and rethrow if ~PooledScope throwsDavid Percy2020-11-141-18/+66
|
* SERVER-50882 Noisy log message, "Received interrupt request for unknown op"Drew Paroski2020-11-031-9/+9
|
* SERVER-43462 Remove cloneDatabase and copyDatabase shell helpersGeert Bosch2020-10-272-83/+0
|
* SERVER-50508 Rename ConnectionType::MASTER to ConnectionType::kStandaloneBen Caimano2020-10-261-1/+1
|
* SERVER-50511 Change local variables and functions in dbclient filesAmirsaman Memaripour2020-10-231-1/+1
|
* SERVER-38289 Teach objects builders how to build idl files.Daniel Moody2020-10-221-3/+3
|
* SERVER-50917 util/ctype.h to replace <cctype> & <ctype.h> funcsBilly Donahue2020-10-132-6/+10
|
* SERVER-51084 tweak range loop variable types to fix xcode buildBilly Donahue2020-09-251-1/+1
|
* SERVER-43909 clarify and repair util/hex.h APIBilly Donahue2020-09-151-11/+1
| | | | | | | - hexblob namespace - Throwy hexblob::decode (nee fromHex) - StringData overloads of hex codec ops - add unsignedHex<T> and zeroPaddedHex<T>
* SERVER-50622 Add logging for 'mr_killop_test_fp' failpointJustin Seyster2020-09-101-0/+1
|
* SERVER-47391 convert strcpy to strncpyc-childs2020-09-011-1/+1
|
* SERVER-49703 Added libdep linter alphabetic rule and update all libdeps list ↵Daniel Moody2020-08-271-3/+3
| | | | to be alphabetical
* SERVER-49882 Log status in the catch block in JSThread::run()Charlie Swanson2020-08-241-0/+6
|
* SERVER-49380 Add API params to mongo shellA. Jesse Jiryu Davis2020-08-202-2/+35
|