Commit graph

172 commits

Author SHA1 Message Date
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
nurikabe
d4d05c2fc9 Allow variable "fields" configuration node for attachment mapping. 2011-12-12 17:12:48 +00:00
Richard Miller
b9599052f9 Fixed typo 2011-12-11 23:19:10 +00:00
Richard Miller
7832fbc61a Removed unused local variable 2011-12-11 23:17:54 +00:00
Richard Miller
1a921ec2a3 Added Doctrine shortcut names for getting repositories 2011-12-11 23:09:13 +00:00
Richard Miller
69afe16558 Initialised RepositoryManager properties 2011-12-11 20:30:44 +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
Thibault Duplessis
bf0ba9d198 Merge pull request #31 from richardmiller/fixing_unneccessary_results_fetching
Removed an unnecessary fetching of search results when paging
2011-11-01 10:54:00 -07:00
Richard Miller
2682399d7f Removed an unnecessary fetching of search results when paging 2011-11-01 17:34:04 +00:00
Thibault Duplessis
f7c170db10 Merge pull request #29 from pulse00/master
Added term_vector configuration node
2011-10-19 13:15:15 -07:00
Robert Gruendler
bec5ddf999 added 'term_vector' configuration node 2011-10-19 22:06:50 +02:00
Gordon Franke
21001f1d34 fix logQuery 2011-10-05 12:53:03 +02:00