Katja Suess
61545c6ef6
Moderation on commented page also with ajax like on moderation view
2020-01-21 12:02:09 +01:00
Katja Suess
f7ae6e49a5
unique css ids
...
and bug fix test: editing comment: button label "save" instead of "edit comment"
2020-01-16 15:32:46 +01:00
Katja Suess
084d2893e7
Additional (optional) workflow: "Comment Multiple State Review Workflow"
...
Moderator is not forced to delete a comment or to let it pending:
Workflow has two more states "rejected" and "spam" to existing review workflow.
Moderation view extended showing all states. Filter by state.
2020-01-08 12:36:28 +01:00
Maurits van Rees
814af8d837
Various flake8 fixes.
...
- Removed tabs.
- Fixed E731 do not assign a lambda expression, use a def.
- avoid hasattr
2016-06-12 06:51:35 +02:00
ichim-david
6e85735b5b
Fix reply button visibility toggle by javascript
2015-09-15 22:43:34 +03: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
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
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
Timo Stollenwerk
e008bcf54d
Whitespace.
2012-11-04 17:25:25 +01: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
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
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
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
Timo Stollenwerk
926e4f6b8e
Integrate Denys ajax ui code.
...
svn path=/plone.app.discussion/trunk/; revision=40852
2010-10-27 14:44:52 +00:00
Timo Stollenwerk
2ff95fe847
Make sure the moderation JS functions are executed after the page is fully loaded.
...
svn path=/plone.app.discussion/trunk/; revision=40215
2010-09-24 14:57:19 +00:00
Timo Stollenwerk
399bba5eca
Use "(function($) { /* some code that uses $ */ })(jQuery)" instead of "$(document).ready(function(){ /* some code that uses $ */ });" to invoke jQuery code.
...
svn path=/plone.app.discussion/trunk/; revision=40214
2010-09-24 14:21:26 +00:00
Timo Stollenwerk
ba8e7ac5cd
Move the functions out of the ready function. this makes the JS tests pass.
...
svn path=/plone.app.discussion/trunk/; revision=39151
2010-08-27 21:26:37 +00:00
Timo Stollenwerk
a1605fb88b
Revert r39104 since it breaks the comments js.
...
svn path=/plone.app.discussion/trunk/; revision=39141
2010-08-27 20:45:11 +00:00
Timo Stollenwerk
d713409aa1
Use a discussion JS namespace for comments.js; JS tests for clearForm and createReplyForm functions added.
...
svn path=/plone.app.discussion/trunk/; revision=39104
2010-08-27 17:11:25 +00:00
Timo Stollenwerk
d3074fa4fd
Make Javascripts pass JSLint validation
...
svn path=/plone.app.discussion/trunk/; revision=39059
2010-08-27 10:34:42 +00:00
Timo Stollenwerk
28d88dcfb4
Clean up Javascript code. Obey the 80 character limit.
...
svn path=/plone.app.discussion/trunk/; revision=36991
2010-06-04 09:25:47 +00:00
Hanno Schlichting
c27d1b5cc1
De-tabbify
...
svn path=/plone.app.discussion/trunk/; revision=33491
2010-01-27 14:54:07 +00:00
Timo Stollenwerk
dd6fdd34fb
fix typo.
...
svn path=/plone.app.discussion/trunk/; revision=31925
2009-11-19 21:42:02 +00:00
Timo Stollenwerk
48ab88a8b4
code cleanup;
...
reply to comment button and handler removed;
reply-to-comment is now handled by the comment handler as well;
this also solves story 1173673;
svn path=/plone.app.discussion/trunk/; revision=29434
2009-08-28 13:03:16 +00:00
Timo Stollenwerk
1747a3655b
fix recaptcha reply-to-comment form bug.
...
svn path=/plone.app.discussion/trunk/; revision=29433
2009-08-28 12:03:34 +00:00
Timo Stollenwerk
72ac358c4c
fix reply-to-comment form buttons.
...
svn path=/plone.app.discussion/trunk/; revision=29405
2009-08-26 22:31:23 +00:00
Timo Stollenwerk
defb4b91c4
hide reply and cancel button with css when JS is disabled.
...
svn path=/plone.app.discussion/trunk/; revision=29403
2009-08-26 21:53:34 +00:00
Timo Stollenwerk
987805c927
fix inline validation for reply-to-comment form.
...
svn path=/plone.app.discussion/trunk/; revision=28923
2009-08-15 16:36:49 +00:00
Timo Stollenwerk
a63f518bcb
fix the cancel button for the comment reply form.
...
svn path=/plone.app.discussion/trunk/; revision=28354
2009-08-04 18:39:10 +00:00
Timo Stollenwerk
12ee7d6a5a
show/hide the comment/reply button inside the comment/reply-to-comment forms.
...
svn path=/plone.app.discussion/trunk/; revision=28352
2009-08-04 15:19:20 +00:00
Timo Stollenwerk
ddd8596dbd
move reply to comment view to z3cform.
...
svn path=/plone.app.discussion/trunk/; revision=28349
2009-08-04 14:51:34 +00:00
Timo Stollenwerk
bed1b420ba
fix publish comment. remove ajax functions for now.
...
svn path=/plone.app.discussion/trunk/; revision=27864
2009-07-07 08:00:41 +00:00