Commit Graph

48 Commits

Author SHA1 Message Date
Christopher Joe
da87f71a15 Fix for compatibility with userforms 3.0 2015-09-21 14:14:49 +12:00
Garion Herman
9e62b91217 BUGFIX: Stop attempting to filter an UnsavedRelationList 2015-04-30 12:25:54 +12:00
Damian Mooyman
c40d120b0d API Enable comments to save spam status 2015-03-23 17:22:13 +13:00
Will Rossiter
adbb4be14d BUG notice level error with statics 2015-01-31 15:34:54 +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
05650e912d FIX: typo in field name 2014-09-26 08:53:55 +12: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
Ed
704e8555cc BUGFIX: Fixed replaced deprecated FieldSet() with FieldList()
Updated graphic to look better in 3.0
2012-07-06 19:59:57 -03:00
Robert Curry
76051243e3 Upgrade to be 3.0 compatible. 2012-07-06 14:43:38 +12:00
Will Rossiter
c70f270d86 MINOR: hide required configuration, field validation is handled by the form field directly, not the form as things like widgets will always fail the built in validation. Fixes #6752 2012-04-14 23:23:38 +12:00
Will Rossiter
237d08d5dd FEATURE: added extension for new comments module 2010-12-13 00:50:08 +00:00
Carlos Barberis
feddb2cc49 BUGFIX: Added condition to verify userforms module class exists 2010-07-21 01:56:12 +00:00
Saophalkun Ponlu
261a155b97 MINOR: documentation 2010-04-12 02:32:44 +00: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
Will Rossiter
819732d910 MINOR: added package 2009-09-14 03:14:58 +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
a6906762e0 MINOR: hide the spam protection field from the reports as it is not required 2009-07-05 06:47:43 +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
Sean Harvey
8c17e66552 MINOR If SpamProtecter::update_form() has a problem updating the form with the spam protector, throw a warning, not a publically visible error 2009-05-25 23:26:23 +00:00
Will Rossiter
023ef453e4 MINOR: removed field mapping for now to get field to show 2009-04-27 01:51:00 +00:00
Will Rossiter
6cbb094363 MINOR: removed dulicate template, adjusted form field to show icon location 2009-04-20 03:06:29 +00:00
Will Rossiter
05208f0aba FEATURE: added ability to create a spam protector field in user defined forms 2009-03-25 02:14:26 +00:00
Will Rossiter
ca8c02b531 APICHANGE: added SpamProtector interface for spam protectors;
MINOR: Fixed instructions
2009-03-11 04:42:21 +00:00
Saophalkun Ponlu
c8d75971a2 MINOR: changed mollom field created fail message 2009-03-10 04:21:04 +00:00
Saophalkun Ponlu
becbdcd9c6 MINOR: Updated documentation 2009-03-10 03:04:05 +00:00
Saophalkun Ponlu
98e0c85937 by pass the exception (error) where there's an error on spamprotecter field 2009-02-24 00:35:59 +00:00
Saophalkun Ponlu
cbe2fa3171 ENHANCEMENT:update_form returns null if the spam protection field create fails 2009-02-17 09:03:59 +00:00
Saophalkun Ponlu
d77104a7dc MINORE: updated documentation 2009-02-17 03:43:44 +00:00
Will Rossiter
c36ed78758 MINOR: removed spammable interface 2009-02-16 01:44:41 +00:00
Will Rossiter
64fc90eda6 FEATURE: added basic mark as spam filter 2009-02-16 00:28:53 +00:00
Sam Minnee
a731563cbc Changed SpamProtectorManager::update_form to not require fieldname and fieldtitle 2009-02-11 03:47:14 +00:00
Saophalkun Ponlu
c0954b5ba8 MINOR: correct typo in class name 2009-02-11 00:27:18 +00:00
Saophalkun Ponlu
c495f07cc2 removed backup file 2009-02-03 22:42:46 +00:00
Saophalkun Ponlu
1a84fac482 importing spam protection module 2009-02-03 21:29:55 +00:00