Repository URL to install this package:
Version:
2.4.0 ▾
|
django-comments-xtd-plugins
/
CHANGELOG.md
|
---|
New minor release thanks to Mandeep Gill with the following changes:
* Adds support for non-int based object_pk, for instead when using UUIDs or
HashIds as the primary key on a model (closes #112).
* Refactors the commentbox props generation into a separate function so can
be used from the webapi for use with rest_framework/API-only backends that
don't make use of server-side templates.
* Adds a pyproject.yaml for use with `poetry` (https://poetry.eustace.io)
and new pip environments (PEP 518).
* Fixes issue #116.
* Updates package.json JavaScript dependencies:
* babel-cli from 6.24.1 to 6.26.0.
* jquery from 3.2.1 to 3.3.1.
* Upgrades Twitter-Bootstrap from v3 to v4.
* Fixes issue with tutorial fixtures (bug #114).
* Upgrade all JavaScript dependencies. Check packages.json for details.
The major changes are:
* ReactJS updates from 15.5 to 16.5.
* Babel updates from 6 to 7.
* Webpack from 2.4.1 to 4.21.0.
* Bootstrap from 3.3.7 to 4.1.3.
* Updates webpack.config.js.
* Demo sites and tutorial have been adapted to Twitter Bootstrap v4.
* Fixes issues #94, #108, #111.
* Resolves deprecation warnings and adopt recommendations in unit tests.
* Fixes demo sites so that they work with Django 1.11, Django 2.0 and
Django 2.1.
* Adds support for Django 2.1.
* Drops support for Django < 1.11 as it depends on django-contrib-comments
which dropped support too.
* Fixes issue 104 (on lack of Django 2.1 support).
* Fixes issues #76, #86 and #87.
* Request user name and/or email address in case the user is logged
in but the user's email attribute is empty and/or the user's
get_full_name() method returns an empty string.
* Adds Django 2.0 compatibility.
* Fixes issues #81 and #83.
* Replaces the use of django.test.client by RequestFactory in unittests.
* Fix issue 77. Template filter xtd_comment_gravatar_url must not
hard-code http schema in URL (reported by @pamost).
* App translation to Finnish, thanks to Tero Tikkanen (@terotic).
* Adds missing migration for a field's label (issue 71).
* Makes the form label for field 'name' translatable (issue 73).
* Code fixes to enable proper support for the Django Sites Framework.
* Code fixes for the `comp` demo site.
* Makes demo site dates in initial data files timezone aware.
* Improves documentation on setting up demo sites.
* Style changes in CSS wells.
* Surpass version number to fix problem with package upload in PyPI.
* No changes applied to this version.
* Use `django.core.signing` with temporary comment passed in URL
redirection.
* Fix mistakes in documentation.
* App translation to French thanks to Brice Gelineau.
* Fixed MANIFEST.in file, so that files with translations are
distributed.
* Javascript plugin (based on ReactJS).
* Web API to:
* Create a comment 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.
* Enable removal link in `django_comments_xtd/comment_tree.html` when the
user has the permission `django_comments.can_moderate`.
* Changed, 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.
* Changed, 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`).
* Changed 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.
* Changed templates `comments/preview.html`, `comments/flag.html` and
`comments/flagged.hml`.
* Removed dependency on django-markup.
* Removed template filter `render_markup_comment`.
* Removed setting `MARKUP_FALLBACK_FILTER`.