Hannes Magnusson
d6ceb3be0c
PHPC-128: Fix running tests on travis
...
We no longer require Mongo Orchestration now.
You can export MONGODB_STANDALONE_URI environment variable with dsn to connect to.
2015-01-05 20:48:36 -08:00
Hannes Magnusson
5309c17282
We use corporate coverity now
2015-01-05 14:53:10 -08:00
Hannes Magnusson
d13c6be1be
PHP-127: Fix test, use the string stderr, not resource STDERR
2015-01-05 14:51:48 -08:00
Hannes Magnusson
af80d64193
PHPC-42: Implement root level (full document) ODM style serialization
2015-01-05 14:32:11 -08:00
Hannes Magnusson
51ac675ad7
PHPC-125: pointer to out of scope variable :]
2015-01-05 12:58:39 -08:00
Hannes Magnusson
ac3984dd75
PHPC-123: Wrong sizeof argument
...
I've stared at this for a while and have come to the conclusion that
the ZEND_STRS macro is confusing coverity.
2015-01-05 12:54:31 -08:00
Hannes Magnusson
c73c3fd574
PHPC-124: Buffer not null terminated
2015-01-05 12:32:57 -08:00
Hannes Magnusson
99d723e51c
PHPC-126: Fixed unchecked return
2015-01-05 11:50:56 -08:00
Hannes Magnusson
148e726e26
PHPC-42: BSON Serialization for classes
...
This is a basic ODM.
When a class implements the BSON\Persistable interface gets bson
encoded we will embed a __ binary(type=0x80) value into the document.
Upon bson decoding a document, if we find that binary type convert that
document/array into the php class
2015-01-02 11:08:40 -08:00
Hannes Magnusson
f4a574e382
PHPC-121: Use BSON\Serialize::bsonSerialize() during serialization
2014-12-31 22:35:40 -08:00
Hannes Magnusson
e82b1d0639
PHPC-96: Add QueryResult->setTypemap() to overwrite array/object mapping
2014-12-31 21:31:56 -08:00
Hannes Magnusson
ac9da79195
WriteConcernError test
2014-12-31 18:55:41 -08:00
Hannes Magnusson
907d9b08b7
initialize correctly
2014-12-31 18:55:41 -08:00
Hannes Magnusson
17f33743f5
fix title
2014-12-31 18:55:41 -08:00
Hannes Magnusson
0744895e16
PHPC-96 & PHPC-119 call the new bsonUnserialize method and optimize things a little
2014-12-31 18:55:41 -08:00
Hannes Magnusson
2691047570
PHPC-120: BSON\toArray should support classmap to unserialize as
2014-12-31 18:55:41 -08:00
Hannes Magnusson
3fa8cc8159
PHPC-119 && PHPC-49: Create PHP interfaces for BSON (un-)serialization
2014-12-31 18:55:08 -08:00
Hannes Magnusson
aed68e0a92
Fix array return
...
merge from sgolemon/php-array-api bdabca29a1ad32b8268f9c54517693b7659fa749
2014-12-31 12:40:34 -08:00
Hannes Magnusson
8bbb9beb81
No need for these anymore
2014-12-30 14:58:44 -08:00
Hannes Magnusson
bb5f45c313
PHPC-118: Use MongoDB\Driver namespace for phongo
2014-12-30 14:58:33 -08:00
Hannes Magnusson
0d5b449616
PHPC-96: Retrieve arrays as custom objects
2014-12-30 14:36:17 -08:00
Hannes Magnusson
1d9ab7273a
PHPC-117: Simplify bson deserialization code
2014-12-29 15:26:27 -08:00
Hannes Magnusson
e2d7051662
PHPC-50: Implement checking socket state handler
2014-12-23 11:59:15 -08:00
Hannes Magnusson
75c5c0a58c
latest and gratest libmongoc fixes
2014-12-23 11:19:38 -08:00
Hannes Magnusson
36113dc30a
PHPC-115: Remove now-useless GeneratedId
...
The point of it was to bactract to which batch index it belonged to.
We now return correctly indexed array for this, a long with the actual id
for the upsert
2014-12-23 11:18:29 -08:00
Hannes Magnusson
6cba74790e
If there is no error, pass null to avoid the type hint
2014-12-23 11:01:58 -08:00
Hannes Magnusson
0d303e63bf
PHPC-113: WriteConcernError is just one error, not multiple
...
This allows to actually retrieve - and know about - the error
2014-12-23 11:01:32 -08:00
Hannes Magnusson
669aedff11
PHPC-114: Implement WriteConcernError->getMessage()
2014-12-23 11:01:32 -08:00
Hannes Magnusson
5fd07a8d01
Avoid invalid read when logging from replicaset
2014-12-23 11:01:32 -08:00
Hannes Magnusson
cdb39858b0
Simplify cli debugging
2014-12-23 11:01:32 -08:00
Hannes Magnusson
84f786bf47
PHPC-112: Sping up ReplicaSet
2014-12-22 16:03:55 -08:00
Hannes Magnusson
7814826e4f
Bump version
2014-12-22 13:45:48 -08:00
Hannes Magnusson
a9bc56ab79
The development of this driver is now under the PHPC jira project
2014-12-22 13:37:51 -08:00
Hannes Magnusson
a5c6a4c784
Bump release version in the docs
2014-12-22 13:25:47 -08:00
Hannes Magnusson
d8b1fa8ad8
Add 0.1.3 release notes
0.1.3
2014-12-22 13:24:48 -08:00
Hannes Magnusson
c01c0439ba
Fix paths to root dir .phar
2014-12-22 13:20:16 -08:00
Hannes Magnusson
d5ecf9818d
Add new files to the packager
2014-12-22 13:16:35 -08:00
Hannes Magnusson
3d64364187
Update composer after the repo renaming
2014-12-22 13:05:32 -08:00
Hannes Magnusson
6b4dbbc223
mongoc requires newer libbson now
2014-12-22 12:44:37 -08:00
Hannes Magnusson
eff937c93f
bump mongoc
2014-12-22 11:50:12 -08:00
Hannes Magnusson
81b1d84069
rename the Mongo Orchestration name to 'mo'
2014-12-22 11:50:12 -08:00
Hannes Magnusson
794f02d832
MO PR#161 includes fixes from 155, and adds ssl auth support
2014-12-22 11:50:12 -08:00
Hannes Magnusson
9c06e70328
PHPC-33: Implement X509 support via PHP streams
2014-12-22 11:50:12 -08:00
Hannes Magnusson
79d9bd5906
Fix typo in persistent hash
2014-12-22 11:50:12 -08:00
Jeremy Mikola
40de478dd6
Add Apache 2 license
2014-12-19 16:43:52 -05:00
Hannes Magnusson
72ad6a8a44
PHPC-33: Add tests for X509
...
This test does not currently work due to bug in Mongo Orchestration:
https://github.com/10gen/mongo-orchestration/issues/159
2014-12-19 13:14:49 -08:00
Hannes Magnusson
f95bc6f644
bump mongoc
2014-12-19 10:05:51 -08:00
Hannes Magnusson
6abfa11ea1
PHPC-104: Throw MongoDB\AuthenticationException on auth failure
2014-12-19 10:01:11 -08:00
Hannes Magnusson
b0c41dbe57
Fix test titles
2014-12-19 09:52:42 -08:00
Hannes Magnusson
973ee592e8
bump mongoc
2014-12-18 18:32:54 -08:00