Commit graph

1202 commits

Author SHA1 Message Date
Richard Miller ac3edc23a4 Changed to separate repository manager for each driver 2012-01-25 11:36:50 +00:00
Richard Miller e678ce8cc6 Added configuring repository by annotation
Conflicts:

	Manager/RepositoryManager.php
	Resources/config/mongodb.xml
	Resources/config/orm.xml
	Tests/Manager/RepositoryManagerTest.php
2012-01-25 11:20:47 +00:00
Richard Miller adf85973f5 Added tests for logging and data collection 2012-01-13 09:15:03 +00:00
Richard Miller b4ebbc0a55 Merge branch '2.0' 2012-01-12 19:59:08 +00:00
Richard Miller fe3d4e06b7 Removed exception catching in persister 2012-01-12 19:54:35 +00:00
Richard Miller 851c461fa8 Removed exception catching in Doctrine listeners 2012-01-12 19:38:56 +00:00
Richard Miller 6eff104d6d Merge branch '2.0'
Conflicts:
	DependencyInjection/FOQElasticaExtension.php
	Manager/RepositoryManager.php
	README.md
	Resources/config/config.xml
	Resources/config/propel.xml
2012-01-12 16:34:19 +00:00
Jeremy Mikola ce82e8f591 Merge pull request #62 from merk/patch-1
Fix index wide finder config check
2012-01-12 16:11:44 +00:00
Jeremy Mikola 90bb52eb33 Merge pull request #59 from merk/configerror
Removed missed merge conflict
2012-01-12 16:10:58 +00:00
Jeremy Mikola 0d0c653777 Merge pull request #58 from merk/index_transformer
Index wide finder
Conflicts:

	DependencyInjection/FOQElasticaExtension.php
	Resources/config/config.xml
2012-01-12 16:10:28 +00:00
Jeremy Mikola b21e063c9c Ensure persistence.driver option exists before validating
The driver option is not required by the configuration, so we should check for it the validation functions.

If type_prototype is being used, there is a legitimate case where type definitions would not specify a driver. Likewise, the type_prototype may not specify the driver. If we wish to validate that a driver has been specified for a type, we'll have to do that in the extension class after loading the configuration and merging in prototypes.
2012-01-12 16:04:17 +00:00
Jeremy Mikola 5f83fd90c2 Merge pull request #51 from willdurand/propel-support
Propel support
Conflicts:

	DependencyInjection/FOQElasticaExtension.php
2012-01-12 16:01:33 +00:00
Richard Miller e8659d0042 Updated autoload instructions as per GH-48 2012-01-12 15:46:43 +00:00
Richard Miller 522b3e2c8f Added using deps and vendors script to docs 2012-01-12 15:45:41 +00:00
Richard Miller 5b117cb179 Updated README.md with info on 2.0 branch 2012-01-12 15:43:19 +00:00
Richard Miller a158454eec Removed unused local variable 2012-01-12 15:42:40 +00:00
Richard Miller e1c8899455 Fixed typo 2012-01-12 15:41:27 +00:00
Richard Miller 881866b1ed Initialised RepositoryManager properties 2012-01-12 15:24:53 +00:00
Jeremy Mikola 2193976c2c Merge pull request #62 from merk/patch-1
Fix index wide finder config check
2012-01-06 15:23:54 -08:00
Tim Nagel aa5bac2ccc Fix index wide finder config check
Fixes index wide finder configuration. Fixes #61
2012-01-07 09:19:24 +11:00
Richard Miller 96be3159bc Merge branch 'master' of github.com:Exercise/FOQElasticaBundle 2012-01-05 23:03:00 +00:00
Richard Miller 520a35bfc6 Merge branch '2.0' of github.com:Exercise/FOQElasticaBundle into 2.0 2012-01-05 23:02:33 +00:00
Richard Miller 2d1ce1f98a Added tests for Doctrine Listeners 2012-01-05 23:00:53 +00:00
Richard Miller 539bbebdd5 Added tests for Doctrine Listeners 2012-01-05 22:56:16 +00:00
Jeremy Mikola 094a505d12 Merge pull request #59 from merk/configerror
Removed missed merge conflict
2012-01-03 20:07:32 -08:00
Tim Nagel dfe72d8947 Fixed config.xml 2012-01-04 11:16:00 +11:00
Jeremy Mikola 0e0c12c7cf Merge pull request #58 from merk/index_transformer
Index wide finder
2012-01-03 14:16:56 -08:00
Tim Nagel 9c4ef3d8bd Added finder capability for an index 2012-01-04 09:12:51 +11:00
Jeremy Mikola fdc0d3c227 Merge pull request #55 from daFish/master
Changed path to custom provider example.
2011-12-29 08:57:22 -08:00
daFish 5aab521b42 Changed path to custom provider example. 2011-12-29 16:34:03 +01:00
Jeremy Mikola d0fdebb7d1 Ensure persistence.driver option exists before validating
The driver option is not required by the configuration, so we should check for it the validation functions.

