zulip/zerver
Prakhar Pratyush c349d1137c sent_by_human: Add "test suite" to the set of Zulip UI-style clients.
Earlier, when we used 'self.send_message()' in the backend tests,
the sent message was not marked as read for the sender.

Reason: To set the read flag, we have to check if
'message.sent_by_human()'. It returns False because the
'sending_client' for tests is "test suite" and the 'sent_by_human'
function doesn't enlist the "test suite" client name as a human client.

This commit adds "test suite" to that list.

Also fixes a bug in when apply_unread_message_event was called that
was revealed by this change.
2023-10-04 13:04:29 -07:00
..
actions i18n: Fix default language for users created via API/LDAP. 2023-10-01 21:10:13 +02:00
data_import Add support for importing guest users from Mattermost. 2023-10-01 17:13:23 -07:00
integration_fixtures/nagios
lib sent_by_human: Add "test suite" to the set of Zulip UI-style clients. 2023-10-04 13:04:29 -07:00
management delete_old_unclaimed_attachments: Update docs on default max age. 2023-09-29 09:49:03 -07:00
migrations org_settings: Add backend for `realm_jitsi_server_url` setting. 2023-09-21 17:39:10 -07:00
openapi tests: Update events and schemas for drafts events. 2023-10-03 09:05:22 -07:00
tests sent_by_human: Add "test suite" to the set of Zulip UI-style clients. 2023-10-04 13:04:29 -07:00
tornado python: Delete superfluous parens. 2023-09-13 13:40:19 -07:00
transaction_tests docs: Fix typos caught by ‘typos’. 2023-09-06 18:59:05 -07:00
views demo-orgs: Set organization type to "unspecified". 2023-10-03 09:11:41 -07:00
webhooks integrations: Update Zapier documentation. 2023-10-03 14:21:36 -07:00
worker python: Replace functools.partial with type-safe returns.curry.partial. 2023-09-11 18:03:45 -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 realm: Differentiate reserved realms from in-use realms. 2023-09-25 12:48:14 -07:00
logging_handlers.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
middleware.py views: Add a /health healthcheck endpoint. 2023-09-20 09:53:59 -07:00
models.py sent_by_human: Add "test suite" to the set of Zulip UI-style clients. 2023-10-04 13:04:29 -07:00
signals.py demo-orgs: Create dev environment demo organization without email. 2023-08-31 15:02:16 -07:00