overleaf/services/document-updater/test/unit/coffee
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
..
DiffCodec Initial open sourcing 2014-02-12 10:40:42 +00:00
DispatchManager revert the removal of realtime keyspace 2019-02-07 15:27:51 +00:00
DocumentManager record last author id on document flush 2019-05-02 11:10:02 +01:00
HistoryManager Revert "Revert "Add projectHistoryId to updates"" 2018-04-23 12:08:04 +01:00
HistoryRedisManager Revert "turn down logging, use logger.info for less important data" 2019-02-06 15:29:22 +00:00
HttpController use explicit json content-type to avoid security issues with text/html 2019-02-12 16:45:11 +00:00
LockManager Fix unit test namespacing from mocha upgrade 2018-02-15 16:28:58 +00:00
PersistenceManager record last author id on document flush 2019-05-02 11:10:02 +01:00
ProjectHistoryRedisManager remove redis.realtime 2018-12-05 16:17:41 +00:00
ProjectManager Record a snapshot to mongo when a doc's comments/changes get collapsed 2019-04-11 13:27:46 +01:00
RangesManager Record a snapshot to mongo when a doc's comments/changes get collapsed 2019-04-11 13:27:46 +01:00
RateLimitManager put a rate limit on worker calls 2017-05-26 15:08:35 +01:00
RealTimeRedisManager include a unique id in every message published to redis 2019-03-21 12:10:15 +00:00
RedisManager record last author id on document flush 2019-05-02 11:10:02 +01:00
ShareJS Revert "Support a {dr:...} op for deleting ranges" 2017-01-09 09:24:19 +01:00
ShareJsDB Fix ShareJsDB tests 2016-12-01 17:14:40 +00:00
ShareJsUpdateManager Revert "turn down logging, use logger.info for less important data" 2019-02-06 15:29:22 +00:00
UpdateManager record last author id on document flush 2019-05-02 11:10:02 +01:00