.. -*- coding: utf-8 -*- Project cubicweb-comment ======================== :creation date: 2008/11/04 commenting system for the CubicWeb framework README ====== .. vcsinclude:: README Version 1.12.2 -------------- :publication date: 2016/12/23 :expected date: n/a Ticket #13810113 bad text wrapping of mardown comments in email notification ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :state: validation pending In particular, items of a list appear all on the same line. Ticket #2550491 provide bootstrap-compliant views ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 0.000 :state: rejected if squareui (or orbui?) is loaded, provide bootstrap-compliant views (see media object) Version 1.12.1 -------------- :publication date: 2016/02/25 :expected date: n/a Version 1.12.0 -------------- python3 and i18n fixes, kill some inline js :publication date: 2016/02/25 :expected date: n/a Version 1.11.1 -------------- :publication date: 2015/03/30 :expected date: n/a Ticket #4910059 Add a new sub-comment nests divs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.500 :state: validation pending From the generated DOM::
  • ... Ticket #5189514 [views] replace tooltips with actual text ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.500 :state: validation pending Makes it more obvious what each button is for Version 1.11.0 -------------- :publication date: 2015/02/02 :expected date: n/a Ticket #3803720 use pictograms and Improve visual ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :state: validation pending Ticket #4881334 [views] Use list-unstyled on comments tree ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :state: validation pending [views] Use list-unstyled on comments tree Version 1.10.0 -------------- :publication date: 2014/02/14 :expected date: n/a Ticket #2941127 Document basic usage ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 0.200 :state: validation pending Explain how to link and use the comment cube in another cube (e.g. insert comments in a view of an entity). Ticket #3547823 Provide cw 3.17.12 compat ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: task :load: 0.200 :state: validation pending Provide cw 3.17.12 compat Version 1.9.1 ------------- :publication date: 2013/10/18 :expected date: n/a Ticket #3001760 cleanup imports ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.100 :state: validation pending incl. an unused cubicweb.mixins Ticket #3001766 fix primary view/ generated_by ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.100 :state: validation pending tested on the view rather than on the entity Version 1.9.0 ------------- :publication date: 2013/05/31 :expected date: n/a Ticket #2501544 upgrade to API of CW 3.15 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :state: validation pending Version 1.8.2 ------------- :publication date: 2011/10/05 :expected date: n/a Ticket #1980239 empty notification on patches ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.100 :state: resolved Version 1.8.1 ------------- :publication date: 2011/09/26 :expected date: n/a Ticket #1956066 fulltext view may generate type resolver error ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.100 :state: resolved if some parent entity also implements ITree Version 1.8.0 ------------- :publication date: 2011/02/11 :expected date: n/a Ticket #1200520 Anonymous commenting impossible ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.000 :state: resolved On cubicweb.org for example when trying to add a comment, an anonymous user gets :: AttributeError("'InlineAddCommentFormView' object has no attribute 'cw'",) Ticket #1472508 fix setuptools support ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.100 :state: resolved Ticket #1472501 update to cw 3.10.8 api ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 0.500 :state: resolved so we can add comment on yet to be created entities, while removing some code from the cube Ticket #1193223 adding comment broken ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.000 :state: rejected seen in cw 3.9/cwo (likely cw 3.9 related) Version 1.7.2 ------------- :publication date: 2011/01/18 :expected date: n/a Ticket #1441334 fix setuptools support ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.100 :state: resolved Version 1.7.1 ------------- :publication date: 2010/07/27 :expected date: n/a Ticket #636928 add/edit comment js call ignore extra form params. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.500 :state: resolved they should be given to the validation controller, so that if one add some new attribute to Comment, they can be edited through ajax comment forms (they correctly appear there) Ticket #1193274 Warning on authentication for anonymous comments is misleading ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.100 :state: resolved As an anonymous user you get a red flag and "You are not authenticated. register or login" This suggests that posting a comment as is will not work. This might deter some people to do a quick comment even if they have no account (the message iirc was to avoid users with accounts to forget to loggin when posting on the http side of things). The message could be changed to : You are not authenticated. You comment will be anonymous if you do not register or login. Ticket #1193307 edition of comment broken in 1.7.0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.200 :state: resolved try to set comments to itself, severly breaking things... Version 1.7.0 ------------- :publication date: 2010/07/07 :expected date: n/a Ticket #1154485 update for cw 3.9 api ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 1.000 :state: resolved Ticket #798919 use something else than standar list bullet as new comment marker ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.000 :state: rejected see https://www.logilab.net/cwo/ticket/784780 for instance : it's not easy to distinguish between different comments / items in a bullet list in a comment's content Comments :: On 2010/03/26 09:18 - acampeas wrote : d'uh ? Version 1.6.3 ------------- :publication date: 2010/04/26 :expected date: n/a Ticket #473629 register/login link should appears on the top of the form when clicking "add comment" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.200 :state: resolved and not before that Version 1.6.2 ------------- :publication date: 2010/04/08 :expected date: n/a Ticket #816385 problem detected on comment edition ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 1.000 :state: resolved In editing a comment, we have 2 potential "buggy" behaviours: * "validate" will replace the end of the content with ellipsis character. The behaviour is interesting but we need to be able to switch back (double-clicking ?). * "cancel" will undisplay the thread of comments. That's clearly not expected here P.S. problem was detected in our internal forge. It doesn't seem to appear elsewhere Ticket #850525 Comment in abreviated form just after ajax submit ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :state: resolved When transforming the textarea into a div, we get the summary form (with ... at the end). Reloading the (ticket) view shows the full comment. Version 1.6.1 ------------- :publication date: 2010/03/25 :expected date: n/a Ticket #475022 Cancelling a comment closes all comment forms ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.200 :state: resolved Scenario : * go to something on which you can comment that has already a comment on it. * click on the two links add a comment * you have two textareas, add text to both of them * click on cancel for one of the two * it closes the two textareas and you just lost your text Ticket #724770 bad comment order in thread view ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.300 :state: resolved see #30891 on the extranet: comments should be sorted on creation_date ASC. Also in some cases the same comment appears multiple time (dunno how-to reproduce) Ticket #774921 cancellation of comment suppression does not work ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :state: resolved Tested on our extranet: * create a comment on a ticket * click on the link to suppress the comment * click on the cancel button What I got: redirection to ${BASEURL}/view?rql=Any%20X%20WHERE%20X%20eid%2026888&__notemplate=1&vid=inlinecomment which displays a message "chargement en cours ..." and an edition form with an OK and a Cancel button, and stays still. Ticket #474964 Comment about a comment - textarea should be a bit to the right ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :state: resolved When doing a comment about another comment, it would be nice if the indentation was applied to the textarea in the same fashion as the resulting text... a visual guide that you are not doing a comment at the root of an element, but correctly about the comment. Ticket #636927 ajax submitted comments don't get back js/css ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.400 :state: resolved for instance, add a comment containing the sourcecode directive on a page where it's not used anywhere yet. You'll see the comment unproperly colorized, but you get the color as soon as you reload the page. The pb is probably that js_view should be called while it's not. Comments :: On 2010/03/22 15:12 - acampeas wrote : is this related to a missing ajaxHtmlHead ? (reledit suffered from this until very recently) > On 2010/03/22 15:15 - acampeas wrote : > JSonController.js_component might be the culprit Ticket #552883 comments of the same level should be sorted by ascending date ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :state: resolved Version 1.6.0 ------------- :publication date: 2010/02/08 :expected date: n/a Ticket #517287 delete comment form does nothing ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.000 :state: rejected when clicking on "delete this comment" when viewing a thread, click on either "yes" or "no" to confirm doesn't do anything Comments :: On 2009/11/18 08:21 - sthenault wrote : can't reproduce it either Ticket #673905 remove 3.6 deprecation warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 0.300 :state: resolved Ticket #493227 propose to delete comment to anon user ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.100 :state: resolved see http://www.logilab.org/card/pylint_manual Ticket #474762 The link for "login" before commenting looses what you were about to comment on ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.200 :state: resolved You're on a ticket, you are about to comment, the thing says "you should login", so you do, and after you've done that ... you're on the homepage... Comments :: On 2009/11/16 13:29 - sthenault wrote : show and focus the standard login form in the page (eg the one behind the 'authenticate' link) Version 1.5.0 ------------- :publication date: 2009/10/07 :expected date: n/a Ticket #154096 link to delete a comment when user is allowed to do it ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 1.000 :state: resolved though what if it has some child comments probably ? Delete child as well ? Disallow deletion ? Comments :: On 2009/02/24 16:17 - anon wrote : reparent the children (with a hint to the reparenting) ? > On 2009/10/06 17:56 - acampeas wrote : > do as many system already do : replace the comment with a DELETED COMMENT > marker (or something) ? Ticket #79178 Link to Latest comments of a user ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 0.200 :state: resolved On the user page app/euser/login : add a link to the 20 last comments he has entered (or add them directly on that page). Ticket #343693 "main informations" above the comment form ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.200 :state: resolved A little "main informations" string appears above the ajax comment form . Comments :: On 2009/06/23 14:50 - alutz wrote : it's actually a box that is a bit superfluous. Ticket #343859 RSS view of comment could include of top level element ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 0.200 :state: resolved It would be nice in the RSS of a comment to get the top level element the comment is about. For instance, on a ticket you could click on the url for the ticket when reading the comment (even if it's a comment of a comment). Same goes for Cards & BlogEntries... Ticket #343857 Show time on comments ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 0.100 :state: resolved On comments, it would be useful to show the time of the comment. At least when there are multiple comments on the same day. Ticket #343491 impossible to post a comment on safari4 / recent webkit ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :load: 0.000 :state: rejected When clicking on "post a comment", the textfield appears but there's no validate/cancel button and there is a "<[" above the textfield. NOTE: The "<[" is a classic symptom of XHTML misunderstanding. Ticket #342902 propose to login/register when anon want to post a comment ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 0.200 :state: resolved done then commented out until we've proper registration. Search 'register' in comment/views.py Comments :: On 2009/10/12 15:21 - alutz wrote : the login link takes you to the homepage... you then have to find the ticket or comment you were about to comment... off to file a bug. Version 1.4.1 ------------- :publication date: 2009/05/27 :expected date: n/a Ticket #343423 editing an existing comment creates a new comment ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: bug :state: resolved create a comment and try to edit it. it creates an answer to the comment. fails in drh. Version 1.4.0 ------------- update for cw 3.2 :publication date: 2009/05/18 :expected date: n/a Ticket #342906 update for cw 3.2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :type: enhancement :load: 0.500 :state: resolved Version 1.3.1 ------------- :publication date: 2008/12/23 :expected date: n/a