If type_prototype is being used, there is a legitimate case where type definitions would not specify a driver. Likewise, the type_prototype may not specify the driver. If we wish to validate that a driver has been specified for a type, we'll have to do that in the extension class after loading the configuration and merging in prototypes.
2011-12-28 17:51:07 -05:00
Jeremy Mikola 62b3d94f8e Merge branch '2.0' 2011-12-28 17:09:50 -05:00
Jeremy Mikola 64dd1d780b [#45] Add example of exception suppression to README 2011-12-28 17:08:47 -05:00
Jeremy Mikola 6036a8356e Merge branch '2.0' 2011-12-28 16:42:36 -05:00
Jeremy Mikola 8d0f38c44e Revert "Hide exceptions if elasticsearch is not running. This needs some fixing and cleaning up by someone smarter than myself."
This reverts commit eb1900265f and fixes #45.
2011-12-28 16:35:00 -05:00
Richard Miller 231e3a0b06 Moved annotation use back into RepositoryManager 2011-12-24 14:44:37 +00:00
Richard Miller 77a73b1db6 Refactored RepositoryManager 2011-12-23 16:38:22 +00:00
Richard Miller 510d411055 Made default manager configurable 2011-12-23 16:20:22 +00:00
Richard Miller ba976e3a41 Extracted the Doctine specific parts of the Repository Manager 2011-12-23 15:29:01 +00:00
Jeremy Mikola 8487ab1788 Merge pull request #51 from willdurand/propel-support
Propel support
2011-12-21 15:05:24 -08:00
William DURAND 00aa83df80 Fixed comments
see https://github.com/Exercise/FOQElasticaBundle/pull/51
2011-12-20 20:14:49 +01:00
William DURAND 19ae10ae27 Fixed unit test (phpunit doesn\'t allow to expect the base Exception class) 2011-12-20 17:46:36 +01:00
William DURAND 55187d23bf Added Propel support
Refactored the configuration => BC break
2011-12-20 17:44:39 +01:00
Richard Miller 0386f8ebbd Updated autoload instructions as per GH-48 2011-12-19 12:39:20 +00:00
Richard Miller 4e48bbd182 Merge pull request #46 from nurikabe/master
Allow variable "fields" configuration node for attachment mapping.
2011-12-16 20:08:34 +00:00
Richard Miller ade3cfaef1 Merge pull request #46 from nurikabe/master
Allow variable "fields" configuration node for attachment mapping.
2011-12-16 07:38:45 -08:00
Richard Miller 048b1ff625 Added configuring repository by annotation 2011-12-13 19:26:03 +00:00
Richard Miller 564f1c843b Added using deps and vendors script to docs 2011-12-13 10:49:00 +00:00
Richard Miller 4bd1aa7c90 Updated README.md with info on 2.0 branch 2011-12-13 10:30:45 +00:00
Richard Miller 0e3fedf3fb Switched to manager registry for doctrine integration 2011-12-13 10:22:24 +00:00