overleaf/libraries/promise-utils
Miguel Serrano f4454cfe7e [web] Make SamlLogHandler.log() calls asynchronous (#17207)
* [web] Refactor exports in ErrorController

* [web] Make SamlLogHandler.log() async

* [web] await for SamlLogHandler.log() in ErrorController

* [web] await for SamlLogHandler.log() in SAMLMiddleware

* [web] await for SamlLogHandler.log() async controllers

* [web] await for SamlLogHandler.log() in SAMLManager

* [web] Remove explicit wait when testing SAML logs

After making the logs asynchronouse the wait
is no longer needed

* [web] Avoid using async with SamlLogHandler.log on callbacks

* Add expressifyErrorHandler to promise-utils

* Tighten assertion in SAMLMiddlewareTests

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Updated SamlLogHandler.log to await for promise

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 3645923fae8096a9ba25dc9087f1a36231528569
2024-02-23 09:03:14 +00:00
..
test [web] Make SamlLogHandler.log() calls asynchronous (#17207) 2024-02-23 09:03:14 +00:00
.dockerignore [visual] Disable figure and table editing when read-only (#15349) 2023-10-26 08:03:08 +00:00
.gitignore [visual] Disable figure and table editing when read-only (#15349) 2023-10-26 08:03:08 +00:00
.mocharc.json [visual] Disable figure and table editing when read-only (#15349) 2023-10-26 08:03:08 +00:00
.nvmrc Merge pull request #17170 from overleaf/jpa-node-18-19-1 2024-02-20 09:04:55 +00:00
buildscript.txt Merge pull request #17170 from overleaf/jpa-node-18-19-1 2024-02-20 09:04:55 +00:00
index.js [web] Make SamlLogHandler.log() calls asynchronous (#17207) 2024-02-23 09:03:14 +00:00
package.json Merge pull request #16661 from overleaf/em-fix-tsconfig 2024-01-24 09:05:09 +00:00
tsconfig.json Merge pull request #16524 from overleaf/em-fix-typescript-backend 2024-01-17 09:03:42 +00:00