zulip/zerver
m-e-l-u-h-a-n d2c18e28a4 api: Handle restart events in apply_events.
Event of type restart could not be handled properly, because of
its special behavior. For handling this event in most natural way
we recursively call `do_events_register` when restart event is
recieved, based on custom error created for this event.

Testing: Second call to get_user_events due to recursive calling
of do_event_register, is expected to not contain the restart event.
So new test added in test_event_system.py are based on above behavior
of get_user_events.

Fixes: #15541.
2021-04-29 11:40:59 -07:00
..
data_import models/realm: Add a model for storing realm playground information. 2021-04-07 08:20:53 +05:30
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib api: Handle restart events in apply_events. 2021-04-29 11:40:59 -07:00
management send_custom_email: Improve printing of outgoing emails. 2021-04-27 21:36:17 -07:00
migrations emails: Add unsubscribe link infrastructure for marketing emails. 2021-04-27 21:36:09 -07:00
openapi api docs: Document that new messages might be already ready. 2021-04-29 10:55:25 -07:00
templatetags dependencies: Upgrade to webpack-bundle-tracker 1.0.0-alpha.1. 2021-04-06 09:31:35 -07:00
tests api: Handle restart events in apply_events. 2021-04-29 11:40:59 -07:00
tornado typing: Support sending stream/topic typing status. 2021-04-27 20:52:21 -07:00
views unsubscribe: Configure as csrf_exempt. 2021-04-28 15:33:32 -07:00
webhooks integrations: Support handling batch updates for Clubhouse. 2021-04-28 08:12:47 -07:00
worker email: Open a single SMTP connection to send email batches. 2021-04-26 17:27:22 -07:00
__init__.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
apps.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
context_processors.py i18n: Pass language name with every response. 2021-04-24 13:00:27 -07:00
decorator.py docs: Add missing space to compound verbs “log in”, “set up”, etc. 2021-04-26 09:31:08 -07:00
filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
forms.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
logging_handlers.py docs: Capitalize “Markdown” consistently. 2021-04-26 09:31:08 -07:00
middleware.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00
models.py giphy: Set rating according to realm_giphy_rating. 2021-04-28 07:07:36 -07:00
signals.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00