Commit graph

59 commits

Author SHA1 Message Date
Alvaro Leonel
82df6b6083
Merge branch 'master' into 233 2023-05-07 17:41:35 -03:00
Federico Capoano
d55aae4e3d [models] Added AbstractNotification #202
Implements and closes #102
2019-04-28 14:59:42 -04:00
Utkucan Bıyıklı
9ee95d52ac humanize_timestamp function split.Create naturalday() and naturaltime() function for humanize timestmap. 2019-03-29 15:11:06 +03:00
Utkucan Bıyıklı
8d76da3ff0 Added docstring for humanize_timestamp method 2019-03-27 00:01:21 +03:00
Utkucan Bıyıklı
64a30faef8 Added humanize for human readable notifactino timestamp 2019-03-26 23:59:09 +03:00
Tobias Krönke
d48c8215f5
add db_index to default ordering field timestamp 2018-10-26 12:23:35 +02:00
Alvaro Leonel
3020ec0d97 Improve code quality on models.py 2018-05-31 00:18:45 -03:00
Alvaro Leonel
de6d41818b Fix #69 2018-05-30 02:18:33 -03:00
Alvaro Leonel
01f9156e25 Release version 1.4.0 2018-05-26 21:36:09 -03:00
Federico Capoano
abc4c27f2a Added indexes (closes #153) 2018-02-19 15:41:40 +01:00
John Pham
652222d2b8 Django 2.0 support 2017-12-07 08:38:29 +08:00
Aaron Zhao
cf0a11d775 update queryset methods mark_as_sent() and mark_as_unsent() 2017-08-01 14:48:08 +08:00
Alvaro Leonel
339b064f3f Fix #158 2017-06-26 21:34:27 -04:00
Alvaro Leonel
ba0966a0df Added the option to filter by recipient in the QuerySet methods mark_as_sent and mark_as_unset 2017-06-25 19:26:23 -04:00
Alvaro Leonel
9565bbc731 Fix variable assignment
Sorry, my bad!! :|
2017-06-01 23:24:20 -04:00
Alvaro Leonel
3d14fd6b1a Merge branch 'master' into iss169 2017-06-01 23:18:58 -04:00
Alvaro Leonel
c31927aeff Fix #169 2017-06-01 23:12:33 -04:00
Satyajeet Kanetkar
09d01810fa return saved Notification instances from notify_handler, add tests 2017-04-18 11:32:38 +05:30
Roman Vasilyev
f7f90b83c8 sent/unsent convenience functions 2017-02-23 09:27:00 -08:00
zzy
4b03e572d7 Return updated count in QuerySet 2016-06-02 22:18:33 +08:00
Zhongyuan
15885033fd Fix: Mark All As read fails if soft-deleted #126 2016-03-22 16:34:18 +08:00
Curtis Maloney
5944862a5f Remove custom now() function, since django.utils.timezone.now does the same thing 2016-01-01 17:08:05 +11:00
Curtis Maloney
6668474c65 Tidy with flake8 2016-01-01 13:59:51 +11:00
Yang.Y
34f9698659 Merge pull request #107 from Evidlo/master
notify.send() accepts User or Group
2015-12-21 12:58:04 +08:00
ieee
f19c8e7a3e fixed opt problem, added test for Group 2015-12-19 18:26:15 -05:00
ieee
5f05955563 notify.send() accepts User or Group
squash! notify.send() accepts User or Group
2015-12-17 17:50:08 -05:00
Curtis Maloney
46c5a1e6b3 Use Django's vendored copy of six 2015-12-18 09:05:33 +11:00
areski
7634dff290 Fix Pep8 & use setuptools 2015-12-11 14:32:20 +01:00
Zhongyuan
d297017eb1 Drop support for Django 1.6 and below 2015-12-07 11:17:37 +08:00
David Guerrero
fb56962992 added app_label to Notification model in order to fix a django 1.9 deprecation warning 2015-11-30 17:13:12 +01:00
Philip Roche
2b70687344 Add __str__ to Notification Model to support Python 3 2015-05-17 12:43:31 +01:00
Ashok Fernandez
2f0f50aa49 Fixes deprecation notice in Django 1.8 2015-04-28 14:10:49 +02:00
Arthur
0ceddf4310 Add possibility to pass level when adding notification 2015-04-26 13:23:40 +02:00
zzy
191c1250df Add option "NOTIFICATIONS_SOFT_DELETE", fix issue #52 2015-04-11 13:28:52 +08:00
zzy
c8647ce302 Rename "NOTIFY_USE_JSONFIELD" to "NOTIFICATIONS_USE_JSONFIELD", as app name is "notifications". "NOTIFY..." is reserved for backward compatibility 2015-04-11 11:51:33 +08:00
theodore.therone@gmail.com
9608ee8a6e Added tests, confirmed works for python2/3
Also added .travis.yml
2015-03-28 08:25:56 +00:00
zzy
e244ba3ec0 Add 'data' field into Notification model 2015-03-20 19:03:41 +08:00
zzy
f351e92223 Add 'deleted' and 'emailed' field 2015-02-24 19:40:21 +08:00
Ivan
8c7cc0d3c1 Python3 compatibility (using six). 2015-02-04 15:25:20 +00:00
Brant Young
28c444d1dd Use relatives imports
Merge branch 'master' of https://github.com/luzfcb/django-notifications

Conflicts:
	notifications/models.py
2014-05-07 10:39:43 +08:00
Jesper Håkansson
d361f1d20b Err... Forgot if not 2014-04-03 15:55:38 +02:00
Jesper Håkansson
0cb60574bb Added mark_as_unread in model 2014-04-03 15:50:06 +02:00
Brant.Y
ea9becf8d0 Merge pull request #20 from fay/master
use different `now` function according to the `USE_TZ` setting
2013-12-11 21:16:43 -08:00
Sandro Rodrigues
74313bc2f1 Generic user model to recipient foreign key 2013-12-12 00:53:31 +00:00
fay
43516ca049 use different now function according to the USE_TZ setting 2013-11-04 13:43:59 +08:00
Fábio C. Barrioneuvo da Luz
ab1b04520e fix issues #15 #18 #19. change absolute import to relative imports 2013-10-29 19:58:47 -03:00
Brant Young
a73c01f167 forgot the parenthesis 2013-04-17 23:13:03 +08:00
Adriaan
00fd2501d6 Fixed for apps that have USE_TZ set to False. 2013-04-17 14:19:50 +02:00
Mirat Can Bayrak
87c7d38e3f missing unicode support for notification model 2012-12-26 20:41:23 +02:00
Matthew Schinckel
bc54bc092b Add a level attribute. 2012-10-25 09:41:21 +10:30