zulip/analytics
Alex Vandiver 9dfaa83aa8 invites: Remove invites worker, make confirmation object in-process.
The "invites" worker exists to do two things -- make a Confirmation
object, and send the outgoing email.  Making the Confirmation object
in a background process from where the PreregistrationUser is created
temporarily leaves the PreregistrationUser in invalid state, and
results in 500's, and the user not immediately seeing the sent
invitation.  That the "invites" worker also wants to create the
Confirmation object means that "resending" an invite invalidates the
URL in the previous email, which can be confusing to the user.

Moving the Confirmation creation to the same transaction solves both
of these issues, and leaves the "invites" worker with nothing to do
but send the email; as such, we remove it entirely, and use the
existing "email_senders" worker to send the invites.  The volume of
invites is small enough that this will not affect other uses of that
worker.

Fixes: #21306
Fixes: #24275
2024-05-02 14:23:04 -07:00
..
lib push-bouncer: Exclude LoggingCountStats with partial data. 2024-02-26 17:53:12 -08:00
management groups: Use NamedUserGroup for all queries. 2024-04-26 17:03:09 -07:00
migrations
tests invites: Remove invites worker, make confirmation object in-process. 2024-05-02 14:23:04 -07:00
views stats: Update translated strings for stream to channel rename. 2024-04-24 14:35:05 -07:00
__init__.py
models.py
urls.py corporate: Move support and activity views to /corporate. 2024-01-30 10:06:48 -08:00