zulip/zerver
Lalit 4ab824dc4c
emoji: Disallow `.` in custom emoji names.
Until now, custom emojis with "periods" in their name were allowed, even though
they don't really fit the pattern of how we name them, and in fact the Markdown
processor would not render such custom emoji. Fix this by just disallowing the
character.

Also update the error strings accordingly.

Note that this does not include a migration to eliminate any existing custom emoji with this 
character in their name.

Fixes #24066.
2023-01-31 17:28:33 -08:00
..
actions create_user: Use transaction.atomic decorator for do_create_user. 2023-01-26 10:49:19 -08:00
data_import import: Add the UTF-8 flag on file entries in zipfiles from Slack. 2023-01-31 16:07:48 -08:00
integration_fixtures/nagios
lib emoji: Disallow `.` in custom emoji names. 2023-01-31 17:28:33 -08:00
management ruff: Fix SIM115 Use context handler for opening files. 2023-01-23 11:18:36 -08:00
migrations migrations: Fix ownership, and re-attach, mis-owned email attachments. 2023-01-24 10:49:46 -08:00
openapi ruff: Fix RUF005 Consider spread instead of concatenation. 2023-01-26 10:16:30 -08:00
tests emoji: Disallow `.` in custom emoji names. 2023-01-31 17:28:33 -08:00
tornado notifications: Fix missed message email notifications of welcome bot. 2023-01-24 11:16:21 -08:00
views emoji: Replace `built-in` with `default` in emoji overriding API error. 2023-01-31 15:52:33 -08:00
webhooks ruff: Fix UP032 Use f-string instead of `format` call. 2023-01-23 11:18:36 -08:00
worker ruff: Fix S108 Probable insecure usage of temporary file. 2023-01-26 10:14:56 -08:00
__init__.py
apps.py sentry: Initialize sentry in AppConfig ready hook. 2022-09-26 12:42:36 -07:00
context_processors.py apps: Fix redirect from /apps -> https://zulip.com/apps/. 2022-12-30 17:47:16 -08:00
decorator.py decorator: Do not send HEAD response with non-empty body. 2023-01-06 13:32:47 -08:00
filters.py
forms.py ruff: Fix SIM105 Use `contextlib.suppress` instead of try-except-pass. 2023-01-23 11:18:36 -08:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py ruff: Fix S108 Probable insecure usage of temporary file. 2023-01-26 10:14:56 -08:00
models.py ruff: Fix SIM201 Use `… != …` instead of `not … == …`. 2023-01-23 11:18:36 -08:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00