Implement notifications
authorMagnus Hagander <magnus@hagander.net>
Fri, 12 Feb 2016 17:03:26 +0000 (18:03 +0100)
committerMagnus Hagander <magnus@hagander.net>
Fri, 12 Feb 2016 17:03:26 +0000 (18:03 +0100)
commit986048a270afd56ef4f504d8e417d81f28970362
treeddd42a69157676e6caf311f1ed133ac30ae3011e
parent6dec4d85a2eb96a5cbf502f282e9087c9f9081a5
Implement notifications

This makes it possible to receive notifications (via email) when a patch
has been updated.

It's possible to subscribe to notifications on a specific patch. It is also
possible to set the user profile up so that one receives notifications for
all patches where one is author, reviewer or committer on.

Notifications are, of course, only sent when other people make modifications
to the entry.
15 files changed:
pgcommitfest/commitfest/ajax.py
pgcommitfest/commitfest/management/__init__.py [new file with mode: 0644]
pgcommitfest/commitfest/management/commands/__init__.py [new file with mode: 0644]
pgcommitfest/commitfest/management/commands/send_notifications.py [new file with mode: 0644]
pgcommitfest/commitfest/migrations/0002_notifications.py [new file with mode: 0644]
pgcommitfest/commitfest/models.py
pgcommitfest/commitfest/templates/mail/patch_notify.txt [new file with mode: 0644]
pgcommitfest/commitfest/templates/patch.html
pgcommitfest/commitfest/views.py
pgcommitfest/mailqueue/util.py
pgcommitfest/urls.py
pgcommitfest/userprofile/forms.py
pgcommitfest/userprofile/migrations/0002_notifications.py [new file with mode: 0644]
pgcommitfest/userprofile/models.py
pgcommitfest/userprofile/templates/userprofileform.html