Jeremy Mikola
3fad0c56c2
Merge branch 'v1.4'
2018-04-17 10:36:14 -04:00
Jeremy Mikola
cee168b7ce
Merge pull request #808
2018-04-17 10:36:04 -04:00
Jeremy Mikola
042c56ba85
Do not re-execute BulkWrite in WriteResult::getServer() test
...
bulkwrite_error-002.phpt already covers this case.
2018-04-17 10:35:39 -04:00
Katherine Walker
49ee50d0cc
Merge pull request #804
2018-04-17 09:36:14 -04:00
Katherine Walker
22aef1cc2f
BSONElement::chk() in MongoDB 2.6 doesn't like Timestamp and UTCDateTime _id values in the same collection
2018-04-17 09:35:51 -04:00
Katherine Walker
0e8cf55649
PHPC-1159: Test on specific server versions in Travis CI
2018-04-17 09:35:51 -04:00
Jeremy Mikola
81143f4ede
Merge pull request #809
2018-04-16 17:03:38 -04:00
Jeremy Mikola
c154b49444
PHPC-578: phongo_execute_command() should still throw ExecutionTimeoutException
...
This fixes an inadvertent side effect of 4b70d9b9de .
2018-04-16 17:03:29 -04:00
Jeremy Mikola
230d8d9ab2
Define constant for ExceededTimeLimit server error
2018-04-16 17:03:29 -04:00
Jeremy Mikola
26a70b45d5
Merge pull request #810
2018-04-16 13:37:31 -04:00
Jeremy Mikola
1877e6a01a
Fix variable name in test
...
This fixes a typo introduced in 4967eff756 .
2018-04-16 13:34:33 -04:00
Jeremy Mikola
8b803ee7e5
Merge pull request #807
2018-04-16 13:24:05 -04:00
Jeremy Mikola
4967eff756
Invalid namespace test needs STANDALONE
...
This reverts changes from 0b200dda09 and is related to PR #806 for v1.4.
2018-04-16 13:23:20 -04:00
Jeremy Mikola
a2638aeeec
Merge branch 'v1.4'
2018-04-16 13:22:00 -04:00
Jeremy Mikola
c84167982d
Merge pull request #806
2018-04-16 13:20:29 -04:00
Jeremy Mikola
1904f7e935
Invalid namespace tests needs STANDALONE
...
In b29c423fda for PHPC-1057, Manager's execute methods were changed to perform server selection before invoking the phongo_execute functions, which throw InvalidArgumentExceptions such as this. Without a running standalone server, this test will encounter a server selection failure before we have a chance to parse the namespace string.
2018-04-16 12:05:57 -04:00
Jeremy Mikola
3af46fc79c
Merge branch 'v1.4'
2018-04-16 11:32:51 -04:00
Jeremy Mikola
f5d1084c53
Merge pull request #801
2018-04-16 11:28:29 -04:00
Jeremy Mikola
cc90304658
PHPC-1151: Add Session to Cursor debug output
2018-04-16 11:28:21 -04:00
Jeremy Mikola
21307dee76
PHPC-1151: Maintain Session reference on Cursor
...
This ensures that the Session and underlying mongoc_client_session_t will not be freed until after the Cursor's mongoc_cursor_t object is destroyed.
2018-04-16 11:28:21 -04:00
Jeremy Mikola
06f608059e
Move up client argument for phongo_parse_session()
...
Client is required, while the opts and zval arguments are optional.
2018-04-16 11:16:21 -04:00
Jeremy Mikola
e2aeebddb5
Merge branch 'v1.4'
2018-04-12 14:43:25 -04:00
Jeremy Mikola
7622c08fd0
Merge pull request #802
2018-04-12 14:43:14 -04:00
Jeremy Mikola
44ee529743
Use longer maxAwaitTimeMS in changeStream test
...
This makes the test more robust, since 100ms may not be long enough for the change to appear on some runs.
2018-04-12 13:17:55 -04:00
Katherine Walker
50a3a671d7
Merge pull request #800
2018-04-12 10:21:42 -04:00
Katherine Walker
3125be38ca
PHPC-1148: Remove PHONGO_ERROR_WRITE_FAILED
2018-04-12 10:20:58 -04:00
Derick Rethans
ca4fb16aea
Merged pull request #799
2018-04-11 16:33:21 +01:00
Derick Rethans
c722e85720
Merge branch 'v1.4'
2018-04-11 16:33:21 +01:00
Derick Rethans
850e3ceda7
Merged pull request #798
2018-04-11 15:47:03 +01:00
Derick Rethans
31f78f3ee5
PHPC-1136: Add Appveyor build status badge to readme
2018-04-11 15:46:36 +01:00
Derick Rethans
b847b11328
PHPC-1157: Upgrade bundled libmongoc and libbson to 1.9.4
2018-04-11 10:58:20 +01:00
Derick Rethans
fc53a842eb
Merged pull request #795
2018-04-11 10:36:39 +01:00
Derick Rethans
89e34e39f8
Merge branch 'v1.4'
2018-04-11 10:36:39 +01:00
Derick Rethans
cb81027747
PHPC-1156: Prefer Secure Transport over OpenSSL with --with-mongodb-ssl on Darwin
2018-04-11 10:36:10 +01:00
Katherine Walker
ff72d7990e
Merge pull request #797
2018-04-10 18:01:07 -04:00
Katherine Walker
b829ec543f
PHPC-1148: Throw InvalidArgumentException if BulkWrite is executed multiple times
2018-04-10 16:19:58 -04:00
Katherine Walker
172f40ff76
Merge pull request #781
2018-03-27 16:50:12 -04:00
Katherine Walker
4b70d9b9de
PHPC-578: Expose result document for failed commands
2018-03-27 16:49:44 -04:00
Katherine Walker
14726afb3a
Merge pull request #788
2018-03-26 14:42:46 -04:00
Katherine Walker
225c0aac84
PHPC-1145: Fix development build warnings for numeric type conversions
2018-03-26 14:42:29 -04:00
Katherine Walker
c01b2d88ef
Merge pull request #785
2018-03-22 17:38:00 -04:00
Katherine Walker
110d13e4b3
PHPC-1090: Remove redundant MONGOC_ERROR_COMMAND check
2018-03-22 17:37:32 -04:00
Katherine Walker
8e0e836913
PHPC-1144: Use server-side error code for BulkWriteException
2018-03-22 17:37:32 -04:00
Katherine Walker
5bcfdcec81
Merge pull request #786
2018-03-22 15:44:30 -04:00
Katherine Walker
5d2f12b988
PHPC-1143: Select ServerException for MONGOC_ERROR_WRITE_CONCERN domain
2018-03-22 14:49:47 -04:00
Jeremy Mikola
0a745ee8de
Merge pull request #784
2018-03-21 15:48:24 -04:00
Jeremy Mikola
a5cf9dff16
PHPC-1090: Check libmongoc error domain along with codes
2018-03-21 15:18:23 -04:00
Jeremy Mikola
47c5759c1c
PHPC-1090: Do not use CommandException for MONGOC_ERROR_COMMAND domain
...
In libmongoc error API v2, the command domain no longer used for errors originating from the server. It is relegated to MONGOC_ERROR_PROTOCOL_BAD_WIRE_VERSION and MONGOC_ERROR_COMMAND_INVALID_ARG, both of which are client-side errors.
2018-03-21 15:18:18 -04:00
Katherine Walker
bea837b9c0
Merge pull request #771
2018-03-14 13:31:31 -04:00
Katherine Walker
395719ad47
PHPC-1089: Introduce CommandException class
2018-03-14 13:30:59 -04:00