Commit Graph

177 Commits

Author SHA1 Message Date
Jeremy Shipman
8940c2e1bb FIX: make sure session message clears after rendering the template. See Form->forTemplate() 2014-09-03 16:33:14 +12:00
Sean Harvey
4d743f3423 Fixed 3.0 to master in travis config 2014-08-13 10:13:57 +12:00
Sean Harvey
b69a4b0fbe Fixing static visibility 2014-08-13 10:11:02 +12:00
Sean Harvey
bb9e912fe1 Merge remote-tracking branch 'origin/1.0' 2014-08-12 16:50:53 +12:00
Will Rossiter
b75301909b As per next(), save step data before the validate method is called. 2014-07-11 21:14:27 +12:00
Sean Harvey
c00a498375 Merge pull request #21 from halkyon/casting_visibility
Fixing $casting visibility to be private to match ViewableData parent.
2014-07-03 10:22:05 +12:00
Will Rossiter
8485666273 FIX multiple session records being created per page request 2014-07-02 21:03:48 +12:00
Will Rossiter
26bf585550 Merge pull request #20 from halkyon/doc_updates
Documentation updates for multiform.
2014-06-17 15:28:20 +10:00
Sean Harvey
b68fc5d587 Fixing $casting visibility to be private to match ViewableData parent. 2014-06-17 15:59:50 +12:00
Sean Harvey
9cb22a62d1 Documentation updates for multiform.
BCSMultiForm isn't a very good example for a form name, also fixing some
issues where the $start_step is set to a non-existent class.
2014-06-17 15:54:36 +12:00
Will Rossiter
bd2e9ce857 Correct documentation 2014-02-04 14:53:52 +13:00
Sean Harvey
8eb47a5d54 Removing unnecessary details, this header has changed in the docs. 2014-02-04 10:20:39 +13:00
Sean Harvey
2da8f28bbb Updating broken links and other misc bits of documentation 2014-02-04 10:17:02 +13:00
Will Rossiter
ad85234158 Merge pull request #17 from sheadawson/master
Use Object::create to create step instances
2013-12-09 22:35:54 -08:00
sheadawson
dd155c81e3 MINOR use Object::create to create step instances 2013-12-10 17:05:17 +11:00
Will Rossiter
f3e91f06ed Merge pull request #16 from sheadawson/master
FIX getCompletedPercent was calling non-existing properties
2013-12-02 22:59:53 -08:00
sheadawson
3d072f5e0d BUGFIX getCompletedPercent was calling non-existing properties 2013-12-03 17:15:24 +11:00
Will Rossiter
72bad02027 Merge pull request #15 from trev/patch-1
MultiFormPurgeTask fixes
2013-10-15 00:03:13 -07:00
Trevor
6a4dc5dc80 Get MultiFormPurgeTask to actually work.
* `run()` is part of BuildTask not DailyTask
* `$session->delete()` doesn't return anything so the conditional will never be true
* Updated comments.
2013-10-15 14:12:45 +11:00
Ingo Schommer
cdeba8aa20 Fixed composer constraint to allow for RC releases 2013-08-14 11:53:49 +02:00
Ingo Schommer
2bd5d93441 3.x compatible template usage 2013-06-20 17:10:47 +02:00
Will Rossiter
22b7031de5 Update README.md for conventions and 3.1 API 2013-05-28 22:04:20 +12:00
Will Rossiter
d9683b69ef Revert to public 2013-05-25 19:41:59 +12:00
Will Rossiter
f309a8539a Test master with travis 2013-05-25 19:34:47 +12:00
Will Rossiter
be7ff921f6 Test 3.0 only 2013-05-25 19:32:57 +12:00
Will Rossiter
30676f58de Don't test 3.0 2013-05-25 19:32:02 +12:00
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