zulip/zerver
N-Shar-ma 8c91c91d86 widgets: Fix bug where a new line right after /todo broke rendering.
When there was no space right after `/todo` but there was content on a
new line, the message would be rendered plainly, not as a todo widget.
This was because we split on only the space character to then check if
the first token was a valid widget.

Now we split on both spaces and newlines to extract the widget name,
irrespective of whether it is followed by a space or a newline. This
results in the message being rendered as a todo widget as expected.
2023-09-08 15:39:07 -07:00
..
actions mypy: Upgrade mypy from 1.4.1 to 1.5.1. 2023-09-07 17:51:42 -07:00
data_import ruff: Fix PERF102 Using only the keys/values of a dict. 2023-08-07 17:23:55 -07:00
integration_fixtures/nagios
lib widgets: Fix bug where a new line right after /todo broke rendering. 2023-09-08 15:39:07 -07:00
management makemessages: Fix handling of handlebars whitespace control. 2023-09-08 09:09:46 -07:00
migrations mypy: Upgrade mypy from 1.4.1 to 1.5.1. 2023-09-07 17:51:42 -07:00
openapi events: Send invites changes event to non-admin users also. 2023-09-07 14:21:01 -07:00
tests webhooks: Migrate transifex to use endpoint to use @typed_endpoint. 2023-09-08 08:20:17 -07:00
tornado notifications: Rename 'pm' to 'dm' in 'RecipientInfoResult' dataclass. 2023-08-10 17:41:49 -07:00
transaction_tests docs: Fix typos caught by ‘typos’. 2023-09-06 18:59:05 -07:00
views drafts: Migrate drafts to use @typed_endpoint. 2023-09-08 08:20:17 -07:00
webhooks webhooks: Migrate travis to use @typed_endpoint. 2023-09-08 08:20:17 -07:00
worker migration: Rename extra_data_json to extra_data in audit log models. 2023-08-16 17:18:14 -07:00
__init__.py
apps.py requirements: Upgrade Python requirements. 2023-04-03 22:39:21 -07:00
context_processors.py emails: Add corporate_enabled to context for emails. 2023-05-01 10:32:43 -07:00
decorator.py logging_util: Remove dependence on get_current_request. 2023-07-11 22:23:47 -07:00
filters.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
forms.py python: Convert translated positional {} fields to {named} fields. 2023-07-18 15:19:07 -07:00
logging_handlers.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
middleware.py middleware: Fix exception logging format on JSON views. 2023-09-06 09:14:49 -07:00
models.py models: Remove duplicate index definition for date_sent. 2023-09-07 16:44:43 -07:00
signals.py demo-orgs: Create dev environment demo organization without email. 2023-08-31 15:02:16 -07:00