Commit Graph

841 Commits

Author SHA1 Message Date
Will Rossiter
bce1da2d71 Merge pull request #210 from Focus-Flow/require-localized-validator-messages-and-methods
Require localization files for validator
2014-05-15 10:16:24 +01:00
Jyrki Lilja
5689afb6b4 Require localization files for validator 2014-05-15 10:08:20 +03:00
Will Rossiter
b54e7fa4c6 Correct location for getValueFromData() 2014-04-25 09:53:45 -04:00
Will Rossiter
cbeb7a82e8 FIX: field validation 2014-04-22 16:46:57 -07:00
Tim
3f7c57dcbf Fixed redirect url generation to work without trailing slashes
fix url redirect generation, 
using action parameter on $this->Link() to pass 'complete' action
to stop relying on trailing slashes.
2014-04-15 12:10:32 +12:00
Will Rossiter
d8295c2a27 Merge pull request #201 from LiamW/patch-1
Update README.md
2014-03-31 09:17:38 -07:00
LiamW
364775a516 Update README.md
Update composer install instruction with proper repository name. (Tried installing with current instructions, failed, changed name, worked)
2014-03-31 10:17:15 -04:00
Will Rossiter
6937d65a07 Add composer install reference. 2014-03-17 22:34:10 +13:00
Will Rossiter
45e4b1c037 Merge pull request #192 from silverstripe-rebelalliance/tokens
NEW: Allow form submission when tokens are disabled
2014-02-27 18:21:31 +13:00
Kirk Mayo
d5e50a9802 NEW: Allow form submission when tokens are disabled 2014-02-27 12:36:12 +13:00
Kirk Mayo
53b306a434 NEW: Add a check + error message if input vars is exceded 2014-02-21 14:19:14 +13:00
TeamCity
97ff8b252c Updated master strings 2014-02-17 23:02:19 +13:00
Sam Minnee
b56f545063 Revert "Ensure the simple theme is added; needed for test"
This reverts commit 8fade9e897.
2014-02-14 17:47:37 +13:00
Sam Minnee
8fade9e897 Ensure the simple theme is added; needed for test 2014-02-14 17:05:38 +13:00
Will Rossiter
743e7773f7 Merge pull request #190 from silverstripe-rebelalliance/numeric
BUG: Fixes #189 default error message being shown
2014-02-12 22:03:58 +13:00
Kirk Mayo
0f647009fa BUG: Do not add a default message for numeric and email fields
BUG: Corrected classname to use right object
2014-02-12 12:45:49 +13:00
Kirk Mayo
85c1f52c45 BUG: Fixes #189 default error message being shown 2014-02-12 12:14:56 +13:00
Will Rossiter
12ccea0d48 Merge pull request #188 from silverstripe-rebelalliance/numeric
NEW: Added a numeric field
2014-02-11 11:20:47 +13:00
Kirk Mayo
be573dcd3c NEW: Set MinLength and MaxLength to numeric fields
BUG: replaced spaces with tabs to meet coding conventions
2014-02-11 10:31:56 +13:00
Kirk Mayo
938d2059fa NEW: Added a numeric field and associated png
NEW: Setup translations for number field

