Commit Graph

32 Commits

Author SHA1 Message Date
Will Rossiter
0c964d1ed8 Composer lint 2017-09-14 09:41:11 +12:00
Robbie Averill
fc4d78605a FIX Use a CommentableItem as the parent for the test Comment 2017-01-27 16:42:26 +13:00
Robbie Averill
d1697606e1 FIX Change BaseClass to ParentClass 2017-01-27 16:20:14 +13:00
Robbie Averill
d1b947afbe FIX Use test database in GridFieldAction test class 2017-01-27 15:56:19 +13:00
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
Janne Klouman
b34a41e828 Added $usesDatabase = true to CommentAdminTest 2016-07-05 10:26:08 +02:00
Damian Mooyman
4b31713128 Reformat as PSR-2 2016-02-19 13:48:25 +13:00
Gordon Anderson
fd153265e9 ENHANCEMENT: Ajax spam/ham/approve/delete ressurected. Added confirm box for delete 2016-02-15 16:38:17 +07: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
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
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
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
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
Sean Harvey
50ff534ef3 Fixing tests 2012-10-11 11:16:27 +13: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
fd0699fbcc Remove superseded tests. 2012-07-22 13:52:50 +12:00
Will Rossiter
6d1c5f2b30 MINOR: updated isAjax() calls to 3.0 compatible api 2012-06-02 09:34:35 +12: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
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