zulip/zerver/tests
Lauryn Menard 7713b371a5 api: Migrate `/update-subscription-settings` response value.
Migrates the `/update-subscription-settings` api endpoint to the
`ignored_parameters_unsupported` model, which is also currently used
by `/update-settings` and `update-realm-user-settings-defaults`.

This change is a step towards preparing for an eventual migration to
have all endpoints return an `ignored_parameters_unsupported` block.

Previously the `/update-subscription-settings` endpoint returned a
copy of the data object sent in the request.

Fixes #15307.
2021-11-26 22:25:53 -08:00
..
fixtures markdown: Ensure all markdown fixtures have unique names. 2021-11-10 12:36:47 -08:00
images upload: Replace exif_rotate with Pillow exif_transpose. 2021-08-09 20:32:19 -07:00
__init__.py
test_alert_words.py
test_attachments.py
test_audit_log.py api: Remove encoding of string in update_user endpoint. 2021-10-18 19:03:43 -07:00
test_auth_backends.py auth: Include user_id in the params returned at the end of mobile flow. 2021-11-16 12:12:59 -08:00
test_bots.py typing: Avoid redefining variable with different types. 2021-08-20 06:02:56 -07:00
test_cache.py bots: Pass realm to get_system_bot calls in test_cache.py. 2021-07-26 15:33:13 -07:00
test_compatibility.py
test_create_video_call.py integrations: Switch BigBlueButton over to SHA256. 2021-11-25 07:58:27 -08:00
test_custom_profile_data.py types: Fix declared type of custom profile field values. 2021-09-22 16:22:46 -07:00
test_data_types.py
test_decorators.py test_decorators: Call mock_home via patched zulip_login_required. 2021-11-18 12:55:12 -08:00
test_digest.py python: Remove unnecessary intermediate lists. 2021-08-02 15:53:52 -07:00
test_docs.py portico: Add Rust case study. 2021-11-24 15:17:33 -08:00
test_drafts.py populate_db: Create some drafts in the initial database. 2021-07-30 10:41:52 -07:00
test_email_change.py email_change: Show deactivated page if realm is now deactivated. 2021-11-14 18:55:40 -08:00
test_email_log.py
test_email_mirror.py email_mirror: Downgrade ZulipEmailForwardUserError to info. 2021-08-31 16:37:54 -07:00
test_email_notifications.py email_notifications: Fix inline-ing of image-URL-only messages. 2021-09-15 09:45:38 -07:00
test_embedded_bot_system.py
test_event_queue.py notifications: Fix unnecessary wildcard mention notifications. 2021-08-13 09:48:18 -07:00
test_event_system.py apply_event: Do not include new user settings in the top level. 2021-10-07 16:39:51 -07:00
test_events.py realm: Rename plan type constants to be more descriptive. 2021-10-19 12:20:39 -07:00
test_example.py lint: Fix typos found by codespell. 2021-10-19 16:51:13 -07:00
test_external.py rate_limit: Add a flag to lump all TOR exit node IPs together. 2021-11-16 11:42:00 -08:00
test_github.py downloads: Serve desktop downloads from desktop-download.zulip.com. 2021-08-28 23:08:45 -07:00
test_gitter_importer.py
test_home.py register: Pass settings.WEB_PUBLIC_STREAMS_ENABLED to clients. 2021-11-23 10:48:20 -08:00
test_hotspots.py
test_i18n.py invite: Extend invite api for handling expiration duration. 2021-09-10 16:53:03 -07:00
test_import_export.py realm: Rename plan type constants to be more descriptive. 2021-10-19 12:20:39 -07:00
test_integrations.py
test_integrations_dev_panel.py exceptions: Add ResourceNotFoundError. 2021-07-05 11:02:12 -07:00
test_internet.py
test_legacy_subject.py
test_link_embed.py markdown: CSS-escape preview links. 2021-10-26 18:17:23 -07:00
test_logging_handlers.py typing: Fix function signatures with django-stubs. 2021-08-20 06:02:55 -07:00
test_management_commands.py export: Remove `--delete-after-upload` flag in realm export. 2021-11-03 11:14:02 -07:00
test_markdown.py markdown: Ensure all markdown fixtures have unique names. 2021-11-10 12:36:47 -08:00
test_mattermost_importer.py data_import: Rename mattermost_user to user_handler. 2021-07-15 14:28:36 -07:00
test_message_dict.py bots: Pass realm to self.notification_bot test helper. 2021-07-26 15:33:13 -07:00
test_message_edit.py test: Check json_fetch_raw_message raises error. 2021-11-24 10:37:51 -08:00
test_message_edit_notifications.py notifications: Fix unnecessary wildcard mention notifications. 2021-08-13 09:48:18 -07:00
test_message_fetch.py realm: Add option to enable/disable spectator login. 2021-11-18 12:55:12 -08:00
test_message_flags.py page load: Remove sender_ids in unread messages for streams. 2021-08-04 11:44:00 -04:00
test_message_send.py api: Prevent special characters in topics. 2021-11-22 22:09:06 -08:00
test_message_topics.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
test_messages.py notifications: Calculate PMs/mentions settings like other settings. 2021-07-28 13:55:25 -07:00
test_middleware.py test_middleware: Replace logging mocks with assertLogs. 2021-07-26 14:46:01 -07:00
test_migrations.py
test_mirror_users.py tests: Migrate mocked Request to HostMockRequest. 2021-07-14 12:01:07 -07:00
test_muting_topics.py user_topic: Filter on visibility_policy in muted_topic code. 2021-09-17 12:14:28 -07:00
test_muting_users.py lint: Fix typos found by codespell. 2021-10-19 16:51:13 -07:00
test_new_users.py settings: Remove do_change_notification_settings function. 2021-09-08 11:04:44 -07:00
test_notification_data.py notifications: Fix unnecessary wildcard mention notifications. 2021-08-13 09:48:18 -07:00
test_onboarding.py
test_openapi.py openapi: Document remove-attachment endpoint. 2021-10-29 15:01:50 -07:00
test_outgoing_http.py outgoing_http: Give an easy way to configure retries. 2021-09-01 05:34:13 -07:00
test_outgoing_webhook_interfaces.py outgoing webhooks: Fix inconsistencies with Slack's API. 2021-09-23 11:19:20 -07:00
test_outgoing_webhook_system.py
test_populate_db.py
test_presence.py statistics: Remove unused seconds_usage_between function. 2021-08-19 01:51:37 -07:00
test_push_notifications.py zilencer: Truncate "remove" notifications from remote servers. 2021-11-10 13:39:35 -08:00
test_queue.py mypy: Add pika-stubs. 2021-08-02 22:31:46 -07:00
test_queue_worker.py rate_limit: Fix logging string when rate limiting email gateway. 2021-11-22 10:28:56 -08:00
test_rate_limiter.py rate_limit: Implement IP-based rate limiting. 2021-07-08 15:46:52 -07:00
test_reactions.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
test_realm.py models: Check enable_spectator_access value in web_public_streams_enabled. 2021-11-23 10:48:20 -08:00
test_realm_domains.py
test_realm_emoji.py realm: Extend add_custom_emoji_policy to use COMMON_POLICY_TYPES. 2021-07-27 16:41:23 -07:00
test_realm_export.py tests: Pass HostRequestMock to export_realm. 2021-07-26 15:09:07 -07:00
test_realm_linkifiers.py linkifiers: Support URL percent-encoded bytes. 2021-10-22 13:00:20 -07:00
test_realm_playgrounds.py
test_redis_utils.py
test_report.py
test_retention.py bots: Pass realm to remaining get_system_bot calls in tests. 2021-07-26 15:33:13 -07:00
test_rocketchat_importer.py data_import: Ignore Rocket.Chat livechat streams/messages. 2021-11-07 09:50:55 -08:00
test_scim.py scim: Order Users by id when queried using filter syntax. 2021-11-26 16:06:16 -08:00
test_send_email.py python: Convert "".format to Python 3.6 f-strings. 2021-08-02 15:53:52 -07:00
test_service_bot_system.py
test_sessions.py auth: Add login buttons for web public access. 2021-10-05 16:30:40 -07:00
test_settings.py lint: Fix typos found by codespell. 2021-10-19 16:51:13 -07:00
test_signup.py rate_limit: Rate-limit password reset attempts by IP, as well. 2021-11-04 20:34:39 -07:00
test_slack_importer.py slack import: Fix requests.get usage of get_slack_api_data. 2021-10-07 11:46:23 -07:00
test_slack_message_conversion.py
test_soft_deactivation.py
test_subdomains.py
test_submessage.py lint: Fix typos found by codespell. 2021-10-19 16:51:13 -07:00
test_subs.py api: Migrate `/update-subscription-settings` response value. 2021-11-26 22:25:53 -08:00
test_templates.py markdown/tabbed_sections: Raise exception for missing tab name. 2021-10-01 16:25:17 -07:00
test_thumbnail.py
test_timestamp.py
test_timezone.py
test_tornado.py
test_transfer.py emoji: Add backend changes to support still image for animated emojis. 2021-09-12 07:13:04 +00:00
test_tutorial.py bots: Pass realm to remaining get_system_bot calls in tests. 2021-07-26 15:33:13 -07:00
test_type_debug.py
test_typing.py typing_notifications: Make privacy settings functional. 2021-10-07 17:39:22 -07:00
test_upload.py misc: Replace "night mode" with "dark theme" in comments. 2021-11-26 22:03:29 -08:00
test_urls.py auth: Add login buttons for web public access. 2021-10-05 16:30:40 -07:00
test_user_groups.py tests: Use more selective query in user group tests. 2021-10-19 17:02:10 -07:00
test_user_status.py user_status: Add backend changes to support status emoji. 2021-07-27 17:57:15 -07:00
test_users.py test_users: Use delivery_email instead of email to generate gravatar url. 2021-10-29 16:19:55 -07:00
test_webhooks_common.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
test_widgets.py widgets: Add range checks on backend for indexes. 2021-06-29 13:40:33 -07:00
test_zcommand.py zcommand: Replace "mode" with "theme" in the returned message. 2021-11-22 14:59:16 -08:00
test_zephyr.py