summaryrefslogtreecommitdiff
path: root/src/mongo/bson
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-29814 Move BSONObj::MatchType/BSONElement::getGtLtOp() to matcherJames Wahlin2017-07-215-95/+0
|
* SERVER-29583: Create $_internalSchemaMinProperties and ↵Anne Lim2017-07-205-55/+0
| | | | $_internalSchemaMaxProperties MatchExpressions
* SERVER-29583: Create $_internalSchemaMinProperties and ↵Anne Lim2017-07-195-0/+55
| | | | $_internalSchemaMaxProperties MatchExpressions
* SERVER-29571 Parse a subset of $jsonSchema into a MatchExpression.David Storch2017-07-171-0/+12
| | | | | | | | Adds support for $jsonSchema containing only the following JSON Schema keywords: - type - properties - maximum
* SERVER-29581 Create $_internalSchemaMinLength and $_internalSchemaMaxLength ↵Natalia Jacobowitz2017-07-142-0/+4
| | | | MatchExpressions
* SERVER-29610 Allow LogicalSessionIds to contain signed user informationsamantharitter2017-07-131-0/+5
|
* SERVER-29731 upconvertRequest shouldn't separate data and metadataMathias Stearn2017-07-131-2/+10
|
* SERVER-29585: Create a $_internalSchemaObjectMatch MatchExpressionNick Zolnierz2017-07-112-0/+2
|
* SERVER-29588 create an $_internalSchemaUniqueItems MatchExpressionKyle Suarez2017-07-072-0/+2
|
* SERVER-15194 Refactor base64::decode ImplementationSara Golemon2017-07-071-7/+1
| | | | | | | | | | Unrevert 4b222edf455a34667cfaf7b67e7f8dfdca42bd9c and Fix random base64 generation in test helper The good news is that the changes to base64::decode() did exactly what they were intended to do. The bad news is that data_generators.js was producing invalid base64 sequences when (length % 4) == 1.
* Revert "SERVER-15194 Refactor base64::decode Implementation"Nathan Myers2017-07-071-1/+7
| | | | This reverts commit 4b222edf455a34667cfaf7b67e7f8dfdca42bd9c.
* SERVER-15194 Refactor base64::decode ImplementationSara Golemon2017-07-061-7/+1
| | | | | | | | | | | | | | | * Existing check for length as multiple of 4 as-is * Added check for non-base64 characters on input * Added check for terminators ('=') midstream Implicitly in positions 0 and 1 via non-base64 check Explicitly in positions 2 and 3 via "done" check. Moved "Alphabet" class into cpp file in anon namespace as it's an implementation detail and shouldn't be used by outside classes. Added base64::validate() method to accomodate BSON's isBase64String() check.
* SERVER-29919 Change BSONElement::operator[] to take field as StringDataJames Wahlin2017-07-052-2/+2
|
* SERVER-29925 Only canonicalize bson types if they differMathias Stearn2017-07-031-10/+9
|
* SERVER-29587: Create $_internalSchemaMinItems and $_internalSchemaMaxItems ↵Nick Zolnierz2017-06-272-0/+4
| | | | MatchExpressions
* Revert "SERVER-29587: Create $_internalSchemaMinItems and ↵Siyuan Zhou2017-06-272-4/+0
| | | | | | $_internalSchemaMaxItems MatchExpressions" This reverts commit a92eb118cc8500a9c4286e8ef28cb26ea3f4e238.
* SERVER-29587: Create $_internalSchemaMinItems and $_internalSchemaMaxItems ↵Nick Zolnierz2017-06-272-0/+4
| | | | MatchExpressions
* SERVER-29852 Store session id and transaction number on all commands' ↵Kaloian Manassiev2017-06-271-1/+1
| | | | OperationContext
* SERVER-27992 Use UUIDs for replicationGeert Bosch2017-06-233-0/+47
|
* SERVER-27263 BSONExtractWithDefault more efficient in the 'no such key' caseTyler Kaye2017-06-222-87/+159
|
* SERVER-29564 BSONObjBuilder can now be seeded with a BSONObj prefixMathias Stearn2017-06-195-7/+136
| | | | This will avoid copying whenever it is safe.
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-184-78/+85
| | | | | | | | | | | | | | | | | There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`.
* SERVER-27713 create an OpObserver for shard chunk metadata updatesDianna Hohensee2017-06-151-1/+3
|
* SERVER-27193 Fix signed/unsigned mismatch compilation warnings on MSVCKaloian Manassiev2017-06-141-2/+1
|
* SERVER-27193 Use ItoA to handle integer cases in StringBuilderMathias Stearn2017-06-132-7/+65
|
* SERVER-29461 check for duplicate fields when serializing OP_MSGMathias Stearn2017-06-131-0/+5
|
* SERVER-29350 Bump featureCompatibilityVersion to 3.6Tess Avitabile2017-06-091-12/+3
|
* SERVER-12203 Remove tautological assert in bson_validate_test.cppBen Shteinfeld2017-06-071-4/+5
|
* SERVER-29334 remove dotted field name check from BSONObj::okForStorageDianna Hohensee2017-06-022-70/+8
|
* SERVER-29080 Make BSONArrayBuilder move-constructibleKaloian Manassiev2017-05-082-16/+21
|
* fix error codesMathias Stearn2017-05-051-1/+1
|
* SERVER-29047 Fix BSONObjBuilder's move constructorMathias Stearn2017-05-053-17/+17
|
* SERVER-28827 BinData for IDLMark Benvenuto2017-05-021-0/+26
|
* SERVER-28211 UUID::parse(BSONElement) returns InvalidUUID instead of ↵Benety Goh2017-04-171-1/+3
| | | | UnknownError on error
* SERVER-28507 Centralize ignored fields in command implementationsMathias Stearn2017-04-122-27/+45
|
* SERVER-28508 Tighten invariant in BSONObjBuilder resume constructorMathias Stearn2017-04-121-1/+1
|
* SERVER-28306 IDL Code GeneratorMark Benvenuto2017-03-292-0/+26
|
* SERVER-28347 enforce storage depth limit for user documentsKyle Suarez2017-03-242-1/+19
| | | | | | | Introduces a nesting depth limit for document storage, which is lower than the hard limit for general BSONObjects. Users cannot insert documents exceeding this limit, nor can they update a document to exceed it.
* SERVER-28311 Make BSONObjBuilder returnableMathias Stearn2017-03-205-11/+57
|
* SERVER-26703 reject commands exceeding the BSON depth limitKyle Suarez2017-03-133-0/+106
| | | | | Any command sent to the server that exceeds the depth limit will fail. This also prevents users from inserting documents that exceed the depth limit.
* SERVER-27987 Create and persist UUIDs for newly created collectionsGeert Bosch2017-03-081-0/+11
|
* SERVER-27570: Enforce stricter checks on top level command BSON objectsSpencer Jackson2017-03-082-0/+76
|
* Revert "SERVER-26703 reject commands exceeding the BSON depth limit"Max Hirschhorn2017-03-064-115/+0
| | | | This reverts commit c2b3178e0cae20a24bc9cc39a750bb864def17e3.
* SERVER-26703 reject commands exceeding the BSON depth limitKyle Suarez2017-03-064-0/+115
| | | | | Any command sent to the server that exceeds the depth limit will fail. This also prevents users from inserting documents that exceed the depth limit.
* SERVER-4786 Allow specifying sample rate of slow queriesEvan Broder2017-01-262-0/+27
| | | | | | | | | | | | | Adds a sampleRate parameter to the profile command, a value on the interval [0, 1] which indicates which fraction of operations should be randomly sampled for profiling and logging. This allows users to reduce their slowms threshold or increase their profiling level with less performance impact on the system. Closes #1099 Signed-off-by: David Storch <david.storch@10gen.com>
* SERVER-14148 Remove JS mode from JSON output optionsJonathan Reams2017-01-063-4/+2
|
* SERVER-27497 Scope SCons Environment changes narrowlyAndrew Morrow2017-01-033-0/+9
|
* SERVER-27197 fix BSONType::Code comparison to not use collatorDavid Storch2016-12-061-9/+15
|
* SERVER-27200 fix CodeWScope comparison to not use collatorDavid Storch2016-12-061-10/+4
|
* SERVER-27171 Add operator<<(bool) to StringBuilderImplJames Wahlin2016-11-282-0/+14
|