Commit Graph

39 Commits

Author SHA1 Message Date
Damian Mooyman
85653fea1e BUG Only show correct gridfield options for comments 2015-04-16 15:37:42 +12:00
Christopher Pitt
a004dfe780 Fixed comment permissions 2015-04-16 11:01:34 +12:00
Christopher Pitt
162ad33e26 Adding new moderation lists 2015-04-14 12:57:30 +12:00
Damian Mooyman
1900ab14b5 API Move configuration of comments to the config API and enable per-instance configuration
Enable comment moderation per-page
2015-04-09 10:34:33 +12:00
Damian Mooyman
26d0212ef3 BUG Workaround for https://github.com/silverstripe/silverstripe-framework/pull/4053 2015-04-01 15:29:01 +13:00
Damian Mooyman
9087261654 Better XSS Protection via hashed token
Allows moderation links to be generated for users other than the currently logged in user, as it doesn't rely on the current session.
2015-03-30 14:56:28 +13:00
Damian Mooyman
7f1005ed06 Provide better temporary location for HTMLPurifier cache files 2015-01-12 14:00:20 +13:00
Will Rossiter
b448232423 Merge pull request #65 from catcherdev/master
Prevent errors when comments' parent pages have been removed
2013-07-26 15:11:40 -07:00
CheeseSucker
dd8f2796fd Fix: Not all fields in the CMS was translatable 2013-06-20 15:40:25 +02:00
catcher
2df8c2b1c3 Prevent errors when comments' parent pages have been removed 2013-06-11 14:13:50 -06:00
Ingo Schommer
ea3fc6ad2b 3.1 compat 2013-04-11 14:23:03 +02:00
jaredkipe
1787bfc430 Implemented Gravatar config. 2013-03-26 09:17:34 -07:00
Gordon Anderson
b961b16910 ENHANCEMENT: Enabled change of gravatar icon size via configuration 2013-03-06 16:09:11 +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
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
567c2236db FIX Nicer fallback if Parent is not set correctly. 2013-03-05 20:39:13 +13:00
Ingo Schommer
e450807b1c NEW Optionally allow (sanitized) HTML in comments 2013-03-04 12:10:56 +01: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
Saophalkun Ponlu
6eccca879c FIX: Fix an issue where migration process ignores setting the Moderated flag 2012-08-01 14:09:05 +12:00
Will Rossiter
6d3597095f FIX: Implement paginated list for RSS feed. Fixes #31.
Includes functional tests for the RSSFeed but currently commented out until that feature lands in the main framework.
2012-07-31 20:45:29 +12:00
Will Rossiter
a3328641e7 FIX: use template for storing pending comment message. 2012-07-22 13:50:17 +12:00
Will Rossiter
95667fdf41 FIX: restore spam, rss, delete, approve and ham controller actions on the front end. 2012-07-22 13:30:33 +12:00
Will Rossiter
e18cf3e2bb FIX: url not showing in comments template 2012-07-22 09:54:24 +12:00
Shea
0adf17d363 fixed some api compatibility issues, added a basic comment gridfield to comment admin 2012-06-01 16:34:31 +10:00
Simon Welsh
1eefab0cfa BUGFIX Force the migrated comment to be inserted into the database. 2012-03-17 12:33:29 +13:00
Ingo Schommer
50ab8997e8 MINOR Added Comment->NeedsModeration (left out from migration to trunk) 2010-12-17 13:04:33 +13:00
Will Rossiter
2f0a022059 BUGFIX: fixed typo in method name 2010-12-14 14:56:07 +13:00
Will Rossiter
635042875d BUGFIX: fixed typo with nextRecord() 2010-12-14 13:26:29 +13:00
Will Rossiter
5dec31c84f ENHANCEMENT: dont allow comments to be displayed on fake pages such as security. BUGFIX: updated commentadmin tests to just work 2010-12-11 18:33:21 +13:00
Will Rossiter
d9580ed600 FEATURE: added delete comment functionality. MINOR: added documentation 2010-12-11 18:01:19 +13:00
Will Rossiter
30f291fc88 FEATURE: added migration script for existing page comments 2010-12-11 17:26:14 +13:00
Will Rossiter
008e2c0143 BUGFIX: use the commenting configuration for getting correct comment permalinks. BUGFIX: perserve the correct ordering of comments in the front end 2010-12-07 13:34:17 +13:00
Will Rossiter
92aa2afc0c ENHANCEMENT: allow comment area ids to be set in the configuration class allowing multiple forms on a single page. APICHANGE: migrated Comment::moderation() to the per type setting in the Commenting class 2010-12-06 23:09:04 +13:00
Will Rossiter
b9970c1f94 BUGFIX: Fixed template naming and variables for front end template. 2010-11-30 22:49:21 +13:00
Will Rossiter
c81f3cacfa APICHANGE: Renamed PageCommentInterface to CommentsInterface. Implemented new CommentForm function to display templates 2010-11-30 13:37:01 +13:00
Will Rossiter
a1df7f52df Initial commit with transfer of existing comments functionality 2010-11-30 11:24:17 +13:00