overleaf/services/notifications
Shane Kilkelly 88f5f29982 Change how notification expiry works
Set the `expires` field to be a date in the future, after which the
document should be removed.
2016-08-12 11:38:17 +01:00
..
app/coffee Change how notification expiry works 2016-08-12 11:38:17 +01:00
config change settings to 3042 2016-02-04 14:22:13 +00:00
test/unit/coffee Change how notification expiry works 2016-08-12 11:38:17 +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 Remove redundant /notification path component 2016-08-12 09:56:16 +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 Change how notification expiry works 2016-08-12 11:38:17 +01:00

notifications-sharelatex

An API for managing user notifications in ShareLaTeX

database indexes

For notification expiry to work, a TTL index on notifications.expires must be created:

db.notifications.createIndex({expires: 1}, {expireAfterSeconds: 10})