Commit Graph

218 Commits

Author SHA1 Message Date
Will Rossiter
186c6aba47 Merge pull request #11 from tractorcow/pulls/refactor-mapping
API Refactor field mapping into SpamProtector / UserForms extension
2014-02-19 22:09:55 +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
124d3761ee Add travis 2014-02-10 20:55:38 +13:00
Will Rossiter
03ebf8e19a Add basic tests 2014-02-10 20:54:13 +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
Will Rossiter
28b57beb37 Ignore .DS_Store 2014-02-10 20:48:53 +13:00
Ingo Schommer
a9545bc842 More accurate class_exists() check
The class "Comment" was actually defined by
phing/filters/StripLineComments.php. Since I have installed
phing globally through composer, its automatically in the include_path.
That's a separate problem, but this is a viable workaround.
2013-12-29 12:01:53 +01:00
Ingo Schommer
645b435cea Create LICENSE 2013-09-02 11:44:06 +02:00
Ingo Schommer
b6dc56793d Fixed composer constraint to allow for RC releases 2013-08-14 11:54:04 +02:00
Will Rossiter
b4500aec4e Merge pull request #8 from catcherdev/master
Compatibility w/ comment module
2013-06-10 22:39:49 -07:00
catcher
839b9e0fc9 Update 'CommenterURL' field reference to 'URL' 2013-06-10 16:46:30 -06:00
Ingo Schommer
0acf116c52 Fixed composer constraints 2013-05-07 15:18:54 +03:00
Will Rossiter
7a7344d04c Merge pull request #6 from tractorcow/patch-1
BUG Fixed incorrect field specification
2013-04-09 20:23:03 -07: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
74b7990058 Branch 1.0 for 3.0.* compatibility 2013-04-05 21:19:05 +13:00
Will Rossiter
c75d20b2ef Merge 2013-04-05 21:15:43 +13:00
Will Rossiter
bd5e778d4f Merged 2013-04-05 21:13:26 +13:00
Will Rossiter
4ad952fe99 Merged 2013-04-05 21:13:05 +13:00
Will Rossiter
a97e278fd0 FIX: 3.1 extension API updates 2013-04-05 21:11:43 +13:00
Ingo Schommer
1c841b25e1 Create composer.json 2013-04-04 15:31:00 +03:00
Will Rossiter
f4917921ec Make spamprotection for comments opt in by default 2012-12-16 11:23:40 +13:00
vikas srivastava
823efc3483 NEW Added composer.json Added composer.json file which will help this module for submission on proposed extension.silverstripe.org website. Please add more fields according to requirement.
For more information please visit at http://extension.openbees.org/instructions/
2012-09-23 09:14:52 +12:00
Will Rossiter
03377fba84 Update Readme.md 2012-09-07 21:25:15 +12:00
Will Rossiter
c4d2cd0b7a Merge pull request #4 from UndefinedOffset/master
Fix creation of deprecated FieldSet in EditableSpamProtectionField
2012-07-06 16:37:15 -07: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
Ingo Schommer
fcfc80c63a Merge pull request #3 from robert-h-curry/master
Upgrade to module to make it 3.0 compatible.
2012-07-06 05:08:55 -07: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
5598dd3517 MINOR: merge changes from trunk at 107280 2010-06-30 19:07:48 +00:00
Saophalkun Ponlu
aa8ef8aca9 MINOR: update documentation 2010-06-29 05:49:00 +00:00
Will Rossiter
35beeaf4a5 MINOR: Updated documentation and converted readme to markdown 2010-06-10 02:31:06 +00:00
Will Rossiter
59c70f297c created branch for new version 2010-05-06 03:12:55 +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
de8e50ad5c MINOR: added documentation note about changes in trunk 2009-08-11 02:48:30 +00:00
Will Rossiter
b686cd19de MINOR: added lang folder 2009-07-16 04:01:43 +00:00
Will Rossiter
c8e57dd427 MINOR: updated docs in spam protection 2009-07-10 03:32:27 +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