overleaf/services/web/frontend/js/ide
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
..
binary-files Merge pull request #15342 from overleaf/td-remove-file-tree-manager-in-react 2023-10-27 08:03:10 +00:00
chat Merge pull request #5499 from overleaf/msm-remove-angular-nav-toolbar 2021-11-09 09:04:16 +00:00
cobranding Merge pull request #3942 from overleaf/prettier-trailing-comma 2021-04-28 02:10:01 +00:00
colors Merge pull request #3973 from overleaf/as-clean-up-hue-generator 2021-05-19 02:06:15 +00:00
connection Merge pull request #18222 from overleaf/jpa-socket-io-mock 2024-05-09 08:05:14 +00:00
directives Remove unused Angular code from "main" and "ide" endpoints (#15868) 2023-12-06 09:04:45 +00:00
editor [web] support for reverting binary files (#18033) 2024-05-30 08:04:20 +00:00
file-tree Merge pull request #15129 from overleaf/mj-jpa-angular-parameters 2023-10-16 08:04:25 +00:00
file-view Merge pull request #4158 from overleaf/ae-rename-file-view 2021-06-11 02:06:38 +00:00
history/util Remove history-related Angular code (#15932) 2023-11-29 09:04:17 +00:00
human-readable-logs Add citepalias and citetalias (#18272) 2024-05-17 08:04:20 +00:00
log-parser Remove latex-log-parser split test (#17999) 2024-04-23 08:05:16 +00:00
metadata Merge pull request #15129 from overleaf/mj-jpa-angular-parameters 2023-10-16 08:04:25 +00:00
online-users Merge pull request #7986 from overleaf/jpa-eslint-8 2022-05-17 08:05:59 +00:00
permissions Merge pull request #3942 from overleaf/prettier-trailing-comma 2021-04-28 02:10:01 +00:00
references Merge pull request #15242 from overleaf/mf-index-all-references-after-bib-is-modified 2023-10-19 08:03:25 +00:00
review-panel Send operations to project-history when resolving/unresolving comments (#17540) 2024-04-10 08:04:08 +00:00
services Merge pull request #15129 from overleaf/mj-jpa-angular-parameters 2023-10-16 08:04:25 +00:00
toolbar Store editor selection on a per-user rather than per-project basis (#16246) 2023-12-19 09:04:31 +00:00
LoadingManager.js Merge pull request #10794 from overleaf/td-resize-while-loading 2022-12-07 09:04:14 +00:00