Brian Gough and Copybot
44ecee821d
Fix temp file leaks in dumpFolder on both success and error paths ( #31304 )
...
GitOrigin-RevId: b5d8586a86030fb887cbd7dadd9bbb7cd64a788c
2026-02-11 09:06:27 +00:00
Simon Gardner and Copybot
bb7b8ee227
[web] Add audit log entries for project-history-version-restore and project-history-version-download
...
GitOrigin-RevId: 8cfe1fee733aa886cd6518d352abd95bd9da6f77
2026-01-14 10:17:40 +00:00
Andrew Rumble and Copybot
07c827e9fd
Merge pull request #29928 from overleaf/ar-last-infrastructure-conversions
...
[web] last infrastructure conversions
GitOrigin-RevId: ad1aff9b7df0610ed0303157d9e2c8032f32c02b
2025-11-28 09:05:56 +00:00
Andrew Rumble and Copybot
18f44866e5
Merge pull request #29919 from overleaf/revert-29795-ar-last-infrastructure-conversions
...
Revert "[web] last infrastructure conversions"
GitOrigin-RevId: 48dc64553012afb5d2db4b2eb9c9898489b7e5ef
2025-11-27 09:05:54 +00:00
Andrew Rumble and Copybot
d748d8d606
Merge pull request #29795 from overleaf/ar-last-infrastructure-conversions
...
[web] last infrastructure conversions
GitOrigin-RevId: 68aa11625a9bc6d0d5324ecd95bb5ac52af8ee96
2025-11-27 09:05:30 +00:00
Andrew Rumble and Copybot
beb6f6d484
Merge pull request #29597 from overleaf/ar-last-features-esm-conversion
...
[web] last features esm conversion
GitOrigin-RevId: a35ab995bf654f1cdfe0e0062d8806761ecccf2d
2025-11-21 09:05:36 +00:00
Andrew Rumble and Copybot
c7c15b2066
Split tests into sequential and parallel projects
...
Sequential tests need to be run without parallelism because they rely on
a database fixture that can have side effects.
GitOrigin-RevId: b614cbe4dbaf2319e681d5607a0a64cbbed8c021
2025-11-06 09:06:06 +00:00
Andrew Rumble and Copybot
4f02a85aa4
Update paths
...
GitOrigin-RevId: 399c594dd1bbf739d91874df6be3b70e57fe01e3
2025-11-06 09:05:57 +00:00
Andrew Rumble and Copybot
93b7274ea6
Convert tests to ESM
...
GitOrigin-RevId: 03bd4db8cddc548706439edd7f6db0bc3e7ed9d3
2025-11-06 09:05:51 +00:00
Andrew Rumble and Copybot
0f4d5a7be6
Rename files
...
GitOrigin-RevId: 80b975b03ebca16328b84fabf11e71bbea87c8bc
2025-11-06 09:05:41 +00:00
Andrew Rumble and Copybot
b7c883ac38
Convert tests to ESM
...
GitOrigin-RevId: 20585e01dee90e691476a0d47fd5c63b0412e4a6
2025-10-23 08:06:15 +00:00
Andrew Rumble and Copybot
f02f6475ac
Update paths
...
GitOrigin-RevId: a9474c8f36e8b287de4dd8fda29bc082001444ac
2025-10-23 08:06:10 +00:00
Andrew Rumble and Copybot
0d73904c4b
Rename files
...
GitOrigin-RevId: 7e8fde9258e71ab3649d1d83addeb5164d8b4251
2025-10-23 08:06:05 +00:00
Eric Mc Sween and Copybot
84e4808812
Merge pull request #28656 from overleaf/em-restore-optimize-file-download
...
File restore: optimize file download from history
GitOrigin-RevId: c32afe7d2ede2372e95490f62e79266f5f6d58da
2025-09-29 08:06:56 +00:00
Eric Mc Sween and Copybot
a7c64d05e8
Merge pull request #28655 from overleaf/em-restore-avoid-doc-download
...
File restore: avoid downloading docs unnecessarily
GitOrigin-RevId: bf5faab7510b118041aaf848f9acb3eb864b5cc4
2025-09-29 08:06:51 +00:00
Eric Mc Sween and Copybot
98069966ba
Merge pull request #28672 from overleaf/em-reapply-restore-optimization
...
Reapply file restore optimization
GitOrigin-RevId: c4479141d890e3e0af746f406a0186bf21f3d918
2025-09-25 08:05:25 +00:00
Domagoj Kriskovic and Copybot
e9b1c63ed7
Revert "File restore optimization - using snapshot timestamp and file paths ( #28546 )"
...
This reverts commit 376a53e1f927cb56544e6782b47d80345655038c.
GitOrigin-RevId: 8e4ab1d4042fec8df1b62ab1c5418d873dc6f5eb
2025-09-24 08:06:06 +00:00
005eba7502
File restore optimization - using snapshot timestamp and file paths ( #28546 )
...
* Use snapshot timestamp, remove request for paths at version
* Add timestamp to core Snapshot object
* Avoid mutating function argument
* Explain assumption about editable files
* snapshot.toRaw() in getContentAtVersion
* fix project-history acceptance test
* fix history_v1 test
* fix web tests
* Include the snapshot timestamp in stored chunks
---------
Co-authored-by: Eric Mc Sween <5454374+emcsween@users.noreply.github.com >
GitOrigin-RevId: 376a53e1f927cb56544e6782b47d80345655038c
2025-09-24 08:06:02 +00:00
Mathias Jakobsen and Copybot
6c6048002b
Merge pull request #28595 from overleaf/revert-28594-revert-28533-mj-blob-ranges-maxsize
...
[web+history-v1] Retry: Use range request for binary blobs in project snapshot
GitOrigin-RevId: defc279c9918695135962d65603a2941c5c4b033
2025-09-22 08:05:23 +00:00
Mathias Jakobsen and Copybot
67d10e96bd
Merge pull request #28594 from overleaf/revert-28533-mj-blob-ranges-maxsize
...
Revert "[web+history-v1] Use range request for binary blobs in project snapshot"
GitOrigin-RevId: 580491611a1b43104846f8509dd1e920f8077c9c
2025-09-22 08:05:15 +00:00
Mathias Jakobsen and Copybot
6c79ce97cc
Merge pull request #28533 from overleaf/mj-blob-ranges-maxsize
...
[web+history-v1] Use range request for binary blobs in project snapshot
GitOrigin-RevId: e72a2d481bf163b3e85361b42e30e82cf867f1cf
2025-09-22 08:05:04 +00:00
Domagoj Kriskovic and Copybot
484a01a173
Use history snapshot when doing file/project restore ( #28502 )
...
* Add getDocUpdaterCompatibleRanges utility function
* use history snapshot for file/project restore
* move overleaf-editor-core from devDependencies
GitOrigin-RevId: 62481a5304ada9d931e018418be3c0719bccf1f3
2025-09-19 08:07:58 +00:00
Antoine Clausse and Copybot
71f0b28a84
[web] Convert some Features files to ES modules (part 3) ( #28494 )
...
* Rename files to mjs
* Rename test files to mjs
* Update CODEOWNERS
* Update files to ESM
* Update test files to ESM
* Update RestoreManager.test.mjs
* Remove unused `AdminAuthorizationHelper` mock and stub
* Remove unnecessary return
GitOrigin-RevId: 2b9ef126de1d8964afbc6e5641cca36712655866
2025-09-17 08:05:02 +00:00
Antoine Clausse and Copybot
009bc4463d
Merge pull request #28273 from overleaf/ac-some-web-esm-migration
...
[web] Convert some Features files to ES modules (part 1)
GitOrigin-RevId: d19b024efad315143e022143e2a2683df8071744
2025-09-09 08:06:22 +00:00
Domagoj Kriskovic and Copybot
c984134142
Open selected file on project restore ( #28145 )
...
* Open selected file on project restore
* check if restorationState is "restoring" before opening a file
GitOrigin-RevId: c6f4cf69ecbe55b1d1949e4524fe7e39737c5487
2025-09-03 08:05:30 +00:00
Domagoj Kriskovic and Copybot
cffad44264
Add support for handling deleted root document in RestoreManager ( #28008 )
...
* Skip opening root document if delete originated from a file-restore
* handle project-restore origin
* Refactor isFileRestore logic
* Add support for handling deleted root document in RestoreManager
GitOrigin-RevId: 837144aa6e269cbffebf82624f58e8219fe654c4
2025-08-27 08:05:30 +00:00
Jakob Ackermann and Copybot
29045b9085
[web] download binary files in clsi from filestore via new endpoints ( #27505 )
...
* [history-v1] use String.padStart instead of lodash.padStart
* [web] download binary files in clsi from filestore via new endpoints
* [server-ce] tests: Cypress.env() is parsing boolean values
* [server-ce] tests: run history migration as root
GitOrigin-RevId: bdf6c0e542531ccc4b3f13d2ed68ca0d31e580e9
2025-07-31 08:05:28 +00:00
Jakob Ackermann and Copybot
982f647845
[web] copy duplicated comment id into id field ( #26481 )
...
GitOrigin-RevId: accd6d9dc0165ff2cc9f8edd28c42d38b76ba909
2025-06-18 08:05:39 +00:00
Jakob Ackermann and Copybot
f025f1d0cb
[web] let docstore determine a projects comment thread ids ( #26364 )
...
* [docstore] add endpoint for getting a projects comment thread ids
* [web] let docstore determine a projects comment thread ids
Also fetch the comment thread ids once when reverting project.
GitOrigin-RevId: c3ebab976821509c9627962e58918f9c6ebb0e1d
2025-06-13 08:08:00 +00:00
Miguel Serrano and Copybot
923708f9f9
Merge pull request #25889 from overleaf/jpa-web-wait-for-mongo
...
[web] wait for DB before fetching global blobs
GitOrigin-RevId: 2beefd39ae4be4d233e2aac018d471bf949faea2
2025-05-23 11:08:40 +00:00
Jakob Ackermann and Copybot
47b76a49d8
[web] start fetching load global blobs on module import ( #25757 )
...
GitOrigin-RevId: 7c1b6ed717142ad07d6ba5464aab2ecc6ebe9736
2025-05-21 08:05:59 +00:00
Jakob Ackermann and Copybot
f0edc7ba00
[web] update the projects lastUpdated timestamp when changing file-tree ( #24867 )
...
* [misc] freeze time before any other unit test setup steps
Freezing it after other work (notably sandboxed-module imports) will
result in flaky tests.
* [web] update the projects lastUpdated timestamp when changing file-tree
GitOrigin-RevId: b82b2ff74dc31886f3c4bd300375117eead6e0cd
2025-04-16 08:05:14 +00:00
Eric Mc Sween and Copybot
42aea53307
Merge pull request #24754 from overleaf/em-promisify-history-controller
...
Promisify HistoryController
GitOrigin-RevId: e1783acb8c7ba7e00b109a4f4a514973cc3163d2
2025-04-11 08:05:52 +00:00
Mathias Jakobsen and Copybot
67f3c468a1
Merge pull request #23274 from overleaf/mj-restore-main-history
...
[web] Restore main documents with metadata as docs
GitOrigin-RevId: f3664689704e9098c2b9e317d65e4ab2633320cb
2025-02-06 09:04:26 +00:00
Jakob Ackermann and Copybot
ce0d5fd383
Merge pull request #22177 from overleaf/jpa-file-view-hash-1
...
[web] migrate file-view to download from history-v1 (via web) 1/2
GitOrigin-RevId: b787e90c57af5e2704b06ba63502aa6fc09ea1df
2024-11-28 09:06:33 +00:00
Eric Mc Sween and Copybot
7dffcbf645
Merge pull request #22081 from overleaf/em-revert-file-dangling-comments
...
Fix comment restoration when restoring a doc
GitOrigin-RevId: 2288ab991ab4ddbe38320bf4ff42cde80ce40e52
2024-11-26 09:05:04 +00:00
Jakob Ackermann and Copybot
9cc6f2a9d5
Merge pull request #21829 from overleaf/jpa-backup-deletion
...
[history-v1] backup-deletion-app: initial revision
GitOrigin-RevId: 9e05c0e16595cb8d180861ef503c7b4522110d39
2024-11-18 09:05:44 +00:00
Mathias Jakobsen and Copybot
8245a95b4e
Merge pull request #20266 from overleaf/mj-revert-linked-file
...
[project-history+web] Restore metadata when reverting file
GitOrigin-RevId: dbfa8202a2fe0bf077d8eedb51a2a13b9f1e8a83
2024-09-09 08:04:53 +00:00
Mathias Jakobsen and Copybot
654d96ace6
Merge pull request #19743 from overleaf/mj-restore-project
...
[web+project-history] Add project version reverting
GitOrigin-RevId: 0f77cec730393187d531c0c6561faaa652bebf29
2024-08-21 08:05:08 +00:00
andrew rumble and Copybot
032deaf05c
Switch to mongodb-legacy
...
GitOrigin-RevId: 11e09528c153de6b7766d18c3c90d94962190371
2024-08-21 08:04:24 +00:00
David and Copybot
d7357b4d62
Merge pull request #19400 from overleaf/dp-duplicate-file-folder-name
...
Improvements to handling of file/folder upload conflicts
GitOrigin-RevId: 526edf30dfbaec7ee1e03ffd156365f09be25e86
2024-07-25 08:05:08 +00:00
Eric Mc Sween and Copybot
0be042e331
Merge pull request #19318 from overleaf/mj-revert-check-ranges-support
...
[web] Check that project has ranges support when reverting
GitOrigin-RevId: 761e435e9d640c08f27dd4ad2cef95934c0cc48b
2024-07-15 09:02:03 +00:00
Domagoj Kriskovic and Copybot
c3c97d9fb9
[web] return file type in revertFile ( #18995 )
...
* [web] return file type in revertFile
* fix revertFile unit test
* fix formatting
GitOrigin-RevId: e4ac0500ff6c72c7f7fa23a5f61b09ed31a28da0
2024-06-28 08:04:45 +00:00
Eric Mc Sween and Copybot
e73fdfba63
Merge pull request #18906 from overleaf/em-migrate-existing-histories-2
...
History ranges migration script - second attempt
GitOrigin-RevId: 60a2c04e2a72e76a58e9e179fefc4186a96fde32
2024-06-19 08:05:02 +00:00
Domagoj Kriskovic and Copybot
7e8e2b0585
Send origin metadata through docupdater and project-history when restoring files ( #18721 )
...
* add RestoreFileOrigin in overleaf-editor-core
* support source to be an object
* use sourceOrOrigin as param
* rename to originOrSource so the priority is more clear
* get timestamp from version
* fix test
* include version and min_count in getUpdatesFromHistory
* extractOriginOrSource util function
* fix RestoreManagerTests
GitOrigin-RevId: 0ace05a6ade2794c753a9d0bffb4f858ecc6899a
2024-06-18 08:04:34 +00:00
Mathias Jakobsen and Copybot
8c6c67564f
Merge pull request #18778 from overleaf/mj-web-chat-restore-tests
...
[chat+web] Add tests for revert functionality
GitOrigin-RevId: f10a5589d8ee1299949ef3decd8325d8fa1f7d41
2024-06-11 08:04:51 +00:00
Mathias Jakobsen and Copybot
c29c151c9f
Merge pull request #18803 from overleaf/revert-18801-mj-revert-big-deploy
...
[web+chat] Redo deploy
GitOrigin-RevId: a056bf20d49a39e71e03db740f57e8506dfc6b71
2024-06-11 08:03:59 +00:00
Mathias Jakobsen and Copybot
a26e3d3376
Merge pull request #18801 from overleaf/mj-revert-big-deploy
...
[web+chat] Revert big deploy
GitOrigin-RevId: f4d068cbea7e5f5d59a3d698e2def2f94c9b6322
2024-06-10 08:04:33 +00:00
Mathias Jakobsen and Copybot
d470093174
Merge pull request #18737 from overleaf/mj-chat-revert-existing-file
...
[web] Revert existing file by deleting it first
GitOrigin-RevId: ec9ed5c709c2631ff08dbc2e0f3633d303f12836
2024-06-10 08:04:29 +00:00
Mathias Jakobsen and Copybot
110b83aea0
Merge pull request #18710 from overleaf/mj-web-chat-send-thread-data
...
[chat+web] Inform frontend when duplicating threads
GitOrigin-RevId: 285afee8f5a016a8e7ac58e9538cc3ec8362681d
2024-06-10 08:04:25 +00:00