Commit Graph

119 Commits

Author SHA1 Message Date
Will Rossiter
58cc9ab732 Use branch/1.1 for 3.0 compatibility 2013-03-25 19:14:25 +13:00
Ingo Schommer
0c27bc0f66 Merge pull request #51 from PutmanMedia/pulls/remove-ajax-commenting
API Removed ajax comment submission
2013-03-19 03:26:18 -07: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
Will Rossiter
ee3da5b38e Merge pull request #52 from gordonbanderson/ISSUE8
Addition of Gravatars
2013-03-06 01:27:20 -08:00
Gordon Anderson
255d961b09 ENHANCEMENT: Added gravatar size to the configuration options 2013-03-06 16:09:32 +07:00
Gordon Anderson
b961b16910 ENHANCEMENT: Enabled change of gravatar icon size via configuration 2013-03-06 16:09:11 +07:00
Gordon Anderson
26d304a6e9 ENHANCEMENT: Added gravatar configuration 2013-03-06 16:08:39 +07:00
Gordon Anderson
67f04d6c2f ENHANCEMENT: Show gravatar if it is enabled in the commenting configuration 2013-03-06 15:55:06 +07:00
Gordon Anderson
d4cc737878 ENHANCEMENT: Added gravatar method to get the URL for the gravatar from the email address submitted with the comment 2013-03-06 15:50:49 +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
cf8368daf0 Merge pull request #50 from PutmanMedia/pulls/redirect
Fixed login link redirection in comments
2013-03-05 12:07:53 -08:00
Ingo Schommer
ee06e0ea5b Fixed login link redirection in comments 2013-03-05 15:19:30 +01:00
Will Rossiter
172f74f980 Wildcard rules have been disallowed in 3.1 2013-03-05 22:04:15 +13: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
Will Rossiter
f38b9daebd Use newlines in comments. 2013-03-05 21:37:00 +13:00
Will Rossiter
567c2236db FIX Nicer fallback if Parent is not set correctly. 2013-03-05 20:39:13 +13:00
Will Rossiter
cc0ec9b224 Merge pull request #49 from PutmanMedia/pulls/html-and-preview 2013-03-04 23:38:44 -08: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
83a6de252f Only attach comments to pages if cms exists 2013-02-23 09:49:39 +13:00
Will Rossiter
857b78314b Merge pull request #44 from phptek/ChangeRawIDs
Change raw IDs
2013-02-21 23:14:00 -08:00
Will Rossiter
b288b94e4b Merge pull request #48 from sheadawson/interface_js_update
validation ignore class should be .hidden
2013-02-21 23:08:39 -08:00
Shea Dawson
6859980696 validation ignore class should be .hidden, ADDED comment class and odd even class to li created by js 2013-02-22 18:02:42 +11:00
Shea Dawson
8b66d9fda6 MINOR scroll back up to top of comments list after pagination ajax has loaded a new page 2013-02-20 19:40:53 +13:00
Shea Dawson
ca638e367a ENHANCEMENT clientside validation messages sourced from customisable serverside code. Several small bugfixes also 2013-02-20 19:40:53 +13:00
Shea Dawson
b1bc0c713b BUGFIX pagination ajax loading was doubling up on elements 2013-02-20 19:40:53 +13:00
Shea Dawson
4c5d7cd32b AJAX pagination and some light house keeping 2013-02-20 19:40:53 +13: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
Shea Dawson
967c6ed78d Check to see if use_ajax_commenting is set before including the ajax javascript 2013-02-20 19:40:53 +13:00
Shea Dawson
6a0323415b Completed the ajax commenting functionality 2013-02-20 19:40:53 +13:00
Will Rossiter
386c53838f Merge pull request #46 from marcinkonys/master
Lithuanian translation
2013-01-22 19:21:50 -08:00
marcinkonys
33a1570849 Lithuanian translation 2013-01-22 10:26:22 -08:00
Will Rossiter
0401c57973 Merge pull request #45 from tractorcow/3.1-fix-hide-spam
BUG Hide spam comments
2013-01-16 18:00:07 -08:00
Damian Mooyman
fc03b89d0f BUG Unless moderation has been explicitly done on a comment, spam comments should not be shown to those who cannot authorise comments 2013-01-17 14:45:47 +13:00
Russell Michell
c38ca52ab7 MINOR: Removed ability to select parent and replaced with hidden-field 2013-01-16 09:51:34 +13:00
Russell Michell
c89a8d02ce BUGFIX: Modded getParentClassName() for when $this->BaseClass is not set 2012-12-19 15:07:18 +13:00
Russell Michell
ce3af93a50 BUGFIX: Fixed calls to Comment::get() to be compatible with PostGres
MINOR: Modified docs with basic composer info, typos, grammar etc
ENHANCEMENT: Hid the existing 'BaseClass' textfield making a hidden field. There should be no need to manually change this.
2012-12-19 08:47:34 +13:00
Simon Welsh
dda00c5452 Update to use filter() instead of where() 2012-12-16 17:31:53 +13:00
Will Rossiter
bfa06bee18 Pass parent controller through to template for helper functions 2012-12-16 17:31:53 +13:00
Will Rossiter
e87963baae Merge pull request #41 from Zauberfisch/patch-1
MINOR: fixed typos and minor mistakes in DE language
2012-12-08 18:29:57 -08:00
Zauberfisch
57db086703 MINOR: oh, another typo
in my defense, its late
2012-12-09 01:40:46 +00:00
Zauberfisch
38234dd513 MINOR: fixed typos and minor mistakes
thanks to @wernerkrauss for reviewing and pointing out the mistakes.
2012-12-09 01:35:11 +00:00
Will Rossiter
8d2e050a5d Merge pull request #40 from Zauberfisch/master
Added German translation
2012-12-08 15:55:12 -08:00
Zauberfisch
d47eeaef6f ENHANCEMENT: added German translation 2012-12-08 23:45:57 +00:00
Will Rossiter
727be897b2 Merge pull request #39 from hamaka/master
Added Dutch language file.
2012-12-07 14:02:02 -08:00
William Parr
b70bf152ce Added Dutch language file. 2012-12-07 14:00:48 +01:00
Will Rossiter
a0c487ae80 Merge pull request #38 from gordonbanderson/ISSUE37
FIX: Add onAfterPostComment hook
2012-11-28 16:29:38 -08:00
Gordon Anderson
3b321bcabc BUGFIX: Added missing onAfterPostComment hook 2012-11-27 19:56:21 +07:00
Sean Harvey
50ff534ef3 Fixing tests 2012-10-11 11:16:27 +13:00
Sean Harvey
a47efa518d Fixing CommentsExtension to use the correct Config API for adding statics 2012-10-11 11:01:14 +13:00