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
ca12d54173
Merge remote-tracking branch 'origin/master'
2012-05-07 18:12:41 +12:00
Will Rossiter
6c1b843fac
BUGFIX: fix regression with literal fields not showing content
2012-05-07 18:10:57 +12:00
Stig Lindqvist
63469ced2f
MINOR Some code cleanup
2012-05-07 17:41:30 +12:00
Stig Lindqvist
d9ff70595f
MINOR Setting the url where the javascript should call by ajax to add a field to the user defined form
2012-05-07 17:41:30 +12:00
Stig Lindqvist
368211c7e5
MINOR addfield and addoptionfield methods are now in $allowed_actions
2012-05-07 17:41:30 +12:00
Stig Lindqvist
2d91f2f456
Minor Setting rows and cols on TextField the non deprecated way
2012-05-07 17:41:30 +12:00
Stig Lindqvist
4e2854bb08
MINOR Must follow parents signature
2012-05-07 17:41:29 +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
guywatson
94b491e125
Incorrect Logic
2012-04-20 10:12:03 +10: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
Will Rossiter
7cd37cf0a3
Merge pull request #7 from marcokernler/url-params
...
FEATURE: Allow pre filled form fields via url params
2012-04-13 18:01:01 -07:00
Tim Klein
c72d7f09fb
using CountryDropDownField instead of DropdownField to make use of the extra functionality provided through CountryDropdownField, such as defautling to visitor country
2012-03-23 09:41:19 +13:00
marcokernler
ab7e53fb6f
MINOR - Added escaping for values passed by url params
2011-12-20 22:17:23 +01:00
marcokernler
e24e9b4245
MINOR - Now follows the coding conventions
2011-12-20 22:15:49 +01:00
marcokernler
c575c8d981
MINOR - Allow pre filled form fields via url params
2011-12-19 16:47:22 +01:00
Will Rossiter
350a6fa65d
Merge pull request #6 from mattclegg/master
...
BUGFIX: fixed non javascript validation. MINOR: Tidied-up formatting.
2011-12-05 15:33:59 -08:00
Will Rossiter
2ea28495f7
BUGFIX: fix titles and labels being escaped multiple times resulting in html entities displaying in submission pages, export and emails. Fixes http://open.silverstripe.org/ticket/6787
2011-12-05 23:19:20 +13:00
Will Rossiter
a81a164bcf
FEATURE: allow EditableLiteralFields to be hidden from report extracts. Fixes http://open.silverstripe.org/ticket/6704
2011-12-05 21:38:10 +13:00
Will Rossiter
7148d3e91f
MINOR: use title case for EditableTextField. Fixes http://open.silverstripe.org/ticket/5799
2011-12-05 21:18:56 +13:00
swaiba
cbcd6c9eff
ensure correct mime type of attached file - this was failing because Mimesweeper not liking the "Content-Type" and they see the following warning:
...
Bad Data
Recognize SMTP messages
The Content-Type header is invalid - Word document; name="SOMEDOCUEMNT.doc"
2011-11-25 16:48:42 +00:00
Will Rossiter
9020ce82d0
MINOR: files uploaded from forms should be hidden from the search engine
2011-09-16 11:47:09 +12:00
mattclegg
8f8eab018c
MINOR Tidied-up formatting
2011-04-08 18:39:05 +01:00
mattclegg
a7a3dcb945
BUGFIX Added validation (for non javascript submits)
2011-04-08 18:36:01 +01:00
Will Rossiter
fed25ad45b
BUGFIX: added exists() check on getFormFields (via Bruce Walter) to prevent fieldless forms. BUGFIX: if built form is empty still strip the $UserDefinedForm token out of the content.
2011-03-21 09:14:45 +13:00
Julian Seidenberg
d080c15a49
BUGFIX: fixed double escaping for titles on output while maintaning escaping of special characters.
2011-03-03 16:08:09 +13:00
Will Rossiter
045a01bf2b
BUGFIX: fixed double escaping for titles on output. Thanks dhensby.
2011-02-08 21:30:35 +13:00
Will Rossiter
6350a66dfb
BUGFIX: fixed undefined index when submitting a blank form. Fixes #6272
2011-01-18 16:15:57 +13:00
Will Rossiter
ed61c03971
BUGFIX: fixed notice with missing $messages var when no fields are required. PATCH via ajshort
2011-01-04 01:37:47 +00:00
Will Rossiter
fb3fb184e1
BUGFIX: fixed incorrect formatting for jQuery.validate rules. ENHANCEMENT: added getErrorMessage() to ensure consistent error messages. BUGFIX: readded missing custom messages
2010-12-19 01:19:19 +00:00
Will Rossiter
9bb51b6cea
ENHANCEMENT: return false if no fields have been added to a UserDefinedForm rather than a blank form
2010-12-19 00:40:53 +00:00
Will Rossiter
1feab6d401
ENHANCEMENT: added EditableCountryDropdownField to allow country selection
2010-12-01 21:59:56 +00:00
Ingo Schommer
591ad48eb9
MINOR Checking for class_exists() before SapphireTest::is_running_tests() to avoid including the whole testing framework, and triggering PHPUnit to run a performance-intensive directory traversal for coverage file blacklists
2010-11-30 04:33:58 +00:00
Carlos Barberis
9b17399cd4
ENHANCEMENT: using sys locale instead user selection
2010-11-15 23:23:11 +00:00
Carlos Barberis
e4f7c419b3
ENHANCEMENT: Added dropdown to choose date format on EditableDateField
2010-11-12 03:28:42 +00:00
Mateusz Uzdowski
eec28bc82e
BUGFIX: typo
2010-11-02 20:14:28 +00:00
Mateusz Uzdowski
68be4d51d9
MINOR: remove space between entries - this breaks the import in Open Office and Numbers
2010-10-27 01:50:43 +00:00
Mateusz Uzdowski
078043f189
BUGFIX: encode the csv file by hand, fputcsv is not parsing newlines properly
2010-10-21 23:41:47 +00:00
Mateusz Uzdowski
e7ba58970f
BUGFIX: provide default file format, as Windows is unable to detect the mime type, and exit after the file is served so the headers will not get overwritten.
2010-10-13 21:04:22 +00:00
Mateusz Uzdowski
cec87a859e
BUGFIX: ORDER BY in nested query does not work under MSSQL, remove
2010-10-08 00:56:52 +00:00
Mateusz Uzdowski
a2e998ab79
BUGFIX: IN clause was not being picked up, failing in MSSQL and not giving proper results on MySQL (OS ticket 6072)
2010-10-08 00:29:18 +00:00
Mateusz Uzdowski
8d3cb472dc
BUGFIX: remove reliance on str_getcsv (it's PHP 5.3 only).
...
ENHANCEMENT: sort the columns according to the most recent form setup (thanks jonomenz for the query)
ENHANCEMENT: test quotes and commas
2010-10-07 23:06:49 +00:00