Ecosyste.ms: OpenCollective

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

github.com/doctrine/mongodb-odm

The Official PHP MongoDB ORM/ODM
https://github.com/doctrine/mongodb-odm

A little refactoring, cleanup and docs.

57e404212455b4b2094dc2659bc341656e286510 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Adding doc blocks.

7ecc09605765d21676383340204355e49b16fcdf authored about 14 years ago by Jonathan H. Wage <[email protected]>
A little cleanup and refactoring. Abstracting MongoGridFSFile and creating Doctrine MongoGridFSFile wrapper

44c8e395da0ab26c8b4af3217f6083b57efbb0ee authored about 14 years ago by Jonathan H. Wage <[email protected]>
Removing unused code.

e2a6a728f894f0eaca45f10db2978cae04f42035 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Fixing issue with QueryBuilder::references() and adding functional test.

c083f067903a4dfa4d92662c226cd3e3f6ab9dbe authored about 14 years ago by Jonathan H. Wage <[email protected]>
Refactoring Query to QueryBuilder and added getQuery() method which returns the executable query objects for the different types of queries.

246e2ae9a4617109881c61d2c9be6af4275c9d0d authored about 14 years ago by Jonathan H. Wage <[email protected]>
Added Query::references($doc) helper method.

f94059a654a2a67010c4c181955b8b99bc1bc08a authored about 14 years ago by Kris Wallsmith <[email protected]>
Adding some missing methods to ClassMetadata and implementing an initial constant for tracking association types.

c05ce06cac5a8d82489e5ddc9419b6eada85bfd7 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Adding test for MODM-70

bfe54c52ac242181392c6c8f9af04c9885b53db8 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Adding ability to specify an arbitrary options array on any mapped field.

16e0ac113c557c1fb73e3f31eec93176ad5992a1 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Refactoring CollectionPersister to use the defined strategies like before. Added addToSet strategy and renamed pushPull to pullAll since collection items are always removed using $unset now.

dacd262a670838c577e301cde7a8ce287fc999ea authored about 14 years ago by Jonathan H. Wage <[email protected]>
Reverting change to Xml and Yaml driver.

a7d942e45fea1d5040ffa0032a7f0d975281340e authored about 14 years ago by Jonathan H. Wage <[email protected]>
Modified XML and YAML drivers to accept discriminator options.

13c5744a3df8a2aa5aeb5539d5df0dc0bfeb3182 authored about 14 years ago by dan <dan@cooler.(none)>
Adding test for MODM-20

b000f7b7b0f2463d95b787e13e0dc1b438cd0dd1 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Fixing issue with persisting a previously persisted and removed document with embedded documents.

f53234fcd05d39aa9cb1dc91cd10dc302678541c authored about 14 years ago by Jonathan H. Wage <[email protected]>
adding failing test for ticket 95

d51c7d8ffe1fcd334bfccf10785b600197e07ea8 authored about 14 years ago by jseverson <[email protected]>
A little cleanup and some doc blocks to new code from refactoring.

564eec49a97cbb388d5b0c7451cbaf29038deed9 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Adding test for MODM-91

2e04b28c74e6b2a769b1d1ab96d0fb31b0fb2a81 authored about 14 years ago by Jonathan H. Wage <[email protected]>
added generation of proxies

373966eee8bd607a86b1a3e9b77c0058384df33b authored about 14 years ago by Pablo Godel <[email protected]>
fixed command loading

f715edeac032ad8746ec5769244775d42be857ba authored about 14 years ago by Pablo Godel <[email protected]>
Fixing backup of product implementation.

9d9a08f439ef71841ec7c513d15b644cf576d9f7 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Add test for Query::prepareWhereValue when a document has a custom ID

79de1f5dfed8ae09f3b6638df1fc45d0c804ca5e authored about 14 years ago by ornicar <[email protected]>
Coding standards

5dd9b7fed983374b106be89793cb0a7fec6f8a7a authored about 14 years ago by Thomas Adam <[email protected]>
add scalar and discriminator check for findOne

when query is scalar then create an array befor the discriminatorField put in the query array

20b2e2f6e1d5d49fd032e1d5f91d5633334fc6c2 authored about 14 years ago by Thomas Adam <[email protected]>
[MODM81] test case

