mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 20:11:32 +02:00
* Refactor `ClsiCookieManager` to use async/await * Refactor `CompileController` to use async/await * Fix tests: CompileControllerTests.js * Fix tests: ClsiCookieManagerTests.js * Fixup: keep old object key (`serverId`->`clsiServerId`) * Prefix non-express methods with an underscore * Use async versions of `rclient` methods * Fix: `canContinue` must be `false` when rate limited (!!) * Remove unused `ClsiCookieManager.getCookieJar` * Remove bad comments * Fix linting * Replace `request` by `@overleaf/fetch-utils` * Replace `callsFake` by `resolves` * Update `catch` block after request->fetch update: check status code * Re-add timeout of 30s (was removed in 3df75ab5ccc8a63bd69a6a6e6052ef0451b76220) * `npm run format:fix` * Don't throw on 4xx errors; keep functionality similar to the current implementation using `request`. GitOrigin-RevId: ef161f6c252d13f407e9cf28029b62061d6b992f