Commit Graph

775 Commits

Author SHA1 Message Date
Will Rossiter
e8e41826da Add getEditableField() helper 2014-08-11 11:12:00 +12:00
Will Rossiter
23963e2a47 FIX: disable jquery.validation with date fields
Inconsistent with date locale formats.
2014-08-11 11:09:31 +12:00
Will Rossiter
c3386b48b2 Update jquery.validate 2014-08-07 12:26:06 +12:00
Will Rossiter
9f74bf016f Fix checkbox use matching on [] causes issues. 2014-08-07 12:26:06 +12:00
Will Rossiter
4215a19cee Fix missing comma's 2014-08-07 11:31:18 +12:00
Will Rossiter
44eaf5432a Merge pull request #229 from dnadesign/fixOptionCLass
Improved FieldEditor to dynamically get the class for EditableOptions
2014-08-06 15:28:43 +12:00
James Ayers
0f90ce9596 Improved FieldEditor to dynamically get the class for EditableOptions 2014-08-06 15:23:51 +12:00
Will Rossiter
42932ea47f Add flags to configure use of cookies.
Adds 2 new flags to the CMS:

- DisableCsrfSecurityToken
- DisableAuthenicatedFinishAction

DisableAuthenicatedFinishAction disables the session check on the finish completed action as this normally validates the user correctly posted a form. This page is normally just basic content so requiring a session cookie is sometimes a hassle.

DisableCsrfSecurityToken allows security token to not be added to the form. Normally acceptable as forms don't usually alter the state of the database.
2014-07-27 20:51:23 +12:00
Will Rossiter
5568ee7875 Fix CheckboxGroupField validation (Fixes #209) 2014-07-25 14:53:13 +12:00
Mateusz U
9b245ff3fc Merge pull request #224 from tractorcow/pulls/docs
Added user documentation (don't merge - pending review)
2014-07-25 09:05:50 +12:00
mikeyc7m
386eb363ad Use numericfield for EditableNumericField
Add support for minimum and maximum values
2014-07-24 21:39:07 +12:00
Damian Mooyman
da8c5af6e5 Added user documentation.
Split README.md and docs/en/index.md so that One is targeted towards users visiting the github repo, and the other for browsing a documentation repository.
2014-07-22 14:53:18 +12:00
Will Rossiter
32b9b42f3a Merge pull request #223 from Liongold/master
Extra Space at line 1018 of UserDefinedForm.php
2014-07-13 09:02:38 +12:00
Liongold
dbb68258c5 Extra Space at line 1018
When a user chose the Plain Text option, the first field would have a blank space preceding the field name.
2014-07-12 17:52:16 +02:00
Liongold
e6eefe9528 Merge pull request #1 from silverstripe/master
Syncing fork repo with base repository
2014-07-12 17:50:03 +02:00
Will Rossiter
c77830bd2f Pass submission to finished action. 2014-07-12 09:43:52 +12:00
Will Rossiter
83069113d1 Merge pull request #222 from alex-dna/patch-1
Update UserDefinedForm.php
2014-07-09 16:32:48 +12:00
alex-dna
248ff61ebe Update UserDefinedForm.php
Add updateAfterProcess hook
2014-07-09 16:32:10 +12:00
Will Rossiter
a9aefe38ea Add onPopulateFromPostData extension hook 2014-07-09 11:55:54 +12:00
Will Rossiter
73cfcc6791 Correct variable name (Fixes #206) 2014-07-06 17:50:21 +12:00
Will Rossiter
29d59693ac Fetch permissions from the parent field (Fixes #218) 2014-07-06 17:35:46 +12:00
Jean Spiteri
fead9d00c6 Implementing the Dynamic Subject feature 2014-07-06 17:33:50 +12:00
Will Rossiter
2767558ec8 Add SubmittedFormField::onPopulationFromField extension hook 2014-07-06 17:03:13 +12:00
Will Rossiter
817b80412d Merge pull request #202 from icecaster/patch-3
Fixed redirect url generation to work without trailing slashes
2014-07-06 16:52:21 +12:00
Will Rossiter
8c33896798 Merge pull request #191 from silverstripe-rebelalliance/inputVars
NEW: Add a check + error message if input vars is exceded
2014-07-06 16:07:33 +12:00
Will Rossiter
c4fe6beca5 Fix escaping of newline's in emails (Fixes #217) 2014-06-20 14:08:17 +12:00
Will Rossiter
bf2411ea54 Merge pull request #215 from tractorcow/pulls/bulk-support
API Support bulk editing tools if available
2014-06-18 11:22:48 +10:00
Damian Mooyman
b7429910d5 API Support bulk editing tools if available 2014-06-18 13:10:31 +12:00
TeamCity
b75fc3c51e Updated master strings 2014-05-22 23:05:12 +12:00
Hamish Friedlander
6eac1e2060 Merge pull request #203 from tractorcow/pulls/update-jquery-validate
Updated jquery validate plugin to version that works (ready to merge)
2014-05-22 10:55:16 +12:00
Damian Mooyman
5e0b7fdf7a Updated jquery validate plugin (dist files only)
Cleanup of validation script. Refactor into template to allow customisation of validation.
Explicitly set error element to 'span' as per new jquery-validate support
[ref: CWPBUG-110]
2014-05-22 10:34:11 +12:00
Damian Mooyman
7a77cfbbb4 Updated translation source 2014-05-20 14:36:54 +12:00
Damian Mooyman
1218d614d0 Restored src folder 2014-05-19 10:36:39 +12:00
Damian Mooyman
72bfe49424 Updated translations
Removed js src files
2014-05-19 09:15:18 +12:00
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