Commit Graph

20 Commits

Author SHA1 Message Date
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
99cf501393 NEW Only add comments to SiteTree objects if needed 2015-03-23 16:59:05 +00: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
jaredkipe
bc9bbea0eb Added defaults for more Gravatar Config. 2013-03-26 09:15:56 -07:00
Will Rossiter
29ae717aa6 FIX: Object::add_extension() is deprecated in 3.1 2013-03-20 22:53:57 +13: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
Gordon Anderson
255d961b09 ENHANCEMENT: Added gravatar size to the configuration options 2013-03-06 16:09:32 +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
f38b9daebd Use newlines in comments. 2013-03-05 21:37:00 +13: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
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
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
05aa315392 MINOR: removed debug 2010-12-11 18:37:47 +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
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