Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
typos: Fix typos caught by typos.
Anders Kaseorgb571e33c54f4
diff --git a/docs/overview/changelog.md b/docs/overview/changelog.mdindex 54522f4bd20..6c9a60a371f 100644--- a/docs/overview/changelog.md+++ b/docs/overview/changelog.md@@ -3681,7 +3681,7 @@ _Released 2019-12-12_- Extended buttons to visit links in topics to all URLs, not justURLs added by a linkifier.- Extended several integrations to cover more events and fix bugs, and- rewrote formatting for dozens of integraitons for cleaner punctuation.+ rewrote formatting for dozens of integrations for cleaner punctuation.- The beta "weekly digest emails" feature is again available as anorganization-level configuration option, after several improvements.- The administrative UI for managing bots now nicely links to thediff --git a/templates/corporate/billing/upgrade.html b/templates/corporate/billing/upgrade.htmlindex cdc1b54eec9..8dba18411e8 100644--- a/templates/corporate/billing/upgrade.html+++ b/templates/corporate/billing/upgrade.html@@ -229,7 +229,7 @@<div {% if page_params.setup_payment_by_invoice %} id="update-invoice-billing-info" {% elif payment_method %} id="upgrade-payment-info"{% endif %}>{% if page_params.setup_payment_by_invoice %}{% elif payment_method %}- <div class="input-box upgrade-page-field" id="upgrade-payment-menthod-wrapper">+ <div class="input-box upgrade-page-field" id="upgrade-payment-method-wrapper"><label for="customer-payment-method-for-upgrade" class="inline-block label-title">Payment method</label><div id="customer-payment-method-for-upgrade" class="not-editable-realm-field">{{ payment_method }}diff --git a/templates/corporate/policies/terms.md b/templates/corporate/policies/terms.mdindex 41ea1288029..ef5d7bcf323 100644--- a/templates/corporate/policies/terms.md+++ b/templates/corporate/policies/terms.md@@ -544,7 +544,7 @@ Store, but the following additional terms also apply to the Application:Zulip only, and not with Apple, and that Apple is not responsible for theApplication or the Content;* (b) The Application is licensed to you on a limited, non-exclusive,- non-transferrable, non-sublicensable basis, solely to be used in connection+ non-transferable, non-sublicensable basis, solely to be used in connectionwith the Services for your private, internal, personal use, subject to allthe terms and conditions of these Terms as they are applicable to theServices;diff --git a/web/src/message_list_tooltips.ts b/web/src/message_list_tooltips.tsindex c4f3a35ef79..0ad6158f588 100644--- a/web/src/message_list_tooltips.ts+++ b/web/src/message_list_tooltips.ts@@ -467,8 +467,8 @@ export function initialize(): void {message_list_tooltip(".message_expander, .message_condenser", {delay: LONG_HOVER_DELAY,onShow(instance) {- const is_disabed = $(instance.reference).attr("data-enable-tooltip") === "false";- if (is_disabed) {+ const is_disabled = $(instance.reference).attr("data-enable-tooltip") === "false";+ if (is_disabled) {return false;}return undefined;diff --git a/web/src/people.ts b/web/src/people.tsindex 6e8b1ffbb74..713acd23817 100644--- a/web/src/people.ts+++ b/web/src/people.ts@@ -1606,7 +1606,7 @@ export function _add_user(person: User): void {people_by_name_dict.set(person.full_name, person);}-export function add_active_user(person: User, source = "inital_fetch"): void {+export function add_active_user(person: User, source = "initial_fetch"): void {// To maintain the valid_user_ids data structure, we must add new// users to that set when we learn about them.if (source === "server_events") {diff --git a/web/src/stream_edit_subscribers.ts b/web/src/stream_edit_subscribers.tsindex 13ba20d3053..1aa3fe3dbb0 100644--- a/web/src/stream_edit_subscribers.ts+++ b/web/src/stream_edit_subscribers.ts@@ -475,7 +475,7 @@ function remove_subscriber({stream_data.has_content_access_via_group_permissions(sub)) {// We do not show any confirmation modal if user is unsubscribing- // themseleves and also has the permission to subscribe to the+ // themselves and also has the permission to subscribe to the// stream again.remove_user_from_private_stream();return;diff --git a/web/styles/app_components.css b/web/styles/app_components.cssindex f81212d28be..80094dfe51c 100644--- a/web/styles/app_components.css+++ b/web/styles/app_components.css@@ -1455,7 +1455,7 @@ input.invalid-input {.zulip-icon {display: flex;align-items: center;- color: var(--color-info-denisty-button-icon);+ color: var(--color-info-density-button-icon);opacity: 0.7;}}diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex 5f435c8bc11..84b51568a16 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -3021,7 +3021,7 @@hsl(0deg 0% 0% / 20%),hsl(0deg 0% 90% / 20%));- --color-info-denisty-button-icon: light-dark(+ --color-info-density-button-icon: light-dark(hsl(229deg 9% 36%),hsl(0deg 0% 100% / 80%));diff --git a/web/styles/inbox.css b/web/styles/inbox.cssindex 7aee3ee6cf2..83165635acc 100644--- a/web/styles/inbox.css+++ b/web/styles/inbox.css@@ -336,7 +336,7 @@margin-top: 3px;padding-left: 8px;- .inbox-collpased-note-span {+ .inbox-collapsed-note-span {font-size: 1em;}diff --git a/web/styles/portico/billing.css b/web/styles/portico/billing.cssindex b08e7196f06..285fb7db1ec 100644--- a/web/styles/portico/billing.css+++ b/web/styles/portico/billing.css@@ -649,7 +649,7 @@ input[name="licenses"] {padding-top: 2px;}-#upgrade-page-details #upgrade-payment-menthod-wrapper {+#upgrade-page-details #upgrade-payment-method-wrapper {margin-left: 0;grid-area: payment-info;width: 100%;diff --git a/web/templates/inbox_view/inbox_stream_header_row.hbs b/web/templates/inbox_view/inbox_stream_header_row.hbsindex c414bd337a2..d5d26ba8ae1 100644--- a/web/templates/inbox_view/inbox_stream_header_row.hbs+++ b/web/templates/inbox_view/inbox_stream_header_row.hbs@@ -27,7 +27,7 @@<div class="inbox-right-part-wrapper"><div class="inbox-right-part">{{#if is_muted}}- <span class="channel-visibility-policy-indicator toggle-channel-visibility tippy-zulip-tooltip" data-stream-id="{{stream_id}}" tabindex="0" data-col-index="{{ column_indexes.TOPIC_VISIBILITY }}" data-tooltip-template-id="inbox-channel-mute-toogle-tooltip-template">+ <span class="channel-visibility-policy-indicator toggle-channel-visibility tippy-zulip-tooltip" data-stream-id="{{stream_id}}" tabindex="0" data-col-index="{{ column_indexes.TOPIC_VISIBILITY }}" data-tooltip-template-id="inbox-channel-mute-toggle-tooltip-template"><i class="zulip-icon zulip-icon-mute recipient_bar_icon" role="button"></i></span>{{/if}}diff --git a/web/templates/inbox_view/inbox_view.hbs b/web/templates/inbox_view/inbox_view.hbsindex ca41a65b254..1e642ae7e18 100644--- a/web/templates/inbox_view/inbox_view.hbs+++ b/web/templates/inbox_view/inbox_view.hbs@@ -32,7 +32,7 @@</div><div id="inbox-collapsed-note"><div class="inbox-collapsed-note-and-button-wrapper">- <span class="inbox-collpased-note-span">+ <span class="inbox-collapsed-note-span">{{t "All unread conversations are hidden. Click on a section, folder, or channel to expand it."}}</span><button id="inbox-expand-all-button" class="action-button action-button-quiet-neutral" tabindex="0">diff --git a/web/templates/tooltip_templates.hbs b/web/templates/tooltip_templates.hbsindex 78198b84980..480d1dd7ad8 100644--- a/web/templates/tooltip_templates.hbs+++ b/web/templates/tooltip_templates.hbs@@ -295,7 +295,7 @@{{t 'Filter left sidebar' }}{{tooltip_hotkey_hints "Q"}}</template>-<template id="inbox-channel-mute-toogle-tooltip-template">+<template id="inbox-channel-mute-toggle-tooltip-template"><div><div>{{t "You have muted this channel." }}</div><div class="italic">diff --git a/zerver/actions/message_delete.py b/zerver/actions/message_delete.pyindex c7f224f9a42..6a46aff615e 100644--- a/zerver/actions/message_delete.py+++ b/zerver/actions/message_delete.py@@ -99,7 +99,7 @@ def _process_grouped_messages_deletion(def do_delete_messages(realm: Realm, messages: Iterable[Message], *, acting_user: UserProfile | None) -> None:- """1:1 Direct messages must be grouped to a single convesration by+ """1:1 Direct messages must be grouped to a single conversation bythe caller, since this logic does not know how to handle multiplesenders sharing a single Recipient object.diff --git a/zerver/actions/realm_playgrounds.py b/zerver/actions/realm_playgrounds.pyindex df9731194f0..f2d92d84105 100644--- a/zerver/actions/realm_playgrounds.py+++ b/zerver/actions/realm_playgrounds.py@@ -31,7 +31,7 @@ def check_add_realm_playground(pygments_language=pygments_language,url_template=url_template,)- # The additional validations using url_template_validaton+ # The additional validations using url_template_validation# check_pygments_language, etc are included in full_clean.# Because we want to avoid raising ValidationError from this check_*# function, we do error handling here to turn it into a JsonableError.diff --git a/zerver/tests/test_channel_creation.py b/zerver/tests/test_channel_creation.pyindex ba3a45d5ff2..8cb2c68b258 100644--- a/zerver/tests/test_channel_creation.py+++ b/zerver/tests/test_channel_creation.py@@ -557,21 +557,21 @@ class TestCreateStreams(ZulipTestCase):"testing_channel_group_permission6",)- def test_group_based_permisions_for_creating_private_streams(self) -> None:+ def test_group_based_permissions_for_creating_private_streams(self) -> None:self._test_group_based_settings_for_creating_channels("can_create_private_channel_group",invite_only=True,is_web_public=False,)- def test_group_based_permisions_for_creating_public_streams(self) -> None:+ def test_group_based_permissions_for_creating_public_streams(self) -> None:self._test_group_based_settings_for_creating_channels("can_create_public_channel_group",invite_only=False,is_web_public=False,)- def test_group_based_permisions_for_creating_web_public_streams(self) -> None:+ def test_group_based_permissions_for_creating_web_public_streams(self) -> None:self._test_group_based_settings_for_creating_channels("can_create_web_public_channel_group",invite_only=False,diff --git a/zerver/tests/test_docs.py b/zerver/tests/test_docs.pyindex 15fa16cba20..66cbe0b4ab9 100644--- a/zerver/tests/test_docs.py+++ b/zerver/tests/test_docs.py@@ -446,7 +446,7 @@ class DocPageTest(ZulipTestCase):response,)- # Mis-matched category should also return back to all.+ # Mismatched category should also return back to all.result = self.client_get("/integrations/asana?category=communication",)diff --git a/zerver/tests/test_events.py b/zerver/tests/test_events.pyindex 9126df95c80..04493473c03 100644--- a/zerver/tests/test_events.py+++ b/zerver/tests/test_events.py@@ -2341,10 +2341,10 @@ class NormalActionsTest(BaseAction):do_deactivate_user_group(api_design, acting_user=None)with self.verify_action(num_events=0, state_change_expected=False):- do_update_user_group_name(api_design, "api-deisgn-team", acting_user=None)+ do_update_user_group_name(api_design, "api-design-team", acting_user=None)with self.verify_action(include_deactivated_groups=True) as events:- do_update_user_group_name(api_design, "api-deisgn", acting_user=None)+ do_update_user_group_name(api_design, "api-design", acting_user=None)check_user_group_update("events[0]", events[0], {"name"})def do_test_user_group_events_on_stream_metadata_access_change(diff --git a/zerver/tests/test_invite.py b/zerver/tests/test_invite.pyindex cbf2d1f4079..842c74ac0e6 100644--- a/zerver/tests/test_invite.py+++ b/zerver/tests/test_invite.py@@ -2240,7 +2240,7 @@ so we didn't send them an invitation. We did send invitations to everyone else!")def test_invite_welcome_bot_custom_message_from_member(self) -> None:- # If a non-admin member is creating an invitaion the Welcome Bot+ # If a non-admin member is creating an invitation the Welcome Bot# custom message is sent if it is configured in the realm.# If the `welcome_message_custom_text` is configured for the realm.@@ -3066,7 +3066,7 @@ class MultiuseInviteTest(ZulipTestCase):)def test_multiuse_invite_welcome_bot_custom_message_from_member(self) -> None:- # If a non-admin member is creating an invitaion the Welcome Bot+ # If a non-admin member is creating an invitation the Welcome Bot# custom message is sent if it is configured in the realm.# If the `welcome_message_custom_text` is configured for the realm.diff --git a/zerver/tests/test_message_delete.py b/zerver/tests/test_message_delete.pyindex 6da9e7d91d1..ae18f51ea06 100644--- a/zerver/tests/test_message_delete.py+++ b/zerver/tests/test_message_delete.py@@ -24,10 +24,10 @@ if TYPE_CHECKING:class DeleteMessageTest(ZulipTestCase):def test_do_delete_messages_with_empty_list(self) -> None:realm = get_realm("zulip")- inital_count = Message.objects.count()+ initial_count = Message.objects.count()do_delete_messages(realm, [], acting_user=None)final_count = Message.objects.count()- self.assertEqual(inital_count, final_count)+ self.assertEqual(initial_count, final_count)def test_do_delete_private_messages_with_acting_user(self) -> None:realm = get_realm("zulip")diff --git a/zerver/tests/test_subs.py b/zerver/tests/test_subs.pyindex 48a50f1d48a..7c8aa739379 100644--- a/zerver/tests/test_subs.py+++ b/zerver/tests/test_subs.py@@ -3436,7 +3436,7 @@ class SubscriptionAPITest(ZulipTestCase):)self.assertEqual(msg.content, expected_msg)- def test_sucessful_subscription_notifies_in_empty_topic_only_stream(self) -> None:+ def test_successful_subscription_notifies_in_empty_topic_only_stream(self) -> None:invitee = self.example_user("iago")invitee_full_name = "Iago"diff --git a/zerver/views/documentation.py b/zerver/views/documentation.pyindex 801853b9aeb..c77320328e2 100644--- a/zerver/views/documentation.py+++ b/zerver/views/documentation.py@@ -479,9 +479,9 @@ def integrations_doc(return TemplateResponse(request, "404.html", status=404)return_category_slug = request.GET.get("category", "all")- categorie_slugs = [category[0] for category in get_categories_for_integration(integration)]+ category_slugs = [category[0] for category in get_categories_for_integration(integration)]# If we have an invalid slug, back to list points to the root integrations page.- if return_category_slug != "all" and return_category_slug not in categorie_slugs:+ if return_category_slug != "all" and return_category_slug not in category_slugs:return_category_slug = "all"return TemplateResponse(diff --git a/zerver/webhooks/jotform/view.py b/zerver/webhooks/jotform/view.pyindex f7c0ebc816d..ba7ce2deda4 100644--- a/zerver/webhooks/jotform/view.py+++ b/zerver/webhooks/jotform/view.py@@ -98,12 +98,12 @@ def get_pretty_fields(pretty: str, values: list[str]) -> list[tuple[str, str]]:# 3 characters for colon, comma and space.pair_starting_index += 2 * value_length + 3else:- value_occurence_index = pretty.find(value, pair_starting_index)- value_ending_index = value_occurence_index + value_length+ value_occurrence_index = pretty.find(value, pair_starting_index)+ value_ending_index = value_occurrence_index + value_length# -1 for colon, separating key and value- key = pretty[pair_starting_index : value_occurence_index - 1]- val = pretty[value_occurence_index:value_ending_index]+ key = pretty[pair_starting_index : value_occurrence_index - 1]+ val = pretty[value_occurrence_index:value_ending_index]# 2 characters for comma and space, which separate the fieldspair_starting_index = value_ending_index + 2