summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/mongo.cpp
AgeCommit message (Collapse)Author
2024-06-11SERVER-91161 Convert raw pointer to std::unique_ptr (#23202)Cedric Sirianni
GitOrigin-RevId: d6ed596ca898735aa4f3b08c4aa1b45fb25112b8
2024-05-02SERVER-90034 Fix tracing of EncryptedDBClientBase. (#21755)Santiago Roche
GitOrigin-RevId: 72f13b421b014917e6589aadcf1fb292811f1a0a
2024-04-12SERVER-64574 Upgrade third_party/mozjs with ESR115.7Santiago Roche
GitOrigin-RevId: 3a3a9d26d8a167c98e72afde863784e9a894ee8d
2024-03-12SERVER-85747 Extend compactStructuredEncryptionDataSara Golemon
GitOrigin-RevId: 1f37d4b18b31c59f48d5a72a940dafa7f9064c95
2024-03-01SERVER-85993 Make db client create OpMsgRequest with validated tenancy scope ↵Sophia Tan
(#19103) GitOrigin-RevId: 987e09f32c9acd86df9d01cc987c45862b991b5b
2024-01-21Revert "SERVER-80571 Run sharding jscore passthrough suites using gRPC"auto-revert-processor
This reverts commit f77589eebb91dee370ae32ef129366ad600865c9. GitOrigin-RevId: 36c6786af3a9fc3b995ef03e31185fddb296675c
2024-01-20SERVER-80571 Run sharding jscore passthrough suites using gRPCErin McNulty
GitOrigin-RevId: f77589eebb91dee370ae32ef129366ad600865c9
2024-01-20SERVER-84742 Refactor the ValidatedTenancyScope class to become a POD classMathis Bessa
GitOrigin-RevId: 05dbdd076618c63e67e953bddac2b6e8e6408665
2024-01-18SERVER-80571 Run core jstest suite using gRPC (#18018)Erin McNulty
GitOrigin-RevId: 6ad0aedeb0b1362ef2d75c4e954ad764cd1fcf89
2023-12-19SERVER-84264 Make DBClientBase for the shell never uassert StaleConfig ↵Cheahuychou Mao
internally (#17654) GitOrigin-RevId: 66e350dedaf3e6da743cd2d0de080f400b57277e
2023-11-26SERVER-81512 Removed using namespace fmt::literals from global namespaceVinod Kumar
2023-11-21Revert "SERVER-81512 Removed using namespace fmt::literals from global ↵auto-revert-processor
namespace" This reverts commit 3f63faa6c3787857f3c0eeeecc286e96265ca758.
2023-11-21SERVER-81512 Removed using namespace fmt::literals from global namespaceVinod Kumar
2023-10-13SERVER-80502: Connect using gRPC in the test runner when gRPC=true is specifiedErin McNulty
2023-09-28SERVER-81531 Accept DatabaseName in DBClientBase::logoutMatt Broadstone
2023-09-23SERVER-81059 bulk-revert of include of boost iif.hppBilly Donahue
2023-08-31SERVER-80394 Improve securityToken handlingSara Golemon
2023-08-30SERVER-80008 Introduce gRPC configuration options to the mongo test runnerPatrick Freed
2023-07-28SERVER-79443 Fix legacy shell crash if auto-encryption function is called on ↵Erwin Pe
closed Mongo connection
2023-07-03SERVER-77600 Add a Queryable Encryption test in jstests/coreErwin Pe
2023-07-01SERVER-77049 SERVER-77050 IWYU automated changes up to 1.0Daniel Moody
2023-06-16SERVER-77839 Extend OIDC testing coverage to other IDPsAdrian Gonzalez
2023-06-06SERVER-77689 Remove NamespaceString ctors with default parameter for ↵mathisbessamdb
tenantId - test
2023-04-26SERVER-74493 Make DatabaseName constructors privatemathisbessamdb
2023-03-22SERVER-72947 Create shell helper that can be used to call ↵Shreyas Kalyan
cleanupStructuredEncryptionData
2023-03-02SERVER-70703: Implement OIDC refresh flow in legacy shellVarun Ravichandran
2023-02-28SERVER-73189 Change DbClient runCommandWithTarget to take in a DatabaseName ↵Sophia Tan
object
2023-02-25SERVER-70958: Add end-to-end device authorization grant flow integration ↵Varun Ravichandran
test with Okta
2023-02-23Revert "SERVER-73189 Change DbClient runCommandWithTarget to take in a ↵Uladzimir Makouski
DatabaseName object" This reverts commit 26ab9caac209c31ab6b51a71e241699e12875833.
2023-02-23SERVER-73189 Change DbClient runCommandWithTarget to take in a DatabaseName ↵Sophia Tan
object
2022-08-18SERVER-68213 Modernize 'DBQuery' to avoid OP_QUERY-style formatDavid Storch
2022-08-17SERVER-68214 move session_catalog*, session*, logical_session* to ↵Shin Yee Tan
mongo/db/session directory
2022-08-15SERVER-66554 Make FLE2 suites work with stepdown and kill_primary suitesShreyas Kalyan
2022-07-27SERVER-68246 rewrite calls to boost::optional get and is_initializedBilly Donahue
2022-07-26SERVER-67824 Rename IDLParserErrorContext to IDLParserContextHugh Tong
2022-07-07SERVER-9434 Audit and Normalize Process Exit CodesMatt Kneiser
- Put all references to ExitCode enumerators under an enum class to namespace all the enumerators and avoid polluting the mongo namespace with possible naming collisions. - Added magic-number exit codes to exit_code.h like 50 & 51 (LauncherMiddleError & LauncherError respectively). - Reserved a range of exit codes to account for FreeBSD's usage of 64-78. - Renamed all enums with removal of EXIT_ which could conflict or get confused with built-in macros. - camelCased all ExitCode enum values. - Added the generic - ExitCode::fail - for returning 1 as failure. - Added explicit dependency on the exit_code.h header for all files using ExitCode's. - Removed all references to implementation-defined exit codes like EXIT_FAILURE and EXIT_SUCCESS. - Narrowed return values of the shell's undocumented quit() argument to portable values within 0-255, 0/ExitCode::clean otherwise. - Deprecated 8 unused ExitCode's - java - oomMalloc - oomRealloc - fs - clockSkew - windowsServiceStop - possibleCorruption - test - Wrapped the 2 Windows-only ExitCode's in #ifdef's - ntServiceError - windowsServiceStop
2022-06-22SERVER-62206 Remove DBClientBase::query_DEPRECATED()David Storch
Also includes related simplifications to the implementation of 'DBClientCursor'.
2022-06-15SERVER-67148 Refactor ValidatedTenantId into ValidatedSecurityTokenSara Golemon
2022-06-10SERVER-65955 Migrate shell exhaust path onto modern internal client APIDavid Storch
In doing so, this also fixes the shell's C++ native query path to correctly handle negative limit. The patch also includes additional preparatory work for deleting the query_DEPRECATED() internal client API.
2022-03-15SERVER-63467 Create a shell helper that can be used to call compact ↵Erwin Pe
encryption data
2022-03-07SERVER-61008 Upgrade vendorized mozjs to esr91.3Justin Seyster
Co-authored-by: Mohammad Dashti <mdashti@gmail.com>
2021-12-21SERVER-58035 Remove db.runCommandWithMetadata from mongo shellBlake Oler
2021-12-21SERVER-61385 Migrate callers of 'DBClientBase::query()' legacy API to the ↵David Storch
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.
2021-11-12SERVER-61403 Refactor doRunCommand implementationSara Golemon
2021-10-01SERVER-58210 Eliminate unnecessary RPC protocol negotiation codeDavid Storch
2021-08-23SERVER-58670 Tighten up what kind of BSON the 'Query' type can be wrapped aroundIrina Yatsenko
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.
2021-08-02SERVER-58703 Change internal client to only support the OP_MSG RPC protocolYoonsoo Kim
2021-07-31SERVER-57461 Remove SPLIT_LIMITED_SORT and associated QueryPlanner codeEric Cox
2021-07-30SERVER-58381 Define and process kind(2) in OP_MSG payloadSara Golemon
2021-07-15SERVER-57462 Change the shell to use OP_MSG for exhaust queries instead of ↵Yoonsoo Kim
OP_QUERY