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