Permalink
Commits on Oct 10, 2010
  1. Consider empty a field whose value is an array of empty values

    jmikola committed Oct 10, 2010
    Without this logic, new forms with an sfWidgetFormDate field would never be considered empty.
Commits on Jul 19, 2010
  1. misc. changes

    annismckenzie committed Jul 19, 2010
Commits on Jul 7, 2010
  1. - whitespace changes

    koto committed Jul 7, 2010
  2. - bugfix: fixed PHP notice occuring when using the form with direct c…

    koto committed Jul 7, 2010
    …alling of admin generator /create action
Commits on Jul 6, 2010
Commits on Jul 5, 2010
  1. Merge git://github.com/annismckenzie/ahDoctrineEasyEmbeddedRelationsP…

    koto committed Jul 5, 2010
    …lugin
    
    Conflicts:
    	README
    	lib/form/ahBaseFormDoctrine.class.php
    	lib/form/ahNewRelationField.php
    	lib/form/ahNewRelationsContainerForm.php
    	package.xml.tmpl
Commits on Jul 1, 2010
  1. updated TODO

    annismckenzie committed Jul 1, 2010
  2. - bugfix: empty new forms are no longer unset completely, only their …

    annismckenzie committed Jun 30, 2010
    …values and their respective validators; so the admin generator doesn't crash anymore when the 'new_relationName' widget is in the 'display' array
Commits on Jun 29, 2010
  1. - bugfix: fixed is_a() producing E_STRICT warning in PHP between 5.0.…

    annismckenzie committed Jun 29, 2010
    …0 and 5.3.0 because is_a() is deprecated in these versions - it's not beginning with 5.3.0 - d'oh! :)
    
    - bugfix: creating a completely new main object and, at the same time, also adding new related objects did not work
Commits on Jun 28, 2010
  1. - added the MooTools script for the dynamic addition of more new form…

    annismckenzie committed Jun 28, 2010
    …s (just about a 1:1 conversion of the jQuery one)
  2. - added new maintainers for the package (thanks koto!)

    annismckenzie committed Jun 28, 2010
    - bugfix: fixed a bug regarding Doctrine inheritance (thanks Yves!)
    - bugfix: to disable the checkbox to delete existing related records set the option formClassArgs to this: 'formClassArgs' => array(array('ah_add_delete_checkbox' => false))
    
    - added new developer: FabryB :)
    - bugfix: newFormClassArgs option didn't work the way it was described in the README (option was automatically wrapped in an array) => please read the UPGRADE GUIDE that is packaged with this plugin! :)
    - bugfix: when using the multipleNewForms and newFormsInitialCount options it was indeed creating multiple forms to add related objects but it also did that for ONE-to-ONE relations ;-)
    - bugfix: newRelationButtonLabel did not work at all :(
    - new feature: customEmbeddedFormLabelMethod option is a method that is called on each existing related object (not the containing form!) so you can customize the form label that is shown in front of each existing embedded form. This option is new since version 1.4.0.
    - bugfix: The plugin finally works with embedded forms that have checkboxes, radio buttons and/or file upload fields (what's especially interesting is the use of sfWidgetFormInputFileEditable)!
    
    I also finally added unit tests that should cover at least 80% of the functionality. Because I don't have that much time I used the symfony Core's unit tests as a starting point so they actually live inside the lib/vendor/symfony directory of one of my projects. If there's someone who knows how to set up plugin-internal unit tests (with a SQlite database for testing persistence stuff), I'd be glad to provide these unit tests. :) Help's always welcome!
Commits on Jun 16, 2010
  1. bugfix: to disable the checkbox to delete existing related records se…

    annismckenzie committed Jun 16, 2010
    …t the option formClassArgs to this: 'formClassArgs' => array(array('ah_add_delete_checkbox' => false))
  2. - added new maintainers for the package (thanks koto!)

    annismckenzie committed Jun 16, 2010
    - fixed a bug regarding Doctrine inheritance (thanks Yves!)
Commits on Jun 11, 2010
Commits on Jun 9, 2010
Commits on May 5, 2010
Commits on May 1, 2010
  1. - updates to jQuery cloning code

    koto committed with annismckenzie Apr 30, 2010
      - also clones events
      - bugfix: fixed label selector
      - triggers additional events
Commits on Apr 30, 2010
  1. - updates to jQuery cloning code

    koto committed Apr 30, 2010
      - also clones events
      - bugfix: fixed label selector
      - triggers additional events
Commits on Apr 29, 2010