overleaf/services/document-updater
Tim Alby c1c23e4bee record last author id on document flush
This is a multi-steps process:
* get a update's `user_id` from the metadata
* store the `user_id` (`lastUpdatedBy`) and current date (`lastUpdatedAt`) for
  the document in Redis on every updates
* fetch `lastUpdatedAt` and `lastUpdatedBy` from Redis on document flush
* send the data to web to be persisted in Mongo
2019-05-02 11:10:02 +01:00
..
.github
app record last author id on document flush 2019-05-02 11:10:02 +01:00
config record last author id on document flush 2019-05-02 11:10:02 +01:00
redis_cluster
test record last author id on document flush 2019-05-02 11:10:02 +01:00
.dockerignore
.gitignore
.nvmrc
.travis.yml
app.coffee
buildscript.txt
docker-compose.ci.yml
docker-compose.yml
Dockerfile
expire_docops.coffee
Jenkinsfile
LICENSE
Makefile
nodemon.json
npm-shrinkwrap.json Fix package.json versions 2019-04-11 16:32:31 +01:00
package.json Fix package.json versions 2019-04-11 16:32:31 +01:00
README.md

document-updater-sharelatex

An API for applying incoming updates to documents in real-time.

Build Status

License

The code in this repository is released under the GNU AFFERO GENERAL PUBLIC LICENSE, version 3. A copy can be found in the LICENSE file.

Copyright (c) ShareLaTeX, 2014.