Commit Graph

39 Commits

Author SHA1 Message Date
Maxime Rainville
85374a1f76 Upgrade dependencies and build settings 2019-11-11 12:18:54 +13:00
Garion Herman
67167c0809 NEW Add tabindex="-1" to comment submission message for a11y support 2019-06-28 15:56:09 +12:00
Robbie Averill
e101b74778 FIX Capitalise comment moderation action labels and update i18n syntax in templates 2018-11-27 13:27:19 +01:00
Dylan Wagstaff
02db1cc86e [SS-2018-015] Update jQuery version, remove entwine from frontend use
jQuery version was extremely old, and was probably stuck at that as a way
of enabling the frivilous use of entwine on the front end for somewhat
trivial ajax submisions. A mild refactor has taken place to leverage newer
jQuery features, and remove outdated dependencies.

Also accompanying this commit are alterations to the markup to make it
more semantically correct (probably not entirely though), and help with
testing the JS functionality of reply forms (when enabled).
2018-05-29 11:40:18 +12:00
Daniel Hensby
b90ec7715e
Merge pull request #228 from benwrighton/master 2018-02-02 10:45:48 +00:00
Unknown
ae59e82021 Improve A11y of comment reply.
Currently this is a link. Users will expect this link to take them to another part of the page or another page altogether. 

There is no indication that it opens or closes an associated form on the same page, nor does it indicate the current state of the “reply to” form.

So, instead of a link, use a button. Add to that button an aria-controls attribute that references the id of the associated form’s container, and an aria-expanded attribute that indicates (true or false) the state of the associated form.
2018-02-01 16:27:30 +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
Stéphane Guevremont
b5557a2a51 Translation of < Reply to > to other language 2016-10-20 13:31:31 -04:00
Gordon Anderson
3610414ed0 FIX: Redirect to a URL that does not indicate an error, style moderation method 2016-03-24 08:55:23 +07:00
Gordon Anderson
152137d475 FIX: Layout with Gravatar fixed 2016-02-15 17:05:17 +07:00
Gordon Anderson
7152fbc235 FIX: When viewing a comment permalink full comment and posting data shows 2016-02-09 20:47:04 +07:00
Christopher Pitt
1432fe1cab Updated translations 2015-05-20 09:29:41 +12:00
Daniel Caine
e8e5abdc23 Cleanup of comments theme 2015-04-23 11:49:47 +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
162ad33e26 Adding new moderation lists 2015-04-14 12:57:30 +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
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
Ingo Schommer
8e6be3f361 Transifex translation support 2013-07-08 12:08:02 +02:00
Gordon Anderson
67f04d6c2f ENHANCEMENT: Show gravatar if it is enabled in the commenting configuration 2013-03-06 15:55:06 +07:00
Ingo Schommer
ee06e0ea5b Fixed login link redirection in comments 2013-03-05 15:19:30 +01:00
Will Rossiter
3a4a1dd4b4 FIX Ensure comments are escaped in RSS feeds.
FIX Also fix up preview to only output the comment content rather than the whole template.

FIX Hide preview after posting comment.

API Move AllowHtml to field to prevent issues with altering Html configuration after comments have been posted.

FIX If moderation is turned on for commenting, still render comments in preview mode.
2013-03-05 22:01:42 +13:00
Ingo Schommer
e450807b1c NEW Optionally allow (sanitized) HTML in comments 2013-03-04 12:10:56 +01:00
Shea Dawson
3bdd155221 MINOR no comments message always comes from template, making it easier to customise and translate 2013-02-20 19:40:53 +13:00
Kirk Mayo
7689623503 BUG: Fixing moderation on the comments module 2012-08-09 23:13:02 +12:00
Will Rossiter
a3328641e7 FIX: use template for storing pending comment message. 2012-07-22 13:50:17 +12:00
Will Rossiter
8819fb8381 FIX: use pagination on comments 2012-07-22 13:44:30 +12:00
Will Rossiter
8806abd645 Remove unused templates 2012-07-22 13:31:27 +12:00
Will Rossiter
8e0f83a0a9 FIX: avoid ID usage in pagination as multiple comment form instances can exist 2012-07-22 13:31:13 +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
e18cf3e2bb FIX: url not showing in comments template 2012-07-22 09:54:24 +12:00
Jeremy
15a00a2b5f Prevent spamdexing on SilverStripe websites. 2011-08-25 06:23:52 +12:00
Will Rossiter
0732a5cf9c MINOR: changed order of nav items. Fixes (#5973) 2010-12-11 19:09:47 +13:00
Will Rossiter
c6f5b22188 MINOR: moved templates from cms to comments 2010-12-11 19:08:06 +13:00
Will Rossiter
f539a97d07 ENHANCEMENT: started to incorporate the jQuery version of comments 2010-12-07 14:09:52 +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
b9970c1f94 BUGFIX: Fixed template naming and variables for front end template. 2010-11-30 22:49:21 +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
Will Rossiter
a1df7f52df Initial commit with transfer of existing comments functionality 2010-11-30 11:24:17 +13:00