User:Aamariutei/Notifications

From MozillaWiki
Jump to: navigation, search

Notifications Client

This is an AMQP client used in conjunction with a python cloud server for push notifications.


Features

Users can

  1. agree to notifications from webapp
  2. revoke notification from webapp
  3. sync subscriptions to webapps across multiple clients
  4. view a history of notifications

Security Wise

  1. Users can only read from queues of notifications (not write)
  2. Name of queue is a 256 bit number (currently the account for Firefox Sync)
  3. App is given a 256 bit key user to encode the text of the notification and also, App also needs to compute an hmac for the content.

TODO

  1. Ability to remove previous notifications
  2. Improve the display of notifications ( about:notifications ).
  3. Clean up data on disable
  4. Make the Prefs pane change when a new notification is made
  5. Fix error where BrowserPane not found.