Commit Graph

120 Commits

Author SHA1 Message Date
Damian Mooyman
4b31713128 Reformat as PSR-2 2016-02-19 13:48:25 +13:00
Damian Mooyman
c2fee6bd33 Merge pull request #167 from gordonbanderson/issue_162
ENHANCEMENT: Ressurect AJAX spam/ham/approve
2016-02-16 09:43:26 +13:00
Damian Mooyman
b1bf62d49c Merge pull request #166 from gordonbanderson/nonjsspamredirection
FIX: Non JS spam/ham/approve now redirect back to relevant comment
2016-02-16 09:23:02 +13:00
Gordon Anderson
8ef9183457 FIX: Non JS spam/ham/approve now redirect back to relevant comment 2016-02-15 16:46:05 +07: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
450ed93f36 FIX: Change creation of CreatedField to unchained as setName() method of DatetimeField is not chainable 2016-01-17 16:15:07 +07:00
Gordon Anderson
8dc36df7a4 FIX: The AutoFormat.AutoParagraph injector of HTMLPurifier fails if the p tag is not allowed. Make a check for this 2016-01-17 16:15:07 +07:00
Christopher Pitt
671766364b Prevented duplicate IDs on action buttons 2015-11-17 13:12:21 +13:00
Damian Mooyman
e26e4d916b BUG Fix each gridfield having triple gridstate components 2015-11-17 12:47:07 +13:00
Will Rossiter
ac92dbb515 Handle when extension has been removed from object
When in the admin panel, if parent has been removing from commenting then it won't have the commenting extension attached.
2015-11-16 15:35:51 +13:00
Damian Mooyman
752d509d1e BUG Fix assignment of default values
Fixes #130
2015-08-25 16:49:58 +12:00
Christopher Pitt
bc8f2c1ad7 Merge pull request #125 from tractorcow/pulls/2.0/fix-spam-redirection
BUG Fix redirection on moderated & spam comments
2015-05-29 09:25:30 +12:00
Christopher Pitt
a31fc98b38 Use hash_* shim 2015-05-06 10:55:10 +12:00
Damian Mooyman
2aa8d974b0 BUG Fix redirection on moderated & spam comments 2015-04-30 14:34:57 +12:00
Damian Mooyman
d0cd57104d BUG FIx "your comment is awaiting moderation" and "your comment is rejected as spam" messages appearing together. 2015-04-24 14:28:40 +12:00
Damian Mooyman
f772d32d55 API Add readonly parent details in comment form in CMS 2015-04-22 17:00:36 +12:00
Damian Mooyman
138bbbfd84 BUG Fix comments tab appearing on pages without comments enabled 2015-04-22 14:25:48 +12:00
Damian Mooyman
ad93c5c3ab Fix merge conflict 2015-04-21 19:34:04 +12:00
Damian Mooyman
298ac89ad6 Merge pull request #118 from scott1702/parent-comment
Remove Parent Comment row
2015-04-21 18:45:56 +12:00
scott1702
a5bed7f27f Remove parent comment field 2015-04-21 16:31:02 +12:00
Christopher Pitt
614da962ce Merge pull request #115 from tractorcow/pulls/2.0/nested-comments
API Nested comments feature (final)
2015-04-21 14:45:54 +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
adabc623f6 Updated for new GridField API 2015-04-21 09:28:11 +12:00
Christopher Pitt
5c71b2f141 Add spam row highlight 2015-04-20 10:03:45 +12:00
Damian Mooyman
85653fea1e BUG Only show correct gridfield options for comments 2015-04-16 15:37:42 +12:00
Christopher Pitt
086dd03b5c Change moderation labels 2015-04-16 14:50:56 +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
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
Christopher Pitt
93414c5231 Merge pull request #103 from tractorcow/pulls/better-redirect
Better redirection on posting of comment
2015-04-02 12:02:29 +13:00
Daniel Hensby
882c65fdd5 Merge pull request #97 from arambalakjian/pulls/controller-instantiation
API Adding config option for enabling comments to be added to SiteTree
2015-04-01 13:04:54 +01:00
Damian Mooyman
0b49de3648 ENHANCEMENT If a user posts a spamcomment and it's saved, ensure the form is correctly redirected to 2015-04-01 17:12:47 +13: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
Aram Balakjian
00cb672bf5 Changed instantiation of controller to ::create 2015-03-23 17:58:53 +00:00
Aram Balakjian
99cf501393 NEW Only add comments to SiteTree objects if needed 2015-03-23 16:59:05 +00:00
Damian Mooyman
7f1005ed06 Provide better temporary location for HTMLPurifier cache files 2015-01-12 14:00:20 +13:00
Stevie Mayhew
bba7a84bd1 UPDATE: explicitly provide permissions for comment administration 2014-11-12 10:38:50 +13:00
Will Rossiter
6de470125b Link to comment parent page. (Fixes: #13) 2013-12-21 17:05:37 +13:00
Will Rossiter
5f6336646a NEW: Add BulkEditing tool for managing comments. (Fixes #9) 2013-12-21 12:19:11 +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
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
Will Rossiter
b448232423 Merge pull request #65 from catcherdev/master
Prevent errors when comments' parent pages have been removed
2013-07-26 15:11:40 -07:00
CheeseSucker
dd8f2796fd Fix: Not all fields in the CMS was translatable 2013-06-20 15:40:25 +02:00