Commit Graph

11 Commits

Author SHA1 Message Date
Robbie Averill
5f8d2af0d1 Merge branch '2' 2017-08-28 11:20:58 +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
Robbie Averill
5cc9312a8d Move stub classes to their own files, run PSR-2 linter 2017-07-07 14:23:01 +12:00
helpfulrobot
7ee2dcea0f Converted to PSR-2 2015-11-21 19:15:15 +13:00
Will Rossiter
949ec2b359 If no protector is set then skip the form field 2014-11-12 11:24:21 +13:00
Will Rossiter
420a51bbb5 FIX: Ensure protector is a valid class to create 2014-09-26 08:21:06 +12:00
Damian Mooyman
9abe13fcb6 API Refactor field mapping from FormSpamProtectionExtension into SpamProtector API EditableSpamProtectionField may now be configured for spam on an individual field basis Translations added 2014-09-26 08:20:40 +12:00
Damian Mooyman
007a52eb0c API Re-introduced ability to insert spam field before another existing field 2014-03-07 17:03:08 +13:00
Damian Mooyman
c050dcc05a API Refactor field mapping from FormSpamProtectionExtension into SpamProtector
API EditableSpamProtectionField may now be configured for spam on an individual field basis
Translations added
2014-02-19 08:40:07 +13:00
Will Rossiter
b3af63e387 ID can be used to validate object 2014-02-15 23:00:42 +13:00
Will Rossiter
440e30b611 API: Use config / extension APIs
Overhaul of spam protection to use an extension on Form rather than the SpamProtectorManager. More fluent interface and easier to replace the built in spam protection api with an alternative.
2014-02-10 20:53:59 +13:00