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 Merge pull request #15991 from overleaf/mj-doc-updater-benchmark 2023-12-05 09:03:43 +00:00
config Merge pull request #16873 from overleaf/dp-mongo-command-monitoring 2024-02-23 09:02:55 +00:00
scripts Merge pull request #16589 from overleaf/jpa-script-redis-mongo-mismatch 2024-01-24 09:03:59 +00:00
test Send operations to project-history when deleting comments (#17198) (#17494) 2024-03-12 09:03:55 +00:00
.gitignore [misc] bump the dev-env to 3.3.1 2020-08-06 12:39:58 +01:00
.mocharc.json Reintroduce Node 12 and metrics upgrades 2021-04-01 15:51:00 -04:00
.nvmrc Merge pull request #17170 from overleaf/jpa-node-18-19-1 2024-02-20 09:04:55 +00:00
app.js Merge pull request #16888 from overleaf/jpa-faster-filestore-stop-in-dev 2024-02-06 09:03:19 +00:00
buildscript.txt Merge pull request #17170 from overleaf/jpa-node-18-19-1 2024-02-20 09:04:55 +00:00
docker-compose.ci.yml Merge pull request #16849 from overleaf/hb-issue-16799-mongdodb-v5-to-v6 2024-02-14 09:04:38 +00:00
docker-compose.yml Merge pull request #17170 from overleaf/jpa-node-18-19-1 2024-02-20 09:04:55 +00:00
Dockerfile Merge pull request #17170 from overleaf/jpa-node-18-19-1 2024-02-20 09:04:55 +00:00
expire_docops.js Merge pull request #5367 from overleaf/jpa-node-handle-callback-err 2021-10-28 08:03:26 +00:00
LICENSE Create LICENSE 2014-02-18 17:23:36 +00:00
Makefile Merge pull request #17170 from overleaf/jpa-node-18-19-1 2024-02-20 09:04:55 +00:00
package.json Merge pull request #16644 from overleaf/em-promisify-update-manager 2024-01-30 16:49:23 +00:00
README.md Merge branch 'master' into bg-downgrade-delete-component-error 2019-05-08 09:07:02 +01:00
tsconfig.json Merge pull request #16385 from overleaf/em-typescript-other-services 2024-01-12 09:03:22 +00:00

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.