overleaf/services/track-changes/test/unit/coffee
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
..
DiffGenerator Don't error when rewinding and insert op which is beyond the length of the document. 2015-09-25 13:44:44 +01:00
DiffManager Implement project update getter methods 2014-03-19 17:44:16 +00:00
DocArchive fix tests 2015-09-23 15:34:36 +01:00
DocumentUpdaterManager Take user id in from request header and pass to doc updater 2014-03-11 13:01:07 +00:00
HttpController add some unit test 2015-08-31 18:13:18 -03:00
LockManager fixed tests 2014-09-26 17:51:41 +01:00
MongoManager fix tests 2015-09-23 15:34:36 +01:00
RedisManager fixed tests 2014-09-26 17:51:41 +01:00
RestoreManager Take user id in from request header and pass to doc updater 2014-03-11 13:01:07 +00:00
UpdateCompressor Don't trip up over empty ops 2014-03-25 11:40:48 +00:00
UpdatesManager support forcing new compressed update in popLastCompressedUpdate 2015-09-23 13:22:38 +01:00
UpdateTrimmer Remove old history deletion method 2014-05-29 15:37:16 +01:00
WebApiManager Add a test for when the user can't be found. 2015-09-10 14:32:18 +01:00