Commit Graph

729 Commits

Author SHA1 Message Date
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
Mike Penhall
a6400dcfd0 Update FieldEditor.php 2013-11-04 16:08:32 +13:00
Will Rossiter
151def76dc Merge pull request #169 from MikePenhall/master
Escaped addField() query to work with Postgres
2013-11-01 00:07:24 -07:00
Mike Penhall
06ad657f6c Escaped addField() query to work with Postgres
I was getting a warning in the CMS with a Postgres database due to the fields on lines 191 - 193 not being double quoted.
2013-11-01 16:08:15 +13:00
Ingo Schommer
aa0f8dbc7b Transifex support, js globalisation 2013-10-30 14:31:51 +01:00
Will Rossiter
f66c3c340a Merge pull request #168 from danieldia/patch-1
FIX: Ensure that the data-add-url single quotes are not processed by join_links
2013-10-17 00:25:12 -07:00
Will Rossiter
34994f3e2e Merge pull request #167 from silverstripe-rebelalliance/fix_166
BUG: Fixes #166 for SQL server which does not like empty strings as nume...
2013-10-17 00:19:44 -07:00
danieldia
bbe1c5fb6a FIX: Ensured that the data-add-url single quotes are not processed by join_links
Due to the fact that the last bracket meant that join_links was actually sent URL + ' (eg; http://myurl.com' ), this caused problems when the quote was getting escaped - and actually prevented users from adding form fields in the CMS, with a 500. This fix ensures the closing quote is not processed by join_links.
2013-10-17 16:05:04 +13:00
Kirk Mayo
99de36afef BUG: Fixes #166 for SQL server which does not like empty strings as numerics 2013-10-17 15:01:41 +13:00
Mellisa Hankins
d3e4b8a5e8 Use classname for styling rather than ID 2013-09-07 15:07:22 +12:00
Kirk Mayo
340bd89d7f BUG Fixes #135 When extending form to include photos email summary fieds appear in GridField 2013-09-07 15:02:51 +12:00
Will Rossiter
099e91807b Merge pull request #160 from hafriedlander/fix/filefield
FIX submitted fieldfields in submission details in CMS
2013-09-04 17:14:06 -07:00
Hamish Friedlander
0c39fad116 FIX submitted fieldfields in submission details in CMS
If you had a EditableFileField in your userform, the submission table in
the CMS would just say "Array" rather than link to the file, making it fairly
useless
2013-09-05 09:46:38 +12:00