Jakob Ackermann
cb0266035d
[web] remove unnecessary filtering of rootFolder ( #31585 )
...
11 years ago, the db.projects collection was storing doc lines in the
file-tree/rootFolder. Any operations on the project that did not need
those lines were benefitting from excluding all those entries from the
file-tree. These days, the verbose exclusions are not useful anymore and
merely add load on mongo.
REF: 9805c6a9ff
GitOrigin-RevId: 89f544688934c1ed1ca98877ffbe8baefe66c126
2026-02-19 09:06:13 +00:00
Antoine Clausse
16b83b128b
[web] Promisify ProjectRootDocManager ( #30327 )
...
* Remove ESLint disable
* Unnest ProjectRootDocManager methods
* Promisify `setRootDocAutomatically`
* Promisify `findRootDocFileFromDirectory`
* Promisify `setRootDocFromName`
* Promisify `ensureRootDocumentIsSet`
* Promisify `ensureRootDocumentIsValid`
* Promisify `_sortFileList`
* Fixup export
* Call `ProjectRootDocManager.promises.setRootDocAutomatically` so mocks work
* Update ProjectRootDocManager.test.mjs
* Remove expects on callbacks
* Add `return` on the first matching entry in `setRootDocAutomatically`
See https://github.com/overleaf/internal/pull/30327#discussion_r2624011209
Co-authored-by: Brian Gough <brian.gough@overleaf.com >
---------
Co-authored-by: Brian Gough <brian.gough@overleaf.com >
GitOrigin-RevId: f83e8239f65776d23b49cb7a569181abc7c9a276
2026-01-08 09:05:12 +00:00
Andrew Rumble
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
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
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
4f02a85aa4
Update paths
...
GitOrigin-RevId: 399c594dd1bbf739d91874df6be3b70e57fe01e3
2025-11-06 09:05:57 +00:00
Andrew Rumble
7bda755d0e
Convert to ESM
...
GitOrigin-RevId: 572dafeaddea99be28ec1e1116e49aaf203be340
2025-10-23 08:06:20 +00:00
Andrew Rumble
0d73904c4b
Rename files
...
GitOrigin-RevId: 7e8fde9258e71ab3649d1d83addeb5164d8b4251
2025-10-23 08:06:05 +00:00