Commit Graph

251 Commits

Author SHA1 Message Date
Will Rossiter
467ffa3e95 Master now only supports 3.1 2013-05-25 19:30:00 +12:00
Will Rossiter
7bb100eace 1.0 for 3.0 2013-05-25 19:28:49 +12:00
Will Rossiter
2cdd3b5469 Use 3.1 syntax for extension database fields 2013-05-25 19:08:55 +12:00
Will Rossiter
25f0c051ff FIX: Update class properties to use late static binding 2013-05-25 19:04:59 +12:00
Will Rossiter
a0187dc133 Merge pull request #13 from mikg0/patch-1
FIX remove obsolete validation error messages (Fixes issue #12)
2013-05-24 23:20:00 -07:00
mikg0
112daf0262 remove obsolete validation error messages -> issue #12
remove obsolete validation error messages -> issue #12
2013-05-24 17:24:27 +02:00
Ingo Schommer
e91f4820a4 Travis support 2013-03-29 09:44:24 +01:00
Ingo Schommer
ca86ea6ff9 Upped minimum SS requirement to 3.* (since 68262bbc21) 2013-01-25 13:46:55 +01:00
Sean Harvey
543e4cb186 adding en.yml for SS3 translations 2013-01-07 13:59:11 +13:00
Sean Harvey
5367e13bcb Removing end PHP tags 2013-01-07 13:40:45 +13:00
Sean Harvey
68262bbc21 Fixing class to extend DataExtension for SS3 compatibility 2013-01-07 13:40:18 +13:00
Ingo Schommer
316c2d2b0b Added composer.json 2013-01-03 10:12:35 +01:00
Ingo Schommer
ed7846168d Backwards compat (FieldList fallbacks) 2013-01-03 10:05:21 +01:00
Ingo Schommer
ff49a0592f BUG Write current step to session when creating it 2013-01-03 09:48:55 +01:00
Ingo Schommer
5be0c052a5 BUG Don't call MultiFormStep->loadData() twice 2013-01-03 09:48:55 +01:00
Ingo Schommer
60c69adf7e ENHANCEMENT Allowing $filter argument in MultiForm->getSavedSteps() 2013-01-03 09:48:55 +01:00
Ingo Schommer
32d56ade02 BUGFIX Always fall back to creating a new step (in case the session or request data is invalid) 2013-01-03 09:48:55 +01:00
Ingo Schommer
24b768ecfe BUGFIX Using actual step instances instead of half-complete ArrayData templates in MultiForm->getAllStepsLinear()/getAllStepsRecursive(). Linking current form instance on these steps, and ensuring the title has a fallback to classname globally (not just when retrieving steps through getAllSteps*() methods) 2013-01-03 09:48:51 +01:00
Sean Harvey
abb032b6f7 MINOR Removed download links from README, as they're available on Github directly. 2012-07-04 10:59:28 +12:00
Sean Harvey
c580887e21 MINOR Fixing use of deprecated functions 2012-06-28 13:51:08 +12:00
Sean Harvey
9287dbb681 BUGFIX Use Config class to get static 2012-05-14 16:36:41 +12:00
Sean Harvey
eeec353749 MINOR Don't allow external access to PHP files within the multiform module 2012-05-14 16:00:04 +12:00
Sean Harvey
6bbe69079d MINOR Updating code to support SS 3.0, still maintains backwards compatibility with 2.4, just not in the tests. 2012-05-14 15:23:01 +12:00
Sean Harvey
18ab6d3933 BUGFIX Use Member::currentUser() instead of Member::currentMember() which isn't available in both SS 2.4 and 3.0 2012-05-14 15:00:57 +12:00
Ingo Schommer
e95e751333 Merge pull request #3 from ajshort/master
Add Explicity Display Link Method
2011-12-20 02:57:22 -08:00
ajshort
01ff2cb36a ENHANCEMENT: Added a method to set the link where the form is displayed, allowing multiforms to run inside controller actions. 2011-12-19 21:38:25 +11:00
Ingo Schommer
158f4a1bd3 Merge pull request #2 from ajshort/silverstripe-multiform
---
2011-12-19 10:46:39 +01:00
ajshort
4f1510ff5b BUGFIX: Run validation on the final step. 2011-12-19 14:21:56 +11:00
ajshort
65d1681331 MINOR: Make the form reference consistently available on form steps. 2011-12-19 14:21:47 +11:00
Ingo Schommer
c73082e2ab Merge pull request #1 from ajshort/master
BUGFIX Make The Controller And Form Name Available For Field Construction
2011-05-27 15:14:47 -07:00
Ingo Schommer
61a2df4430 MINOR Migrated README content from doc.ss.org 2011-02-12 12:35:58 +13:00
ajshort
1f1bb225f0 BUGFIX: Fixed the form state not being saved to the session after a custom validateStep() validation failure. 2011-02-06 07:59:59 +11:00
ajshort
9816df1538 ENHANCEMENT: Manually set the form controller and name in MultiForm::__construct() so they are available for field construction. 2011-02-05 21:50:17 +11:00
Ingo Schommer
5dd19ad41b MINOR Disabled MultiFormTest->testStepTraversal() as it doesn't test anything, and fails in combination with recent Form->httpSubmission() changes 2010-12-19 23:51:02 +00:00
Ingo Schommer
23480a8d05 MINOR Using $AbsoluteBaseURL in MultiFormTest (trunk compatibility) 2010-12-16 05:20:34 +00:00
Sean Harvey
fcce3f4907 MINOR Added changelog for 0.3 2010-05-11 03:54:48 +00:00
Sean Harvey
29c2e7fd5a MINOR Fixed location where protected static should've been public in MultiFormTest 2010-05-11 03:37:51 +00:00
Sean Harvey
1374144435 API CHANGE Changed MultiFormStep::$next_steps to public, and MultiFormStep::$is_final_step to public 2010-05-11 03:35:40 +00:00
Sean Harvey
209e56aa4b API CHANGE MultiForm::$start_step is now declared as public, not protected, due to changes in Object::get_static() 2010-05-11 03:30:55 +00:00
Sean Harvey
60fa84df85 ENHANCEMENT Custom text for back/next and submit buttons on a per-step basis (defaults to MultiForm.BACK, MultiForm.SUBMIT etc translatable entities) 2010-05-11 03:27:42 +00:00
Sean Harvey
b84fae26a3 BUGFIX Checking $this->Data exists before trying to unserialize it 2010-05-11 03:20:33 +00:00
Mark Stephens
8d434eb3ad BUGFIX: Unit test relied on fixed ID of member, which sometimes isn't there. May be PostGreSQL related 2010-05-04 02:14:17 +00:00
Ingo Schommer
89513c6da6 MINOR Fixed SQL quoting (requires 2.4)
MINOR Added ingo at ss dot org as a maintainer
2010-03-22 10:49:04 +00:00
Geoff Munn
f508442eb5 BUGFIX: column and table names now quoted properly 2010-03-14 21:09:04 +00:00
Sean Harvey
794e74bebe BUGFIX #4480 MultiForm::next() and MultiForm::prev() now save the form data before checking the next or previous step 2010-01-10 00:57:33 +00:00
Sean Harvey
cbc7d246ac MINOR Fixed notice if $this->Data is false/null as unserialize() first parameter 2009-10-22 20:57:54 +00:00
Ingo Schommer
501ad9d952 MINOR Updated master language tables 2009-09-10 04:08:37 +00:00
Sean Harvey
b415cd5053 MINOR Added test case for making up a fake MultiFormSessionID in the URL 2009-08-05 10:31:47 +00:00
Sean Harvey
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
2009-08-05 10:12:13 +00:00
Rainer Spittel
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).
2009-07-27 23:14:04 +00:00