Antoine Clausse
f2788868ac
[web] Create script to re-add wrongly deleted emails ( #29550 )
...
* Allow passing auditLog extra info in addEmailAddress
* Create script re_add_deleted_emails.mjs
* Check email validity when parsing the CSV
* Allow no IP and initiator for the log events
* Add an acceptance test on re_add_deleted_emails
* Fix remove_unconfirmed_emails.mjs
We're not planning to run this again, but this could help if some code from here ever gets copy-pasted
* Fix remove_unconfirmed_emails.mjs
Rename `emailsToRemove` to `emailsToRemoveCandidates`
* Remove console.logs of event logs:
That's unnecessary complexity and we already have the data from the previous script
* Copy `addEmailAddress` into the script
* Handle primary emails correctly
* Ignore a TS error
* Fix async function in createUsers (tests)
* Add assertion for already in use emails in ReAddDeletedEmailsTests
* Add information in admin-panel for add-email audit logs
GitOrigin-RevId: f8480426d7b323f88a268874488d9ae641bc6045
2025-11-07 09:05:17 +00:00
..
2025-11-06 09:05:57 +00:00
2024-11-01 09:05:15 +00:00
2025-11-06 09:05:57 +00:00
2025-04-14 08:04:37 +00:00
2025-03-13 09:05:45 +00:00
2025-10-30 09:07:18 +00:00
2025-10-21 08:05:37 +00:00
2025-10-21 08:05:42 +00:00
2025-09-05 08:05:25 +00:00
2025-11-06 09:07:09 +00:00
2025-07-03 08:06:13 +00:00
2025-11-06 09:05:57 +00:00
2025-10-14 08:05:33 +00:00
2025-11-06 09:05:57 +00:00
2025-08-28 08:05:17 +00:00
2025-07-28 08:05:20 +00:00
2025-05-23 08:05:23 +00:00
2025-11-06 09:05:57 +00:00
2025-05-23 08:05:23 +00:00
2025-09-16 08:04:59 +00:00
2025-11-06 09:05:57 +00:00
2025-11-06 09:05:57 +00:00
2025-11-06 09:05:57 +00:00
2025-11-06 09:05:57 +00:00
2025-11-06 09:05:57 +00:00
2024-11-08 09:07:09 +00:00
2025-11-06 09:05:57 +00:00
2024-10-31 09:05:08 +00:00
2024-11-05 09:04:33 +00:00
2025-11-06 09:05:57 +00:00
2025-07-03 08:05:17 +00:00
2025-10-21 08:05:47 +00:00
2024-10-21 08:04:42 +00:00
2025-11-06 09:05:57 +00:00
2025-11-06 09:06:42 +00:00
2025-07-31 08:05:37 +00:00
2025-11-06 09:05:57 +00:00
2024-11-21 09:04:23 +00:00
2025-10-21 08:05:47 +00:00
2025-10-23 08:06:10 +00:00
2025-11-06 09:05:57 +00:00
2025-11-06 09:05:57 +00:00
2025-10-23 08:06:10 +00:00
2025-05-23 08:05:23 +00:00
2025-10-23 08:06:10 +00:00
2025-05-23 08:05:23 +00:00
2025-10-23 08:06:10 +00:00
2024-11-21 09:03:39 +00:00
2025-10-23 08:06:10 +00:00
2025-09-17 08:05:02 +00:00
2025-11-06 09:05:57 +00:00
2025-10-23 08:06:10 +00:00
2025-10-15 08:07:29 +00:00
2025-11-06 09:05:57 +00:00
2024-10-21 08:04:42 +00:00
2025-11-06 09:05:57 +00:00
2025-11-06 09:05:57 +00:00
2025-11-06 09:05:57 +00:00
2025-09-16 08:04:59 +00:00
2025-11-06 09:05:57 +00:00
2025-09-09 08:06:36 +00:00
2025-10-21 08:06:01 +00:00
2025-10-21 08:05:42 +00:00
2025-10-21 08:05:42 +00:00
2025-11-06 09:05:57 +00:00
2025-07-30 08:07:12 +00:00
2025-05-13 08:06:23 +00:00
2025-11-06 09:05:57 +00:00
2025-05-23 08:05:23 +00:00
2025-10-23 08:06:10 +00:00
2025-11-06 09:05:57 +00:00
2025-10-23 08:06:10 +00:00
2025-09-15 08:05:51 +00:00
2024-10-21 08:04:42 +00:00
2024-11-01 09:05:15 +00:00
2025-08-19 08:05:22 +00:00
2025-11-06 09:05:57 +00:00
2025-10-16 08:07:37 +00:00
2025-11-06 09:05:57 +00:00
2024-10-16 08:04:52 +00:00
2025-10-20 08:05:25 +00:00
2025-11-06 09:05:57 +00:00
2025-11-07 09:05:17 +00:00
2025-10-23 08:06:10 +00:00
2025-11-06 09:05:57 +00:00
2025-10-21 08:05:47 +00:00
2024-11-08 09:07:09 +00:00
2025-11-06 09:05:57 +00:00
2025-05-23 08:05:23 +00:00
2025-05-23 08:05:23 +00:00
2025-11-07 09:05:17 +00:00
2025-11-06 09:05:57 +00:00
2025-09-25 08:05:39 +00:00
2025-11-06 09:05:57 +00:00
2025-11-06 09:05:57 +00:00
2025-05-23 08:05:23 +00:00
2025-10-23 08:06:10 +00:00
2025-07-31 08:05:37 +00:00
2025-05-23 08:05:23 +00:00
2025-10-23 08:06:10 +00:00
2025-11-06 09:05:57 +00:00
2024-01-04 09:03:43 +00:00
2025-10-23 08:06:10 +00:00
2025-11-06 09:05:57 +00:00
2024-11-08 09:07:09 +00:00
2024-11-08 09:07:09 +00:00