zulip/zerver/views
Steve Howell 67cdf1a7b4 emojis: Use get_emoji_data.
The previous function was poorly named, asked for a
Realm object when realm_id sufficed, and returned a
tuple of strings that had different semantics.

I also avoid calling it duplicate times in a couple
places, although it was probably rarely the case that
both invocations actually happened if upstream
validations were working.

Note that there is a TypedDict called EmojiInfo, so I
chose EmojiData here.  Perhaps a better name would be
TinyEmojiData or something.

I also simplify the reaction tests with a verify
helper.
2023-07-17 09:35:53 -07:00
..
development welcome-emails: Separate followup_day1 email from other welcome emails. 2023-07-11 14:15:52 -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 codespell: Correct “requestor” to “requester”. 2023-06-20 16:17:55 -07:00
compatibility.py django: Use HttpRequest.headers. 2022-05-13 20:42:20 -07:00
custom_profile_fields.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
digest.py
documentation.py api_url_context: Replace `uri` with `url`. 2023-04-26 16:37:16 -07:00
drafts.py
email_mirror.py
events_register.py narrow: Split out narrow_helpers. 2023-06-30 11:26:23 -07:00
home.py narrow: Split out narrow_helpers. 2023-06-30 11:26:23 -07:00
hotspots.py actions: Split out zerver.actions.hotspots. 2022-04-14 17:14:31 -07:00
invite.py CVE-2023-32677: Check permission to subscribe other users in invites. 2023-05-19 16:13:32 -04:00
message_edit.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
message_fetch.py zerver: Update comments with "private message" or "PM". 2023-06-23 11:24:13 -07:00
message_flags.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
message_send.py zerver: Update comments with "private message" or "PM". 2023-06-23 11:24:13 -07:00
muted_users.py muted users: Add support to muting bots. 2023-06-13 16:44:12 -07:00
presence.py emojis: Use get_emoji_data. 2023-07-17 09:35:53 -07:00
push_notifications.py
reactions.py emojis: Use get_emoji_data. 2023-07-17 09:35:53 -07:00
read_receipts.py read_receipts: Exclude muted users from read receipts. 2022-09-16 16:19:54 -07:00
realm.py settings: Configure 'enable_followed_topic_audible_notifications'. 2023-06-13 18:01:41 -07:00
realm_domains.py realm_domains: Allow only owners to add, edit or delete domains. 2022-09-16 15:27:52 -07:00
realm_emoji.py realm emoji: Use a single cache for all lookups. 2023-07-17 09:35:53 -07:00
realm_export.py realm_export: Return export id from POST which create it. 2023-05-16 14:05:01 -07:00
realm_icon.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
realm_linkifiers.py linkifier: Support URL templates for linkifiers. 2023-04-19 12:20:49 -07:00
realm_logo.py upload: Add assertions before accessing uploaded files. 2022-06-23 22:09:05 -07:00
realm_playgrounds.py actions: Split out zerver.actions.realm_playgrounds. 2022-04-14 17:14:30 -07:00
registration.py saml: Make SP-initiated SLO work after signup. 2023-05-23 13:01:15 -07:00
report.py zerver: Remove now-unused report/ endpoints. 2023-05-09 13:16:28 -07:00
scheduled_messages.py scheduled-messages: Update scheduled_message_id parameter for DELETE. 2023-05-31 08:15:03 -07:00
sentry.py sentry: Reduce http timeout. 2023-07-10 13:46:16 -07:00
storage.py
streams.py default streams: Extract library functions. 2023-07-10 13:41:28 -07:00
submessage.py actions: Split out zerver.actions.submessage. 2022-04-14 17:14:30 -07:00
thumbnail.py docs: Remove some outdated references to thumbnailing.md doc. 2022-07-12 17:44:24 -07:00
tutorial.py
typing.py message-type: Add support for "direct" as value for type parameter. 2023-04-18 12:29:33 -07:00
unsubscribe.py black: Reformat with Black 23. 2023-02-02 10:40:13 -08:00
upload.py uploads: Improve file not found message. 2023-07-06 09:32:41 -07:00
user_groups.py user_groups: Add API restrictions for long user group names. 2023-07-11 13:46:02 -07:00
user_settings.py settings: Configure 'enable_followed_topic_audible_notifications'. 2023-06-13 18:01:41 -07:00
user_topics.py user_topics: Add a new endpoint to update visibility_policy. 2023-04-03 22:31:49 -07:00
users.py users: Use a less generic response for unauthorized user creation. 2023-06-05 17:33:26 -07:00
video_calls.py actions: Split out zerver.actions.video_calls. 2022-04-14 17:14:30 -07:00
zephyr.py ruff: Fix PLW0602 Using global but no assignment is done. 2023-01-04 16:25:07 -08:00