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

Do not filter out falsey values in Query/Builder debug() methods

d6ec8e939b0fe4af1a30d582a3da4bffce1abf4a authored over 11 years ago by Jeremy Mikola <[email protected]>
Refactor Builder::sort() to not use recursion

2e266d8ac19495646c61388953bdbc57508f0f2a authored over 11 years ago by Jeremy Mikola <[email protected]>
Query::execute() should use a copy of the $options property

The Query object is immutable, so this shouldn't make a difference in practice.

0964c9084296d6f23ce2770b51387627aea5d765 authored over 11 years ago by Jeremy Mikola <[email protected]>
Deprecate Connection::getStatus() (to be removed in 1.2)

6afee4739c43acf721fedb364c4a64a37187559d authored over 11 years ago by Jeremy Mikola <[email protected]>
Deprecate Database force/prev/resetError() methods (to be removed in 1.2)

05258d483c66f8bc3a6bbf53d3026733cf9ff153 authored over 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #127 from doctrine/database-methods

Improve events/logging for Database methods

ea5b7d0912dc819f93b98ea21fe9d8bd4aef0e62 authored over 11 years ago by Jeremy Mikola <[email protected]>
Refactor LoggableCollection test

c76cdbc9b78db2552145b95be6de1b6247841f3c authored over 11 years ago by Jeremy Mikola <[email protected]>
Make LoggableDatabase::createCollection() API consistent with Database

LoggableDatabase must support the same arguments as the base method, which means duplicate the l...

839493da520abccbd92416f63149a0aa78169450 authored over 11 years ago by Jeremy Mikola <[email protected]>
Test additional event dispatching in Database methods

8f3f95d39d2c8bdbf9bfc4a09c1884628e7730b0 authored over 11 years ago by Jeremy Mikola <[email protected]>
Fix post-event dispatching in Database::createCollection()

This corrects an invalid variable reference and adds a test for the method. Additionally, the ha...

e5e7898c648c08fe2d7e1ec10b8163e832e87c86 authored over 11 years ago by Jeremy Mikola <[email protected]>
Revise order for expected MongoDB::createCollection() options

PHPUnit doesn't seem to care about this, but this is more accurate.

4181905e45ca9b3b127a870f817bb7c5364d264d authored over 11 years ago by Jeremy Mikola <[email protected]>
Fix post-event dispatching for Database::getGridFS()

The pre-event was being dispatched twice. Also renamed the doGetGridFS() method to be consistent.

1c788b03d2fc63a2c246895d9184e66e5b008207 authored over 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #126 from doctrine/dbref

DBRef database/collection method improvements

028f058d66d5296f53335b999c82d79a9c312d0a authored over 11 years ago by Jeremy Mikola <[email protected]>
Database::getDBRef() should dispatch events

Also create unit test for Database's event dispatching.

c4f20e5054c4a80ecc77cc513fb51a3c9b755dfb authored over 11 years ago by Jeremy Mikola <[email protected]>
Remove logging for Database::createDBRef()

