Commit Graph

48 Commits

Author SHA1 Message Date
Shea Dawson
6a0323415b Completed the ajax commenting functionality 2013-02-20 19:40:53 +13: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
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
Gordon Anderson
3b321bcabc BUGFIX: Added missing onAfterPostComment hook 2012-11-27 19:56:21 +07:00
Sean Harvey
a47efa518d Fixing CommentsExtension to use the correct Config API for adding statics 2012-10-11 11:01:14 +13:00
Kirk Mayo
7689623503 BUG: Fixing moderation on the comments module 2012-08-09 23:13:02 +12: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
Ruud Arentsen
9e96d43e04 fixed pagination
for me, pagination worked when i added this code. somehow, the list
didn't get the getvar and always remained on the first page. The
$list->MoreThanOnePage() fixes an issue where the links didn't appear in
the template.
2012-07-26 09:40:57 +02:00
Ruud Arentsen
d606187ab7 fixed the issue that the form wouldn't submit
fixed the issue that the form wouldn't submit on require_login = true.
E-mail field needed to be hidden as well.
2012-07-26 09:12:05 +02:00
Will Rossiter
a3328641e7 FIX: use template for storing pending comment message. 2012-07-22 13:50:17 +12:00
Will Rossiter
8819fb8381 FIX: use pagination on comments 2012-07-22 13:44:30 +12:00
Will Rossiter
c50740846c FIX: exclude pending comments in RSS feed. 2012-07-22 13:43:42 +12:00
Will Rossiter
65c687a237 FIX: use moderated status, needs moderation flag has been removed. 2012-07-22 13:32:01 +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
715576797f FIX: include separate grid fields for unmoderated and moderated comments.
Extended GridField configuration to include pagination, searching and filtering of comments as well as deleting and editng.
2012-07-22 12:47:59 +12:00
Will Rossiter
235b309cae Remove custom classes replaced by built in methods. 2012-07-22 11:11:45 +12:00
Will Rossiter
416f1ea6bd API: removed Akismet integration. Out of date and broken. 2012-07-22 11:11:09 +12:00
Will Rossiter
e18cf3e2bb FIX: url not showing in comments template 2012-07-22 09:54:24 +12:00
Will Rossiter
8ab18fe1d0 Put comment configuration on the settings tab 2012-07-22 09:46:51 +12:00
Will Rossiter
6d1c5f2b30 MINOR: updated isAjax() calls to 3.0 compatible api 2012-06-02 09:34:35 +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
5b014b8496 SECURITY Using JSON instead of serialize() to stringify user data in PageCommentsInterface 2011-09-15 16:37:10 +02:00
Lamin Barrow
56109bb860 Fixed typo in
static $allowed_actions = array(
		'delete',
		'CommentsForm',
		'doPostCommentz'
	);

to

static $allowed_actions = array(
		'delete',
		'CommentsForm',
		'doPostComment'
	);
2011-02-05 14:48:48 -08:00
Ingo Schommer
50ab8997e8 MINOR Added Comment->NeedsModeration (left out from migration to trunk) 2010-12-17 13:04:33 +13:00
Ingo Schommer
cf336d7fb3 MINOR Disabled deprecation warning in CommentsExtension->PageComments(), its very commonly used in pretty much every theme out there, and needlessly annoying to throw a warning for 2010-12-17 10:21:58 +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
019e45b9ca ENHANCEMENT: added AllowComments checkbox back to CMS automatically 2010-12-13 12:33:05 +13:00
Will Rossiter
05aa315392 MINOR: removed debug 2010-12-11 18:37:47 +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
d06a9a12bc 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:08:38 +13:00
Will Rossiter
2514ce1a40 ENHANCEMENT: allow the passing of all to set a configuration value on all instances 2010-12-03 15:07:47 +13:00
Will Rossiter
e7d8471a43 APICHANGE: moved comments_show_per_page to Commenting default configuration. Instead of setting it via the function. BUGFIX: updated CommentForm to use Commenting configuration API 2010-12-03 15:03:49 +13:00
Will Rossiter
c6f619b0dc BUGFIX: removed requirement of settings 2010-12-03 14:16:35 +13:00
Will Rossiter
f0b544e50a FEATURE: added functions to add / remove commenting extension and configuration values 2010-12-03 14:01:38 +13:00
Will Rossiter
3b5afbce23 Initial cut at new commenting configuration API 2010-11-30 23:06:22 +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
15a0dbc087 ENHANCEMENT: readded ProvideComments logic for comments when attached to site trees 2010-11-30 16:30:10 +13:00
Will Rossiter
fe58656d74 MINOR: migrated the Akismet classes over to comments module. Akismet could really be its own add on though 2010-11-30 16:27:32 +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