Commit Graph

20 Commits

Author SHA1 Message Date
Robbie Averill
7a92b0915d Remove deprecated@2.0. Update Migrate task to check table name. Minor tweaks to class names. Use Director::absoluteURL. 2017-01-17 17:39:06 +13:00
Robbie Averill
ab3f35257b SS4 compatibility updates - ORM, Form, Controller changes
* Remove CommentList and replace with a polymorphic has_one relationship
* Tweaks for unit tests. Add tests for encode/decodeClassName.
2017-01-17 16:25:09 +13:00
Damian Mooyman
4b31713128 Reformat as PSR-2 2016-02-19 13:48:25 +13:00
Gordon Anderson
551841fbda FIX: Take account of spam/moderation status when enabling replies to a comment 2016-02-13 21:47:50 +07:00
Gordon Anderson
eba88fe869 ENHANCEMENT: Increase test coverage from 54% to 92% 2016-01-17 16:15:07 +07:00
Damian Mooyman
752d509d1e BUG Fix assignment of default values
Fixes #130
2015-08-25 16:49:58 +12:00
Christopher Pitt
a004dfe780 Fixed comment permissions 2015-04-16 11:01:34 +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
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
Damian Mooyman
26d0212ef3 BUG Workaround for https://github.com/silverstripe/silverstripe-framework/pull/4053 2015-04-01 15:29:01 +13:00
Damian Mooyman
b5a53451b3 UX Improvements
Redirect to login form if lacking permissions
Better redirectBack if we can guess from the comment
2015-03-30 18:57:29 +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
Will Rossiter
5a8de05ea7 FIX: #73 If moderation enabled, ensure spam responses aren't included. 2013-11-28 21:29:11 +13:00
Ingo Schommer
ea3fc6ad2b 3.1 compat 2013-04-11 14:23:03 +02:00
Will Rossiter
172f74f980 Wildcard rules have been disallowed in 3.1 2013-03-05 22:04:15 +13: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
7bb952b826 BUGFIX: updated tests and uncommented 2010-12-11 17:59:46 +13:00
Will Rossiter
a1df7f52df Initial commit with transfer of existing comments functionality 2010-11-30 11:24:17 +13:00