Robert Schönthal
f348ebd026
fixes ignore_missing option and unknown index
2014-02-03 09:47:16 +01:00
Craig Marvelley
5d16ffb1bf
Remove unused method
2013-12-12 20:50:15 +00:00
Tim Nagel
8668537740
Merge pull request #400 from cordoval/cleanups
...
clean ups
2013-12-10 02:15:53 -08:00
Damien Alexandre
b149ac235b
Replace deprecated calls Document::add
to Document::set
2013-11-29 13:53:25 +01:00
Damien Alexandre
e180f1fd61
Merge remote-tracking branch 'peerj/ObjectWithoutProperties' into serializer-integration
...
Conflicts:
Transformer/ModelToElasticaAutoTransformer.php
2013-11-29 13:51:58 +01:00
Damien Alexandre
d546b4d3f3
Merge remote-tracking branch 'origin/serializer-transformer' into serializer-integration
...
Conflicts:
DependencyInjection/FOSElasticaExtension.php
Resources/config/config.xml
2013-11-29 10:07:13 +01:00
Luis Cordova
cacb40286c
clean ups
2013-11-20 08:11:15 -05:00
leahaense
23382c895e
Merge pull request #322 from ajgarlag/parentmapping
...
Fix _parent mapping.
2013-09-10 23:53:15 -07:00
Lea Haensenberger
77156b35aa
some formatting and cleaning up
2013-07-18 10:54:11 +02:00
Lea Haensenberger
5b6a1f7bd6
Adding new persister and new transformer to make use of the serializer support of elastica when persisting doctrine objects
2013-07-17 08:58:15 +02:00
Gábor Tóth
9beb277745
Remove unused parameter from ModelToElasticaAutoTransformer.php
2013-07-04 18:47:58 +02:00
Antonio J. García Lagar
7f3cfa49fb
Make the property param optional
2013-06-19 13:57:15 +02:00
Antonio J. García Lagar
a386ffefe3
Fix parent mapping
2013-06-17 21:19:11 +02:00
Patrick McAndrew
fab42fa0ce
Properities should not be required for object as elastica can automap
2013-05-24 12:27:37 +01:00
Lukas Kahwe Smith
aafb6e53fb
made the bundle compatible with Elastica 0.20.x
2013-04-26 14:10:05 +02:00
Karel Souffriau
83e27ede93
Require PropertyAccess component
2013-04-04 21:51:03 +02:00
Jeremy Mikola
2e7d2f2452
Support Symfony 2.2 PropertyAccess with BC for 2.1 ( closes #218 )
...
By abstracting the property access, we can easily support Symfony 2.1's Form component and 2.2's PropertyAccess component.
The PropertyAccessor service will be injected into transformers if it is available. Tests were modified to do the same, and expect the appropriate exception depending on which implementation is available.
2013-03-27 17:26:47 -04:00
Jeremy Mikola
440c36f537
Merge remote-tracking branch 'cevou/master' into pr/245
...
Conflicts:
Command/PopulateCommand.php
Command/SearchCommand.php
DependencyInjection/Configuration.php
Doctrine/AbstractElasticaToModelTransformer.php
Doctrine/AbstractListener.php
Doctrine/MongoDB/ElasticaToModelTransformer.php
Doctrine/ORM/ElasticaToModelTransformer.php
Doctrine/RepositoryManager.php
Finder/TransformedFinder.php
Paginator/PaginatorAdapterInterface.php
Paginator/RawPaginatorAdapter.php
Persister/ObjectPersister.php
Propel/ElasticaToModelTransformer.php
Subscriber/PaginateElasticaQuerySubscriber.php
Tests/DataCollector/ElasticaDataCollectorTest.php
Tests/Doctrine/AbstractProviderTest.php
Tests/Doctrine/RepositoryManagerTest.php
Tests/Manager/RepositoryManagerTest.php
Tests/RepositoryTest.php
Transformer/ElasticaToModelTransformerCollection.php
composer.json
2013-03-27 14:58:34 -04:00
Jeremy Mikola
3fb9aaa56a
Rename FOQ namespaces and services to FOS
2013-03-27 13:44:06 -04:00
Jeremy Mikola
b12b92845c
Merge branch '2.0'
2013-03-07 17:54:21 -05:00
Jeremy Mikola
1a6fe2c362
Fix format typo for ISO 8601 date conversion
...
See: dd00409e85
(typo on my part when cherry-picking that commit).
2013-03-07 17:51:20 -05:00
Jeremy Mikola
8f5f12315d
Merge branch '2.0'
...
Conflicts:
Transformer/ModelToElasticaAutoTransformer.php
2013-03-07 17:38:42 -05:00
Miha Vrhovnik
dd00409e85
Normalize DateTime values as ISO 8601 strings
2013-03-07 17:33:07 -05:00
cevou
b03ee7cc76
Removed property path changes again
2013-03-04 21:20:55 +01:00
cevou
cbe6071969
Code cleanup
...
- updated deprecated calls
- cleaned up PHPDoc comments
2013-03-02 12:23:44 +01:00
daFish
82ec81cb08
Fixes problem with potential null values coming from nested properties.
2013-01-24 16:43:10 +01:00
craig
7717d4d580
Remove exception when multi_field type is used
2012-11-29 14:32:47 +00:00
Richard Miller
8fde6b235c
Merge branch '2.0'
...
Conflicts:
Transformer/ElasticaToModelTransformerCollection.php
2012-11-28 21:15:13 +00:00
Julien Muetton
10eae2f254
fixes php5.3 defines ~
for default empty _parent
property
2012-11-26 16:04:50 +01:00
Julien Muetton
a36ec87f40
Add tests for _parent
, nested
and object
types
2012-11-26 14:47:08 +01:00
Julien Muetton
23f591bf01
allow _parent mapping
2012-11-26 13:50:14 +01:00
Julien Muetton
5c8dd9b7a6
Transformer transforms nested documents
2012-11-22 14:35:01 +01:00
Richard Miller
5f1e1326d5
Fixing identifier field not being set in TransformerCollection
2012-09-24 23:15:05 +01:00
Richard Miller
b05af88931
Merge branch '2.0'
...
Conflicts:
Doctrine/AbstractElasticaToModelTransformer.php
2012-08-07 19:14:16 +01:00
nurikabe
0c21eb4333
Highlightable models.
2012-07-16 11:49:28 -04:00
Richard Miller
7a8664727c
Merge remote-tracking branch 'origin/attachment_type_transformation'
...
Conflicts:
Tests/Transformer/ModelToElasticaAutoTransformerTest.php
Transformer/ModelToElasticaAutoTransformer.php
2012-07-08 15:38:09 +01:00
Francisco Facioni
08b4095687
Using PropertyPath for resolving what getter to use
2012-05-20 23:57:51 -03: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
fran6co
cb20c4015e
Minor improvement, using an intermediate variable to hold the transformed objects
2012-05-04 11:05:57 -03:00
fran6co
1c1c33d327
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-02 23:06:41 -03:00
Richard Miller
146cf891cd
Added transforming mapped attachments
2012-04-19 21:26:19 +01:00
matteosister
bd127e6991
is_callable instead of method_exists
2012-04-09 18:17:55 +02:00
Richard Miller
901aba1bba
Merge remote-tracking branch 'origin/2.0' into 2.0
2012-02-27 20:12:50 +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