Commit graph

23 commits

Author SHA1 Message Date
nurikabe 1d700261ab Refactor to a single Listener class. Update tests. 2013-12-02 12:42:04 +00:00
Karel Souffriau 83e27ede93 Require PropertyAccess component 2013-04-04 21:51:03 +02:00
Jeremy Mikola 3fb9aaa56a Rename FOQ namespaces and services to FOS 2013-03-27 13:44:06 -04:00
r1pp3rj4ck 0f46f4b96d [Listener] Allow conditional indexing based on callback method
Added optional is_indexable_callback config param to persistence. If this is a method on the entity, the listener will only process it if the method returns true. Also updated documentation.
2012-04-10 14:36:25 -04:00
Jeremy Mikola 2046748516 [Provider] Lazy-loaded provider services must have public definitions
If provider definitions are not public, they will be removed by RemoveUnusedDefinitionsPass when compiling the container.
2012-03-12 12:07:51 -04:00
Jeremy Mikola e09225eb09 [Provider] Change provider construction (possible BC break)
* Created AbstractProvider class (for all DB services), which handles the default batch_size option.
 * The logger Closure is now optional for populate().
 * Removed unused Elastica_Type argument from Provider constructors.
 * Added unit tests for Doctrine's AbstractProvider class.
 * The extra argument (ManagerRegistry) for Doctrine providers is now an appended constructor argument, so the extension no longer needs to use different replacement indexes for Propel/Doctrine providers.
2012-03-12 12:07:51 -04:00
Richard Miller d67cd8f9ba Merge remote-tracking branch 'origin/2.0' 2012-02-03 12:40:42 +00:00
Richard Miller 65be0a415e Fixing issue with removing mapped Doctrine entities/documents 2012-01-25 19:51:10 +00:00
Richard Miller ac3edc23a4 Changed to separate repository manager for each driver 2012-01-25 11:36:50 +00:00
Richard Miller b4ebbc0a55 Merge branch '2.0' 2012-01-12 19:59:08 +00:00
Richard Miller 851c461fa8 Removed exception catching in Doctrine listeners 2012-01-12 19:38:56 +00:00
Richard Miller 510d411055 Made default manager configurable 2011-12-23 16:20:22 +00:00
Richard Miller 048b1ff625 Added configuring repository by annotation 2011-12-13 19:26:03 +00:00
Richard Miller 0e3fedf3fb Switched to manager registry for doctrine integration 2011-12-13 10:22:24 +00:00
Richard Miller 1a921ec2a3 Added Doctrine shortcut names for getting repositories 2011-12-11 23:09:13 +00:00
Borbás Imre Sándor eb8d009eec Typo fix in Resources/config/orm.xml config. 2011-07-02 17:51:04 +02:00
ornicar b7c4317f6e Catch listeners elastica exceptions and log them 2011-06-30 16:37:52 -07:00
ornicar 6fee4131f4 Doctrine integration refactoring, adds realtime index updates 2011-06-07 11:16:19 -07:00
ornicar 753af9b485 Fix orm configuration and readme 2011-05-14 18:56:48 -07:00
ornicar 1eff840c99 Move doctrine related logic to Doctrine\ORM and Doctrine\MongoDB 2011-05-09 15:31:20 -07:00
ornicar aed89aa8dc Add DoctrineMongoDBProvider and DoctrineORMProvider to deal with count inconsistency 2011-05-09 09:48:25 -07:00
ornicar 0db0490be5 Complete provider, finder, transformers and configuration refactoring 2011-04-27 00:59:04 -07:00
ornicar 0ae6ef305f Add support for Doctrine ORM 2011-04-21 19:34:39 -07:00