Commit Graph

17 Commits

Author SHA1 Message Date
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
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
Damian Mooyman
c40d120b0d API Enable comments to save spam status 2015-03-23 17:22:13 +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
catcher
839b9e0fc9 Update 'CommenterURL' field reference to 'URL' 2013-06-10 16:46:30 -06:00
Damian Mooyman
77871a54b7 BUG Fixed incorrect field specification
Email spam field (for Mollom, which I presume this extension is targetting) should be author_mail not author_email

https://github.com/silverstripe/silverstripe-mollom/blob/master/code/MollomField.php#L28
2013-04-10 14:52:08 +12:00
Will Rossiter
f4917921ec Make spamprotection for comments opt in by default 2012-12-16 11:23:40 +13:00
Will Rossiter
237d08d5dd FEATURE: added extension for new comments module 2010-12-13 00:50:08 +00:00