Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/doctrine/mongodb

PHP MongoDB Abstraction Layer
https://github.com/doctrine/mongodb

Merge branch '1.0'

5af8ab9f77272c5c7d00b265216dd7ff50c92ffa authored over 11 years ago by Jeremy Mikola <[email protected]>
Remove code duplication in LoggableCursor and make docs consistent

f70e2a700283fdf0931f1a70401588f66dd69d2e authored over 11 years ago by Jeremy Mikola <[email protected]>
Make Cursor return values consistent with MongoCursor

d68f7bd1ed0fae06e4eeb7ccd029b6d99b85284a authored over 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #114 from doctrine/1.0-eager-cursor-cleanup

Clean up Cursor and EagerCursor docs and tests

7ed3379f927de2cbbc139727278b2c11b90266bf authored over 11 years ago by Jeremy Mikola <[email protected]>
Clean up Cursor and EagerCursor docs and tests

Additionally, there were two small changes to EagerCursor::valid() (only checking key() for null...

8bf686d60d2bcde9b972b23b60ce370037eeeda5 authored over 11 years ago by Jeremy Mikola <[email protected]>
Test Builder::addNor() and fix documentation example

dae54643bc1640a6fdac2ece012ead9b35eb6909 authored over 11 years ago by Jeremy Mikola <[email protected]>
Adding support for the $nor operator

cc3652b64878dc4964c8dce4c23044d9302bb25d authored over 11 years ago by Raul Sandrea <[email protected]>
Use driver's return value in Collection::batchInsert() (closes #93)

773423a2a977a1c53ea32c19e6361342f29ef3d3 authored over 11 years ago by Jeremy Mikola <[email protected]>
Test $slice projections and improve selectSlice() documentation

5a1584ff72c4da50061f314ca14ea556a9e8c280 authored over 11 years ago by Jeremy Mikola <[email protected]>
Clean up docs and an error message in Builder class

deeb0881391579f57a1af0c1d30d7d727d36908d authored over 11 years ago by Jeremy Mikola <[email protected]>
Remove unused $options argument in Expr::equals()

e92f0f26661d50b0dd1172f587f1c38bd6d38bfc authored over 11 years ago by Jeremy Mikola <[email protected]>
Support $elemMatch in query projections (closes #101)

d51a44d617849bfe7561a052b156cb62b802c27b authored over 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #105 from doctrine/cursor-recreate

Internal cursor improvements for hint, sort, RP and recreation

68a820fc0fbb2c7081409be124d7539649bc4d49 authored over 11 years ago by Jeremy Mikola <[email protected]>
Do not track multiple hints/sorts in Cursor

Successive calls to MongoCursor::hint() or sort() will overwrite the previous value, so there is...

a66ffbccec2471efacc6d781b930087d6481c61d authored over 11 years ago by Jeremy Mikola <[email protected]>
Fix reference to $this in CursorTest::testRecreate() closure

a46a51ee72f178cfaf29e05bac10234971231f0c authored over 11 years ago by Jeremy Mikola <[email protected]>
Unit test for Cursor::recreate()

8c4f0c161a2f9687553c345dae8916ae71185bdd authored over 11 years ago by Jeremy Mikola <[email protected]>
Make Cursor::setReadPreference() chainable and recreatable

Change the return value for setReadPreference() so it can be chained with other methods. The boo...

98c5e8cd27c51552d32d95f6caa832ff59233199 authored over 11 years ago by Jeremy Mikola <[email protected]>
Merge branch '1.0'

Conflicts:
.travis.yml

9e8ec991bad6a3ffe0dca2801b4a11c83fb3ffa5 authored over 11 years ago by Jeremy Mikola <[email protected]>
Allow 1.4.x driver versions in composer.json

531dc0025315055047997aeca497099c183db7e0 authored over 11 years ago by Jeremy Mikola <[email protected]>
Test driver 1.3.7 and PHP 5.5 in Travis

Also improve fetching of dependencies (source is more reliable than archives).

bcdf4643316a310797e9f5467a006fedaee15c14 authored over 11 years ago by Jeremy Mikola <[email protected]>
Force driver install for Travis, and test against 1.3.4

cbd7ad92ad2d4086dee0636993d6b9649d70d4a7 authored over 11 years ago by Jeremy Mikola <[email protected]>
Refactor Builder select()/exclude() methods and tests

bd91d8b8d389f133806a026f6d60f6cfb7bbd967 authored almost 12 years ago by Jeremy Mikola <[email protected]>
Add more tests for Query\Builder::select()/exclude() (empty array)

0f5014566861349621ece4fec44a574886ecda75 authored almost 12 years ago by Pierre Durand <[email protected]>
Add array parameter support in Query\Builder::exclude()

412f9e0e66df3ecfa6ac5ded84a12d89126bdcab authored almost 12 years ago by Pierre Durand <[email protected]>
Add array parameter support in Query\Builder::select()

c8fc2e55e2336b3695040f4f9ba2afb6ed49d58c authored almost 12 years ago by Pierre Durand <[email protected]>
Add unit test for Query\Builder::exclude()

5c7c61a21774a29ead2155be3914c202ed7906b0 authored almost 12 years ago by Pierre Durand <[email protected]>
Add unit test for Query\Builder::select()

20bdf16f68a49eafcee0f4589b7b826c747d2ff3 authored almost 12 years ago by Pierre Durand <[email protected]>
Connection::log() should NOP without a logger callable (fixes #99)

ac94f9a10ac715bc77eb0b3fe96e1e90ebbdf655 authored almost 12 years ago by Jeremy Mikola <[email protected]>
Force driver install for Travis, and test against 1.3.4

cc8685e9c9718c9eb1162319e1b518fda5d4d741 authored almost 12 years ago by Jeremy Mikola <[email protected]>
Merge pull request #97 from doctrine/collection-aggregate

Implement Collection::aggregate() helper

684ab9d34b20e529e4f15a77d667e52a6455efb4 authored almost 12 years ago by Jeremy Mikola <[email protected]>
Implement Collection::aggregate() helper (closes #89)

e448060f22fc10ac9b24f4612b5b6f2fd30fd125 authored almost 12 years ago by Jeremy Mikola <[email protected]>
Create mocks for optional getTestCollection() arguments

ab6e13e1ef9dee67180a1bde8d50cbb52e36f327 authored almost 12 years ago by Jeremy Mikola <[email protected]>
Use constant collection name in CollectionTest

b7c9871b20d912b887469ce16c86a675f5e712b4 authored almost 12 years ago by Jeremy Mikola <[email protected]>
Add master branch alias for 1.1.x

88de5ad8cdd883d7dac708e17fbbcbf722109b49 authored almost 12 years ago by Jeremy Mikola <[email protected]>
Merge pull request #92 from doctrine/read-pref-methods

CollectionTest refactoring and get/setReadPreference() methods

bc59129ef94e548a9b7876357d86ccef962694b0 authored almost 12 years ago by Jeremy Mikola <[email protected]>
Implement get/setReadPreference() methods on core classes

257fb456bcbba16ddfec446527ebca92ebd84d63 authored almost 12 years ago by Jeremy Mikola <[email protected]>
Refactor Collection tests with more realistic param/return values

f423a9f0739b903874fa4e23ad4881b2d1e0bd5e authored almost 12 years ago by Jeremy Mikola <[email protected]>
Split CollectionTest and LoggableCollectionTest

e9e1473233ad52d369db578619311ccf4fd71f31 authored almost 12 years ago by Jeremy Mikola <[email protected]>
Test MongoCursor read preferences via slaveOkay()

Also made collection and database tests a bit stricter, to ensure deprecated methods are never c...

ec10f4d32500efe8b4115a78974e7cc089294ddf authored almost 12 years ago by Jeremy Mikola <[email protected]>
Add missing use statement in Cursor class

15929266a30319dc3e819bd7fa556f86dbfc1960 authored almost 12 years ago by Jeremy Mikola <[email protected]>
Test latest Mongo driver in Travis CI builds

1432c87d06bf5ce26a5095b5f47b4d9bfe124b7d authored almost 12 years ago by Jeremy Mikola <[email protected]>
Make ReadPreferenceTest skip message consistent </ocd>

24a1e89d2752b9f83c5b5d207f018f487121a5d7 authored almost 12 years ago by Jeremy Mikola <[email protected]>
Skip test if mongo pecl extension is < 1.3.0

51805f86a3e9d194dfd33fdc0f5aa14a13fd5552 authored almost 12 years ago by Jonathan H. Wage <[email protected]>
Only convert tag sets if necessary for setReadPreference()

This ensures the conversion function properly does nothing in driver version 1.3.3+. Adding the ...

adf94c776797378e237e7b46352c188e286a82c2 authored almost 12 years ago by Jeremy Mikola <[email protected]>
Only convert numeric read preference types (driver <=1.3.2)

In driver version 1.3.3+, getReadPreference() will return a type in the format accepted by setRe...

a0534a0d8b0d5e11392543d31b9d4f18ff16838c authored almost 12 years ago by Jeremy Mikola <[email protected]>
Fix bad reference to exception class in ReadPreference

b317c8e30e9510703fa3d2c2942c4e466d521b4a authored almost 12 years ago by Jeremy Mikola <[email protected]>
Test against 1.3.2 branch of PHP driver

d1f897cf057474de945caf61f23034b934c68f21 authored about 12 years ago by Jeremy Mikola <[email protected]>
Tweak tags/authors and remove unnecessary deps in composer.json

eea5e9d21b0a6443099b4a70c4dba5dfc32267e9 authored about 12 years ago by Jeremy Mikola <[email protected]>
Revise class descriptions for GridFS classes

db80f5fbcefe695968298d6d4c6af3612010d965 authored about 12 years ago by Jeremy Mikola <[email protected]>
Fix documentation typo

7e6abfa36feeff1a1429670c05f20e2daad0aac8 authored about 12 years ago by Jeremy Mikola <[email protected]>
Merge pull request #78 from jstout24/use-keys-arg

Added ability to return documents without the id as the key in Cursor::toArray()

eb3a3c38167d2a74532c2db963c364aa640bc2fd authored about 12 years ago by Jonathan H. Wage <[email protected]>
Merge pull request #87 from doctrine/readprefs

Support 1.2.12 and 1.3.x drivers (slaveOkay and read pref compatibility)

4813728372c02cc8f8bacfa18faef7134d0a5797 authored about 12 years ago by Jonathan H. Wage <[email protected]>
Denote compatibility with 1.2.12 and 1.3.x driver versions

f3449d2172b23735d7b4ef6d1716c0512b24926f authored about 12 years ago by Jeremy Mikola <[email protected]>
Utility methods for working with read preferences

convertType() is necessary because the driver returns numeric types in getReadPreference() inste...

9de4b105448af5000c7360a166dc88507023b1ab authored about 12 years ago by Jeremy Mikola <[email protected]>
Don't set cursor flags unnecessarily and cast arguments

If slaveOkay defaults to false in Doctrine's class and is set each time the cursor is initialize...

1ef66b4f5f69c133a9ac69f5051f2be9cf151c4d authored about 12 years ago by Jeremy Mikola <[email protected]>
Reimplement slaveOkay methods for old/new drivers

Maintain BC and simply wrap methods for pre-1.3.0 drivers. Utilize read preferences for 1.3.0+ d...

85ac21910ede6536a39d5a0733f596bb58f58918 authored about 12 years ago by Jeremy Mikola <[email protected]>
Allow cursor slaveOkay to handle read preferences

Driver 1.3.0 deprecated slaveOkay() on MongoCursor but did not implement setReadPreference(); ho...

70902cf3088ab06ae69033a65027ae1d780481aa authored about 12 years ago by Jeremy Mikola <[email protected]>
Support both Mongo and MongoClient in Connection class

ae2c68bf9859eaf8854d442acf3ee075150a448d authored about 12 years ago by Jeremy Mikola <[email protected]>
Fix setSlaveOkay() for read preferences and preserve tag sets

Fix logic for check if old read preference was PRIMARY (the utility method is used to convert th...

6019b0d9dca58bc813a1498638a43587bc90ba6b authored about 12 years ago by Jeremy Mikola <[email protected]>
Merge pull request #86 from lexwolfy/master

Make builder selectSlice command work if limit is null

2b4e5c5d4c333f561c2bf07a95da88c1bc8a938d authored about 12 years ago by Jeremy Mikola <[email protected]>
Make selectSlice work

Make selectSlice work if limit is null.
Allow negative slice in order to return the last n items...

b24d43cb238cae260580cab2479ba7bee4113e35 authored about 12 years ago by lexwolfy <[email protected]>
Support $maxDistance on $near query field criteria

Since maxDistance() was already used for the geoNear option with the same name, the method is ov...

59f73cde2c15d171ff39afbf46c1a1339a51048c authored about 12 years ago by Jeremy Mikola <[email protected]>
Clean up query builder docs for geo criteria

150f74088a09744bd72a887b064a88efdea1b167 authored about 12 years ago by Jeremy Mikola <[email protected]>
Merge pull request #83 from doctrine/mongoclient

Support Mongo driver 1.3.1+ and MongoClient class

e688ce284d1a7693a807103fe698b8daf51c3b87 authored about 12 years ago by Jeremy Mikola <[email protected]>
Update Composer and Travis for Mongo driver 1.3.1+

9726159d8df25e81c232e75afa31b568c6dfae52 authored about 12 years ago by Jeremy Mikola <[email protected]>
Change the assertions used for testing the success response of a query.

The change is necesarry to test the new defauls returned from
MongoCollections now that acknowle...

56a68f6200474ac274e53e61cb9fa4ea5319d620 authored about 12 years ago by Henrik Bjørnskov <[email protected]>
{set,get}SlaveOkay deprecation.

Along with the other deprecations {set,get}SlaveOkay have been removed
with its corresponding te...

681d51c0ce5b785408f5754a5e48d407ced395bc authored about 12 years ago by Henrik Bjørnskov <[email protected]>
MongoDB Driver 1.3.0 changes.

As of 1.3.0 the Mongo class is now deprecated which means that the
Connection class have gotten ...

fc956c7c2dd1a7d2742632b436bce91df5454086 authored about 12 years ago by Henrik Bjørnskov <[email protected]>
Update composer.json for Mongo driver 1.2.12 compatibility

5b08a48f7a2fd25e3056adbc4933f41f79eb7d13 authored about 12 years ago by Jeremy Mikola <[email protected]>
Merge pull request #74 from doctrine/gridfs-fixes

Redo GridFS upserts and fix up GridFS tests

b086ccfa9ac76cbb9c687c4647afcf153fac2249 authored about 12 years ago by Jeremy Mikola <[email protected]>
Use MongoId to work around MongoGridFS::get() bug

See: https://jira.mongodb.org/browse/PHP-616

5dde9205b7a15da02454b1eccaad7c772f72b782 authored about 12 years ago by Jeremy Mikola <[email protected]>
Add more GridFSFile tests and split GridFS tests

196895af2a6b69effe0f9d2b0dfa9765c41d3c9f authored about 12 years ago by Jeremy Mikola <[email protected]>
Refactor GridFSFile isDirty and persisted bytes methods

b4bef51ee1188c5cebeeb92555e838f5e7da86bc authored about 12 years ago by Jeremy Mikola <[email protected]>
Clean up GridFS tests, fix typo and revise comments

595bd3a926113a65649a3576995e4e8f275f67e6 authored about 12 years ago by Jeremy Mikola <[email protected]>
Fetch MongoGridFSFile after storage instead of manual construction

Manually constructing a MongoGridFSFile to save on GridFSFile causes problems if we end up calli...

29f47eb3b969269264cd44b695fa5fec992f161c authored about 12 years ago by Jeremy Mikola <[email protected]>
Read bytes from MongoGridFSFile unless GridFSFile is dirty

See: https://github.com/doctrine/mongodb/commit/45016c7c5bb88ed56f7972f7145e0e96713d68f6#commitc...

7f81f21ece131ef69667528c6cdf76662c3681fd authored about 12 years ago by Jeremy Mikola <[email protected]>
WIP fix for #70

c8ab5b4b6a3f440aaefcc873fa7b41b30aba59ff authored about 12 years ago by Jeremy Mikola <[email protected]>
Apply some object calisthenics to GridFS::doInsert()

7fb075c0a4a899dc9facd00039839c73feb4d673 authored about 12 years ago by Jeremy Mikola <[email protected]>
Move GridFS logic out of Collection class (fixes #62)

06c4e22505635ee5daa9222565a17018a828f751 authored about 12 years ago by Jeremy Mikola <[email protected]>
Merge pull request #76 from meonkeys/master

complete retry support for Loggable* wrappers

9ac0ba4f96ea50d20de940b9147ee68b308ea356 authored about 12 years ago by Jeremy Mikola <[email protected]>
Added ability to return documents without the id as the key in Cursor::toArray()

36915a3b66cdc0209cb32e2097429773c72fe284 authored about 12 years ago by jstout24 <[email protected]>
Merge pull request #77 from mahmouds/patch-1

update the documentation link

807f9ccb692fcf082e9a10d72b9303e374873405 authored about 12 years ago by Jeremy Mikola <[email protected]>
update the documentation link

9374e2d955a674057f928c76065f34f344b5f619 authored about 12 years ago by Mahmoud Mostafa <[email protected]>
complete retry support for Loggable* wrappers

This improves recovery after a successful failover event. I tested this
with a Symfony2 app -- m...

d3b1b4a803558c2cbc8508351673fd7884d1647f authored about 12 years ago by Adam Monsen <[email protected]>
Merge pull request #73 from userfriendly/patch-1

allowed symfony 2.2

acb6769fdb12ec012f71f8565a93456b09d93861 authored about 12 years ago by Jeremy Mikola <[email protected]>
allowed symfony 2.2

106272aac736228521fc79954f12f210c2911d6a authored about 12 years ago by Moritz Kraft <[email protected]>
Fix bug with gridfs files and updates.

27f5d6fa6cbf9bbfaa2c56c5618ffc26476fc399 authored over 12 years ago by Jonathan H. Wage <[email protected]>
Merge pull request #72 from adrienbrault/travis-file-improvment

Cleaner travis ci file

34e75e3650839d883f76fd482b137219472a1ba0 authored over 12 years ago by Jeremy Mikola <[email protected]>
Cleaner travis ci file

c709226f72e0427d707ed2a7570df1942d6053e6 authored over 12 years ago by Adrien Brault <[email protected]>
Require mongodb service in Travis CI

1d5b2eec0a970bcdae36f4a9b275ccff1f24f6f7 authored over 12 years ago by Jeremy Mikola <[email protected]>
Merge pull request #61 from pgodel/patch-1

Add check in doUpdate() to make sure the document containing the file is returned

de0c453a096d41f5f6186c3f8e4beb1e87d751af authored over 12 years ago by Jonathan H. Wage <[email protected]>
Merge pull request #68 from Parad0X/get-single-result-fix

Cursor should be reset and limit should be restored after calling getSingleResult

b5ab03b82e262bad72354231806cce37336b5969 authored over 12 years ago by Jonathan H. Wage <[email protected]>
Cursor should be reset and limit should be restored after calling getSingleResult.

5fb41c66de96cec3cc9a09217b4a6969ae02bfaf authored over 12 years ago by Andrei Shevtsov <[email protected]>
Use canonical version for branch alias

fdf44d850d7482b2cea7a0793d46999641c68e4f authored over 12 years ago by Jeremy Mikola <[email protected]>
Add upper constraint for dependency versions

45efe851c75266b9235e838e0510d0151f531fd6 authored over 12 years ago by Jeremy Mikola <[email protected]>
Alias dev-master as 1.0-dev in composer.json

6b86eafae80005bb59a5652596955c7155c08118 authored over 12 years ago by Jeremy Mikola <[email protected]>
Clean up interfaces

9f397b7f742a9eec7f31a5228213c5d6303908ee authored over 12 years ago by Jeremy Mikola <[email protected]>
Query::getSingleResult() should not take options

This should have been cleaned up in 2892cd9fad03c89d37b3e9da677d38951355eefe

b381ff34ef9e751e8131e81a06c12f840ef3c2d6 authored over 12 years ago by Jeremy Mikola <[email protected]>
added support for spherical option in geonear request, updated phpunit tests

d734f2e3093ad8318da7b7a5a15eb7c8fc2c7687 authored over 12 years ago by Alexandre Assouad <[email protected]>
Update test suite driver to 1.2.12

59b9ec3ed4cada86f4d4c979707de94a1347dda6 authored over 12 years ago by Jeremy Mikola <[email protected]>