Commit Graph

2 Commits (a687980412cb30566b68e85d40780efd97e57214)

Author SHA1 Message Date
zeripath 489e9162fc
Extend Notifications API and return pinned notifications by default () ()
Backport 

This PR extends the notifications API to allow specific notification statuses to be searched for and to allow setting of notifications to statuses other than read.

By default unread and pinned statuses will be returned when querying for notifications - however pinned statuses will not be marked as read.

Close 

Signed-off-by: Andrew Thornton art27@cantab.net
zeripath 791353c03b
Add EventSource support ()
If the browser supports EventSource switch to use this instead of
polling notifications.

Signed-off-by: Andrew Thornton art27@cantab.net