overleaf/services/web/app/src
Antoine Clausse b0419a86f2 [web] Add audit logs for clear_sessions_set_must_reconfirm script, "must-reset-password-set" and "must-reset-password-unset" (#21776)
* Promisify clear_sessions_set_must_reconfirm.mjs

* Add test on PasswordResetTests.mjs

* Add `must-reset-password-unset` audit log

* Add `must-reset-password-set` audit log

* Add test ClearSessionsSetMustReconfirmTests.mjs

* Fixup bad copy-paste in test: `must-reset-password-set` -> `must-reset-password-unset`

* Check `must_reconfirm` before calling `removeReconfirmFlag`

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

* Fix unit test

* Use `promiseMapWithLimit`

* Add `{ script: true }` to AuditLog. Also use `undefined` instead of `null` for consistency

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 522026c82196d263c196503d899b8c57b05b31dd
2024-11-15 09:05:21 +00:00
..
Features [web] Add audit logs for clear_sessions_set_must_reconfirm script, "must-reset-password-set" and "must-reset-password-unset" (#21776) 2024-11-15 09:05:21 +00:00
infrastructure Merge pull request #21566 from overleaf/td-bs5-website-redesign 2024-11-05 09:05:30 +00:00
models [web] Add mainBibliographyDocId to projects (#20842) 2024-10-29 09:04:42 +00:00
util Merge pull request #21556 from overleaf/em-subscription-change-interstitial 2024-11-07 09:04:49 +00:00
router.mjs Remove web /spelling/check endpoint (#21740) 2024-11-11 09:05:04 +00:00
tsconfig.json Merge pull request #16353 from overleaf/em-typescript-in-web-backend 2024-01-04 09:03:43 +00:00