Commit Graph

  • 36d330dea6 Merge 4f1510ff5b into c73082e2ab GitHub Merge Button 2011-12-18 19:23:24 -0800
  • 4f1510ff5b BUGFIX: Run validation on the final step. ajshort 2011-12-19 14:21:56 +1100
  • 65d1681331 MINOR: Make the form reference consistently available on form steps. ajshort 2011-12-19 14:21:47 +1100
  • c73082e2ab Merge pull request #1 from ajshort/master Ingo Schommer 2011-05-27 15:14:47 -0700
  • 452b1c2da4 Merge 1f1bb225f0 into 61a2df4430 GitHub Merge Button 2011-05-27 14:57:08 -0700
  • 61a2df4430 MINOR Migrated README content from doc.ss.org Ingo Schommer 2011-02-12 12:35:58 +1300
  • 1f1bb225f0 BUGFIX: Fixed the form state not being saved to the session after a custom validateStep() validation failure. ajshort 2011-02-06 07:59:59 +1100
  • 9816df1538 ENHANCEMENT: Manually set the form controller and name in MultiForm::__construct() so they are available for field construction. ajshort 2011-02-05 21:50:17 +1100
  • 5dd19ad41b MINOR Disabled MultiFormTest->testStepTraversal() as it doesn't test anything, and fails in combination with recent Form->httpSubmission() changes Ingo Schommer 2010-12-19 23:51:02 +0000
  • 23480a8d05 MINOR Using $AbsoluteBaseURL in MultiFormTest (trunk compatibility) Ingo Schommer 2010-12-16 05:20:34 +0000
  • 68242e74fd Created 0.3 release 0.3 Sean Harvey 2010-05-11 03:56:35 +0000
  • fcce3f4907 MINOR Added changelog for 0.3 Sean Harvey 2010-05-11 03:54:48 +0000
  • a9725f8805 Created 0.3 release Sean Harvey 2010-05-11 03:42:44 +0000
  • 29c2e7fd5a MINOR Fixed location where protected static should've been public in MultiFormTest Sean Harvey 2010-05-11 03:37:51 +0000
  • 1374144435 API CHANGE Changed MultiFormStep::$next_steps to public, and MultiFormStep::$is_final_step to public Sean Harvey 2010-05-11 03:35:40 +0000
  • 209e56aa4b API CHANGE MultiForm::$start_step is now declared as public, not protected, due to changes in Object::get_static() Sean Harvey 2010-05-11 03:30:55 +0000
  • 60fa84df85 ENHANCEMENT Custom text for back/next and submit buttons on a per-step basis (defaults to MultiForm.BACK, MultiForm.SUBMIT etc translatable entities) Sean Harvey 2010-05-11 03:27:42 +0000
  • b84fae26a3 BUGFIX Checking $this->Data exists before trying to unserialize it Sean Harvey 2010-05-11 03:20:33 +0000
  • 8d434eb3ad BUGFIX: Unit test relied on fixed ID of member, which sometimes isn't there. May be PostGreSQL related Mark Stephens 2010-05-04 02:14:17 +0000
  • 89513c6da6 MINOR Fixed SQL quoting (requires 2.4) MINOR Added ingo at ss dot org as a maintainer Ingo Schommer 2010-03-22 10:49:04 +0000
  • f508442eb5 BUGFIX: column and table names now quoted properly Geoff Munn 2010-03-14 21:09:04 +0000
  • 794e74bebe BUGFIX #4480 MultiForm::next() and MultiForm::prev() now save the form data before checking the next or previous step Sean Harvey 2010-01-10 00:57:33 +0000
  • cbc7d246ac MINOR Fixed notice if $this->Data is false/null as unserialize() first parameter Sean Harvey 2009-10-22 20:57:54 +0000
  • 501ad9d952 MINOR Updated master language tables Ingo Schommer 2009-09-10 04:08:37 +0000
  • b415cd5053 MINOR Added test case for making up a fake MultiFormSessionID in the URL Sean Harvey 2009-08-05 10:31:47 +0000
  • c2ba6d441f 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 MINOR Test for MultiFormSession::markCompleted() to ensure that session can't be used again by MultiForm Sean Harvey 2009-08-05 10:12:13 +0000
  • a907cc6493 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). Rainer Spittel 2009-07-27 23:14:04 +0000
  • 95bae6450c MINOR Added missing MultiFormTest.yml file Sean Harvey 2009-07-20 22:36:48 +0000
  • c944adb7ba MINOR Test step traversal in MultiFormTest MINOR Removed MultiFormSessionTest and integrated with MultiFormTest Sean Harvey 2009-07-20 22:36:32 +0000
  • 1e434e5acf MINOR Added missing test controller template Sean Harvey 2009-07-20 10:58:47 +0000
  • 75aa55be48 MINOR Fixed submitForm test in MultiFormTest Sean Harvey 2009-07-20 10:57:00 +0000
  • 8e04dfbaa5 MINOR Tidy up of tests Sean Harvey 2009-07-20 09:22:49 +0000
  • 07120018bf BUGFIX: MultiFormStep::saveInto() need the current Controller as the new $form Controller to work Normann Lou 2009-06-03 01:47:36 +0000
  • 44527561a8 ENHANCEMENT Added language files Ingo Schommer 2009-05-28 04:41:40 +0000
  • 04130ad501 BUGFIX If the step doesn't exist, don't attempt to delete it Sean Harvey 2009-04-27 23:13:21 +0000
  • 3690de6943 MINOR: added is_numeric check to prevent form failing on certain cases Will Rossiter 2009-01-29 09:27:17 +0000
  • ef436eadd4 BUGFIX Ensure that any relations to MultiFormStep are destroyed before calling delete() Sean Harvey 2009-01-27 10:47:22 +0000
  • 70b7e95c81 Reverted r70810 which didn't have a commit message Sean Harvey 2009-01-27 10:45:46 +0000
  • 7e9d014eee Sean Harvey 2009-01-27 10:44:40 +0000
  • c78159c8ac MINOR Updated translations Ingo Schommer 2009-01-13 22:04:37 +0000
  • 203bb03286 MINOR Reuse of $currentStep variable, instead of retrieving the step again Sean Harvey 2008-12-17 11:11:53 +0000
  • 9f8d2e1da8 ENHANCEMENT Removed hack of specific action to bypass validation and allow specifying actions to be exempt through a public static variable Sean Harvey 2008-12-17 11:08:46 +0000
  • e1eced2486 Tagged multiform 0.2 0.2 Sean Harvey 2008-12-05 03:38:13 +0000
  • 6715ba6b26 Added multiform/tags/0.2 directory Sean Harvey 2008-12-05 03:23:23 +0000
  • f72761356b Added 0.2 release notes Sean Harvey 2008-12-05 03:22:35 +0000
  • 2bd8f5a7b5 ENHANCEMENT Updated entities and added german translation for multiform Ingo Schommer 2008-10-17 22:43:02 +0000
  • 4da79449f8 ENHANCEMENT Making multiform module translatable Ingo Schommer 2008-10-14 00:26:57 +0000
  • a867db5fe8 ENHANCEMENT Added MultiFormStep->saveInto() to simulate Form->saveInto() behaviour with a stub form. This is preferred method of saving step data into a DataObject, instead of using $myObj->update($myStep->loadData()), is update() doesn't trigger custom formfield saving behaviour (e.g. to save relations on an existing dataobject for CheckboxSetField) Ingo Schommer 2008-10-09 00:36:46 +0000
  • a8877b780f ENHANCEMENT Made MultiForm->prev() do the same behaviour for saving data as MultiForm->next() Sean Harvey 2008-10-01 22:18:44 +0000
  • 647a5257e3 MINOR Removed unused static function is_action_field from MultiForm Sean Harvey 2008-10-01 21:10:20 +0000
  • 053ac04387 MINOR Removed @usedby, it's not a valid phpdoc token Sean Harvey 2008-10-01 21:06:56 +0000
  • 7968b09fea ENHANCEMENT Added MultiForm->getSavedSteps() and MultiForm->getSavedStepByClass() ENHANCEMENT Added MultiFormStep->validateStep() for custom validation routines ENHANCEMENT Changed MultiForm->save() to use $form->getData() instead of $data to ensure that all fields are saveable into a DataObject (had trouble with ConfirmedPasswordField returning array instead of string) Ingo Schommer 2008-10-01 18:36:52 +0000
  • 228d03592e MINOR Removed old MultiForm::__construct() comments Sean Harvey 2008-09-20 09:36:54 +0000
  • c97022314f MINOR Code syntax formatting and removal of useless comment Sean Harvey 2008-09-20 09:31:44 +0000
  • 0512155cbe MINOR Updated MultiFormTest class comments Sean Harvey 2008-09-20 09:27:38 +0000
  • c5916ffaf0 MINOR Made MultiForm test classes implement TestOnly so they're only used for testing purposes Sean Harvey 2008-09-20 09:22:01 +0000
  • 6ac64b13a6 Updated README to reflect more accurate information Sean Harvey 2008-09-17 23:48:39 +0000
  • 2e9d07cde2 MINOR Added or edited README files, added LICENSE and CHANGELOG files Ingo Schommer 2008-09-17 00:06:17 +0000
  • e2d8ace250 Fixed multi form test Sam Minnee 2008-08-21 08:17:04 +0000
  • 1ba27d9c7d MINOR Removed MultiFormSession::[Data] which is never used Sean Harvey 2008-07-21 21:07:48 +0000
  • a42bb6103b BUGFIX Removing url_type which isnt very useful MINOR documentation updates ENHANCEMENT return value on MultiForm->setCurrentStep() MINOR code cleanup in general Sean Harvey 2008-07-21 21:06:59 +0000
  • 1b662ff9e1 BUGFIX $this->form wasn't accessible on MultiFormStep because it wasn't being set by MultiForm->__construct() early enough in the piece Sean Harvey 2008-07-21 05:22:06 +0000
  • 69b5cd6686 Don't validate if not necessary - merged from branches/kiwiselect Sean Harvey 2008-07-21 05:14:04 +0000
  • 6abbe5b44f MINOR where[] can't be used for reading Sean Harvey 2008-07-21 04:40:18 +0000
  • 8d138f4059 MINOR Removed 3 useless lines of code Sean Harvey 2008-07-21 03:34:27 +0000
  • e843930e69 MINOR added @TODO note for MultiFormTest Sean Harvey 2008-07-21 03:27:44 +0000
  • 78080c6238 ENHANCEMENT Correct use of parent::__construct() so that fields, actions and validation are correctly set without extra code to set them on MultiForm Sean Harvey 2008-07-21 03:21:51 +0000
  • 80e71b5ccf BUGFIX SQL injection possibility fix on MultiForm->getSessionRecordByID() Sean Harvey 2008-07-09 06:34:28 +0000
  • f362ed07be BUGFIX Disable security token inherited from Form. We do not require this as we tie a MultiForm instance to a MultiFormSession via a URL parameter Sean Harvey 2008-07-04 01:07:33 +0000
  • 58b7bb2210 MINOR echo out the amount of session records that were deleted on MultiFormPurgeTask Sean Harvey 2008-07-02 00:54:22 +0000
  • 9da9a611a0 BUGFIX Made MultiFormPurgeTask greatly simplified, and workable - it simply deletes all session data after days specified in $session_expiry_days Sean Harvey 2008-07-02 00:39:40 +0000
  • fce12220b2 ENHANCEMENT Allowed static $ignored_fields to be overloaded on subclass of MultiForm, so specific fields can be ignored Sean Harvey 2008-07-01 23:57:07 +0000
  • 3b9f092ac1 BUGFIX We now call $nextStep->Link and $prevStep->Link() instead of $this->getCurrentStep()->Link() on MultiForm->next() and MultiForm->prev() which is confusing, and doesn't always work Sean Harvey 2008-06-23 05:06:36 +0000
  • 0f2bfb2cc5 MINOR tests updated to reflect API change in r56597 Sean Harvey 2008-06-19 10:32:15 +0000
  • 295cd5077e API CHANGE Ticket #2562 - Cleaner instanciation of MultiForm subclass, init() is removed with the move of session/step initialization to __construct() Sean Harvey 2008-06-19 10:29:47 +0000
  • 2092469774 Tagged multiform/trunk as tags/0.1 0.1 Sean Harvey 2008-06-18 08:21:57 +0000
  • 35f2de5de3 ENHANCEMENT MultiFormStep->form can now be accessed to return the form that the step was created on Sean Harvey 2008-06-18 08:07:11 +0000
  • fe8b3f57ef Added some useful information to README Sean Harvey 2008-06-09 02:49:06 +0000
  • e4e43ee4af ENHANCEMENT prev() now saves the current step data, exactly as next() does Sean Harvey 2008-06-05 01:13:55 +0000
  • 4d0e9491cc ENHANCEMENT Don't validate if hitting the "prev" action Sean Harvey 2008-06-05 01:12:08 +0000
  • 2bb5983f19 Added TODO for what $can_go_back doesn't do yet! Sean Harvey 2008-05-27 04:54:24 +0000
  • 4f758064d9 FEATURE Allow setting a flag (true, by default) so that you can't use the "back" form action for a step. Sean Harvey 2008-05-27 04:49:16 +0000
  • 2385c23d63 BUGFIX getCurrentStep should be called as a method, not a property Sean Harvey 2008-05-26 04:06:09 +0000
  • b0f45b505b BUGFIX validator couldn't tie itself to a form correctly, encapsulated validator setup on MultiForm->setValidator() Sean Harvey 2008-05-24 23:49:49 +0000
  • 2f4e8de921 Added tests, and used assertEquals which makes better use of PHPUnit Sean Harvey 2008-05-23 05:47:07 +0000
  • edcdbf8935 Fixed re-creating of a new Hash field even if one exists, also fixed non-object errors through better structured setSession() method Sean Harvey 2008-05-14 11:30:35 +0000
  • 39229e19f4 Added note in _config.php for what this is for Sean Harvey 2008-05-14 11:12:52 +0000
  • e4f51e07c2 Added basics for testing, and some test classes for future test operations Sean Harvey 2008-05-14 11:09:47 +0000
  • 54164a129f Whitespace Sean Harvey 2008-05-14 10:57:41 +0000
  • 6cfe0680c0 Added TODO items to fix later Sean Harvey 2008-05-14 10:57:25 +0000
  • 927e974724 Added TODO about session being "baked" into MultiForm directly Sean Harvey 2008-05-14 10:45:19 +0000
  • 8d93736482 Fall back to using the class name if there is no title property set Sean Harvey 2008-05-14 10:40:19 +0000
  • 56325faf8f added an accessor method for $this->session Sean Harvey 2008-05-14 10:22:58 +0000
  • f5f93fb10e Added basic test to MultiForm Sean Harvey 2008-05-14 07:18:12 +0000
  • 626c272b6f Remove the relation as well as delete the object Sean Harvey 2008-05-14 07:16:38 +0000
  • 652c0af4c2 Added parent::onBeforeDelete() - without this, it breaks! Sean Harvey 2008-05-14 06:54:53 +0000
  • ff9662f9f5 Revert last change Sean Harvey 2008-04-30 03:47:33 +0000
  • 3872ca004c Don't need to check if data exists first Sean Harvey 2008-04-30 03:46:35 +0000
  • 75a4fb78d5 Added TODO Sean Harvey 2008-04-29 09:50:06 +0000
  • ac09ddfa86 Removed the disabling of SecurityID Sean Harvey 2008-04-28 06:42:32 +0000