43b6bff3b9c636e973db1ae8ad042851b26da9ee authored about 14 years ago by Thomas Adam <[email protected]>
Removing skipped tests that no longer apply.

368faeb44de6bbe4df76e42003216a8df260d422 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Fixing failing tests.

05bbc6de7f31e1122690b7dd3d823a682f6886ff authored about 14 years ago by Jonathan H. Wage <[email protected]>
Add test to demonstrate embedded documents with depth=1 are not removed on flush

13c485f1c08633ebacbde6db47e7088d4c9e89ba authored about 14 years ago by ornicar <[email protected]>
Add test to demonstrate that deep embedded documents are not removed on flush

7161ee36a1cdfad46932564fa307cbc73da84fec authored about 14 years ago by ornicar <[email protected]>
[ODM] Fixed typos

Conflicts:

lib/Doctrine/ODM/MongoDB/Persisters/BasicDocumentPersister.php

cbcbfadd42965893cf30734e9712ddfdc231a0f2 authored about 14 years ago by Jonathan H. Wage <[email protected]>
added a way to get the DocumentManager from a LoadClassMetadataEventArgs instance.

e570df187c78f19bffb8b4dd6a36006de1d39ac6 authored about 14 years ago by Klein Florian <[email protected]>
DataPreparer::prepareUpdateData should not ovewrite when preparing embedded data

3dd8f679ce79c2e2947878d0b4c459b9587c03ee authored about 14 years ago by ornicar <[email protected]>
Query::prepareWhereValue should not assume the embedded document identifier type

4a3bdc88c15924e85a2b2d5a2d9427e8ee203db3 authored about 14 years ago by ornicar <[email protected]>
Fix doctrine-common submodule sha1

9cd024ee72b4d163aed93e6429d7167e325c2efa authored about 14 years ago by ornicar <[email protected]>
Merge branch 'master' of github.com:doctrine/mongodb-odm into demeter_refactoring

545d2af0a00efcd9d3b84851513412f4ec2d1f8d authored about 14 years ago by Jonathan H. Wage <[email protected]>
Fixing issue with recomputing document changeset.

12fab0231648445ae43ea2f5cb43ad6b22016ed1 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Add 'allowCustomIM' to the ClassMetadata serialized fields

7e08f560f3fdc8033ee20f861d5b2401aaa84025 authored about 14 years ago by ornicar <[email protected]>
Remove trailing whitespaces in ClassMetadata

7b8068cafd40a5c56f8d6644565bd641e93ff5f2 authored about 14 years ago by ornicar <[email protected]>
fixed tests

5f99580755c2e67b205a75f78e4aafbab6a8fc97 authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
Merge branch 'master' into demeter_refactoring

6dcf15fc6e6d4fdba075f171c36fa685f4584841 authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
adding another failing test

39d93048c404f5a8a099c65361f3ddaa0573d756 authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
fixed tests

75c4bbf3e3f0a89803a7491171d7543fda4775b1 authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
A little cleanup and adding another case to LifecycleTest

0084cea70104c0108f27d150b7a48dcc3d9903aa authored about 14 years ago by Jonathan H. Wage <[email protected]>
Fixing functional LifecycleTest

6c9879010b05f10ac9387284766d51dd4e2afc77 authored about 14 years ago by Jonathan H. Wage <[email protected]>
modified test to fail

922ddd66ecede8e219a108fe72243a3ad579cf98 authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
fixed wrong test conditions

19ce38ec341dfe34ab4cc048b55efeeb9534ee96 authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
added lifecycle callbacks tests

7587cc7f8977b1827f33fe64df399be5ff59b5d6 authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
Adding tests for CollectionPersister and a few small improvements to it.

1798b25e4133a8c1fae2d121da693ec648a52936 authored about 14 years ago by Jonathan H. Wage <[email protected]>
fixed typo

ab32d3bf13d35b4f0b86c1889f372db2715daced authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
switched to @dataProvider for test

d40ee2837279c07102e3d990cdac8ae1620c212b authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
changed the test to be functional

