overleaf/services/notifications
2016-08-11 12:03:50 +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 Add an optional expiry to notifications. 2016-08-11 11:05:11 +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 create scaffolding base on tags repo 2016-01-14 10:35:16 -02: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)})