Permalink
Commits on May 1, 2012
Commits on Apr 19, 2012
  1. Allow variable types for is_indexable_callback options

    jmikola committed Apr 19, 2012
    Actual checking (string, array callback or Closure) is done in the Listener class itself.
Commits on Apr 17, 2012
  1. Merge branch '2.0'

    jmikola committed Apr 17, 2012
  2. Merge pull request #85 from nurikabe/2.0

    jmikola committed Apr 17, 2012
    Allow "_source" configuration.
  3. Merge pull request #93 from Exercise/listener-check-method

    jmikola committed Apr 17, 2012
    Listener check method
Commits on Apr 16, 2012
  1. [Listener] Support additional indexable callback types

    jmikola committed Apr 10, 2012
    Support service/method tuples as indexable callbacks. Closures are also supported, although they cannot be injected by the service container.
    
    The indexable callback is now injected via a setter and validated when set (instead of during event processing).
Commits on Apr 10, 2012
  1. Merge branch '2.0'

    jmikola committed Apr 10, 2012
    Conflicts:
    	Command/PopulateCommand.php
  2. Skip Doctrine tests if libraries are not available

    jmikola committed Mar 2, 2012
    Conflicts:
    
    	Tests/Doctrine/RepositoryManagerTest.php
  3. [Listener] Allow conditional indexing based on callback method

    r1pp3rj4ck committed with jmikola Apr 5, 2012
    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.
  4. Merge pull request #92 from Exercise/suggested-deps

    jmikola committed Apr 10, 2012
    Add suggested Doctrine and Propel deps for test suite coverage
Commits on Apr 9, 2012
  1. Merge pull request #91 from matteosister/is_callable

    jmikola committed Apr 9, 2012
    is_callable instead of method_exists
  2. Merge pull request #90 from matteosister/patch-1

    jmikola committed Apr 9, 2012
    a small typo already fixed in master but not here
Commits on Apr 7, 2012
Commits on Apr 2, 2012
Commits on Mar 23, 2012
Commits on Mar 13, 2012
  1. Merge pull request #80 from Exercise/repopulate-index

    jmikola committed Mar 13, 2012
    Allow single indexes and types to be repopulated
Commits on Mar 12, 2012
  1. Update Elastica dependency for Resetter changes

    jmikola committed Mar 12, 2012
    Resetter depends on Elastica_Type::delete(), which was a recent addition to Elastica. See: af6c92b92e5374f92323a65cb6ea957b74fcb1dd
  2. Enable PopulateCommand to target indexes and types

    jmikola committed Mar 12, 2012
    This makes the Populator service obsolete.
  3. [Provider] Lazy-loaded provider services must have public definitions

    jmikola committed Mar 12, 2012
    If provider definitions are not public, they will be removed by RemoveUnusedDefinitionsPass when compiling the container.
  4. [Provider] ProviderRegistry should return indexed provider arrays

    jmikola committed Mar 10, 2012
    Since Provider instances do not know the index or type for which they are responsible, it's helpful for the ProviderRegistry to include that information when returning multiple providers.
  5. [Provider] Change provider construction (possible BC break)

    jmikola committed Mar 9, 2012
     * 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.
  6. Allow Resetter to target specific indexes and types (BC break)

    jmikola committed Mar 9, 2012
    The original reset() method is now resetAllIndexes(). Additionally, new resetIndex() and resetIndexType() methods were introduced.