Commit Graph

3944 Commits

Author SHA1 Message Date
Jeremy Mikola
6aaa45d380 Fix BulkWrite::update() "multi" option usage in docs
Fixes #229
2016-02-22 15:39:41 -05:00
Jeremy Mikola
5b45b90ff9 Merge pull request #226 2016-02-22 13:28:39 -05:00
Jeremy Mikola
ba83c54cfe PHPC-545: Regression test for Peristable bug report 2016-02-15 12:49:00 -05:00
Jeremy Mikola
b6c9b45add PHPC-550: Always encode ODS field when serializing Persistable documents
The modified ODS tests return atomic modifiers through bsonSerialize(), which conflicts with __pclass injection (the resulting newObj is neither an update nor a replacement document). Rather than delete these tests, we'll mark them as expecting failure until we allow such functionality in another interface down the line.
2016-02-15 12:49:00 -05:00
Jeremy Mikola
54740a6685 Regression test for executing BulkWrite multiple times 2016-02-15 12:49:00 -05:00
Jeremy Mikola
08394895f5 Fix test title 2016-02-15 12:49:00 -05:00
Jeremy Mikola
71b597cfa4 Tests should use and cleanup their own collection 2016-02-15 12:49:00 -05:00
Jeremy Mikola
1c4caa2fe7 Merge pull request #231 2016-02-15 12:41:46 -05:00
Jeremy Mikola
016eaf8aa0 PHPC-581: Use ConnectionTimeoutException for server selection failures 2016-02-15 12:41:28 -05:00
Jeremy Mikola
b7d99e734b Merge pull request #232 2016-02-15 12:41:03 -05:00
Jeremy Mikola
e55bb19eb4 PHPC-582: Manager::selectServer() should select exception class based on bson_error_t 2016-02-15 12:40:54 -05:00
Jeremy Mikola
19b9884254 Merge pull request #221 2016-02-15 12:40:09 -05:00
Jeremy Mikola
a287ded536 PHPC-553: Relax expected output patterns for HHVM 2016-02-15 12:36:51 -05:00
Jeremy Mikola
19bfb1a8a3 PHPC-553: Check for connection exceptions in exec and SS methods
executeCommand(), executeQuery(), and selectServer() did not check for a global exception after executing via libmongoc, which meant that connection and SSL exceptions might end up as the previous exception where they could be easily ignored.

This makes these methods consistent with executeBulkWrite(), which happens to be used in our SSL tests where we check for such exceptions.
2016-02-15 12:36:51 -05:00
Jeremy Mikola
cca7d04fef PHPC-553: Suppress warnings during stream creation
This allows PHP's warnings during connection initialization (e.g. unresolvable host names) to be captured into the bson_error_t, which is later used to throw an exception.
2016-02-15 12:36:51 -05:00
Jeremy Mikola
0a08b03d64 Merge pull request #233 2016-02-15 12:09:32 -05:00
Jeremy Mikola
2930c348db PHPC-566: Remove request_id from Manager::__debugInfo() 2016-02-15 12:09:17 -05:00
Jeremy Mikola
d28fef3c6a Merge pull request #234 2016-02-15 12:08:06 -05:00
Jeremy Mikola
583d57a885 PHPC-567: Bump config.m4 library deps 2016-02-12 18:11:09 -05:00
Jeremy Mikola
062c2ea8f7 PHPC-567: Upgrade libbson and libmongoc to 1.3.3 2016-02-12 15:08:15 -05:00
Jeremy Mikola
53f180fb29 Merge pull request #230 2016-02-12 10:31:35 -05:00
Derick Rethans
dba417c29a Skip this test on HHVM, as its DateTime class is ancient and behaves differently 2016-02-12 12:19:57 +00:00
Jeremy Mikola
b17d202129 Merge pull request #227 2016-02-11 17:22:32 -05:00
Jeremy Mikola
d9674b5bd0 PHPC-523: Parse readconcernlevel in URI options array 2016-02-11 17:21:18 -05:00
Jeremy Mikola
d4a680215a Merge pull request #228 2016-02-11 17:20:26 -05:00
Jeremy Mikola
bd44cc6826 PHPC-563: Remove undocumented Manager "hosts" URI option 2016-02-10 17:57:02 -05:00
Jeremy Mikola
c63a1a8b0f Merge pull request #218 2016-02-10 10:47:45 -05:00
Jeremy Mikola
20e601a853 PHPC-539: Include read concern in Query debug output 2016-02-10 10:37:51 -05:00
Jeremy Mikola
c27c466f43 Merge pull request #225 2016-02-10 10:33:35 -05:00
Jeremy Mikola
2fa57d7d05 Regression test for extending final classes 2016-02-09 15:25:14 -05:00
Jeremy Mikola
5d05759140 PHPC-519: Add missing modifiers to final class methods
This is just being done for consistency. The classes are all already final (specified in their MINIT function).
2016-02-09 15:18:01 -05:00
Jeremy Mikola
fe3c8c646d Merge pull request #223 2016-02-08 21:27:22 -05:00
Jeremy Mikola
41cadec19b PHPC-538: ObjectID should not abort on null ctor arg 2016-02-08 20:42:58 -05:00
Jeremy Mikola
51707d8364 Merge pull request #217 2016-02-03 10:36:04 -05:00
Jeremy Mikola
5b00e22101 PHPC-515: Test that negative cursor limits return one batch 2016-02-03 10:35:57 -05:00
Derick Rethans
290cbf67ce Merged pull request #206 2016-02-03 10:32:12 +00:00
Derick Rethans
b67a090c18 Fixed PHPC-543: MongoDB\BSON\UTCDateTime on 32 bit platforms parse argument wrong 2016-02-03 10:31:45 +00:00
Jeremy Mikola
7924c08fba Merge pull request #216 2016-02-02 15:21:52 -05:00
Derick Rethans
b4dc01f831 Fixed PHPC-558: Upgrade libmongoc and libbson to 1.3.2 2016-02-02 15:21:42 -05:00
Jeremy Mikola
a782c9ac86 Remove Manager::executeInsert() usage in ODS docs
This method was removed prior to 1.0. Fixes #203
2016-02-02 13:47:16 -05:00
Jeremy Mikola
94da547407 Merge pull request #202 2016-01-12 11:44:30 -05:00
Derick Rethans
8e61bb78a5 Skip and fix test for HHVM with ReadConcerns 2016-01-12 16:43:03 +00:00
Jeremy Mikola
5b2545e35c Back to -dev 2016-01-07 14:12:58 -05:00
Jeremy Mikola
3dcd6509a0 Add 1.1.2 release notes 1.1.2 2016-01-07 14:11:26 -05:00
Jeremy Mikola
933e6add73 Bump extension version to 1.1.2 2016-01-07 13:55:40 -05:00
Jeremy Mikola
5955fe1561 Merge pull request #196 2016-01-07 12:54:49 -05:00
Jeremy Mikola
dd0e1eb963 PHPC-496: Revert "Temporary workaround for warning in mongoc"
This reverts commit 873122fb78.
2016-01-07 12:54:35 -05:00
Jeremy Mikola
9d42f3cb1c Merge pull request #197 2016-01-07 12:53:41 -05:00
Jeremy Mikola
bd96692345 Improve other config.m4 check messages 2016-01-06 15:38:46 -05:00
Lior Kaplan
fde062059d PHPC-534: Enable configure without SASL and support --with-mongodb-sasl=no 2016-01-06 15:38:09 -05:00