Commit Graph

562 Commits

Author SHA1 Message Date
Gordon Anderson
67f04d6c2f ENHANCEMENT: Show gravatar if it is enabled in the commenting configuration 2013-03-06 15:55:06 +07:00
Gordon Anderson
d4cc737878 ENHANCEMENT: Added gravatar method to get the URL for the gravatar from the email address submitted with the comment 2013-03-06 15:50:49 +07:00
Gordon Anderson
652ddb938f ENHANCEMENT: Add use gravatar flag, but default to false to maintain current non gravatar functionality 2013-03-06 15:49:59 +07:00
Will Rossiter
cf8368daf0 Merge pull request #50 from PutmanMedia/pulls/redirect
Fixed login link redirection in comments
2013-03-05 12:07:53 -08:00
Ingo Schommer
ee06e0ea5b Fixed login link redirection in comments 2013-03-05 15:19:30 +01:00
Will Rossiter
172f74f980 Wildcard rules have been disallowed in 3.1 2013-03-05 22:04:15 +13:00
Will Rossiter
3a4a1dd4b4 FIX Ensure comments are escaped in RSS feeds.
FIX Also fix up preview to only output the comment content rather than the whole template.

FIX Hide preview after posting comment.

API Move AllowHtml to field to prevent issues with altering Html configuration after comments have been posted.

