Alvaro Leonel
339b064f3f
Fix #158
2017-06-26 21:34:27 -04:00
Alvaro Leonel
37bb7f6ade
Bump version 1.3
2017-06-25 19:27:43 -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
751553bb81
Fix #176
2017-06-20 11:26:51 -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
Curtis Maloney
ef12471f65
Use map for building menu list
2017-05-24 22:57:46 +10:00
Curtis Maloney
498a471c34
Make JS better performant
2017-05-24 21:57:43 +10: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
Zhongyuan
dece4ad357
Merge pull request #150 from osminogin/api-mark-as-read
...
Mark notifications as read for API requests
2016-09-26 09:26:51 +08:00
Vladimir Osintsev
3b61a71a71
Minor fixes
2016-09-25 15:51:08 +03:00
Vladimir Osintsev
f2175fe77e
Testing mark_as_read query param
2016-09-25 15:06:45 +03:00
Vladimir Osintsev
99dfa0a818
Add mark_as_read param for API
2016-09-25 00:58:52 +03:00
Roman Vasilyev
4a2b3d691c
don't request full user list, it takes time
2016-09-12 12:29:48 -07:00
Vladimir Osintsev
feeec2c28b
Fix test_unread_messages_pages test
2016-08-14 10:53:12 +03:00
Vladimir Osintsev
c7fd00a0f3
Redirect to unread view after mark as read
2016-08-13 23:46:04 +03:00
Yang.Y
dca99e959e
Bump version 1.2
2016-06-17 11:19:47 +08:00
zzy
4b03e572d7
Return updated count in QuerySet
2016-06-02 22:18:33 +08:00
Marc Gibbons
e98018075b
Add missing migration
2016-05-04 12:56:20 -04:00
Henrique Pereira
345dd56522
Django 1.9 template tag compatibility
...
Due to register.simple_tag automatically espacing unsafe_html in Django 1.9, it is now needed to use mark_safe or format_html. I have chosen the later because it is the recommended solution.
2016-04-15 13:38:11 -03:00
Yang.Y
81c1f87286
Bump version 1.1
2016-03-29 09:06:22 +08:00
Yang.Y
b3861cb520
Merge pull request #121 from LegoStormtroopr/master
...
Checks logged in state when accessing notify API
2016-03-27 10:48:48 +08:00
Zhongyuan
15885033fd
Fix: Mark All As read fails if soft-deleted #126
2016-03-22 16:34:18 +08:00
Samuel Spencer
1b85a996df
catchup
2016-02-08 03:57:02 +00:00
Samuel Spencer
d55762edd3
Added sentinals for unauthenticated users, preventing a 500 error
...
also fix spelling mistake in README
2016-02-08 03:54:35 +00:00
Yang.Y
0e8954a61a
Bump 1.0
2016-01-04 11:26:06 +08:00
Yang.Y
5007afaae2
Custom now() invocation got overlooked by PR #113
2016-01-03 11:58:06 +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
Zhongyuan
1ddf085612
Add app_name in urls.py
2015-12-17 18:10:08 +08:00
Zhongyuan
72a610551c
Merge branch 'drop-support-django1.6'
...
Conflicts:
notifications/__init__.py
notifications/templatetags/notifications_tags.py
notifications/tests/settings.py
notifications/tests/urls.py
setup.py
2015-12-14 16:02:02 +08:00
Yang.Y
d375fc1a0f
Make travis-ci happy
2015-12-14 10:56:13 +08:00
Yang.Y
762f0973ac
Fix versioning: import __version__ at setup.py directly is error-prone, and use a standalone version.py outside package source also not a good idea.
2015-12-14 10:01:43 +08:00
Samuel Spencer
551be1e910
fixes #82
2015-12-12 09:53:47 +00:00
Samuel Spencer
0aa46f7567
fix merge
2015-12-12 09:41:12 +00:00
Samuel Spencer
20548d195f
added live tester page. Confirmed all works.
2015-12-12 07:09:20 +00:00
areski
7634dff290
Fix Pep8 & use setuptools
2015-12-11 14:32:20 +01:00
Zhongyuan
e094c15e97
Fix a RemovedInDjango110Warning in unittest
2015-12-10 10:50:03 +08:00
Sebastian Illing
917f2f8831
removed old code
2015-12-09 14:41:16 +01:00
Sebastian Illing
2b38959246
django1.9 passing tests again
2015-12-09 14:30:34 +01:00
Zhongyuan
1f0405f701
Fix code that incompatible with Django1.8+Python3.5
2015-12-07 17:34:20 +08: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
Álvaro Lázaro Gallego
029fcb155f
Fix urls in tests
2015-11-26 14:30:54 +01:00
Álvaro Lázaro Gallego
b06b3185a3
Fix setup
2015-11-26 12:47:48 +01:00
Álvaro Lázaro Gallego
25e15e412b
PEP8 Fixes
2015-11-26 11:23:24 +01:00
Álvaro Lázaro Gallego
3a391c6d1b
Port all and unread views to classes
2015-11-26 11:17:12 +01:00
theodore.therone@gmail.com
1bb8f258d2
bump semver-minor as this adds functionality.
2015-11-13 10:41:38 +00:00
theodore.therone@gmail.com
4b6cdb4a2c
Add max number to fetch to register template tag
2015-11-13 09:27:59 +00:00
theodore.therone@gmail.com
eb6035b40c
remove debug code
2015-11-11 11:05:42 +00:00
theodore.therone@gmail.com
b2b4fac254
fix attempt to fix my mess
2015-11-11 11:04:12 +00:00
Yang.Y
493e11ec79
Bump version 0.7.1
2015-10-20 10:19:03 +08:00
Shezad Khan
b93c75d710
Add missing migration for Notification model
2015-08-26 16:40:52 +01:00
Samuel Spencer
c8b27d3dd9
fixed error in test ordering of keys
2015-07-26 02:33:30 +00:00
Samuel Spencer
5147bdf640
darn you py3
2015-07-21 00:17:57 +00:00
Samuel Spencer
65c74a836b
correct test for items
2015-07-21 00:10:25 +00:00
Samuel Spencer
3b4b728b8f
last test fixes
2015-07-21 00:07:48 +00:00
Samuel Spencer
6e9472df72
fixes py3 issue with dict.keys
2015-07-20 23:13:52 +00:00
Samuel Spencer
f83136ec1e
fixes django1.6
2015-07-20 23:11:04 +00:00
Samuel Spencer
726ec15849
should fix py3 issues
2015-07-20 23:08:09 +00:00
Samuel Spencer
e794ee5a82
fixes failed travis tests
...
includes django1.6 way of doing jsonresponse
2015-07-20 21:18:44 +00:00
Samuel Spencer
bd390c54f9
Adding code for real-time list
2015-07-20 09:51:00 +00:00
Samuel Spencer
b99b95c25e
first go at live counter badge of notifications
2015-07-19 14:35:34 +00:00
geeknux
072a56a870
bugfix for wrong user unread notification count
2015-07-06 19:12:31 +04:30
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
Yang.Y
9e91cd965b
Bump version 0.7.0
2015-04-21 10:25:52 +08: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
zzy
cccade4c34
Remove deprecated "request.REQUEST" and "future.url"
2015-04-11 09:44:33 +08:00
theodore.therone@gmail.com
c01d1c5f49
Django1.6 test fixes, adding Django1.8 to test suite
2015-04-09 04:57:36 +00:00
theodore.therone@gmail.com
bc617498fa
long no longer in py3, adding workaround
2015-04-09 04:43:47 +00:00
theodore.therone@gmail.com
ce0f1fc0ec
extra tests and coverage
...
Small tweaks to views - to to prevent collision with python keyword.
2015-04-09 04:36:15 +00:00
theodore.therone@gmail.com
b24237c676
minor tweaks for travis
2015-03-29 06:37:27 +00: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
zzy
736615dd77
Add migration support for Django 1.7
2015-02-24 19:25:50 +08:00
Ivan
8c7cc0d3c1
Python3 compatibility (using six).
2015-02-04 15:25:20 +00:00
theodore.therone@gmail.com
2b81726dec
Adds delete option, fixes #37
2014-10-14 01:31:53 +00:00
Axel Díaz
3dae324d5e
Adding filters and displays to model admin
2014-05-25 06:03:55 +00:00
Ubuntu
6a58f06cf5
Make initial migration compatible with custom user models
2014-05-07 17:45:03 +00:00
Brant Young
bb42f850ed
Release 0.6.2
2014-05-07 10:55:36 +08: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
blag
3e542f94c6
Increment micro version
...
to indicate compatibility with Django's (>1.5) custom user models.
2014-04-24 06:01:06 -07:00
Drew Hubl
ea58a2aad1
Remove unused import
2014-04-24 06:50:35 -06: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
Brant.Y
6f8d40e61d
Merge pull request #23 from srtab/patch-3
...
Added url to mark as unread too
2013-12-11 21:16:08 -08:00
Brant.Y
851f7c0e66
Merge pull request #22 from srtab/patch-2
...
Added view to mark as unread too
2013-12-11 21:15:53 -08:00
Sandro Rodrigues
a87043b5b0
Added url to mark as unread too
...
Forgot to pull that when added mark as unread on view
2013-12-12 01:10:34 +00:00
Sandro Rodrigues
f56a66f67c
Added method to mark as unread too
2013-12-12 01:07:35 +00:00