Commit Graph

14 Commits

Author SHA1 Message Date
Simon Erkelens b757c3dc6d SilverStripe 4 and Namespacing 2017-08-28 13:11:48 +12: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 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
Robert Curry 76051243e3 Upgrade to be 3.0 compatible. 2012-07-06 14:43:38 +12:00
Saophalkun Ponlu 1c902a19e7 BUGFIX: return false when there's no spam protector class has been specified 2010-02-02 03:04:52 +00:00
Ingo Schommer 5ac128830b BUGFIX Don't try to instanciate new SpamProtector instances if none is set in SpamProtectorManager::update_form() 2009-11-26 20:16:37 +00:00
Will Rossiter 78038e14ca APICHANGE: Removed getFieldName() and replaced it with getFormField(). APICHANGE: removed individual calls to update_form() on Spam Protectors to make the code simplier. APICHANGE: removed callback objects on the SpamProtectorFields as they were no longer used. APICHANGE: removed fieldMapping from individual formfields to the abstract class. MINOR: fixed misc documentation with package names 2009-09-17 04:06:53 +00:00
Mark Stephens 3c1c9f943a BUGFIX instantiate protector class for check to work 2009-08-18 03:37:34 +00:00
Sean Harvey 59ef9b376d BUGFIX If spam protector class doesn't exist, a warning is thrown - however, it still tries to create the object in live mode -
don't allow this
2009-08-16 22:42:26 +00:00
Sean Harvey 3c9b62645f BUGFIX If $protector is not an object, create it 2009-08-16 22:36:09 +00:00
Will Rossiter c2315c1618 MINOR: updated set_spam_protector to throw a warning if an incorrect spam protector is detected. MINOR: added exception output to warning to make debugging easier 2009-08-11 02:51:03 +00:00
Will Rossiter 8f9c0ba944 BUGFIX: fixed spelling of spam protector module 2009-06-04 23:44:08 +00:00
Andrew O'Neil 928bb4bc6e API: Fix inconsistent and incorrect spelling 2009-06-04 22:57:33 +00:00