FIX If moderation is turned on for commenting, still render comments in preview mode.
2013-03-05 22:01:42 +13:00
Will Rossiter
f38b9daebd Use newlines in comments. 2013-03-05 21:37:00 +13:00
Will Rossiter
567c2236db FIX Nicer fallback if Parent is not set correctly. 2013-03-05 20:39:13 +13:00
Will Rossiter
cc0ec9b224 Merge pull request #49 from PutmanMedia/pulls/html-and-preview 2013-03-04 23:38:44 -08:00
Ingo Schommer
0cf5f66783 NEW Comment previews 2013-03-04 12:10:59 +01:00
Ingo Schommer
e450807b1c NEW Optionally allow (sanitized) HTML in comments 2013-03-04 12:10:56 +01:00
Will Rossiter
83a6de252f Only attach comments to pages if cms exists 2013-02-23 09:49:39 +13:00
Will Rossiter
857b78314b Merge pull request #44 from phptek/ChangeRawIDs
Change raw IDs
2013-02-21 23:14:00 -08:00
Will Rossiter
b288b94e4b Merge pull request #48 from sheadawson/interface_js_update
validation ignore class should be .hidden
2013-02-21 23:08:39 -08:00
Shea Dawson
6859980696 validation ignore class should be .hidden, ADDED comment class and odd even class to li created by js 2013-02-22 18:02:42 +11:00
Shea Dawson
8b66d9fda6 MINOR scroll back up to top of comments list after pagination ajax has loaded a new page 2013-02-20 19:40:53 +13:00
Shea Dawson
ca638e367a ENHANCEMENT clientside validation messages sourced from customisable serverside code. Several small bugfixes also 2013-02-20 19:40:53 +13:00
Shea Dawson
b1bc0c713b BUGFIX pagination ajax loading was doubling up on elements 2013-02-20 19:40:53 +13:00
Shea Dawson
4c5d7cd32b AJAX pagination and some light house keeping 2013-02-20 19:40:53 +13:00
Shea Dawson
3bdd155221 MINOR no comments message always comes from template, making it easier to customise and translate 2013-02-20 19:40:53 +13:00
Shea Dawson
967c6ed78d Check to see if use_ajax_commenting is set before including the ajax javascript 2013-02-20 19:40:53 +13:00
Shea Dawson
6a0323415b Completed the ajax commenting functionality 2013-02-20 19:40:53 +13:00
Will Rossiter
386c53838f Merge pull request #46 from marcinkonys/master
Lithuanian translation
2013-01-22 19:21:50 -08:00
marcinkonys
33a1570849 Lithuanian translation 2013-01-22 10:26:22 -08:00
Will Rossiter
0401c57973 Merge pull request #45 from tractorcow/3.1-fix-hide-spam
BUG Hide spam comments
2013-01-16 18:00:07 -08:00
Damian Mooyman
fc03b89d0f BUG Unless moderation has been explicitly done on a comment, spam comments should not be shown to those who cannot authorise comments 2013-01-17 14:45:47 +13:00
Russell Michell
c38ca52ab7 MINOR: Removed ability to select parent and replaced with hidden-field 2013-01-16 09:51:34 +13:00
Russell Michell
c89a8d02ce BUGFIX: Modded getParentClassName() for when $this->BaseClass is not set 2012-12-19 15:07:18 +13:00
Russell Michell
ce3af93a50 BUGFIX: Fixed calls to Comment::get() to be compatible with PostGres
MINOR: Modified docs with basic composer info, typos, grammar etc
ENHANCEMENT: Hid the existing 'BaseClass' textfield making a hidden field. There should be no need to manually change this.
2012-12-19 08:47:34 +13:00
Simon Welsh
dda00c5452 Update to use filter() instead of where() 2012-12-16 17:31:53 +13:00
Will Rossiter
bfa06bee18 Pass parent controller through to template for helper functions 2012-12-16 17:31:53 +13:00
Will Rossiter
e87963baae Merge pull request #41 from Zauberfisch/patch-1
MINOR: fixed typos and minor mistakes in DE language
2012-12-08 18:29:57 -08:00
Zauberfisch
57db086703 MINOR: oh, another typo
in my defense, its late
2012-12-09 01:40:46 +00:00
Zauberfisch
38234dd513 MINOR: fixed typos and minor mistakes
thanks to @wernerkrauss for reviewing and pointing out the mistakes.
2012-12-09 01:35:11 +00:00
Will Rossiter
8d2e050a5d Merge pull request #40 from Zauberfisch/master
Added German translation
2012-12-08 15:55:12 -08:00
Zauberfisch
d47eeaef6f ENHANCEMENT: added German translation 2012-12-08 23:45:57 +00:00
Will Rossiter
727be897b2 Merge pull request #39 from hamaka/master
Added Dutch language file.
2012-12-07 14:02:02 -08:00
William Parr
b70bf152ce Added Dutch language file. 2012-12-07 14:00:48 +01:00
Will Rossiter
a0c487ae80 Merge pull request #38 from gordonbanderson/ISSUE37
FIX: Add onAfterPostComment hook
2012-11-28 16:29:38 -08:00
Gordon Anderson
3b321bcabc BUGFIX: Added missing onAfterPostComment hook 2012-11-27 19:56:21 +07:00
Sean Harvey
50ff534ef3 Fixing tests 2012-10-11 11:16:27 +13:00
Sean Harvey
a47efa518d Fixing CommentsExtension to use the correct Config API for adding statics 2012-10-11 11:01:14 +13:00
Will Rossiter
4a691cc5b6 Merge pull request #36 from vikas-srivastava/composer
Bug : Removed errors from Composer.json
2012-09-30 23:02:45 -07:00
vikas srivastava
d4ecddd4d8 Bug : Removed errors from Composer.json
Contains some minor bugs :

1 - JSON doesn't allow multi line string so making "description" field in single line.
2012-09-29 14:42:40 +05:30
Will Rossiter
6cfe5f4d15 Merge pull request #35 from vikas-srivastava/composer
NEW Added composer.json
2012-09-24 00:17:00 -07:00
vikas srivastava
2409e50c2b 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 requirements.

For more information please visit at http://extension.openbees.org/instructions/
2012-09-23 11:34:29 +05:30
Kirk Mayo
7689623503 BUG: Fixing moderation on the comments module 2012-08-09 23:13:02 +12:00
Will Rossiter
86d417bff0 Merge pull request #33 from phalkunz/master
FIX: Fix an issue where migration process ignores setting the Moderated flag
2012-08-01 21:00:14 -07:00
Saophalkun Ponlu
6eccca879c FIX: Fix an issue where migration process ignores setting the Moderated flag 2012-08-01 14:09:05 +12:00