Commit graph

107 commits

Author SHA1 Message Date
Tim Nagel
d88d96bf55 Fix invalid service reference in production 2014-07-04 22:10:24 +10:00
Tim Nagel
815b836cdc Add stopwatch support for Elastica\Client 2014-07-03 23:20:18 +10:00
Maksim Kotlyar
965b319d82 [transformers] tell container that first argument is collection. 2014-07-01 14:40:03 +03:00
Tim Nagel
96dc613c71 Fix array format for indexable_callback 2014-06-26 17:46:29 +10:00
Tim Nagel
4d52c327aa Add back missing KnpPaginatorSubscriber service 2014-06-25 13:24:02 +10:00
Tim Nagel
ae03b3f3cf Fix propel service definition 2014-06-25 13:18:02 +10:00
Tim Nagel
2437a098ba Fix anonymous service error 2014-06-24 10:20:15 +10:00
Tim Nagel
ca6991d494 Fix serializer 2014-06-23 23:05:57 +10:00
Tim Nagel
4e990e0cee Fixed mapping issues 2014-06-19 00:14:41 +10:00
Tim Nagel
b155f304e4 Move IndexManager's resolution to tagged index services 2014-06-18 16:49:57 +10:00
Tim Nagel
8905b4248c Rename Manager to ConfigManager 2014-06-18 16:47:01 +10:00
Tim Nagel
ec5c05e8be dev 2014-06-17 23:22:58 +10:00
Tim Nagel
e78950ddb7 Merge branch 'master' into typed-config
Conflicts:
	CHANGELOG-3.0.md
	Client.php
	DependencyInjection/Configuration.php
	DependencyInjection/FOSElasticaExtension.php
	DynamicIndex.php
	Resources/config/config.xml
	Resources/config/mongodb.xml
	Resources/config/orm.xml
	Tests/DependencyInjection/ConfigurationTest.php
	composer.json
2014-06-17 22:42:15 +10:00
Tim Nagel
aafb8c8e89 Fix indexable callbacks with alias based indexes 2014-06-17 12:03:38 +10:00
Tim Nagel
e225d841ed Wrong service. Whoops. 2014-06-17 10:54:09 +10:00
Tim Nagel
b49437529c Fix incorrect provider configuration 2014-06-17 10:41:11 +10:00
Tim Nagel
ada3942576 Config Source providers 2014-06-16 23:23:49 +10:00
Tim Nagel
813a4a5d26 Fix previous commits 2014-06-16 22:43:16 +10:00
Tim Nagel
66d2410999 Move Indexable callback calculations to a new service 2014-06-16 15:57:42 +10:00
Tim Nagel
1dc6856ef9 Configuration rework 2014-06-02 00:40:03 +10:00
Tim Nagel
dad15d0b38 Deprecate top level classes 2014-05-25 20:51:46 +10:00
Ahmed Mohamed
c9fd1cc5d9 Revert declaring PaginateElasticaQuerySubscriber as a paremeter, so not to break Knp compiler pass 2014-04-20 06:11:20 +02:00
Ruslan Zavacky
0dcb77d749 More classes exposed as parameters. 2014-04-19 18:31:56 +03:00
Piotr Antosik
1bc148569b Added knp paginator sort functionality to PaginateElasticaQuerySubscriber 2014-04-03 10:44:18 +02:00
Patrick Zahnd
13c2d10e39 Added knp paginator sort functionality to PaginateElasticaQuerySubscriber 2014-04-03 00:02:43 +02:00
Tim Nagel
5292a2adad Merge pull request #463 from FriendsOfSymfony/add-hotswapping-aliased-indexes-on-populate
Add support for using aliases to allow hot swapping of indexes.
2014-03-17 09:20:12 +11:00
Richard Miller
3b1a756e6f Add support for using aliases to allow hot swapping of indexes when populating 2014-02-06 21:11:12 +00:00
nurikabe
93c6085fa5 Merge remote-tracking branch 'upstream/master' 2014-02-01 02:15:52 +00:00
Piotr Antosik
076d51ac40 Services classes as parameters 2014-01-29 17:50:42 +01:00
nurikabe
4a4716a55b Merge remote-tracking branch 'upstream/master' 2014-01-11 16:38:29 +00:00
nurikabe
1d700261ab Refactor to a single Listener class. Update tests. 2013-12-02 12:42:04 +00:00
Damien Alexandre
3027c687e2 Ref #341, fix the insertMany method to use Bulk indexing
To make it works, I inject the serializer defined for the Type
into the fos_elastica.object_serializer_persister service.

This is the SAME service injected in the setSerializer of Type.

We deport the handling of serialization outside Elastica,
this is not so good but we need to build our own Documents to
get the ID's correctly.
2013-11-29 15:35:59 +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
Jeremy Mikola
68092eb4db Merge branch '2.1.x'
Conflicts:
	Resources/config/config.xml
2013-10-30 17:14:20 -04:00
Jeremy Mikola
11d0dd8f91 Merge branch '2.0.x' into 2.1.x 2013-10-30 17:10:04 -04: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
Lea Haensenberger
300d189a9d renaming services to avoid potential conflicts 2013-07-18 10:51:51 +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
Patrick McAndrew
16ecd7cca3 Tag client with fos_elastica.client 2013-06-10 10:30:31 -04:00
Lukas Kahwe Smith
e898deb6df cleanups 2013-04-26 14:12:28 +02:00
Lukas Kahwe Smith
aafb6e53fb made the bundle compatible with Elastica 0.20.x 2013-04-26 14:10:05 +02:00
Lea Haensenberger
a139d18b22 Adding default callback for serialization if serialization is turned on 2013-04-26 14:09:42 +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
3fb9aaa56a Rename FOQ namespaces and services to FOS 2013-03-27 13:44:06 -04:00
Richard Miller
8fde6b235c Merge branch '2.0'
Conflicts:
	Transformer/ElasticaToModelTransformerCollection.php
2012-11-28 21:15:13 +00:00
Richard Miller
5f1e1326d5 Fixing identifier field not being set in TransformerCollection 2012-09-24 23:15:05 +01:00
Chris Tickner
fcb9e8f2f5 Updated the DoctrineMongoDBBundle service IDs
The service IDs for the DoctrineMongoDBBundle have changed for version 2.1.  This is an update to reflect that change.

https://github.com/doctrine/DoctrineMongoDBBundle/pull/134
2012-08-15 08:45:43 -03:00
Richard Miller
67a11a59ce Merge branch '2.0'
Conflicts:
	Finder/FinderInterface.php
	Repository.php
2012-08-07 19:42:38 +01:00