Commit Graph

201 Commits

Author SHA1 Message Date
Robbie Averill
cef1e24f86 FIX Add versioned to dev requirements 2017-08-28 13:19:39 +12:00
Robbie Averill
37dde110c9 Update usage examples in readme, minor fixes in travis configuration and gitattributes 2017-08-28 13:19:05 +12:00
Robbie Averill
c5f0827c2e Add namespaces, separate test classes, add PSR-4 autoloader, update PSR-2 compliance 2017-08-28 13:19:03 +12:00
Robbie Averill
a60f592598 Update Travis configuration to be standalone, add codecov.io, update license year 2017-08-28 13:11:49 +12:00
Simon Erkelens
b757c3dc6d SilverStripe 4 and Namespacing 2017-08-28 13:11:48 +12:00
Robbie Averill
5f8d2af0d1 Merge branch '2' 2017-08-28 11:20:58 +12:00
Robbie Averill
27da2d6ab4 Add composer alias for 2.1.x-dev 2017-08-28 11:18:51 +12:00
James Ellis
ef3e6d45b6 Configurable fieldname (#56)
* Allow for a configurable field name

* Add a test for configurable field name

* Remove extra conditional by storing the field name in a private static

* No need for field_name config removal as it's now specified as a class property
2017-08-24 11:16:19 +01:00
Daniel Hensby
d2467ac73a Merge pull request #55 from creative-commoners/pulls/2.0/userforms-compat
FIX Compatibility with userforms 3/4 getCMSFields, remove deprecated getSettings etc use
2017-07-19 15:39:55 +01:00
Robbie Averill
3e7f021de7 FIX Compatibility with userforms 3/4 getCMSFields, remove deprecated getSettings use etc 2017-07-07 16:13:10 +12:00
Robbie Averill
5cc9312a8d Move stub classes to their own files, run PSR-2 linter 2017-07-07 14:23:01 +12:00
Robbie Averill
3d771d8179 Move userforms requirement to travis setup call 2017-07-07 14:08:25 +12:00
Robbie Averill
4cd01b2c82 Add PHP7 + SS3.6 build to Travis configuration 2017-07-07 14:08:12 +12:00
Daniel Hensby
a25b052510 Merge pull request #53 from creative-commoners/pulls/travis-php7
Add PHP7 + SS3.6 build to Travis configuration
2017-06-15 16:49:46 +01:00
Robbie Averill
2af878f6fa Move userforms requirement to travis setup call 2017-06-15 13:24:36 +12:00
Robbie Averill
5aa1ca9afb Add PHP7 + SS3.6 build to Travis configuration 2017-06-15 11:36:19 +12:00
Brett Tasker
56ec1f42c6 Update translations 2017-02-09 11:28:52 +13:00
Daniel Hensby
e9880ca3e5
Fixing travis setup 2017-01-31 17:45:39 +00:00
Daniel Hensby
3b4f757d6e
Merge branch '1.1' into 2.0 2017-01-31 12:11:24 +00:00
Daniel Hensby
b1a8445a75
Merge branch '1.1' into 2.0 2017-01-31 12:09:41 +00:00
Daniel Hensby
cc58c0b741
Merge branch '1.0' into 1.1 2017-01-31 12:08:34 +00:00
Daniel Hensby
1b3f3b9c62
Merge branch '0.4' into 1.0 2017-01-31 12:06:32 +00:00
Daniel Hensby
8e61aeb62b
Merge remote-tracking branch 'origin/0.3' into 0.4 2017-01-31 12:04:05 +00:00
Damian Mooyman
df6e182dd2 Update translations 2016-11-17 12:39:49 +13:00
Damian Mooyman
344cf73ccf Remove obsolete branch-alias 2016-11-17 10:17:57 +13:00
Damian Mooyman
38d168bd01 Update translations 2016-08-17 11:08:00 +12:00
Will Rossiter
9db26d69f0 Merge pull request #48 from silverstripe/add-helpful-robot-badge
Added Helpful Robot badge
2016-05-22 08:44:21 +12:00
Christopher Pitt
3ca9a32bb2 Added Helpful Robot badge 2016-05-21 17:16:50 +12:00
Damian Mooyman
b4b4ca14e8 Update changelog for 2.0.4 release 2016-05-19 11:56:38 +12:00
Damian Mooyman
858baaf526 Update translations 2016-05-18 16:58:44 +12:00
Damian Mooyman
73bdcd9f7f Merge pull request #46 from sekjal/setForm
Set Form for formField when validating
2016-03-07 14:01:50 +13:00
Ian Walls
14e768ca32 Set Form for formField when validating
When using EditableSpamProtectionField with UserForms 3.0, forms
with a spam protector field (defined from FormSpamProtectorExtension),
form submissions return an error:

PHP Fatal error:  Call to a member function FormName() on a non-object

This because the exemplar formField generated by getFormField() does
not have any connection to the particular form being submitted.  This
is fixed with a simple setForm() call in the validateField() function
2016-03-02 11:55:53 -05:00
Damian Mooyman
ad6e97dacb Add changelog for 2.0.3 release 2016-02-04 16:51:53 +13:00
Damian Mooyman
078b0f51f9 Merge pull request #44 from chillu/pulls/validate-field-fix
Validate field fix
2016-01-22 12:53:30 +13:00
Ingo Schommer
84bbe9d153 Tests for EditableSpamProtectionField validation
Requires setFormField() method to avoid excessive mocking
2016-01-08 16:35:46 +13:00
Tim Kung
529960d485 updating validateField method on EditableSpamProtectionField to use correct error message 2016-01-08 16:35:14 +13:00
Damian Mooyman
8d1cc403b9 Merge pull request #43 from helpfulrobot/update-license-year
Updated license year
2016-01-05 09:50:09 +13:00
helpfulrobot
405023a5fa Updated license year 2016-01-01 06:38:59 +13:00
Daniel Hensby
947d0f09e0 Merge pull request #30 from helpfulrobot/add-standard-scrutinizer-config
Added standard Scrutinizer config
2015-11-25 15:35:23 +00:00
Daniel Hensby
965389ded9 Merge pull request #31 from helpfulrobot/convert-to-psr-2
Converted to PSR-2
2015-11-25 15:31:30 +00:00
Daniel Hensby
3495ecf726 Merge pull request #38 from helpfulrobot/add-standard-code-of-conduct
Added standard code of conduct
2015-11-23 17:49:10 +00:00
helpfulrobot
cfb204d152 Added standard code of conduct 2015-11-21 20:11:25 +13:00
helpfulrobot
4a606eee82 Added standard Scrutinizer config 2015-11-21 19:27:50 +13:00
helpfulrobot
7ee2dcea0f Converted to PSR-2 2015-11-21 19:15:15 +13:00
Daniel Hensby
8e4f03a409 Merge pull request #33 from helpfulrobot/add-standard-travis-config
Added standard Travis config
2015-11-20 16:05:05 +00:00
Daniel Hensby
220a1e7bf6 Merge pull request #34 from helpfulrobot/add-standard-editor-config
Added standard editor config
2015-11-20 15:12:25 +00:00
Daniel Hensby
9054db2d5b Merge pull request #35 from helpfulrobot/add-standard-license
Added standard license
2015-11-19 12:03:41 +00:00
Daniel Hensby
b13161e1cd Merge pull request #36 from helpfulrobot/add-license-to-composer
Added license to composer.json
2015-11-19 12:00:18 +00:00
Daniel Hensby
2b1d357b6e Merge pull request #37 from helpfulrobot/add-standard-git-attributes
Added standard git attributes
2015-11-19 10:43:30 +00:00
helpfulrobot
df60023e1f Added standard git attributes 2015-11-19 19:09:37 +13:00