Commit Graph

38 Commits

Author SHA1 Message Date
Damian Mooyman
468df23801 Nested comments proof of concept
Update theme to new look and feel
Add jquery-validate 1.3.1 (w/ nz dst patch)
2015-04-21 11:12:42 +12:00
Christopher Pitt
086dd03b5c Change moderation labels 2015-04-16 14:50:56 +12:00
Damian Mooyman
3deea94a8c API Restore ability to do frontend-moderation
This feature is disabled by default, but can be turned on either for spam, unmoderated comments, or both.
2015-04-14 14:04:29 +12:00
Christopher Pitt
162ad33e26 Adding new moderation lists 2015-04-14 12:57:30 +12:00
Damian Mooyman
69c928650a BUG Fix comments form appearing on login page 2015-04-13 16:34:20 +12:00
Damian Mooyman
6ebbd9e1ac API Allow commenting options to be set per-page in CMS 2015-04-13 15:35:25 +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
Aram Balakjian
00cb672bf5 Changed instantiation of controller to ::create 2015-03-23 17:58:53 +00:00
Will Rossiter
5cfa476264 Remove relation to comments (Fixes #76) 2013-12-19 19:56:46 +13:00
Will Rossiter
5a8de05ea7 FIX: #73 If moderation enabled, ensure spam responses aren't included. 2013-11-28 21:29:11 +13:00
Will Rossiter
877537c284 FIX: resolve Controller not failing over to an extension method (Fixes #76)
Currently an issue exists that when a controller calls a method which exists on an extension (i.e Comments()) it incorrectly classed as a relation instead of a method resulting in a SQL error.

This patch works around that issue by directly invoking the method.
2013-11-28 21:28:09 +13:00
catcher
a5e00eccd7 -added config option 'require_moderation_nonmembers' - when set, only comments posted by non-members will require moderation
-comment bodies now populate with previous value after validation errors (i.e. spam protection)
2013-06-04 14:12:16 -06:00
Ingo Schommer
ea3fc6ad2b 3.1 compat 2013-04-11 14:23:03 +02:00
Ingo Schommer
25561d17a8 API Removed ajax comment submission
The JS logic didn't account for edge cases like scrolling
to the inserted comment, or attaching the comment in the right sorting logic,
on the right pagination page. It also doesn't show any "loading" indication,
so is bad usability for the majority of users. A standard form submission
does the same job better in this case. Note that this doesn't affect
the ability to moderate/delete comments via ajax.

Replaced 'use_ajax_commenting' with 'include_js',
since its important for behaviour other than comment submission itself,
e.g. showing previews (doesn't work without JS)
2013-03-19 11:21:29 +01: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
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
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
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
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
Will Rossiter
8819fb8381 FIX: use pagination on comments 2012-07-22 13:44:30 +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
8ab18fe1d0 Put comment configuration on the settings tab 2012-07-22 09:46:51 +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
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
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
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
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
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
c81f3cacfa APICHANGE: Renamed PageCommentInterface to CommentsInterface. Implemented new CommentForm function to display templates 2010-11-30 13:37:01 +13:00