NEW: extend fromEditableTextfield use number class
2014-02-11 08:59:43 +13:00
TeamCity
075488a0fb Updated master strings 2014-02-10 23:07:09 +13:00
Will Rossiter
f90b997c29 Add updateEmailData hook 2014-02-03 12:10:44 +13:00
Will Rossiter
03adf3e258 Merge pull request #187 from mikeyc7m/patch-1
Exclude the multiple option from being created.
2014-01-31 20:21:46 -08:00
mikeyc7m
19afd18c26 Update FieldEditor.php
The EditableMultipleOptionField is being exposed in the form builder, when it is added to the form the page dies! It needs to be excluded.
2014-01-31 09:37:09 +11:00
Mateusz Uzdowski
a9b49e0165 Add new lang strings, convert to JS. 2014-01-24 14:37:01 +13:00
Mateusz Uzdowski
0623cebc40 Pull language strings from Transifex. 2014-01-23 11:47:36 +13:00
Mateusz Uzdowski
8d87e9ad39 Pull language strings from Transifex. 2014-01-23 09:30:30 +13:00
Mateusz Uzdowski
3b26d1058c Add new language strings. 2014-01-22 16:40:55 +13:00
Will Rossiter
44ab7a507b Merge pull request #180 from silverstripe-rebelalliance/issue69
BUG: Fixes #69 by adding a check to see if the form has been processed
2014-01-05 19:13:46 -08:00
Kirk Mayo
54b4dca799 BUG: Fixing unit tests for form processing and adding unit test to check if form has been completed 2014-01-06 15:15:01 +13:00
Kirk Mayo
41b6e57e4c Merge branch 'master' of git://github.com/silverstripe/silverstripe-userforms into issue69 2014-01-06 13:37:55 +13:00
Will Rossiter
07c159cd61 NEW Allow EditableFileField to define destination folder. (Fixes #20, #177) 2013-12-20 21:08:00 +13:00
Will Rossiter
922ddf889a Merge pull request #181 from silverstripe-rebelalliance/issue179
BUG: Fixes #179 broken unit tests caused by tests not having classes for...
2013-12-20 00:02:02 -08:00
Kirk Mayo
ea7163f02e BUG: Fixes #179 broken unit tests caused by tests not having classes for ExtendedEditableFormField 2013-12-20 14:23:13 +13:00
Kirk Mayo
4c88f1acf9 BUG: Fixes #69 by adding a check to see if the form has been processed 2013-12-19 15:56:53 +13:00
Will Rossiter
972ee075f6 Merge pull request #178 from nikrolls/extendable-formfield-configuration
Enable extensions to add CMS fields to FieldConfiguration and FieldValidation of EditableFormField
2013-12-04 22:34:18 -08:00
Nik Rolls
da6a624b6c - Added calls to Object#extend in EditableFormField's getFieldConfiguration and getFieldValidationOptions
- Added tests for extensions on EditableFormField
2013-12-05 19:08:08 +13:00
Jyrki Lilja
79682e7627 Fix #175. Bring back support checking for radio field values. 2013-12-03 20:10:17 +13:00
Will Rossiter
d3c558f579 Merge pull request #174 from Focus-Flow/bug/clear-button-test
Make sure tests pass after adding clear button.
2013-11-25 21:21:27 -08:00
Will Rossiter
d7e4d1be5b Merge pull request #173 from Focus-Flow/bug/clear-button-translations
Add translations for clear button.
2013-11-25 21:20:50 -08:00
Jyrki Lilja
107fee32a0 Make sure tests pass after adding clear button. 2013-11-25 13:55:42 +02:00
Jyrki Lilja
134ae2aadc Add translations for clear button. 2013-11-25 13:52:38 +02:00
Will Rossiter
57d5589c52 Include dev-* support for userforms 2013-11-20 11:32:27 +13:00
Will Rossiter
ab6e0970b7 Merge pull request #172 from halkyon/performance_improvements
BUG Performance improvements of SubmittedFormField queries.
2013-11-12 21:51:09 -08:00
Sean Harvey
425881257b BUG Performance improvements of SubmittedFormField queries.
When there are a lot of SubmittedForm records the UserDefinedForm
page takes a long time to load in the CMS, and oftens exceeds
the PHP memory limit well beyond 128M.

Previously UserDefinedForm::getCMSFields() would build a list of
name => value from all SubmittedFormField records, but it would
do this twice, once in getCMSFields() and another time in
UserFormsGridFieldFilterHeader. It would also use the full ORM
to build this list, when all it needs is a map of the Name
and Value columns.

This fixes that to build the columns once in getCMSFields() using
DB::query() and it'll pass those columns along to
UserFormsGridFieldFilterHeader as well so it doesn't do it twice.
2013-11-13 17:08:49 +13:00
Will Rossiter
93db1189eb Merge pull request #171 from Focus-Flow/feature/clear-button-text
Add support for defining clear button text.
2013-11-11 11:25:01 -08:00
Jyrki Lilja
27d4476dec Add support for defining clear button text.
A new translations to be added:

- UserDefinedForm.CLEARBUTTON
- UserDefinedForm.TEXTONCLEAR
2013-11-11 15:32:44 +02:00
Ingo Schommer
323f66ad74 Fixed globalisation for field list 2013-11-06 15:05:31 +01:00
Ingo Schommer
86e3f222ba Correct template namespace for translations, updated translations 2013-11-06 15:05:31 +01:00
Will Rossiter
831983e0a8 Merge pull request #170 from MikePenhall/master
Update FieldEditor.php with Postgres compatible SQL syntax
2013-11-03 19:40:28 -08:00