Christopher Hoskin 8a046ddf20 Adapt for metrics v2 8 жил өмнө
..
.github 2a85b54dad update build scripts 8 жил өмнө
app 5f0bf16c75 update to new metrics api 9 жил өмнө
config 3796fce483 update settings to allow mongo host and remove unused health check 8 жил өмнө
test e67c546254 Upgrade metrics 9 жил өмнө
.dockerignore 9058cc668a update build scripts to 1.1.3 with docker file 8 жил өмнө
.gitignore 1e60327f2e create scaffolding base on tags repo 11 жил өмнө
.nvmrc d79d255c7c change to node6 8 жил өмнө
Dockerfile 9058cc668a update build scripts to 1.1.3 with docker file 8 жил өмнө
Gruntfile.coffee 5360bcae77 fix unit tests 10 жил өмнө
Jenkinsfile 2a85b54dad update build scripts 8 жил өмнө
Makefile 2a85b54dad update build scripts 8 жил өмнө
README.md 88f5f29982 Change how notification expiry works 10 жил өмнө
app.coffee 8a046ddf20 Adapt for metrics v2 8 жил өмнө
buildscript.txt 2a85b54dad update build scripts 8 жил өмнө
docker-compose.ci.yml 2a85b54dad update build scripts 8 жил өмнө
docker-compose.yml 2a85b54dad update build scripts 8 жил өмнө
nodemon.json 9058cc668a update build scripts to 1.1.3 with docker file 8 жил өмнө
npm-shrinkwrap.json f2230d6f27 Bump metrics to v2.0.12, logger to v1.5.9 and settings to v1.1.0, fixup shrinkwrap 8 жил өмнө
package.json f2230d6f27 Bump metrics to v2.0.12, logger to v1.5.9 and settings to v1.1.0, fixup shrinkwrap 8 жил өмнө

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