Philip Bauer
e2bd22e74b
fix comment-moderation
2015-09-19 14:58:53 +02:00
ichim-david
6e85735b5b
Fix reply button visibility toggle by javascript
2015-09-15 22:43:34 +03:00
Philip Bauer
b7f81fc3fe
Move anonymous_email_enabled after anonymous_comments in controlpanel
2015-09-13 15:38:46 +02:00
vangheem
68665b6f2b
Only use edit overlay if available for editing comments. We will need a plone 5 alternative
2015-05-30 11:45:02 -05:00
vangheem
bd0637e0b2
fix window load event to use
2015-02-11 16:30:03 -06:00
vangheem
c49c9707ec
more js improvements
2015-02-10 16:41:00 -06:00
vangheem
ad3953f794
use requirejs if available
2015-02-10 16:21:17 -06:00
Timo Stollenwerk
c852609111
Merge branch 'master' into delete-own-comments
...
Conflicts:
CHANGES.rst
2015-01-29 21:14:05 +01:00
Vincent Fretin
06b20b8f81
merge fix from master (Don't execute createReplyForm js if there is no in_reply_to button)
2014-10-09 11:44:31 +02:00
Vincent Fretin
838f229726
Don't execute createReplyForm js if there is no in_reply_to button.
2014-10-09 11:41:00 +02:00
Vincent Fretin
2a8082cfa7
add delete_own_comment_enabled option in control panel
2014-09-20 16:02:48 +02:00
Gil Forcada
fa127ad85c
Whitespaces cleanup
2014-08-23 00:31:28 +02:00
Jens W. Klein
62b2990b7c
merged master
2014-08-17 04:48:44 +02:00
Ammy2
002c81427e
Id for textarea of reply form made unique
2014-06-25 02:32:48 +05:30
Guido A.J. Stevens
a82352a36c
Make comments editable
2014-05-15 17:50:32 +02:00
Gaudenz Steinlin
fa17c51a7b
Replace $.live with $.on
...
This is needed for jQuery >= 1.9 compatibility and is compatible with
JQuery >= 1.7 (Plone 4.3 onwards).
2014-04-28 18:06:41 +02:00
Ovidiu Miron
a9d0cb574b
Execute the property workflow
2014-02-04 11:15:31 +02:00
JeanMichel FRANCOIS
34bbd39829
fix: add form serialized data to the delete comment ajax form submit
...
Even if in fresh Plone there is no data, I'm in a case where I'm adding
'ajax' marker in the form to not render all the page (which is the case
here) and the render is not used at all except if the action do not
happens in ajax.
2013-08-21 11:07:48 +02:00
ichim-david
e2d8543020
Cherry-picked 7a48d5 and 10f031 from 2.1.x branch to master
2013-02-03 22:07:51 +02:00
Timo Stollenwerk
e008bcf54d
Whitespace.
2012-11-04 17:25:25 +01:00
maartenkling
62b0b47b56
remove the submitting completly, the form is submitted fine without and this fixes both #13037 and #12357
2012-10-26 11:12:44 +02:00
maartenkling
cb14c4f89e
change how to submit the form to stop ff to hang, this fixes #13037
2012-10-25 21:46:57 +02:00
Gaudenz Steinlin
a7b3c818f2
Delete own comments
...
Add permission to allow comment authors to delete their own comments if
there are no replies yet.
2012-05-29 13:33:46 +02:00
Gaudenz Steinlin
4e0bf9f25e
Fix JS comment deletion
...
If the comment tree had just one top level comment the whole tree was
removed by the JS code if just one comment in the tree was deleted.
These comments were (correctly) not removed from the ZODB.
2012-05-29 13:26:05 +02:00
Timo Stollenwerk
5911bae362
whitespace.
...
svn path=/plone.app.discussion/trunk/; revision=51798
2011-08-26 11:13:19 +00:00
Timo Stollenwerk
dbda349768
Automatically reload batch moderation page if no comments are left. This refs #11298 .
...
svn path=/plone.app.discussion/trunk/; revision=51274
2011-07-15 17:29:29 +00:00
Timo Stollenwerk
160022b146
Another fix for http://dev.plone.org/plone/ticket/11486 . r51246 fixed Chrome but broke Safari. This fix has been tested in Fx, Chrome, Safari and IE 9.
...
svn path=/plone.app.discussion/trunk/; revision=51258
2011-07-15 08:23:08 +00:00
Timo Stollenwerk
c2ff87a778
Fix discussion control panel submit. This fixes Refs #11486 .
...
svn path=/plone.app.discussion/trunk/; revision=51246
2011-07-14 07:09:58 +00:00
Timo Stollenwerk
e75685d5c0
Add links to delete/approve a comment in the moderator notification email.
...
Remove the unnecessary workflow_action parameter from the PublishComments request.
svn path=/plone.app.discussion/trunk/; revision=49045
2011-04-22 17:09:09 +00:00
Timo Stollenwerk
f551e30849
Replace tabs with whitespace in moderation.js.
...
svn path=/plone.app.discussion/trunk/; revision=49036
2011-04-22 15:43:58 +00:00
Timo Stollenwerk
c66e243a86
Make sure the email settings in the control panel are disabled when commenting is disabled globally;
...
Enable/disable moderator_email setting dynamically as mail settings or discussion settings change.
svn path=/plone.app.discussion/trunk/; revision=49035
2011-04-22 15:41:45 +00:00
Timo Stollenwerk
fb0ca6c795
Replace tabs with whitespace.
...
svn path=/plone.app.discussion/trunk/; revision=46974
2011-01-20 20:04:38 +00:00
Timo Stollenwerk
9cc32a76a4
Enable ajaxify comment deletion again ([thomasdesvenain]). This has been disabled in 1.0b12 because of problems with Plone 3.
...
svn path=/plone.app.discussion/trunk/; revision=46970
2011-01-20 19:38:26 +00:00
Timo Stollenwerk
0485398de0
whitespace, make jslint happy.
...
svn path=/plone.app.discussion/trunk/; revision=46262
2010-12-12 08:13:03 +00:00
Timo Stollenwerk
be78fbe300
There is no need to enable the "enable moderation" checkbox dynamically, except when commenting is disabled/enabled globally.
...
svn path=/plone.app.discussion/trunk/; revision=46261
2010-12-12 07:35:43 +00:00
Timo Stollenwerk
08857df7a9
Fix cancel button on edit view when using Dexterity types. This fixes http://dev.plone.org/plone/ticket/11338 . Refs #11338
...
svn path=/plone.app.discussion/trunk/; revision=46254
2010-12-11 21:33:43 +00:00
Timo Stollenwerk
f2f97c5b38
Change the comment workflow setting in the discussion control panel if the setting is changed in the types control panel; show warning message and disable the setting if a custom comment workflow is enabled.
...
svn path=/plone.app.discussion/trunk/; revision=46253
2010-12-11 21:30:18 +00:00
Timo Stollenwerk
ffde4b423d
Do not allow to change the mail settings in the discussion control panel, if there is no valid mail setup. Refactor js code to use class settings of #content.
...
svn path=/plone.app.discussion/trunk/; revision=46090
2010-12-02 23:02:00 +00:00
Timo Stollenwerk
fbd7eb2bbc
Do not allow to change the mail settings in the discussion control panel, if there is no valid mail setup.
...
svn path=/plone.app.discussion/trunk/; revision=46089
2010-12-02 21:07:58 +00:00
Timo Stollenwerk
1b36f99a7a
make jslint happy; disable settings onload;
...
svn path=/plone.app.discussion/trunk/; revision=46088
2010-12-02 19:49:49 +00:00
Timo Stollenwerk
2a7a65293e
disable form fields when disabling the fields.
...
svn path=/plone.app.discussion/trunk/; revision=46087
2010-12-02 19:09:16 +00:00
Timo Stollenwerk
f97c17e62a
Factor out enable/disable settings function.
...
svn path=/plone.app.discussion/trunk/; revision=46086
2010-12-02 18:50:21 +00:00
Timo Stollenwerk
ffcc29a401
Override the default plone.app.registry controlpanel template; JS file for the controlpanel added. Disable all commenting options in the discussion control panel when comments are disabled globally.
...
svn path=/plone.app.discussion/trunk/; revision=46085
2010-12-02 18:15:47 +00:00
David Glick
4c31afeac2
fix comparison of string to integer which broke 'check all'
...
svn path=/plone.app.discussion/trunk/; revision=45926
2010-11-23 18:53:38 +00:00
Timo Stollenwerk
501cee78e2
".comment" and ".replyTreeLevel0" are both CSS classes of the comment div. Fix for Plone 3 only.
...
svn path=/plone.app.discussion/trunk/; revision=45189
2010-11-04 14:50:30 +00:00
Timo Stollenwerk
823ada7491
Remove AJAX comment deletion binding. This function relies on the nextUntil() selector introduced by jQuery 1.4 and therefore breaks in Plone 3 (that currently uses jQuery 1.3.2).
...
svn path=/plone.app.discussion/trunk/; revision=45188
2010-11-04 14:42:32 +00:00
Timo Stollenwerk
b68da9925b
Use parseInt with second param to make jslint happy.
...
svn path=/plone.app.discussion/trunk/; revision=45187
2010-11-04 14:37:18 +00:00
Timo Stollenwerk
cc96acb50a
Ajaxify comment deletion and approval. thanks thomasdesvenain!
...
svn path=/plone.app.discussion/trunk/; revision=40984
2010-10-30 17:32:31 +00:00
Timo Stollenwerk
22e4189c37
Revert revisions r40851 to r40853, they should have gone into the ajax-ui branch.
...
svn path=/plone.app.discussion/trunk/; revision=40856
2010-10-28 09:39:00 +00:00
Timo Stollenwerk
14e2600a79
Make ajax call for delete comment button work for comment replies.
...
svn path=/plone.app.discussion/trunk/; revision=40853
2010-10-27 16:10:04 +00:00