overleaf/services/notifications
Shane Kilkelly 7bb6e6e18c Merge branch 'master' into pr-remove-by-key
# Conflicts:
#	test/unit/coffee/NotificationsTests.coffee
2016-08-12 09:43:38 +01:00
..
app/coffee Add commentary on ttl index 2016-08-11 12:03:50 +01:00
config change settings to 3042 2016-02-04 14:22:13 +00:00
test/unit/coffee Merge branch 'master' into pr-remove-by-key 2016-08-12 09:43:38 +01:00
.gitignore create scaffolding base on tags repo 2016-01-14 10:35:16 -02:00
.nvmrc add a .nvmrc file 2016-08-10 15:27:40 +01:00
app.coffee Add an endpoint to remove a notification by its key alone 2016-08-11 10:01:21 +01:00
Gruntfile.coffee fix unit tests 2016-08-05 15:10:13 +01:00
package.json bump mongojs to 2.4 2016-06-01 17:40:56 +01:00
README.md Add commentary on ttl index 2016-08-11 12:03:50 +01:00

notifications-sharelatex

An API for managing user notifications in ShareLaTeX

database indexes

For notification expiry to work, a ttl index on notifications.expiresFrom must be created:

db.notifications.createIndex({expiresFrom: 1}, {expireAfterSeconds: (60*60*24*30)})