Joe Green 4eee69b2d0 Update Jenkinsfile před 9 roky
..
app 5f0bf16c75 update to new metrics api před 9 roky
config 8050f5ea08 change settings to 3042 před 10 roky
test e67c546254 Upgrade metrics před 9 roky
.gitignore 1e60327f2e create scaffolding base on tags repo před 10 roky
.nvmrc 197ee9f4d9 add a .nvmrc file před 10 roky
Gruntfile.coffee 5360bcae77 fix unit tests před 10 roky
Jenkinsfile 4eee69b2d0 Update Jenkinsfile před 9 roky
README.md 88f5f29982 Change how notification expiry works před 10 roky
app.coffee e67c546254 Upgrade metrics před 9 roky
npm-shrinkwrap.json b616498ea3 upgrade to metrics 1.7.1, with uv-threadpool fix před 9 roky
package.json b616498ea3 upgrade to metrics 1.7.1, with uv-threadpool fix před 9 roky

README.md

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})