mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 00:33:46 +00:00
c4437c69bc
* added getHistoryOpForAcceptedChange in RangesManager * rename adjustHistoryUpdatesMetadata to be treated as public * handle retain op in UpdateTranslator and updateCompressor * send op to project-history in acceptChanges * use promises.queueOps * use ranges in getHistoryOpForAcceptedChange * using rangesWithChangeRemoved * acceptChanges acceptance test * using change.op.hpos * Revert "using change.op.hpos" This reverts commit f53333b5099c840ab8fb8bb08df198ad6cfa2d84. * use getHistoryOpForAcceptedChanges * fix historyDocLength * Revert "rename adjustHistoryUpdatesMetadata to be treated as public" This reverts commit 2ba9443fd040a5c953828584285887c00dc40ea6. * fix typescript issues * sort changes before creating history updates * fix tests * sinon spy RangesManager.getHistoryUpdatesForAcceptedChanges * added unit tests * sort deletes before inserts * use getDocLength function * fix docLength calculation * fix typo * allow all retains * fix lint error * refactor RangesTests * fix ts error * fix history_doc_length calculation in RangesManager * remove retain tracking check from UpdateCompressor * use makeRanges() properly in tests * refactor acceptance tests GitOrigin-RevId: ab12ec53c5f52c20d44827c6037335e048f2edb0 |
||
---|---|---|
.. | ||
app/js | ||
benchmarks | ||
config | ||
scripts | ||
test | ||
.gitignore | ||
.mocharc.json | ||
.nvmrc | ||
app.js | ||
buildscript.txt | ||
docker-compose.ci.yml | ||
docker-compose.yml | ||
Dockerfile | ||
expire_docops.js | ||
LICENSE | ||
Makefile | ||
package.json | ||
README.md | ||
tsconfig.json |
overleaf/document-updater
An API for applying incoming updates to documents in real-time.
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) Overleaf, 2014-2019.