zulip/zerver/views
Lauryn Menard d2207d4ad5 backend: Add `org_type` to realm settings updates and events.
`org_type` already exists as a field in the Realm model and is
used when organizations are created / updated in Zulip Cloud,
via the `/analytics/support` view.

Extends the `PATCH /realm` view to be able update `org_type` as
other realm / organization settings are updated, but using the
special log / action that was created for the analytics view.

Adds a field to the `realm op: update` / `realm op: update_dict`
events, which also means an event is now sent when and if the
`org_type` is updated via the analytics view. This is similar
to how updates to an organization's `plan_type` trigger events.

Adds `realm_org_type` as a realm setting fetched from the
`POST /register` endpoint.
2022-04-26 16:29:12 -07:00
..
development invites: Use expiration time in minutes instead of days. 2022-04-20 13:31:37 -07:00
__init__.py
alert_words.py actions: Split out zerver.actions.alert_words. 2022-04-14 17:14:31 -07:00
attachments.py actions: Split out zerver.actions.uploads. 2022-04-14 17:14:32 -07:00
auth.py create_preregistration_user: Add additional hardening assertion. 2022-02-25 14:02:24 -08:00
compatibility.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
custom_profile_fields.py actions: Split out zerver.actions.custom_profile_fields. 2022-04-14 17:14:33 -07:00
digest.py mypy: Fix most AnonymousUser type errors. 2021-07-24 14:55:46 -07:00
documentation.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
drafts.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
email_mirror.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
events_register.py validator: Replace converter=int with json_validator=check_int. 2022-03-15 13:02:02 -07:00
home.py actions: Split out zerver.actions.user_settings. 2022-04-14 17:14:34 -07:00
hotspots.py actions: Split out zerver.actions.hotspots. 2022-04-14 17:14:31 -07:00
invite.py invites: Use expiration time in minutes instead of days. 2022-04-20 13:31:37 -07:00
message_edit.py actions: Split out zerver.actions.message_edit. 2022-04-14 17:14:36 -07:00
message_fetch.py actions: Split out zerver.lib.recipient_users. 2022-04-14 17:14:30 -07:00
message_flags.py actions: Split out zerver.actions.message_flags. 2022-04-14 17:14:36 -07:00
message_send.py actions: Split out zerver.actions.message_send. 2022-04-14 17:14:34 -07:00
muting.py actions: Split out zerver.actions.muted_users. 2022-04-14 17:14:36 -07:00
portico.py portico: Add a self-hosting page. 2022-02-17 12:43:13 -08:00
presence.py actions: Split out zerver.actions.presence. 2022-04-14 17:14:32 -07:00
push_notifications.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
reactions.py actions: Split out zerver.actions.reactions. 2022-04-14 17:14:35 -07:00
realm.py backend: Add `org_type` to realm settings updates and events. 2022-04-26 16:29:12 -07:00
realm_domains.py actions: Split out zerver.actions.realm_domains. 2022-04-14 17:14:37 -07:00
realm_emoji.py actions: Split out zerver.actions.realm_emoji. 2022-04-14 17:14:31 -07:00
realm_export.py actions: Split out zerver.actions.realm_export. 2022-04-14 17:14:31 -07:00
realm_icon.py actions: Split out zerver.actions.realm_icon. 2022-04-14 17:14:31 -07:00
realm_linkifiers.py actions: Split out zerver.actions.realm_linkifiers. 2022-04-14 17:14:31 -07:00
realm_logo.py actions: Split out zerver.actions.realm_logo. 2022-04-14 17:14:31 -07:00
realm_playgrounds.py actions: Split out zerver.actions.realm_playgrounds. 2022-04-14 17:14:30 -07:00
registration.py actions: Split out zerver.actions.create_realm. 2022-04-14 17:14:37 -07:00
report.py report: Strengthen report_csp_violations type using WildValue. 2022-03-15 13:02:02 -07:00
storage.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
streams.py actions: Split out zerver.actions.message_edit. 2022-04-14 17:14:36 -07:00
submessage.py actions: Split out zerver.actions.submessage. 2022-04-14 17:14:30 -07:00
thumbnail.py upload: Allow rate limited access to spectators for uploaded files. 2022-03-24 10:50:00 -07:00
tutorial.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00
typing.py actions: Split out zerver.actions.typing. 2022-04-14 17:14:30 -07:00
unsubscribe.py actions: Split out zerver.actions.user_settings. 2022-04-14 17:14:34 -07:00
upload.py upload: Allow rate limited access to spectators for uploaded files. 2022-03-24 10:50:00 -07:00
user_groups.py user_groups: Add API endpoint to get subgroups of a user group. 2022-04-25 10:24:03 -07:00
user_settings.py user_settings: Add a setting to display names of users who reacted. 2022-04-19 17:30:16 -07:00
users.py actions: Split out zerver.actions.bots. 2022-04-14 17:14:36 -07:00
video_calls.py actions: Split out zerver.actions.video_calls. 2022-04-14 17:14:30 -07:00
zephyr.py backend: Add request as parameter to json_success. 2022-02-04 15:16:56 -08:00