silverstripe-multiform/CHANGELOG

34 lines
2.3 KiB
Plaintext

0.3:
API CHANGE Changed MultiFormStep::$next_steps to public, and MultiFormStep::$is_final_step to public
API CHANGE MultiForm::$start_step is now declared as public, not protected, due to changes in Object::get_static()
ENHANCEMENT Custom text for back/next and submit buttons on a per-step basis
BUGFIX Checking $this->Data exists before trying to unserialize it
BUGFIX #4480 MultiForm::next() and MultiForm::prev() now save the form data before checking the next or previous step
API CHANGE Added currentSessionHash property to MultiForm which stores the currently opened session by the user
API CHANGE Renamed MultiForm::getSessionRecord() to getCurrentSession() and removed the parameter, since this wasn't done in a very OOP manner
ENHANCEMENT: enabled MultiForm to use customised action (actions_exempt_from_validation).
Changed has been done in the constructor to read the static variables (incl. overwritten variables).
BUGFIX: MultiFormStep::saveInto() needs the current Controller as the new $form Controller to work
ENHANCEMENT Added language files
BUGFIX If the step doesn't exist, don't attempt to delete it
BUGFIX Ensure that any relations to MultiFormStep are destroyed before calling delete()
ENHANCEMENT Removed hack of specific action to bypass validation and allow specifying actions to be exempt through a public static variable
0.2:
- ENHANCEMENT Updated entities and added german translation for multiform
- ENHANCEMENT Making multiform module translatable
- ENHANCEMENT Added MultiFormStep->saveInto() to simulate Form->saveInto()
- ENHANCEMENT Made MultiForm->prev() do the same behaviour for saving data
- ENHANCEMENT Added MultiForm->getSavedSteps()
- BUGFIX Removing url_type which isnt very useful
- BUGFIX $this->form wasn't accessible on MultiFormStep
- ENHANCEMENT Correct use of parent::construct() so that fields, actions
- BUGFIX SQL injection possibility fix on MultiForm->getSessionRecordByID()
- BUGFIX Disable security token inherited from Form, which isn't required
- BUGFIX Made MultiFormPurgeTask greatly simplified, and workable
- ENHANCEMENT Allowed static $ignored_fields to be overloaded on subclass of MultiForm
- BUGFIX Use $nextStep->Link and $prevStep->Link() for prev() and next() on MultiForm
- API CHANGE Ticket #2562 - Cleaner instanciation of MultiForm subclass without having to call ->init()
0.1:
- initial release