overleaf/services/notifications
Shane Kilkelly c9a9ab93ec Delete the notification being replaced when forceCreate.
Prevent growth of the collection with stale documents when users
resend project invites
2016-08-17 14:10:36 +01:00
..
app/coffee Delete the notification being replaced when forceCreate. 2016-08-17 14:10:36 +01:00
config change settings to 3042 2016-02-04 14:22:13 +00:00
test/unit/coffee Delete the notification being replaced when forceCreate. 2016-08-17 14:10:36 +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
npm-shrinkwrap.json add npm shrinkwrap 2016-08-15 11:41:00 +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})