Commit Graph

515 Commits

Author SHA1 Message Date
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
Will Rossiter
9b134f1a78 FIX: Check security ID on admin non form links (Fixes #158) 2013-09-04 23:35:01 +12:00
Will Rossiter
b2b030366b Merge pull request #157 from mi3ll/filtered-email-recipients
NEW: Additional arguments for filtered email recipients
2013-09-04 02:23:08 -07:00
Mellisa Hankins
86992971f8 FEATURE: Add data and form arguments to Filtered Email Recipients
Most use cases for Filtered Email Recipients will probably require
using the data submitted via the user form.
2013-09-04 16:32:24 +10:00
mi3ll
a75937368e Merge pull request #1 from silverstripe/master
UPDATE
2013-09-03 23:21:06 -07:00
Will Rossiter
692220451a Merge pull request #156 from hafriedlander/fix/countrydropdownfield
FIX EditableCountryDowndownField being broken by removal of Geoip in 3.0
2013-08-28 23:23:22 -07:00
Hamish Friedlander
d887f0e196 FIX EditableCountryDowndownField being broken by removal of Geoip in 3.0 2013-08-29 14:03:09 +12:00
TeamCity
bd3164282a Updated master strings 2013-08-23 03:05:44 +12:00
Will Rossiter
e03271eed4 Merge pull request #148 from mateusz/update-requirement
Change dependency versions to work for 3.1.0-rc1.
2013-08-12 00:50:10 -07:00
Mateusz Uzdowski
945bb9f2dc Change dependency versions to work for 3.1.0-rc1. 2013-08-12 16:44:23 +12:00
Will Rossiter
af69b0db35 Merge pull request #144 from silverstripe-rebelalliance/task
Added details to README regarding EditableFormField column clean ta...
2013-08-08 23:34:10 -07:00
Kirk Mayo
83defae60c NEW: Added details to README regarding EditableFormField column clean task 2013-08-09 09:27:14 +12:00
Will Rossiter
525dcdba7e Merge pull request #141 from JarkkoLinnanvirta/master
Updated Finnish translation
2013-07-24 00:38:27 -07:00
JarkkoLinnanvirta
b9ff9333fd Updated Finnish translation
The Finnish translation was earlier mostly in English.
2013-07-23 18:14:14 +03:00
Will Rossiter
2b0ca14133 Fix license 2013-07-18 21:32:13 +12:00