overleaf/services/notifications
Antoine Clausse 7f48c67512 Add prefer-node-protocol ESLint rule (#21532)
* Add `unicorn/prefer-node-protocol`

* Fix `unicorn/prefer-node-protocol` ESLint errors

* Run `npm run format:fix`

* Add sandboxed-module sourceTransformers in mocha setups

Fix `no such file or directory, open 'node:fs'` in `sandboxed-module`

* Remove `node:` in the SandboxedModule requires

* Fix new linting errors with `node:`

GitOrigin-RevId: 68f6e31e2191fcff4cb8058dd0a6914c14f59926
2024-11-11 09:04:51 +00:00
..
app/js
config
test Add prefer-node-protocol ESLint rule (#21532) 2024-11-11 09:04:51 +00:00
.gitignore
.mocharc.json
.nvmrc Update to node 18.20.4 2024-11-07 09:04:31 +00:00
app.js
buildscript.txt Update to node 18.20.4 2024-11-07 09:04:31 +00:00
docker-compose.ci.yml
docker-compose.yml Update to node 18.20.4 2024-11-07 09:04:31 +00:00
Dockerfile Update to node 18.20.4 2024-11-07 09:04:31 +00:00
LICENSE
Makefile Update to node 18.20.4 2024-11-07 09:04:31 +00:00
package.json Merge pull request #21442 from overleaf/jpa-align-mongo-version 2024-11-01 09:05:23 +00:00
README.md
tsconfig.json Merge pull request #20331 from overleaf/jpa-build-scripts-sync 2024-09-10 08:05:01 +00:00

overleaf/notifications

An API for managing user notifications in Overleaf

database indexes

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

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

License

The code in this repository is released under the GNU AFFERO GENERAL PUBLIC LICENSE, version 3.

Copyright (c) Overleaf, 20162019.