framework/js
Toby Zerner e0aa99fabb Properly mark all notifications as read
Previously, clicking the "mark all notifications as read" button would individually mark each of the visible notifications as read. Since we now always show a badge with the number of unread notifications, we need to make sure that all notifications (not just the visible ones) can be marked as read. Otherwise it would be possible to get stuck with an unread badge there.

This commit adds a new API endpoint which marks *all* of a user's notifications as read. The JSON-API spec doesn't cover this kind of thing (updating all instances of a certain resource type), so I'm a bit unsure regarding what the endpoint should actually be. For now I've gone with POST /notifications/read, but I'm open to suggestions.

ref #500
2015-09-29 16:41:05 +09:30
..
admin Revises the dashboard links to emphasize beta testing procedure. 2015-09-25 12:55:13 +09:00
forum Properly mark all notifications as read 2015-09-29 16:41:05 +09:30
lib Use correct method for notification drawer on mobile 2015-09-29 01:28:47 +02:00
.gitignore Share bower components between forum/admin 2015-05-05 09:16:34 +09:30
bower.json Patch Mithril with a bidi attribute 2015-09-18 13:06:37 +09:30