Commit graph

178 commits

Author SHA1 Message Date
Á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
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
Brant Young
b839149418 Release 0.6.0 2013-03-06 09:57:17 +08:00
Mirat Can Bayrak
87c7d38e3f missing unicode support for notification model 2012-12-26 20:41:23 +02:00
Brant Young
4a68e71edf fix: more accurate data field in migration script; use assignment template tag; code clean 2012-10-25 12:46:06 +08:00
Matthew Schinckel
bb6f533da8 Use urls with namespaces.
Use request.user.notifications instead of Notifications.objects...
Use render() instead of render_to_response()
2012-10-25 09:42:32 +10:30
Matthew Schinckel
182be4295d Remove unused comment. 2012-10-25 09:42:17 +10:30
Matthew Schinckel
9d7a22c645 Restructure and simplify templates. 2012-10-25 09:41:55 +10:30
Matthew Schinckel
bc54bc092b Add a level attribute. 2012-10-25 09:41:21 +10:30
Matthew Schinckel
93cebc0f0a Simplify the notification tag.
No longer can store the value in a variable.
2012-10-25 09:37:30 +10:30
Matthew Schinckel
b9425a4abb Install url patterns within a namespace. 2012-10-25 09:25:19 +10:30
Matthew Schinckel
d02c7893ac Document/clean-up query set API. 2012-10-24 10:40:28 +10:30
Matthew Schinckel
43de153df4 Convert field from readed to unread. 2012-10-24 09:55:09 +10:30
Matthew Schinckel
39d1481a4a Add migrations to convert field 'readed' to 'unread'. 2012-10-24 09:54:39 +10:30
Matthew Schinckel
e2e5b22fd0 Add migration for extra data field. 2012-10-24 09:54:11 +10:30
Matthew Schinckel
8a46b33d1f Added base migration. 2012-10-24 09:51:37 +10:30
Matthew Schinckel
c4001cd64c Typo. 2012-10-24 09:43:49 +10:30
Matthew Schinckel
6d65205c69 Fixed a bug where passing recipients was not really effective: it still marked all as read/unread based on the entire query set. 2012-10-24 09:41:52 +10:30
Matthew Schinckel
a80c7e5fae Keep the same API (but extend it) for manager methods (they turn into query set methods). 2012-10-24 09:37:42 +10:30
Matthew Schinckel
a2b310b6cd Update last instance of 'readed' to unread. 2012-10-23 17:23:06 +10:30
Matthew Schinckel
c095bda717 Reformat lines. 2012-10-23 17:22:19 +10:30
Matthew Schinckel
d8567930b4 Change 'readed' field to unread.
Add a better manager/queryset. (required django-model-utils).
2012-10-23 17:20:29 +10:30
Matthew Schinckel
55c4701d1b Add support for a 'data' field to attach arbitrary data to a notification. 2012-10-23 16:13:49 +10:30
Brant Young
225f6f0e26 release 0.5.3 - forgot README.rst file 2012-07-22 21:38:26 +08:00
Brant Young
da17a04911 First version based on django-activity-stream v0.4.3 2012-07-22 21:14:44 +08:00