overleaf/services/web/frontend/js
Domagoj Kriskovic 218a4538c1 [web] support for reverting binary files (#18033)
* [web] revert binary file

* use addEntityWithName if file was deleted

* todo comments

* only show Revert file in ui even if deleted

* use _revertBinaryFile function

* emit new ids when reverting

* format:fix

* await emitToRoom calls

* use EditorController.upsertFile

* remove _revertBinaryFile function

* binary file check

* mock importFile method in tests

* move findElementByPath stub

* debug ci error

* resolve with empty object as file

* fix tests

* remove await before expect()

* format:fix

* test when binary file exists and when it does not

* use "file-revert" for source

* [web] revert existing file without ranges support (#18107)

* [web] revert existing file without ranges support

* ignore document_updated_externally if file-revert

* fix test

GitOrigin-RevId: a5e0c83a7635bc7d934dec9debe916bdd4beb51e
2024-05-30 08:04:20 +00:00
..
directives Remove MathJax v2 (#16961) 2024-02-09 09:06:42 +00:00
features [web] support for reverting binary files (#18033) 2024-05-30 08:04:20 +00:00
ide [web] support for reverting binary files (#18033) 2024-05-30 08:04:20 +00:00
infrastructure Merge pull request #16608 from overleaf/jpa-writefull-double-loaded 2024-01-24 09:03:47 +00:00
main Remove "upgrade to annual" page (#18014) 2024-04-24 08:04:04 +00:00
modules Merge pull request #15129 from overleaf/mj-jpa-angular-parameters 2023-10-16 08:04:25 +00:00
pages Merge pull request #18419 from overleaf/mf-plans-page-permanent-url 2024-05-29 08:05:11 +00:00
services Remove unused Angular code from "main" and "ide" endpoints (#15868) 2023-12-06 09:04:45 +00:00
shared Merge pull request #18338 from overleaf/ii-bs5-split-badges-and-tags 2024-05-28 08:04:05 +00:00
utils Merge pull request #18222 from overleaf/jpa-socket-io-mock 2024-05-09 08:05:14 +00:00
vendor/libs Merge pull request #16184 from overleaf/ae-sharejs-esm 2023-12-15 09:03:35 +00:00
base.js Remove MathJax v2 (#16961) 2024-02-09 09:06:42 +00:00
bootstrap-3.ts Merge pull request #18276 from overleaf/td-bs5-load-js 2024-05-16 08:04:59 +00:00
bootstrap-5.ts Merge pull request #18276 from overleaf/td-bs5-load-js 2024-05-16 08:04:59 +00:00
dev-toolbar.js Merge pull request #15808 from overleaf/ab-split-test-dev-toolbar 2023-11-24 09:04:40 +00:00
i18n.js Disable transSupportBasicHtmlNodes in react-i18next config (#15430) 2023-10-31 09:04:04 +00:00
ide-detached.js Merge pull request #7034 from overleaf/ta-pdf-detach-full 2022-04-05 12:19:23 +00:00
ide.js Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup 2024-02-09 09:04:11 +00:00
libraries.js Merge pull request #15385 from overleaf/jpa-remove-fetch-polyfill 2023-10-25 08:04:12 +00:00
main.js Remove "upgrade to annual" page (#18014) 2024-04-24 08:04:04 +00:00
marketing.js Merge pull request #18276 from overleaf/td-bs5-load-js 2024-05-16 08:04:59 +00:00
tracing.js Merge pull request #10279 from overleaf/jpa-tracing-optimizations 2022-11-04 09:05:00 +00:00