zulip/zerver
Lauryn Menard f391bfeec6 emails: Add new onboarding email with guide for organization type.
Adds a new welcome email, `onboarding_zulip_guide`, to be sent four
days after a new user registers with a Zulip organization if the
organization has specified a particular organization type that has
a guide in the corporate `/for/.../` pages. If there is no guide,
then no email is scheduled or sent.

The current `for/communities/` page is not very useful for users
who are not organization administrators, so these onboarding guide
emails are further restricted for those organization types to
only go to new users who are invited/registered as admins for the
organzation.

Adds two database queries for new user registrations: one to get
the organization's type and one to create the scheduled email.

Adds two email logs because the email is sent both to a new user
who registers with an existing organization and to the organization
owner when they register a new organization.

Co-authored by: Alya Abbott <alya@zulip.com>
2023-04-10 08:38:09 -07:00
..
actions notifications: Add link to new location of single moved messages. 2023-04-06 19:04:40 -07:00
data_import upload: Rename upload_message_file to use word "attachment". 2023-03-02 16:36:19 -08:00
integration_fixtures/nagios
lib emails: Add new onboarding email with guide for organization type. 2023-04-10 08:38:09 -07:00
management export-search: Support writing out attachments as well. 2023-04-07 09:13:48 -07:00
migrations migrations: Fix comment in 0403. 2023-03-28 14:26:22 -07:00
openapi user_groups: Send a message on changing user-groups subscribers. 2023-04-06 19:03:26 -07:00
tests emails: Add new onboarding email with guide for organization type. 2023-04-10 08:38:09 -07:00
tornado tornado: Replace dataclasses.asdict() call, as it is slow. 2023-02-23 11:01:38 -08:00
views user_groups: Send a message on changing user-groups subscribers. 2023-04-06 19:03:26 -07:00
webhooks integration: Remove branch names from Gitea edited PR event. 2023-04-07 15:17:23 -07:00
worker deferred_work: Log at start of the work. 2023-02-09 12:06:38 -08:00
__init__.py
apps.py requirements: Upgrade Python requirements. 2023-04-03 22:39:21 -07:00
context_processors.py templates: Add realm information fields in create_realm.html. 2023-03-27 15:44:42 -07:00
decorator.py request-notes: Add `is_webhook_view` boolean to fields. 2023-03-06 10:33:13 -08:00
filters.py
forms.py templates: Update text on /accounts/find. 2023-03-30 09:06:14 -07:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py middleware: Remove ZulipCommonMiddleware patch. 2023-04-07 09:13:20 -07:00
models.py emails: Add new onboarding email with guide for organization type. 2023-04-10 08:38:09 -07:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00