c1aa9d2f4770f62fb8d1bd2f80b1fadc41f4a6ab authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
added test for DataPreparer::prepareInsertData() and fixed logic

a6f3c27448ac0be8d073bef31b1328a75718812b authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
Removing TestInit and AllTests

0c6537080726301743ecc14ee5b91d74bcb09031 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Merge branch 'demeter_refactoring' of github.com:doctrine/mongodb-odm into demeter_refactoring

4034f5e9e1ac427c695fb5b349e6cb369a4f34d0 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Passing flush options down to the collection persister methods.

fcb3e0a0ff3565088b9ecf86e77eaca9bdf0fa14 authored about 14 years ago by Jonathan H. Wage <[email protected]>
added phpunit.xml and bootstrap file to remove the require_once TestInit.php

5bd78d626106778a9e6dc2eb3170a237b348017c authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
Adding some initial tests so bulat can take over.

59d5039dc159ba21582e7e214ab3e3975c4c00d2 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Removing hacks to force documents to insert when empty. Fixed by always passing a new \MongoId() instance.

d741338e7c74a7e5b360a386d032d26831cc88cb authored about 14 years ago by Jonathan H. Wage <[email protected]>
All tests green!!!!

c53b49dff0a1ef60baaebc804a19167cf81e64d6 authored about 14 years ago by Jonathan H. Wage <[email protected]>
More test fixes.

2a4419fba9c37ee61992aa2a680063c5cb8605ed authored about 14 years ago by Jonathan H. Wage <[email protected]>
Committing what we have. More tests fixed.

67fea02ff128792e8d868442c9d395b85cb9407f authored about 14 years ago by Jonathan H. Wage <[email protected]>
Almost there!!!

a70d7c91654ca2dc5530759dfeec85c6f6772ec3 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Committing what we have.

d0411ff010e87e1f5cf7e349d90ecc22eb992338 authored about 14 years ago by Jonathan H. Wage <[email protected]>
inlined collection logic, added getParentAndPath

360f1635cff671537e7acec69e2256cb065c75fa authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
Committing what I have so Bulat can pick it up.

4822608bc9a04cb965933b3e1e1122180675d1ee authored about 14 years ago by Jonathan H. Wage <[email protected]>
Committing intermediate refactoring so we have savepoint.

0980b86b0c0f0a12a8a58f6710e5fc2ca32a1cf3 authored about 14 years ago by Jonathan H. Wage <[email protected]>
work in progress, changed extra updates to mirror ORM

3100f7d6bf70681bc5704e0291cc77581fefaa46 authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
renamed embedded removals to orphan removals

fa58b5af22dc3c3b85ef953ba36a4e4db9a69aa9 authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
[MODM-92] Failing test case for demonstrating duplicate embedded object creation when changing embedMany collections

7d95a2a7b3996afd7c0906f752626fbc97246f0c authored about 14 years ago by Jeremy Mikola <[email protected]>
Refactoring so Query object always returns an instanceof MongoIterator.

e01c60df1cad7a97688b4c78083ebc7f5e57c281 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Moved Configuration dependency to the PersistentCollection constructor signature

1d071ff8a88ae03b2b5812e7b390ffd2c11a320c authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
moved all dependencies to MongoCursor constructor signature

6fe2649af55d5e2aa12f1bebbdda48007dbb2a31 authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
moved all dependencies to MongoCollection constructor signature

9f418f8381634b7551cf504ae9b11ca231605533 authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
moved dependencies ontp Hydrator constructor signature

25bd96ea55cbe96ddb9482e901220ede34aa5263 authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
Fixing issue with discriminator field

e8572fcacf961611b231f60991aecb6957c5b069 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Moved all Query dependencies to constructor signature

97a83102b638f0203c99c5a553fbe8f1e0a7b685 authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
Moved metadataFactory as a direct dependency on SchemaManager

eaf29aa083eb0f7377785a3611d8a11d740e8e1e authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
made event manager and hydrator direct dependencies of the unit of work

f0e2508bcea2402d0c6186d5c56e10d0818dd53b authored about 14 years ago by Bulat Shakirzyanov <[email protected]>
Moved property declaration up to the top of the class.

