Changelog
0.3.1 (2020-01-20)
Changes
- Backend properties now cached properties. [artem.vasin]
0.3.0 (2020-01-19)
New
-
Ability to pass queryset method from MessageIterator to underlying queryset. [artem.vasin]
-
Message exclude support. [artem.vasin]
-
Message pagination. [artem.vasin]
-
Message filtering. [artem.vasin]
-
Database message storage now provides
replies_count
to message. [artem.vasin] -
Database message storage now provides
replies
to message asMessageIterator
[artem.vasin] -
Template tag {% update_last_checked %} for triggering update of last check date from template rendering. [artem.vasin]
-
Added function
update_last
for manual change of last check date. [artem.vasin] -
Added properties to get sent messages and sent messages count at API, Backend, and Storage level. [artem.vasin]
-
Added methods for changing message state at API, Backend, and Storage level. [artem.vasin]
Changes
-
mark_safe
wrapping moved fomMessage
model toStoredMessage
class. [artem.vasin] -
Message and Inbox models in Database Backend now class-level constants MESSAGE_MODEL and INBOX model for easier subclassing of Database Backend. [artem.vasin]
-
Database storage
_stored_to_message
method now convertsreply_to
frommodels.Message
instance tomessage_storage.base.StoredMessage
instance. [artem.vasin] -
No message-returning methods of database backend now updates last check date. Now you should manually trigger update via
update_last_checked
method. [artem.vasin]
Fix
- Counts in context processor now execute queries only when used in template. [artem.vasin]
0.2.0 (2020-01-16)
New
- Support for Django 3.0. [artem.vasin]
Changes
-
Updated django-model-utils to version >=4.0 for Django 3.0 support. [artem.vasin]
-
Dropped support for python 3.5. [artem.vasin]
-
Changed default level tags to more closely reflect bootstrap colors. [artem.vasin]
Fix
- Deleted Django==2.2.4 from requirements. [artem.vasin]
0.1.4 (2019-12-01)
Fix
- Updated migrations. [artem.vasin]
0.1.3 (2019-11-29)
New
- Created and modified attributes in DatabaseStorage Message. [artem.vasin]
0.1.1 (2019-11-29)
New
-
Parameters html_safe and reply_to_pk added to messages leveled api function (error, warning, etc) [artem.vasin]
-
Database stored message now has
pk
attribute. [artem.vasin]
Fix
- Changed default inbox last_checked to 1900-01-01. [artem.vasin]
0.1.0 (2019-11-28)
New
-
Specified install requirements. [artem.vasin]
-
Property inbox.new_count_update_last_checked. Returns new messages count and increments inbox.last_checked. [artem.vasin]
Fix
- Wrapped context variables 'notifications' and 'messages' in 'dmm' to avoid conflict with django.contrib.messages. [artem.vasin]