zulip/zerver
Abhijeet Prasad Bodas 51f5bbcd57 test_events: Run on_commit send_event hooks immediately.
Further commits will hook some `send_event` calls to `on_commit`.
With those changes, these will never be executed in tests, because
transactions never get commited with `TestCase`, which the
`ZulipTestCase` is a subclass of.

We want to make sure that these events are actually sent for testing
purposes, hence this change.

There's no need to actually capture the callbacks, because the
events are already thoroughly tested.
2021-06-04 18:12:39 +05:30
..
data_import data_import: Protect better against bad Slack tokens. 2021-05-27 22:46:58 -07:00
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib tests: Run on_commit hooks immediately in tornado_redirected_to_list. 2021-06-04 18:12:39 +05:30
management delete_realm: Disallow deletion of realms we've had billing plans with. 2021-06-03 09:38:12 -07:00
migrations auth: Implement a generic OpenID Connect backend. 2021-05-28 09:43:06 -07:00
openapi api: Include is_billing_admin as an attribute in user response. 2021-06-03 10:27:07 -07:00
templatetags dependencies: Upgrade to webpack-bundle-tracker 1.0.0-alpha.1. 2021-04-06 09:31:35 -07:00
tests test_events: Run on_commit send_event hooks immediately. 2021-06-04 18:12:39 +05:30
tornado message send: Rename `always_push_notify` -> `online_push_enabled`. 2021-05-26 15:19:32 -07:00
views apidocs: Fix invalid API page bug. 2021-06-03 10:47:47 -07:00
webhooks doc: Change supported extension type to reflect the change. 2021-06-02 09:31:38 -07:00
worker queue_processors: Log more detailed info when marking messages as read. 2021-05-26 11:17:21 -07:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
context_processors.py page_params: Remove duplicate debug_mode field. 2021-05-20 14:57:34 -07:00
decorator.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
forms.py auth: Improve display of errors when user needs to reset password. 2021-05-07 09:10:45 -07:00
logging_handlers.py docs: Capitalize “Markdown” consistently. 2021-04-26 09:31:08 -07:00
middleware.py docs: Fix capitalization mistakes. 2021-05-10 09:57:26 -07:00
models.py settings: Make `MAX_MESSAGE_LENGTH` a server-level setting. 2021-06-03 09:26:28 -07:00
signals.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00