Commit graph

541 commits

Author SHA1 Message Date
Lukas Kahwe Smith
b8a4a47b38 renamed PurgeCommand to ResetCommand 2013-05-08 09:10:40 +02:00
Lukas Kahwe Smith
b5392df9fd Merge pull request #280 from FriendsOfSymfony/purge_command
added purge command
2013-05-07 04:54:08 -07:00
Lukas Kahwe Smith
f48ae85cc8 added missing use statement 2013-05-06 10:32:50 +02:00
Tim Nagel
4ffc499c66 Saner version constraints 2013-05-03 11:20:44 +10:00
Jeremy Mikola
ee6f3cb04d Expect a more specific PropertyAccess exception
RuntimeException is the nearest common ancestor of the PropertyAccessDeniedException (removed in 2.3) and NoSuchPropertyException.

See: symfony/symfony@2a666cb7c3
2013-05-02 11:24:27 -04:00
Jeremy Mikola
64d27c37fa Merge pull request #282 from tommygnr/symfony2.3
Allow symfony >= 2.3
2013-05-02 11:17:50 -04:00
Tom Corrigan
b204f5bf5f Allow symfony >= 2.3
This required a small tweak to the tests as
Symfony\Component\PropertyAccess\Exception\PropertyAccessDeniedException
 has been removed in 2.3
2013-05-03 01:01:29 +10:00
Jeremy Mikola
be3c2779ef Merge pull request #277 from FriendsOfSymfony/namespace_compat
Compatibility with Elastica 0.20.x (incl. Serializer support)
2013-04-26 16:12:30 -07:00
Lukas Kahwe Smith
813f57e3d0 added purge command 2013-04-26 19:46:15 +02:00
Lukas Kahwe Smith
e898deb6df cleanups 2013-04-26 14:12:28 +02:00
Lukas Kahwe Smith
c35cb1b25f fixed Elastica dependency 2013-04-26 14:10:06 +02:00
Lukas Kahwe Smith
0af8f6ce19 updated for Elastica master changes 2013-04-26 14:10:06 +02:00
Lukas Kahwe Smith
800e38f8aa tweaked the callback handling 2013-04-26 14:10:06 +02:00
Lukas Kahwe Smith
8a9a9686ba various tweaks 2013-04-26 14:10:05 +02:00
Lukas Kahwe Smith
965ee39c5a typo fix 2013-04-26 14:10:05 +02:00
Lukas Kahwe Smith
aafb6e53fb made the bundle compatible with Elastica 0.20.x 2013-04-26 14:10:05 +02:00
Lukas Kahwe Smith
d8f836d179 CS fixes and minor tweaks in the Callback class 2013-04-26 14:10:05 +02:00
Lea Haensenberger
1abe1f48dd Having a parameter name defining a class for the serializer callback, because directly putting service id or parameter doesn't work because these values are not available at bundle configuration time 2013-04-26 14:10:05 +02:00
Lea Haensenberger
bcf564d09c Adapting readme 2013-04-26 14:09:42 +02:00
Lea Haensenberger
a139d18b22 Adding default callback for serialization if serialization is turned on 2013-04-26 14:09:42 +02:00
Lea Haensenberger
c99eee9c4b Adding some documentation 2013-04-26 14:06:50 +02:00
Lea Haensenberger
73fd4fe6b0 Creating a serializer callable for every type in an index and passing it to elastica 2013-04-26 14:06:49 +02:00
Lea Haensenberger
c5ee26099b Adding support to pass a serializer to elastica 2013-04-26 14:06:48 +02:00
Jeremy Mikola
a161b0657a Merge branch '2.0.x' v2.1.0 2013-04-17 11:23:58 -04:00
Thomas Tourlourat
4b4a56db1e Check for "indexes" key in Configuration::getNestings() 2013-04-17 11:23:30 -04:00
Jeremy Mikola
7e79fa6f35 Merge branch '2.0.x' 2013-04-16 13:27:46 -04:00
Jeremy Mikola
8ffd1a7c3d Update install version and add links to compatibility info 2013-04-16 13:26:14 -04:00
Jeremy Mikola
b5037d1c77 Merge branch '2.0.x' 2013-04-16 13:19:50 -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
c24a647a43 Merge pull request #267 from XWB/collector-update
Collector: print query data as json instead of yaml
2013-04-10 12:39:04 -07:00
Jeremy Mikola
ae4f676c25 Create 2.1.x-dev branch alias for master 2013-04-05 13:38:03 -04:00
Jeremy Mikola
8e03ed2663 Merge pull request #266 from XWB/property-access-update
Use the PropertyAccess component
2013-04-05 10:26:57 -07:00
Karel Souffriau
4f5be038ef Collector: print query data as json instead of yaml 2013-04-05 13:17:00 +02:00
Karel Souffriau
83e27ede93 Require PropertyAccess component 2013-04-04 21:51:03 +02:00
Jeremy Mikola
e82b6e983f Create 2.0.x changelog v2.0.1 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 v2.0.0
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