Commit graph

522 commits

Author SHA1 Message Date
Karel Souffriau 97aadf4897 TransformedFinder::moreLikeThis: use \Elastica_Document instead of \Document 2013-11-15 17:51:26 +01:00
Tim Nagel 21ce3cf6ff Fix definition decorators (closes #393) 2013-11-01 09:15:38 +11:00
Jeremy Mikola 6e0f144ec2 Merge pull request #339 from FriendsOfSymfony/2.0.x-definition-decorators
2.0.x definition decorators
2013-10-30 14:09:43 -07:00
Jeremy Mikola 74d993b642 Do not clobber existing client definitions (closes #336 and #324)
While we could have used an abstract definition, its ID would likely conflict with the alias we set for the default client. Remove the abstract definition altogether and simply construct new definitions for each client. This resolves the previous issue where multiple clients would overwrite the constructor arguments of the previous definition.
2013-10-30 15:15:26 -04:00
Jeremy Mikola 604193396f Remove "prototype" from abstract definition IDs; note possible conflicts
Due to the naming of transformer, listener, and finder services, it's possible for index/type services to clobber the ID of another concrete or abstract service. This cannot be helped without breaking BC, but we should note it within the extension class.
2013-10-30 15:15:25 -04:00
Tim Nagel f97dc21030 Merge pull request #355 from richardmiller/add-mlt
Add moreLikeThis query to finder
2013-10-29 14:55:00 -07:00
Richard Miller 79501dc319 Add moreLikeThis query to finder 2013-08-12 11:04:54 +01:00
Jeremy Mikola ab0c27c481 Fix expected exception class (related to #338)
This corrects a typo in a66a37aebd.
2013-07-17 15:54:06 -04:00
Jeremy Mikola a66a37aebd Merge pull request #338 from FriendsOfSymfony/2.0.x-property-access
Fix missing getter for private field test for PropertyAccess 2.3+
2013-07-17 12:44:57 -07:00
Jeremy Mikola 9e2e8ab1c9 Fix missing getter for private field test for PropertyAccess 2.3+
See: df67239b02
2013-07-12 17:32:33 -04:00
Jeremy Mikola cd48a36687 Update 2.0.x changelog 2013-06-06 11:13:12 -04:00
Jeremy Mikola 00e9a49460 Allow Symfony dependencies until 3.0 2013-06-06 11:02:55 -04:00
Thomas Tourlourat 4b4a56db1e Check for "indexes" key in Configuration::getNestings() 2013-04-17 11:23:30 -04:00
Jeremy Mikola 8ffd1a7c3d Update install version and add links to compatibility info 2013-04-16 13:26:14 -04:00
Jeremy Mikola 36e38cb576 Merge branch '1.0.x' into 2.0.x 2013-04-16 13:17:39 -04:00
Jeremy Mikola 58e983fb06 Document installation via composer in README (closes #271) 2013-04-16 13:16:53 -04:00
Jeremy Mikola e82b6e983f Create 2.0.x changelog 2013-04-04 11:46:06 -04:00
Jeremy Mikola 55920a3397 Merge branch '1.0.x' into 2.0.x 2013-03-28 16:36:46 -04:00
Jeremy Mikola f0d3a4d956 Ensure mongo extension is available in Travis CI 2013-03-28 16:31:26 -04:00
Jeremy Mikola 8c3863bb5f Merge branch 'pr/262' into 2.0.x 2013-03-28 13:53:16 -04:00
Jeremy Mikola c99f0458df Merge branch '1.0.x' into 2.0.x 2013-03-28 13:52:58 -04:00
Jeremy Mikola 89284df831 Revert "Provide branch alias for 2.0"
This reverts commit 920f16965f.
2013-03-28 13:52:48 -04:00
Jeremy Mikola 49a9ad31f2 Revert "Provide branch alias for 1.0"
This reverts commit e8ea4e910f.
2013-03-28 13:51:45 -04:00
ShurtMaiden 1f26318875 Avoid using a feature not supported in PHP5.3 2013-03-28 12:15:02 +01:00
Tim Nagel 920f16965f Provide branch alias for 2.0 2013-03-28 11:24:11 +11:00
Tim Nagel e8ea4e910f Provide branch alias for 1.0 2013-03-28 11:23:43 +11:00
Jeremy Mikola 8146f8e9ab Merge pull request #255 from FriendsOfSymfony/property-access
Support Symfony 2.2 PropertyAccess with BC for 2.1 (closes #218)
2013-03-27 14:33:45 -07: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 91090ed37a Fix pagerfanta dependecy 2013-03-27 15:00:54 -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 cf4cc7f578 Require Symfony 2.1.x 2013-03-27 14:33:30 -04:00
Jeremy Mikola 744f05814a Merge branch '1.0.x' 2013-03-27 13:58:57 -04:00
Jeremy Mikola 4aa8fefe2d Rename FOQ filenames to FOS 2013-03-27 13:58:32 -04:00
Jeremy Mikola a7b37f3c41 Merge branch '1.0.x'
Conflicts:
	Command/PopulateCommand.php
	Command/SearchCommand.php
	DependencyInjection/Compiler/AddProviderPass.php
	DependencyInjection/FOQElasticaExtension.php
	Doctrine/AbstractListener.php
	Doctrine/AbstractProvider.php
	Doctrine/MongoDB/Listener.php
	Doctrine/MongoDB/Provider.php
	Doctrine/ORM/Listener.php
	Doctrine/ORM/Provider.php
	FOQElasticaBundle.php
	Finder/TransformedFinder.php
	IndexManager.php
	MappingRegistry.php
	Paginator/AbstractPaginatorAdapter.php
	Paginator/RawPaginatorAdapter.php
	Paginator/TransformedPaginatorAdapter.php
	Populator.php
	Propel/Provider.php
	Provider/ProviderInterface.php
	README.md
	Repository.php
	Reseter.php
	Resources/config/config.xml
	Resources/config/mongodb.xml
	Resources/config/orm.xml
	Resources/config/propel.xml
	Tests/Doctrine/MongoDB/ListenerTest.php
	Tests/Doctrine/ORM/ListenerTest.php
	Tests/IndexManagerTest.php
	Tests/MappingRegistryTest.php
	Tests/PopulatorTest.php
	Tests/ReseterTest.php
	Transformer/ElasticaToModelTransformerCollection.php
2013-03-27 13:57:39 -04:00
Jeremy Mikola 49de4d361d Rename FOQ namespaces and services to FOS 2013-03-27 13:44:44 -04:00
Jeremy Mikola 3fb9aaa56a Rename FOQ namespaces and services to FOS 2013-03-27 13:44:06 -04:00
Jeremy Mikola 4e11e20071 Merge branch '2.0'
Conflicts:
	.travis.yml
	composer.json
2013-03-15 15:24:43 -04:00
Jeremy Mikola 22ad3cfe01 Update package installation for Travis CI 2013-03-15 15:15:55 -04:00
Jeremy Mikola fb73ded604 Replace minimum-stability with ODM dev requirements 2013-03-15 15:15:26 -04:00
Stanislav Petrov 3f93f93a45 Changed configuration to implement ConfigurationInterface 2013-03-15 14:54:48 -04:00
skuro 904a664dfe Allow processing of null mappings in configuration 2013-03-15 14:35:01 -04:00
Jeremy Mikola b12b92845c Merge branch '2.0' 2013-03-07 17:54:21 -05:00
Jeremy Mikola 9ec6a0ae1b Update test assertions for date format 2013-03-07 17:53:08 -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
Jeremy Mikola d3602e075b Revise language for advanced query example 2013-03-07 17:12:14 -05:00
topweb 14d2b82529 Add advanced query example to README 2013-03-07 17:12:14 -05:00
Jeremy Mikola 7f3e3919e7 Merge pull request #248 from kostiklv/missing-field-options
Added missing string field attributes
2013-03-07 13:56:03 -08:00
Konstantin Tjuterev 5e835f5b2c Added missing string field attributes, according to http://www.elasticsearch.org/guide/reference/mapping/core-types.html 2013-03-05 15:06:11 +02:00