aboutsummaryrefslogtreecommitdiffstats
path: root/src/notifier/models.py
AgeCommit message (Collapse)AuthorFilesLines
2020-10-05Make emails send asynchronously (using celery job)Sawyer Bergeron1-0/+7
Change-Id: I9f4d5d05a0b72c883d667cf3910b3b318cbe82fa Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>
2020-01-28Comments and DocumentationParker Berberian1-5/+2
This change adds a ton of comments and documentation across all the code. Change-Id: Ifee0a2f534e8584f14b0f13af4dda8dc70eb7553 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2019-12-03Add warning email and notificationBrandon Lo1-0/+27
This adds the abandoned changes made to the notification system and also adds a simple task to check for expiring bookings and sends out emails and notifications. Change-Id: I1530d19f41cf93626bb642e6b269f9ec55860b81 Signed-off-by: Brandon Lo <lobrandon1217@gmail.com>
2019-02-25Update Inbox FeaturesetSawyer Bergeron1-1/+3
Inbox now supports marking unread, marking for deletion, and has a new UI Change-Id: Ia684056f70ecca31bbd71634f4d1d5415f7e5428 Signed-off-by: Sawyer Bergeron <sawyerbergeron@gmail.com>
2018-11-07Rewrite Notification subsystemParker Berberian1-34/+6
In this commit: - delete a lot of really bad and / or unused code - redesign a much simpler Notification model - create and send notifications to the user's inbox on booking start & end - migrations - emails user when booking is ready and when it ends Not in this commit: - Creating notifications from lab messages - warning messages when a booking is about to end - creating "summary" notifications when e.g. a booking has been fulfilled by a lab Change-Id: I69b4dc36c3f2bce76d810106baadeef5a562cc7d Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-10-15Lab as a Service 2.0Parker Berberian1-10/+23
See changes here: https://wiki.opnfv.org/display/INF/Pharos+Laas Change-Id: I59ada5f98e70a28d7f8c14eab3239597e236ca26 Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu> Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
2018-01-02Implement Notification Framework with Initial Email SupportSawyer Bergeron1-0/+38
JIRA: None Notification/notifier objects are now created with title, content, sender, associated resource, and recipient and there is now support for emails at the very least to be sent as notifications. Change-Id: I456cf0e901d9a1e2a1e7d187dcc03d28fca003fb Signed-off-by: Sawyer Bergeron <sbergeron@iol.unh.edu>