overleaf/services/track-changes
James Allen 23dfe68cb8 Don't error when rewinding and insert op which is beyond the length of the document.
ShareJS will accept an op where p > content.length when applied,
and it applies as though p == content.length. However, the op is
passed to us with the original p > content.length. Detect if that
is the case with this op, and shift p back appropriately to match
ShareJS if so.
2015-09-25 13:44:44 +01:00
..
app/coffee Don't error when rewinding and insert op which is beyond the length of the document. 2015-09-25 13:44:44 +01:00
config add unarchive doc track from s3 2015-08-06 17:09:36 -03:00
test Don't error when rewinding and insert op which is beyond the length of the document. 2015-09-25 13:44:44 +01:00
.gitignore
.travis.yml
app.coffee remove if statments checking if s3 is a backend 2015-09-08 16:23:15 +01:00
benchmark.coffee
Gruntfile.coffee
LICENSE
package.json change mongo stream method (still have a bug in bulk insert limit) 2015-08-14 19:19:54 -03:00
README.md

track-changes-sharelatex

An API for converting raw editor updates into a compressed and browseable history.

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.