Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 2.55 KB

CHANGELOG.md

File metadata and controls

54 lines (36 loc) · 2.55 KB

Change Log

As of version 1.8.0 of django-comments-xtd, all notable changes to this project will be documented in this file.

[2.0.4] - 2017-07-19

Changed

  • Use django.core.signing with temporary comment passed in URL redirection.
  • Fix mistakes in documentation.

[2.0.3] - 2017-07-10

Added

  • App translation to French.
  • Fixed MANIFEST.in file, so that files with translations are distributed.

[2.0.0] - 2017-06-04

Added

  • Javascript plugin (based on InfernoJS).

  • Web API to:

    • Create a commen for a given content type and object ID.
    • List comments for a given content type and object ID.
    • Send feedback flags (like/dislike) on comments.
    • Send report flag (removal suggestion) for a comment.
  • Template filter has_permission applicable to a user object and accepting a string specifying the app_label.permission being checked. It returns True if the user has the given permission, otherwise returns False.

  • Setting COMMENTS_XTD_API_USER_REPR defines a lambda function to return the user string representation used by the web API in response objects.

  • Setting COMMENTS_XTD_APP_MODEL_PERMISSIONS to explicitly define what commenting features are enabled on per app.model basis.

  • Templates comments/delete.html and comments/deleted.html matching django-comments-xtd default twitter-bootstrap styling.

  • Dependencies on Python packages: djangorestframework.

  • Supports i18n for English and Spanish.

  • All settings namespaced inside the COMMENTS_XTD setting.

  • Management command to migrate comments from django-contrib-comments to django-comments-xtd.

Changed

  • Enable removal link in django_comments_xtd/comment_tree.html when the user has the permission django_comments.can_moderate.
  • When the user logged has django_comments.can_moderate permission, template django_comments_xtd/comment_tree.html will show the number of removal suggestions a comment has received.
  • When a comment is marked as removed by a moderator (using django-comments' comments-delete url) every nested comment below the one removed is unpublished (is_public attribute is turned to False).
  • View helper functions, perform_like and perform_dislike now returns a boolean indicating whether a flag was created. If True the flag has been created. If False the flag has been deleted. These two functions behave as toggle functions.
  • Templates comments/preview.html, comments/flag.html and comments/flagged.hml.

Removed

  • Dependency on django-markup.
  • Template filter render_markup_comment.
  • Setting MARKUP_FALLBACK_FILTER.