Jakob Ackermann
d56477565c
[web] deduplicate getting the project when loading the editor ( #32762 )
...
* [web] enable async local storage on all the endpoints
Co-authored-by: Brian Gough <brian.gough@overleaf.com >
* [web] deduplicate getting the project when loading the editor
Co-authored-by: Brian Gough <brian.gough@overleaf.com >
* [web] use ProjectAccess state for computing analytics segmentation
Co-authored-by: Brian Gough <brian.gough@overleaf.com >
* [web] restore ownership of active flag and deferredTpdsFlushCounter
* [web] add missing await
* [web] update unit tests
* [web] add metrics for project access caching
* [web] add missing test mock
* [web] invalidate async local storage when changing project access
* [web] deduplicate project lookup when checking for token access
* [web] add helper function for getting cached ProjectAccess
* [web] add acceptance test for caching of ProjectAccess
* [web] account for saas-only project access in tests
* Revert "[web] enable async local storage on all the endpoints"
This reverts commit 1b82f3b935040e8cfd180d1f6bf4183a655580e2.
* [web] add async local storage to project endpoints in top-50
* [web] invalidate async local storage for project access from modules
Co-authored-by: Jessica Lawshe <jessica.lawshe@overleaf.com >
---------
Co-authored-by: Brian Gough <brian.gough@overleaf.com >
Co-authored-by: Jessica Lawshe <jessica.lawshe@overleaf.com >
GitOrigin-RevId: 3eea7956b24e6f937dc1c17948681063d4dca3ea
2026-04-17 08:07:08 +00:00
Jakob Ackermann
917d2700c8
[web] use a global shared mock for the metrics module ( #32799 )
...
GitOrigin-RevId: 72874ba6c06c2a602b01cc029bc9c71ce3ce8892
2026-04-15 08:05:38 +00:00
Antoine Clausse
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
Brian Gough
527f56599f
Merge pull request #21706 from overleaf/bg-clear-projects-from-docupdater
...
clear inactive projects from docupdater when archiving
GitOrigin-RevId: 8fb11e6ebd29dfaafb62c10e07e774b90301b5ae
2024-12-09 09:04:44 +00:00
andrew rumble
032deaf05c
Switch to mongodb-legacy
...
GitOrigin-RevId: 11e09528c153de6b7766d18c3c90d94962190371
2024-08-21 08:04:24 +00:00
David
148f6d6f96
Merge pull request #17065 from overleaf/dp-mongoose-callback-inactive-project-manager
...
Promisify InactiveProjectManager and InactiveProjectManagerTests
GitOrigin-RevId: 985d0d4c80bfd1e46fa3c85c98203432459bdc84
2024-02-20 09:04:33 +00:00
Jessica Lawshe
0de648eecd
Merge pull request #12774 from overleaf/ds-em-mongo-secondary-db-fix
...
Bug fix - Mongo DB secondary preference
GitOrigin-RevId: d9adc0a7e1ee5085b34c5c1ddfdc715967607fc3
2023-04-28 08:04:51 +00:00
Jakob Ackermann
f0bd6dda23
Merge pull request #7986 from overleaf/jpa-eslint-8
...
[misc] upgrade eslint packages to the latest version everywhere
GitOrigin-RevId: f1480d4a171acef82fb26c4aa54be3a6088b0ab3
2022-05-17 08:05:59 +00:00
Jakob Ackermann
5e773ce950
Merge pull request #4101 from overleaf/ae-settings-module
...
Migrate from `settings-sharelatex` to `@overleaf/settings`
GitOrigin-RevId: 9a298ba26382180c1351683c5fddc9004418c1e6
2021-07-08 02:08:28 +00:00
Alf Eaton
1be43911b4
Merge pull request #3942 from overleaf/prettier-trailing-comma
...
Set Prettier's "trailingComma" setting to "es5"
GitOrigin-RevId: 9f14150511929a855b27467ad17be6ab262fe5d5
2021-04-28 02:10:01 +00:00
Alf Eaton
1ebc8a79cb
Merge pull request #3495 from overleaf/ae-prettier-2
...
Upgrade Prettier to v2
GitOrigin-RevId: 85aa3fa1acb6332c4f58c46165a43d1a51471f33
2021-04-15 02:05:22 +00:00
Eric Mc Sween
9ddaa8c9f6
Merge pull request #3830 from overleaf/em-upgrade-node-12
...
Upgrade to Node 12
GitOrigin-RevId: 19870922884b7c98e7e5f2c94df21829672d2db5
2021-04-01 02:05:52 +00:00
Alf Eaton
2ff1cf43d6
Merge pull request #3470 from overleaf/eslint
...
Upgrade and configure ESLint
GitOrigin-RevId: ad5aeaf85e72c847a125ff3a9db99a12855e38aa
2020-12-16 03:08:28 +00:00
Jakob Ackermann
6eeb7857e3
Merge pull request #3390 from overleaf/jpa-faster-unit-tests
...
[perf] faster unit tests
GitOrigin-RevId: 188b8f3752638fde7a27a8d83b416bb9a6e3c95e
2020-11-28 03:04:01 +00:00
Simon Detheridge
4415f77b18
Merge pull request #3140 from overleaf/ho-swallow-deactive-project-err
...
if deactivateProject errors, continue the deactivateOldProjects jobs
GitOrigin-RevId: b3c2584e0a042cb3c78e609314c320a9b657640c
2020-08-27 02:04:13 +00:00
Miguel Serrano
2e8f66ac6b
Merge pull request #3075 from overleaf/msm-codemod-oerror-v3-logging
...
Replaced logger.warn statements with OError.tag()
GitOrigin-RevId: 4d821ec48a0006abb1fcffe07dbb5511c88f5b9a
2020-08-12 02:07:03 +00:00
Shane Kilkelly
238e2b2565
Merge pull request #1937 from overleaf/spd-sandboxedmodule-global-console
...
Add 'console' to SandboxedModule globals
GitOrigin-RevId: fad442ca128561a4fa193b929f217cf31ad0f043
2019-07-15 10:44:47 +00:00
Timothée Alby
e73a5d9103
Merge pull request #1923 from overleaf/ta-error-log-level
...
Reduce Log Level
GitOrigin-RevId: 63a8859e6b78cb0774a28069089f4bce73eb91ec
2019-07-01 14:06:36 +00:00
Simon Detheridge
757ae39487
Merge pull request #1899 from overleaf/spd-implicit-return-tests
...
Decaf cleanup: Remove implicit return from 'it' and 'describe' in tests
GitOrigin-RevId: f297820e6212dddc0d60697a2fe1612ef27403b6
2019-06-21 13:58:57 +00:00
Alasdair Smith
0ca81de78c
Merge pull request #1717 from overleaf/as-decaffeinate-backend
...
Decaffeinate backend
GitOrigin-RevId: 4ca9f94fc809cab6f47cec8254cacaf1bb3806fa
2019-05-29 09:32:21 +00:00