Commit graph

54 commits

Author SHA1 Message Date
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