Commit Graph

126 Commits

Author SHA1 Message Date
Will Rossiter
0aa9572f2c FIX redirect user to form on validation error. (Fixes #62) 2012-10-14 11:45:47 +13:00
Roman
019f782d2e Added "canView" permission to EmailRecipient. Fixes an issue with non-admin rights in SS3 2012-09-24 19:02:33 +02:00
Will Rossiter
7cc7bb4ce6 Add description to page type 2012-09-11 21:32:48 +12:00
Will Rossiter
ee8ca5caf1 NEW: allow setting of custom reply to address rather than from address. (Fixes #28) 2012-09-11 21:32:47 +12:00
Will Rossiter
e0a476ea15 FIX: make email recipients dropdowns unselectable in 3.0 API 2012-09-11 21:32:47 +12:00
Mateusz Uzdowski
eb1b9b62cd BUG Fix the date field conditional to work with dropdown.
In this case they keyup will not be triggered at all.
2012-09-11 18:56:29 +12:00
Mateusz Uzdowski
1fa4c2d81d BUG Fix the edge cases for radio button conditionals.
The specific situation this is fixing is that when server-side
validation fails and results in form having non-default values. In this
case the visibility might not be correct and will need to be updated.

Also, we cannot rely on onclick events on radio group to find out the
current value when we are loading - instead we need to actually find
out the currently selected radio button.

Fixes the IsBlank and IsNotBlank conditions as well.
2012-09-11 18:56:29 +12:00
Mateusz Uzdowski
bcd9083d1c BUGFIX: prevent form from expiring on users - ping regularly.
The form throws a CSRF error if left for too long by itself. This is
especially important for long forms.

Use local ping function, as the CMS ping returns 403 when BasicAuth is
enabled.
2012-09-11 10:12:15 +12:00
Naomi Guyer
104a584ebf BUG: Too many tabs
Combined a few tabs so that the interface is a little less cluttered
when adding this module. When this is
fixed:http://open.silverstripe.org/ticket/7268 it is recommended that
user forms add it's own parent tab to the ui to group user forms tabs
together.
2012-08-13 11:29:42 +12:00
Kirk Mayo
e4875edd05 BUG: Coding convention changes mainly replacing spaces with tabs 2012-07-17 16:09:31 +12:00
Kirk Mayo
eba5edd60b BUG: open ticket 7314 fixing some bugs that have been found 2012-07-17 15:58:24 +12:00
Mateusz Uzdowski
2b26d544f9 BUGFIX: Director::redirect is deprecated, use Controller. 2012-06-05 15:08:09 +12:00
Stig Lindqvist
20e3f3c8cd BUGFIX: The EditableFileField crashed when user uploads a not allowed filetype 2012-05-14 10:20:19 +12:00
Will Rossiter
3256663cad BUGFIX: fixes for 3.0 unit tests. Ensure form is not shown if no fields in the list, Prevent nested with getSubmissions(). 2012-05-07 22:00:18 +12:00
Will Rossiter
2e66d41c56 Merge branch '3.0-compatibility' of github.com:stojg/silverstripe-userforms into pull-33
Conflicts:
	code/model/UserDefinedForm.php
2012-05-07 19:34:38 +12:00
Will Rossiter
6c1b843fac BUGFIX: fix regression with literal fields not showing content 2012-05-07 18:10:57 +12:00
Stig Lindqvist
958d49556d MINOR Overriding methods must have the same signature declaration as the parent class due to E_STRICT. 2012-05-07 17:41:29 +12:00
Stig Lindqvist
816edabd3f MINOR Added public keyword for methods (style guidelines) 2012-05-07 17:41:29 +12:00
edchipman@gmail.com
c036af79ab MINOR: Added a few extension points to allow tapping into various areas 2012-05-07 17:41:29 +12:00
edchipman@gmail.com
ef3953fc68 Replaced instances of new DataObjectSet() with new ArrayList()
Removed Validator::set_javascript_validation_handler() call
2012-05-07 17:41:29 +12:00
edchipman@gmail.com
5de26cd897 Replaced all instances of new FieldSet() with new FieldList()
Replaced the complex table field used for editing the email recipients with GridField

Replaced instances of SAPPHIRE_DIR with FRAMEWORK_DIR

Replaced instances of sapphire/ in css and templates with framework/

Re-organized tabs on user defined form so they are top level

Replaced calls to toDropdownMap() with map()

Renamed getCMSFields_forPopup() top getCMSFields()
2012-05-07 17:41:29 +12:00
Will Rossiter
aa67b9da2f FEATURE: allow users to enter extra classes on form fields via the cms. PATCH via TotalNet. Fixes: #5791 2012-04-14 23:03:43 +12:00
Will Rossiter
965d8d00b0 BUGFIX: fix error location for radio fields. Fixes #5635 and #6846. 2012-04-14 22:43:02 +12:00
Will Rossiter
bb1c4d8043 Merge branch 'master' of github.com:silverstripe/silverstripe-userforms 2012-04-14 22:01:23 +12:00
Will Rossiter
0978a1ebf8 BUGFIX: avoid validating fields which have the potential to be hidden. Fixes #5406 and #3 2012-04-14 22:00:13 +12:00
Will Rossiter
2c9e68a928 MINOR: clean up of project. MINOR: removed versioned task. Out of date for usage. 2012-04-14 21:59:56 +12:00