This is being removed for the same reason as the Collection method (creating DBRefs is a very tr...

25ef3ed7414fc7754c072d873f2ee18ac500bdeb authored over 11 years ago by Jeremy Mikola <[email protected]>
Remove events/logging for Collection::createDBRef()

This method is incredibly trivial, and there is little value in dispatching events or logging it...

d907c5fb6aeddb57f7ab2cf0e5b72b81401cb27b authored over 11 years ago by Jeremy Mikola <[email protected]>
Remove array type-hint from Collection::createDBRef() param

See: http://php.net/manual/en/mongocollection.createdbref.php

af03397b3ba49518db7e5b23a3c37eea4a8fe078 authored over 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #122 from doctrine/commands

Command method refactoring

505e550021309cb6c2bba90c072869a6bffb7044 authored over 11 years ago by Jeremy Mikola <[email protected]>
Fix possible isset() string offset usage for PHP 5.3

Before PHP 5.4, checking a string offset on a string variable might return true. Avoid this by e...

7b06a880b1ea1196d97ccdfea26a16c5f19f97bd authored over 11 years ago by Jeremy Mikola <[email protected]>
Test various output methods for Collection::mapReduce()

f9585a2d1afa449367b85f0f09194792ee7b375a authored over 11 years ago by Jeremy Mikola <[email protected]>
Fix indentation in QueryTest

ee1573e545372c63d7e493021029b0c2e1e183cc authored over 11 years ago by Jeremy Mikola <[email protected]>
Compare expected command results with an ArrayIterator

f96f23f1c358219bfb79795435f164dd7c4cd6cf authored over 11 years ago by Jeremy Mikola <[email protected]>
Test that command errors will throw a ResultException

c195e834e4010aaf608359d9cff4c5f5e1736b5a authored over 11 years ago by Jeremy Mikola <[email protected]>
Rename and refactor ArrayHasKeyAndValue constraint

Currently, this constraint is only used in QueryTest

712453ef0e92d1c6b57a917c5662d4561c4f6898 authored over 11 years ago by Jeremy Mikola <[email protected]>
Document when mapReduce returns a Cursor instead of an ArrayIterator

60447fcf5893639a6b877b773e6276f9a296c0b0 authored over 11 years ago by Jeremy Mikola <[email protected]>
Use integer for checking command result "ok" field

aeb9e803ecd7c7b9b49f0bd9297285b57ac184a0 authored over 11 years ago by Jeremy Mikola <[email protected]>
Reorder CollectionTest methods

6e00fc1cd15527791cb426a5cd9d8a7c97f13c4e authored over 11 years ago by Jeremy Mikola <[email protected]>
Make command result checking more robust

ba67cb9050361e1085ef0d002e010547457cb41d authored over 11 years ago by Jeremy Mikola <[email protected]>
Add "ok" field to mocked command return values

8d1b574d147ff7da4354e4a9eee4e50bc7beaa33 authored over 11 years ago by Jeremy Mikola <[email protected]>
Cast query/newObj command options to objects

The group command seemed to require this, but there is no harm in doing it for all command optio...

c1e33bd37e49a578b1b5ec5af144b1317fa307fd authored over 11 years ago by Jeremy Mikola <[email protected]>
Prepare all MongoCode options for mapReduce

5fcc031dcb7d071e7c55962e449687bbba7f7afb authored over 11 years ago by Jeremy Mikola <[email protected]>
Rewrite Collection::group() to use command instead of driver helper

This avoids an issue with an API change in the driver and makes the group() method more consiste...

cbd4b281a49f8e975c29934ead9e153c4839e7c2 authored over 11 years ago by Jeremy Mikola <[email protected]>
Allow array or string values for mapReduce's out option

752a74cd708ba078bb6d0723c8568ce80193004c authored over 11 years ago by Jeremy Mikola <[email protected]>
Remove redundant tests covered by Builder's geoNear test

Moved the test back to the unit test suite, since it didn't need to be a functional test.

a8629dd60e6aa0ee3e2c15c7047bd69033dc3b6f authored over 11 years ago by Jeremy Mikola <[email protected]>
Reorder Collection methods

be0b50221a1469ec55359738fd92f8bbe0ee5a22 authored over 11 years ago by Jeremy Mikola <[email protected]>
Failed commands should throw a ResultException (fixes #96)

d816e66ffa3b09ca444d70172929c2f367352c75 authored over 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #124 from doctrine/update-deprecation

Deprecated passing scalar $query argument to Collection::update()

fc4a05fd44632b84a4c6cbc681f0fce569c2cb92 authored over 11 years ago by Jeremy Mikola <[email protected]>
Deprecated passing scalar $query argument to Collection::update()

b710a709e46974c17fa69b77cd3fc3b7d8f54361 authored over 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #123 from doctrine/arrayiterator

ArrayIterator fixes and unit tests

7aae8aadd0ed1defb4d06fa850f518163978587a authored over 11 years ago by Jeremy Mikola <[email protected]>
Support null offsets in ArrayIterator::offsetSet()

This is necessary for supporting with [] operator to append elements.

f1117acd079105d06ecf4bd3f2c9d1394fcf41b0 authored over 11 years ago by Jeremy Mikola <[email protected]>
Fix ArrayIterator::valid() behavior if element values are false

Check key()'s return value instead, since it will not be confused for a legitimate array key.

40cb52fa22805fcf4388f6bff9689e7e51c63082 authored over 11 years ago by Jeremy Mikola <[email protected]>
Unit tests for ArrayIterator

f38da63e005ec707f5c906a9ca095add25cf3747 authored over 11 years ago by Jeremy Mikola <[email protected]>
Refactor ArrayIterator::getSingleResult()

36fca42ec600345f5010b934b803f240281574b1 authored over 11 years ago by Jeremy Mikola <[email protected]>
Ensure Cursor::limit() argument is casted to an integer

8bc1466d9f0389c43ee5fd29f44e2e87d4770c78 authored over 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #121 from doctrine/reorder-methods

Reorder methods alphabetically

3876a2aa3a4ce583b7d892ea679e5cf3f073d316 authored over 11 years ago by Jeremy Mikola <[email protected]>
Reorder Query, Builder and Expr methods

368c49babe10a0ae41c1896acb2052cdb7351a23 authored over 11 years ago by Jeremy Mikola <[email protected]>
Reorder Database methods

bb3f0fa399e3eb744bf0af957397fa19c87437f1 authored over 11 years ago by Jeremy Mikola <[email protected]>
Reorder Connection and Configuration methods

1d7e8ef9f2dab15f41810fa34360b52c5257a518 authored over 11 years ago by Jeremy Mikola <[email protected]>
Reorder Collection methods

db35b5433379efdd28e91e7f8ff605151b012a06 authored over 11 years ago by Jeremy Mikola <[email protected]>
Reorder Cursor and EagerCursor methods

e3ed2d32552909e9bfe3d691efc756303b752091 authored over 11 years ago by Jeremy Mikola <[email protected]>
Reorder ArrayIterator methods

a1e4feb2322c9405cf56fabd67dcace71d41e932 authored over 11 years ago by Jeremy Mikola <[email protected]>
Reorder Event constants

4a2d8bc30a86231b86cf57dec9b1ce84253db362 authored over 11 years ago by Jeremy Mikola <[email protected]>
Reorder Iterator interface methods

1d6d45cd0e430a269ab915ccc71a99427e5ae4f1 authored over 11 years ago by Jeremy Mikola <[email protected]>
Reorder GridFSFile methods

3cdcef1861b9c19ac0f55dfdaa7c9bd8a67c7eb7 authored over 11 years ago by Jeremy Mikola <[email protected]>
Reorder Iterator interface methods

ec3aecc16710025848bf9e0d728e5f345ef2332d authored over 11 years ago by Jeremy Mikola <[email protected]>
Reorder Loggable class methods

fca2dd2fdf8459b9d0039ffcf84faa2a63315742 authored over 11 years ago by Jeremy Mikola <[email protected]>
Reorder GridFS methods

98ed25643f8f4b73d27fc591b4de91a0836037e2 authored over 11 years ago by Jeremy Mikola <[email protected]>
Fix cursor creation when MR's db output option is used

114a0ae068e39bbef5f973242db8d707952ddd84 authored over 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #119 from pborreli/typos

Fixed typos

a21645a35baef297184e8b7ef64cc344db6229c1 authored over 11 years ago by Jeremy Mikola <[email protected]>
Fixed typos

93fc7a828e3bd6877d585a52edc7fe38e9d6d3be authored over 11 years ago by Pascal Borreli <[email protected]>
Merge pull request #109 from doctrine/gh102-2dsphere

Support GeoJSON and 2dsphere queries

edcacb1de88f2e39ed675ee03935e1b538a87a41 authored over 11 years ago by Jeremy Mikola <[email protected]>
Remove superfluous array from GeoJSON point fixture

c430f0e470323ab4bf1f8153c391ea346228b34c authored over 11 years ago by Jeremy Mikola <[email protected]>
Support GeoJSON points for geoNear collection method

6e5624d7da15db24c3f475385f9336f8094725d5 authored over 11 years ago by Jeremy Mikola <[email protected]>
Do not allow build failures for PHP 5.5

40b61d4adeb86a921872d555c41813affbb89a90 authored over 11 years ago by Jeremy Mikola <[email protected]>
Update param type docs for older geo builder methods

298c888e53e56b40d589f33eebdd980ac9ae375d authored over 11 years ago by Jeremy Mikola <[email protected]>
Support GeoJSON geometry arrays in addition to the library objects

This relaxes the GeoJSON library dependency, so 2dsphere queries (namely $geoIntersects and $geo...

04e7acb18c5aa1d273d40db1b4cfe0326e329272 authored over 11 years ago by Jeremy Mikola <[email protected]>
Unit tests for all Builder methods that simply proxy Expr methods

f1c59ef02384987f1045b647ca9d7c1699b5d418 authored over 11 years ago by Jeremy Mikola <[email protected]>
Separate unit and functional query builder tests

ef52acba70210aa695c68d1023a024f933c34516 authored over 11 years ago by Jeremy Mikola <[email protected]>
Rename Query::TYPE_GEO_LOCATION to TYPE_GEO_NEAR

9d0dde013a80aecf604c27eae701fc710aa6a921 authored over 11 years ago by Jeremy Mikola <[email protected]>
Support GeoJSON polygons (with holes)

This changes the polygon methods to accept an array of rings, which themselves are arrays of poi...

53fd3b1a132631c0dae2411af7a111e8d764eccd authored over 11 years ago by Jeremy Mikola <[email protected]>
Use GeoJson objects for 2dsphere query builder/expr methods

This adds an optional dependency to a GeoJSON library (see: composer.json) for handling 2dsphere...

f8cb37d40d49d97732d4359dd5425511e76a0d16 authored over 11 years ago by Jeremy Mikola <[email protected]>
GeoJSON format expects a number

b411e6904489f0452c1ecb951e018fcfbb4ec9d9 authored over 11 years ago by Patrik Karisch <[email protected]>
Add $geoIntersects with all three GeoJSON types and a box helper

aa8ff32179d0bd9c1b7d387eb75a2a07008f2364 authored over 11 years ago by Patrik Karisch <[email protected]>
add $geoWithin for GeoJSON polygon

23c40e23debcf86c7da436caa58dbcf720b76f68 authored over 11 years ago by Patrik Karisch <[email protected]>
added test for geointersect with box

195dd89432d1c45daa7c5740d7b7b26d0eedf176 authored over 11 years ago by Patrik Karisch <[email protected]>
Add box helper for $geoWithin

a1dcfeee2eb922251a7903027d67152bb278634c authored over 11 years ago by Patrik Karisch <[email protected]>
add $geoIntersects criteria with box geometry

bfe6d101f82d304be2aed0bc7039d7b891c48cea authored over 11 years ago by Patrik Karisch <[email protected]>
changed function parameters to x/y pairs as in other geospatial functions

e1a3bfe8a3658777cea127b0ae179cd936f507b9 authored over 11 years ago by Patrik Karisch <[email protected]>
Add doc blocks for event constructors

9834f41c3465b4f7295c1cabf3ba0f3dbe370fae authored over 11 years ago by Jeremy Mikola <[email protected]>
Fix $field type documentation for distinct command

9ad520741e4200f9718f7f43bb8cb10979ebe45b authored over 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #118 from doctrine/doc-cleanup

[WIP] Documentation cleanup

64a82c2bee63dd3ddd32af3d5cad9f1644c239ee authored over 11 years ago by Jeremy Mikola <[email protected]>
Clean up docs for core wrapper classes

b204a0f7bb5d9ce66b76e19280c52fda66bf83c2 authored over 11 years ago by Jeremy Mikola <[email protected]>
Clean up docs for loggable classes

c64e3cab38862600e3735f6d37200f3c91b0e2e9 authored over 11 years ago by Jeremy Mikola <[email protected]>
Clean up docs for GridFS classes

e42fcbc5319913e722e56f0bc60135d57e8b2e44 authored over 11 years ago by Jeremy Mikola <[email protected]>
Clean up docs in various auxiliary classes

8b6f6e171a63e00957080ba3948e7cc148f22de6 authored over 11 years ago by Jeremy Mikola <[email protected]>
Add missing use statement

996362c4b5901752e1ec0f35cf0d026cd0a4124f authored over 11 years ago by Jeremy Mikola <[email protected]>
Clean up docs in Query class.

a8ccf733907f2880d0568f6eba8d6b13897bff70 authored over 11 years ago by Jeremy Mikola <[email protected]>
Clean up docs in Collection class

7044dece689229534e7a906a4a4cac7db12e75c7 authored over 11 years ago by Jeremy Mikola <[email protected]>
Clean up docblocks for Builder and Expr classes

6bba5f2902c62cddd0c18ba56c4724163b3c2457 authored over 11 years ago by Jeremy Mikola <[email protected]>
Use master branch for build status image

da1799861ba902f7137339f11a425ee5c326345c authored over 11 years ago by Jeremy Mikola <[email protected]>
Clean up event argument class docblocks

83f0b956e30ad87d3e598633f1a2108b42a643db authored over 11 years ago by Jeremy Mikola <[email protected]>
Fix namespace docs

- Prefix all global classes references with a \ where it was missing
- Fix local references

T...

c1ed8127f75d7bc98eb36b72f67c8d9c4d7ff4ec authored over 11 years ago by Volker Dusch <[email protected]>
Merge branch '1.0.x'

dce60d6c402f62bbc67298642eb6df4cf2b1141f authored over 11 years ago by Jeremy Mikola <[email protected]>
Remove executable bit from class files

009ea85b2e6ba067fbce28b2e9ca80aea7fa2a6f authored over 11 years ago by Eugene Dounar <[email protected]>
Use FQCN in code coverage annotation

5faaa5957abee743e2bbf38341e32bcc9ae1f059 authored over 11 years ago by Jeremy Mikola <[email protected]>
Remove current field tracking from Builder::field()

This can be done by the ODM (see: doctrine/mongodb-odm@d607bec0560f977274a818bf99d2d7f4d7f3e91b).

0b420188862b61b22c8defba18fca4656fefa491 authored over 11 years ago by Jeremy Mikola <[email protected]>
Merge pull request #106 from doctrine/events

Events refactoring and support for modifying data in EventArgs

379852cb8de933a1ad7f0bb916715534572ebd78 authored over 11 years ago by Jeremy Mikola <[email protected]>
Improve find/update events and use MutableEventArgs for post listeners

With the addition of FindEventArgs, find events will not receive the field projection in additio...

161be2d2385142f3a7060cc0e9f54edb21cd7a7e authored over 11 years ago by Jeremy Mikola <[email protected]>
Clean up event fields and add unit tests

This adds options fields to events where appropriate, with a default value to preserve BC.

41236a7711fe15ea5e92e8b7ef468417462b7778 authored over 11 years ago by Jeremy Mikola <[email protected]>
Support MongoDB::createCollection() options array (driver 1.4+)

Both call patterns are supported in Database::createCollection(). CreateCollectionEventArgs is a...

07d1256f71d2a7166a0fba2062fe6117d7414a4d authored over 11 years ago by Jeremy Mikola <[email protected]>