Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Fix some spelling errors.
Anders Kaseorg6564540d1547
diff --git a/docs/overview/changelog.md b/docs/overview/changelog.mdindex 559e736c7b4..86ac1f411fd 100644--- a/docs/overview/changelog.md+++ b/docs/overview/changelog.md@@ -82,7 +82,7 @@ in bursts.- Removed unused `short_name` field from the User model. This fieldhad no purpose and could leak the local part of email addresses- when email address visiblity was restricted.+ when email address visibility was restricted.- Fixed a bug where loading spinners would sometimes not be displayed.- Fixed incoming email gateway exception with unstructured headers.- Fixed AlertWords not being included in data import/export.diff --git a/docs/tutorials/screenshot-and-gif-software.md b/docs/tutorials/screenshot-and-gif-software.mdindex e6f26b057f0..b0bcc2588e7 100644--- a/docs/tutorials/screenshot-and-gif-software.md+++ b/docs/tutorials/screenshot-and-gif-software.md@@ -1,6 +1,6 @@# Screenshot and GIF software-The following list documents different screenshoting & GIF-making techniques and+The following list documents different screenshotting & GIF-making techniques andfree software. We encourage you to make use of these when making front-end pullrequests, as other contributors can see the changes you have made without havingto check out your branch.@@ -9,7 +9,7 @@ to check out your branch.### Browser- Firefox can take screenshots without any plugins (stable feature starting from v57)- You can find it under `page actions / Take a screenshot`- - It is capable of screenshoting the entire page, visible area and individual DOM elements+ - It is capable of screenshotting the entire page, visible area and individual DOM elements- [LightShot Screenshot](https://app.prntscr.com/en/index.html) (Chrome, Firefox, IE & Opera)### macOSdiff --git a/zerver/lib/send_email.py b/zerver/lib/send_email.pyindex 22120dec97e..5074cbef513 100644--- a/zerver/lib/send_email.py+++ b/zerver/lib/send_email.py@@ -245,7 +245,7 @@ def clear_scheduled_emails(user_ids: List[int], email_type: Optional[int]=None)for item in deduplicated_items.values():# Now we want a FOR UPDATE lock on the item.users rows# to prevent a concurrent transaction from mutating them- # simultanously.+ # simultaneously.item.users.all().select_for_update()item.users.remove(*user_ids)if item.users.all().count() == 0:diff --git a/zerver/tests/test_markdown.py b/zerver/tests/test_markdown.pyindex 15b1bd0397f..109b30ba8d3 100644--- a/zerver/tests/test_markdown.py+++ b/zerver/tests/test_markdown.py@@ -1098,9 +1098,9 @@ class MarkdownTest(ZulipTestCase):converted_topic = topic_links(realm.id, msg.topic_name())# The second filter (which was saved later) was ignored as the content was marked AtomicString after first conversion.- # There was no easy way to support parsing both filters and not run into an infinite loop, hence the sencond filter is ignored.+ # There was no easy way to support parsing both filters and not run into an infinite loop, hence the second filter is ignored.self.assertEqual(converted, '<p>We should fix <a href="https://trac.example.com/ticket/ABC-123">ABC-123</a> or <a href="https://trac.example.com/ticket/16">trac ABC-123</a> today.</p>')- # Both the links should be genered in topics.+ # Both the links should be generated in topics.self.assertEqual(converted_topic, ['https://trac.example.com/ticket/ABC-123', 'https://other-trac.example.com/ticket/ABC-123'])def test_maybe_update_markdown_engines(self) -> None:diff --git a/zerver/worker/queue_processors.py b/zerver/worker/queue_processors.pyindex 68efe14f0a3..9a270d4e251 100644--- a/zerver/worker/queue_processors.py+++ b/zerver/worker/queue_processors.py@@ -668,7 +668,7 @@ class MirrorWorker(QueueProcessingWorker):@assign_queue('embed_links')class FetchLinksEmbedData(QueueProcessingWorker):- # This is a slow queue with network requests, so a disk write is neglible.+ # This is a slow queue with network requests, so a disk write is negligible.# Update stats file after every consume call.CONSUME_ITERATIONS_BEFORE_UPDATE_STATS_NUM = 1@@ -866,7 +866,7 @@ class TestWorker(QueueProcessingWorker):@assign_queue('noop', queue_type="test")class NoopWorker(QueueProcessingWorker):- """Used to profile the queue procesing framework, in zilencer's queue_rate."""+ """Used to profile the queue processing framework, in zilencer's queue_rate."""def __init__(self, max_consume: int=1000, slow_queries: Optional[List[int]]=None) -> None:self.consumed = 0@@ -884,7 +884,7 @@ class NoopWorker(QueueProcessingWorker):@assign_queue('noop_batch', queue_type="test")class BatchNoopWorker(LoopQueueProcessingWorker):- """Used to profile the queue procesing framework, in zilencer's queue_rate."""+ """Used to profile the queue processing framework, in zilencer's queue_rate."""batch_size = 500def __init__(self, max_consume: int=1000, slow_queries: Optional[List[int]]=None) -> None: