Commit graph

177 commits

Author SHA1 Message Date
Richard Miller 289c326072 Renamed phpunit.dist.xml to phpunit.xml.dist 2012-01-25 13:49:26 +00:00
Richard Miller 452781bdec Added search repositories to the README 2012-01-25 13:46:15 +00:00
Richard Miller d78ed342d4 Renamed variable in RepositoryManager 2012-01-25 12:45:08 +00:00
Richard Miller 9c0d7dd622 Extracted method in RepositoryManager 2012-01-25 12:42:02 +00:00
Richard Miller e00aa3a077 Removed unnecessary definition setting 2012-01-25 12:14:20 +00:00
Richard Miller 131a65e411 Allowed repositories for Propel driver 2012-01-25 12:10:35 +00:00
Richard Miller f6444d7fbc Fixed returning custom repository name from annotation 2012-01-25 12:04:26 +00:00
Richard Miller 47440b59bb Refactored RepositoryManager
Conflicts:

	Doctrine/RepositoryManager.php
	Manager/RepositoryManager.php
2012-01-25 11:59:20 +00:00
Richard Miller bb87a0be74 Made default manager configurable
Conflicts:

	DependencyInjection/FOQElasticaExtension.php
	Resources/config/config.xml
	Resources/config/mongodb.xml
	Resources/config/orm.xml
	Resources/config/propel.xml
2012-01-25 11:47:11 +00:00
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 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
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
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
Jeremy Mikola 64dd1d780b [#45] Add example of exception suppression to README 2011-12-28 17:08:47 -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 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 a6e8d0a31c Added RepositoryManagerInterface 2011-12-11 20:17:41 +00:00
Richard Miller 98536d3f29 Renamed and moved repository manager 2011-12-11 20:14:00 +00:00
Richard Miller 68a2fbca67 Tidied up service ids 2011-12-11 19:52:50 +00:00
Richard Miller 587d1e540e Added checking the transformed values to test 2011-12-05 21:44:12 +00:00
Richard Miller a5316fe51c Merge pull request #42 from EmmanuelVella/master
Recursive values normalization
2011-12-05 13:38:47 -08:00
Richard Miller 86bba4bbbb Merge pull request #43 from e-butik/master
Changed ObjectPersister dependency to ObjectPersisterInterface in AbstractListener
2011-12-04 13:55:59 -08:00
Richard Miller 05cb7dd500 Fixed bootstrap path in phpunit config 2011-12-04 21:47:05 +00:00
Magnus Nordlander 3fe550c9c1 Changed ObjectPersister dependency to ObjectPersisterInterface 2011-11-30 10:08:44 +01:00
Jeremy Mikola bf1fe1685a Remove array-wrapping of config argument for clients
This fixes a regression in 914dbca3aa which prevented custom client configs from being processed.
2011-11-29 18:41:03 -05:00
Emmanuel Vella 9dc168fffc Add recursive values normalization 2011-11-28 17:24:16 +01:00
Jeremy Mikola 2b0e09f3da Merge pull request #38 from richardmiller/adding_repositories_for_encapsulating_queries
Adding manager that returns Doctrine style repositories
2011-11-14 08:18:14 -08:00
Jeremy Mikola 872b597e5b Merge pull request #37 from richardmiller/updated_object_persister_unit_test
Updated ObjectPersisterTest to reflect change in ObjectPersister object
2011-11-14 08:12:54 -08:00
Jeremy Mikola 4f40714b58 Merge pull request #36 from richardmiller/updated_resetter_unit_test
Updated ReseterTest to match current Reseter class
2011-11-14 08:12:35 -08:00
Jeremy Mikola b969218527 Merge pull request #35 from richardmiller/removing_unused_local_variable
Removed unused local variable
2011-11-14 08:10:37 -08:00
Richard Miller 7dbc4221ae Adding manager that returns Doctrine style repositories 2011-11-12 21:10:00 +00:00
Richard Miller e38d7f3bc5 Updated ObjectPersisterTest to reflect change in ObjectPersister object 2011-11-12 20:09:48 +00:00
Richard Miller 781bf869dc Updated ReseterTest to match current Reseter class 2011-11-12 20:05:54 +00:00
Richard Miller c4662644d8 Removed unused local variable 2011-11-12 19:40:41 +00:00
Jay Severson eb1900265f Hide exceptions if elasticsearch is not running. This needs some fixing and cleaning up by someone smarter than myself. 2011-11-09 11:37:28 -08:00
Jeremy Mikola 8a9dc124ec Merge pull request #27 from gimler/data_collector
add data collector for client class
2011-11-03 11:02:32 -07:00