overleaf/services/document-updater
Domagoj Kriskovic 3e701f1388 Send operations to project-history when deleting comments (#17198) (#17494)
* Make Operation.fromRaw parse AddComment operations

* Send operations to project-history when deleting comments

* remove RedisManager.updateDocument call

* format fix

* Revert "remove RedisManager.updateDocument call"

This reverts commit 5d45f34b5919bf5a85e8475e5a450bcb213d3f82.

* remove versions from deleteComment op

* pass userId to deleteComment operation

* revert userId from chat service

* revert userid from chat tests

* format:fix

* document updater fix tests

* format:fix

* fix web unit test

* deleteThread test fix

* send only if historyRangesSupport is true

* use headers to pass userId

* set historyRangesSupport in tests

* optional headers

* Revert "use headers to pass userId"

This reverts commit e916c469f95b1ac166e30e12e735171eb814af01.

---------

Co-authored-by: Eric Mc Sween <5454374+emcsween@users.noreply.github.com>
GitOrigin-RevId: 14c10669e43d76883dbaaa8ab55e102b5ebadd38
2024-03-12 09:03:55 +00:00
..
app/js Send operations to project-history when deleting comments (#17198) (#17494) 2024-03-12 09:03:55 +00:00
benchmarks
config Merge pull request #16873 from overleaf/dp-mongo-command-monitoring 2024-02-23 09:02:55 +00:00
scripts
test Send operations to project-history when deleting comments (#17198) (#17494) 2024-03-12 09:03:55 +00:00
.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.