Commit graph

220 commits

Author SHA1 Message Date
Richard Miller ba75ca8d7b Updated location of composer autoload in test bootstrap file 2012-06-13 17:01:10 +01:00
Richard Miller e61d0aac0f Updated no-reset option description 2012-05-15 07:48:04 +01:00
Richard Miller 6aa96dd227 Merge pull request #108 from pdaether/2.0
New Option "no-reset" for the populate command
2012-05-14 23:42:40 -07:00
William DURAND c1a6728be0 [Propel] Added new method to return a query to use in
findByIdentifiers().

That way, it's easier to override the default ElasticaToModelTransformer
class.
2012-05-07 20:20:25 +01:00
pdaether becc902864 New Option no-reset for the populate command 2012-05-07 17:48:06 +02:00
nurikabe 16f621b78f Somewhat clearer exception when Elastica results do not match Doctrine objects. Consistent behavior for both transform() and hybrdidTrasnform(). 2012-05-05 17:02:13 +01:00
nurikabe 68e73366d9 Throw a more meaningful error when the number of items retrieved by Doctrine is less than the number of items from ElasticSearch. 2012-05-05 17:02:00 +01:00
fran6co 02009c28b0 Minor improvement, using an intermediate variable to hold the transformed objects 2012-05-05 17:00:56 +01:00
fran6co 927030914c Fixed bug when a transformer returns objects of different classes.\n The doctrine transformer can generate this kind of situations whene it returns proxy objects. 2012-05-05 17:00:42 +01:00
William DURAND da194b581c Made persister services public to use them 2012-05-05 16:59:52 +01:00
Oleg Zinchenko 0fab7ff7c1 Merge pull request #105 from willdurand/fix-propel-impl
Fixed propel implementation
2012-05-04 07:21:40 -07:00
William DURAND 6956662e88 Fixed propel implementation 2012-05-04 15:45:30 +02:00
Richard Miller f9cab6e48d Update Elastica version required in composer.json
Conflicts:

	composer.json
2012-05-04 12:22:12 +01:00
Chris Jones 9fa452f314 Updating break from v0.19.3.0 2012-05-04 12:18:51 +01:00
Richard Miller 21abb977ac Update .travis.yml to remove invalid composer option 2012-05-02 10:12:44 +02:00
Jeremy Mikola 96776e34ad Merge pull request #85 from nurikabe/2.0
Allow "_source" configuration.
2012-04-17 09:20:42 -07:00
Jeremy Mikola c3391d957a Add suggested Doctrine and Propel deps for test suite coverage 2012-04-10 17:51:02 -04:00
Jeremy Mikola 7f05e8311a Skip Doctrine tests if libraries are not available
Conflicts:

	Tests/Doctrine/RepositoryManagerTest.php
2012-04-10 17:50:27 -04:00
Jeremy Mikola d6dbefe969 Merge pull request #91 from matteosister/is_callable
is_callable instead of method_exists
2012-04-09 09:43:42 -07:00
matteosister bd127e6991 is_callable instead of method_exists 2012-04-09 18:17:55 +02:00
Jeremy Mikola c30bbd0c34 Merge pull request #90 from matteosister/patch-1
a small typo already fixed in master but not here
2012-04-09 07:53:58 -07:00
Matteo Giachino 4a087e2b83 a small typo already fixed in master but not here 2012-04-08 01:19:48 +03:00
nurikabe 87f1141d2e Remove addDefaultsIfNotSet() on prototyped array node. 2012-04-02 14:15:12 -04:00
nurikabe 99c6aa9ac7 Allow "_source" configuration as per https://github.com/Exercise/FOQElasticaBundle/issues/83. 2012-04-02 13:53:51 -04:00
Richard Miller 45747a3e1f Removed code coverage from travisci config 2012-03-08 12:49:30 +00:00
Richard Miller 1f8993557b Added symfony/console to composer.json 2012-03-07 10:18:25 +00:00
Jeremy Mikola 0391dff44e Configure Travis CI
This also changes the test suite and bootstrap to depend on packages installed by composer.
2012-03-06 20:33:50 -05:00
Jeremy Mikola 62c410f464 Revise composer.json and require Symfony 2.0 explicitly 2012-03-03 22:46:34 -05:00
Jeremy Mikola 95eb2f8ba0 Add MIT license 2012-03-03 22:45:28 -05:00
daFish 67d44a767d Add composer support. 2012-03-03 22:34:16 -05:00
Richard Miller 901aba1bba Merge remote-tracking branch 'origin/2.0' into 2.0 2012-02-27 20:12:50 +00:00
Richard Miller 118151db7c Added null_value to mapping configuration 2012-02-27 20:11:25 +00:00
Richard Miller 2e5bac1f52 Removed filtering of null values in transformer 2012-02-27 19:37:59 +00:00
Jeremy Mikola da463e23ea Merge pull request #75 from merk/hybrid
[POC] Hybrid finder results
2012-02-24 14:31:59 -08:00
Tim Nagel 76f447ba7d Hybrid finder results 2012-02-24 09:50:46 +11:00
Richard Miller 4baefe6686 Fixed normalizing values twice in transfomer 2012-02-15 10:27:03 +00:00
Richard Miller a81d878d93 Stopped null values going into transformed data 2012-02-15 10:02:16 +00:00
Richard Miller a3f4c95e9c Changed to only filter truly null value in Transformer 2012-02-14 17:08:38 +00:00
Richard Miller 5e19a37344 Merge pull request #67 from richardmiller/fixing_doctrine_removal
Fixing issue with removing mapped Doctrine entities/documents
2012-02-02 13:59:18 -08:00
Richard Miller 81bd07a90b Updated identifier field fetching in listener 2012-02-02 19:37:49 +00:00
Richard Miller 1d2887a83b Cleaned up doctrine removal fix changes 2012-01-26 09:59:58 +00:00
Richard Miller 65be0a415e Fixing issue with removing mapped Doctrine entities/documents 2012-01-25 19:51:10 +00:00
Richard Miller cff974039b Fixed README formatting issue 2012-01-25 14:15:20 +00:00
Richard Miller 289c326072 Renamed phpunit.dist.xml to phpunit.xml.dist 2012-01-25 13:49:26 +00:00
Richard Miller 452781bdec Added search repositories to the README 2012-01-25 13:46:15 +00:00
Richard Miller d78ed342d4 Renamed variable in RepositoryManager 2012-01-25 12:45:08 +00:00
Richard Miller 9c0d7dd622 Extracted method in RepositoryManager 2012-01-25 12:42:02 +00:00
Richard Miller e00aa3a077 Removed unnecessary definition setting 2012-01-25 12:14:20 +00:00
Richard Miller 131a65e411 Allowed repositories for Propel driver 2012-01-25 12:10:35 +00:00
Richard Miller f6444d7fbc Fixed returning custom repository name from annotation 2012-01-25 12:04:26 +00:00