6d5e3eed0e7c161044402284edb8081b87842680 authored about 14 years ago by Kris Wallsmith <[email protected]>
Added a private constructor to prevent instances of CollectionEvents (copied from ODMEvents).

190f738364d7282bd95bd3968fffedaf9bb3e743 authored about 14 years ago by Kris Wallsmith <[email protected]>
[MODM-94] cleaned up test

c899f65ec25611882a96e1e86d51864d09512adf authored about 14 years ago by Kris Wallsmith <[email protected]>
Cleaned up some phpdoc blocks.

be36b3447d9e50be4b4ce9844283bb752c4619fd authored about 14 years ago by Kris Wallsmith <[email protected]>
[MODM-94] added support for $or operator in Query, for example:

$this->createQuery()
->addOr($this->createQuery()
->field('first_name')->equal...

745c9c02bac03cb1360ab0fa9307bd998ecf88f0 authored about 14 years ago by Kris Wallsmith <[email protected]>
Fixing call to wrong method name.

22ca9aabf7cf62919c088c5b7fe508674ae7efa3 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Removed unused argument.

16cde6d847f9f498c059024508844c7b8ada1529 authored about 14 years ago by Kris Wallsmith <[email protected]>
Adding test for pre/postLoad events on embedded documents.

4f275bae90d108036b3e6ca29422a0a316326548 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Fix for embedded documents and pre/post remove events not firing.

e13691a55419bd026991b353707bc246a815c62f authored about 14 years ago by Jonathan H. Wage <[email protected]>
Add tests showing that PreRemove and PostRemove lifecycle callbacks are not called on embedded(many) documents

005ef37e7dcd8f59fd7665f52aebc96c74988c77 authored about 14 years ago by ornicar <[email protected]>
Fixing coding standards in the Hydrator, committed in SHA: 01e02406f37a316399f4161d00b72efe43716173

846ee5a3a8fa514872830874bb171194aa59cc6f authored about 14 years ago by Ryan Weaver <[email protected]>
Add test showing that one embedded document is not removed properly on flush

8c08db924aa4839a9b86b6791bac3582955a1461 authored about 14 years ago by ornicar <[email protected]>
Fix remove nullable embedded document in BasicDocumentPersister

c5e1ca8cebc97684859181af2aa60ac9e1ee305f authored about 14 years ago by ornicar <[email protected]>
Fixing a bug where certain documents are improperly flushed after retrieving the document and making no changes to it.

This occurs when a document has an embedded document that uses a discriminator map. In this case...

01e02406f37a316399f4161d00b72efe43716173 authored about 14 years ago by Ryan Weaver <[email protected]>
Fix doctrine-common submodule sha1

0794fca7114a18fd388b6b93ef664019f43c8550 authored about 14 years ago by ornicar <[email protected]>
Fixing SchemaManager so it properly ignores mapped super classes and embedded documents and will throw an InvalidArgumentException if you try and call a SchemaManager method for a mapped super class or embedded document.

90d49b6c182b45fcf97642b40a01f67da5323ad1 authored about 14 years ago by Jonathan H. Wage <[email protected]>
Disable creation of document indexes for mapped superclasses, as they have no collection

1f8aac0f0521be5ebbd0cd6aec738abde4f0afce authored about 14 years ago by ornicar <[email protected]>
Add index inheritance in ClassMetadataFactory

4fbcef3312ae2a89e04a0fda4fb1d5f5cac6060a authored about 14 years ago by ornicar <[email protected]>
Add test for multiple level inheritance and index mapping in SchemaManagerTest.php - it fails

1e134cfe6298f8f6638bed4b5ded202a5f6aa687 authored about 14 years ago by ornicar <[email protected]>
Fix a typo in AbstractCommand, remove trailing whitespaces here and there

279a88f0777d5289d3d8013ac25de30a236ff8ce authored about 14 years ago by ornicar <[email protected]>
added true to exists() examples as parameter is required

86ed5cbe609dbb618cd26556c5160beed4cd10cb authored about 14 years ago by Pablo Godel <[email protected]>
replaced ORM mentions with ODM to prevent confusion

61b0451eca61fa6e99ab7484009d11ceeaaf9d92 authored over 14 years ago by Pablo Godel <[email protected]>