Permalink
Commits on Apr 15, 2013
Commits on Mar 10, 2013
Commits on Feb 2, 2012
Commits on Jan 28, 2012
Commits on Nov 11, 2011
Commits on Nov 10, 2011
  1. Fix unescape config method

    committed Nov 10, 2011
  2. Minor improvements and bugfixes

    committed Nov 10, 2011
  3. Remove double README

    committed Nov 10, 2011
Commits on Aug 25, 2011
Commits on Oct 23, 2010
  1. Improved CustomMessage adapter, minor improvements to formatter class…

    …es, better indexing for MySQL (a composite index, representing a single object for which a changelog exists)
    committed Oct 23, 2010
Commits on Oct 20, 2010
  1. Basic changes to the ncchangelog module, so that it will run on 1.4 w…

    …ithout extra plugins
    committed Oct 20, 2010
Commits on Oct 17, 2010
  1. Added a new Operation, with accompanying adapter and formatter method…

    …s - CUSTOM_MESSAGE
    
    You can now use $object->setCustomChangeMessage(BaseObject $object, $message, $user = null, PropelPDO $con = null) to set custom messages, which render similarly to Create/Delete operations.
    committed Oct 17, 2010
  2. Updated formatter/adapter classes for better runtime introspection, f…

    …aster execution and added new functionality
    
    ncChangeLogEntry can now retrieve the TableMap object for the related object
    
    ncChangeLogAdapter has new proxy classes to ncChangeLog entry (get peer and get table map) and now holds a single instance of the Formatter class instead of creating a new one every time ->getFormatter() is called
    
    A new field was added to the changelog array, "type"; It denotes the column type and is a performance optimization (up untill now we needed to go through the process of retrieving the colum type through table map... and it was done on every request to it).
    
    A format string was added to the Formatter class that handles boolean columns.
    
    Many updates to ncChangeLogUpdateChange:
     - Better handling of ColumnType, ColumnMap and TableMap (through the adapter)
     - Class name and Peer class name getters
     - renderFieldName() works as described in the docs now
     - getValue() now caches results - this is because we don't want to be firing events on every request to a value, or having to retrieve a related object multiple times
     - render() now uses the formatter instance attached to the adapter; Maybe we can now have multiple formatters for different classes?
    committed Oct 17, 2010
Commits on Oct 15, 2010
  1. Modified Behavior for BC - now _update_changes() is a public static f…

    …unction, and returns the ncChangeLogEntry attached to the object.
    
    Also, the property of the $object "changelogEntry" is no longer set to null in post-save. This allows the user to easily extend the behavior or change the change log after a save has occured.
    committed Oct 15, 2010
Commits on Oct 12, 2010
  1. Adapter/formatter fixes

    Now properly getting the date/datetime/time settings form config
    
    objects got __toString() methods where appropriate, and $adapter->renderCreatedAt() got a $format parameter
    committed Oct 12, 2010
  2. Fixed a bug in ncPropelChangeLogBehavior clas related to lazy loading…

    … of related table maps, fixed php strict standards warnings, fixed empty arrays being returned for related objects
    committed Oct 12, 2010
  3. Updated behavior and documentation

    Added filter event for changes before they are saved.
    
    Added getRelatedChangelog() behavior method, all it does is combine the 1N and NN related changelogs
    committed Oct 12, 2010
Commits on Oct 11, 2010
  1. Updated readme to reflect a better style based on the symfony plugin …

    …system markdown, fixed some typos and edited some of the information
    committed Oct 11, 2010
Commits on Oct 10, 2010
  1. Major update... maybe this is version Alpha 1? All that is left is in…

    …clusion of formatter hooks and full testing.
    
    Rewrote the 1N and NN related changelogs methods; They now rely 100% on Propel's introspection API instead of the ncClassFinder (which was removed). However, M:M relations will only work with Propel 1.5 and up.
    
    Other small optimizations and fixes were introduced, and the signature of Behavior::getChangeLog() was changed to have the connection object passed at the end (potentially BC break).
    
    A skeletal test for ncPropelChangeLogBehavior.class.php was added
    committed Oct 10, 2010
Commits on Oct 7, 2010
  1. Started work on the actual behavior

    Removed ncChangeLogEntryQueue, it was a slow and needless implementation of something, that should've just been a property of the host object :-/
    
    Added sfPropel15Plugin submodule, for testing in systems that use it (ie, mine ;))
    
    Updated the ncChangeLogEntryPeer to with code that was improperly placed in the Behavior class
    
    Added a constructor to the ncChangeLogEntry object to allow for easy host object insertion.
    
    Other small improvements and additions to the phpDoc
    committed Oct 7, 2010
Commits on Oct 5, 2010
  1. Removed redundant object pk and class name being stored in the change…

    …s array, updated test fixtures (just as the rest of the testing harness, those were lifted from sfPropel15Plugin) small improvements to the model -> setObject() and clearObject() methods + local copy of the object for faster access. Fully tested.
    committed Oct 5, 2010
Commits on Sep 17, 2010
  1. Fix for the previous commit

    committed Sep 17, 2010