zulip/zerver/lib
Tim Abbott 153418de38 subs: Send create event to new subscribers of invite-only streams.
This fixes a regression introduced by our migration to track
subscribers for all public streams, where now users who are added to
an invite-only stream were receiving a mark_subscribed event
for a stream their browser didn't know existed, causing an exception.

To fix this, we now send a stream create event to the browser just
before the user receives the notification that it was added to the
invite-only stream.
2017-01-28 17:12:16 -08:00
..
bugdown lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
url_preview mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
webhooks mypy: Convert more zerver/lib files to typing.Text. 2016-12-05 21:17:24 -08:00
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
actions.py subs: Send create event to new subscribers of invite-only streams. 2017-01-28 17:12:16 -08:00
alert_words.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
avatar.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
avatar_hash.py lint: clean up PEP-8 W391 rule. 2017-01-23 20:39:02 -08:00
bulk_create.py Remove calls to get_realm in preparation for its deprecation. 2016-12-26 17:53:32 -08:00
cache.py lint: Clean up E121 PEP-8 rule. 2017-01-23 21:02:39 -08:00
cache_helpers.py lint: Clean up E123 PEP-8 rule. 2017-01-23 21:34:26 -08:00
camo.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
ccache.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
context_managers.py mypy: Change Generator[None, None, None] to Iterator[None]. 2016-11-27 10:42:16 -08:00
create_user.py create_user: Remove Python 3 related hack about bot_owner. 2017-01-14 12:22:38 -08:00
db.py lint: Clean up E123 PEP-8 rule. 2017-01-23 21:34:26 -08:00
debug.py Fixed typos with receive 2017-01-12 04:52:44 -08:00
digest.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
domains.py Add stricter domain validation and improve error messages. 2017-01-26 17:24:25 -08:00
email_mirror.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
emoji.py lint: clean up PEP-8 W391 rule. 2017-01-23 20:39:02 -08:00
error_notify.py errors: Move do_report_error into zerver/lib/. 2017-01-23 23:18:28 -08:00
export.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
html_diff.py internal_send_message: Make realm argument mandatory. 2017-01-21 21:37:30 -08:00
i18n.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
initial_password.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
integrations.py Split webhooks doc and move to particular directories. 2017-01-26 11:56:45 -08:00
logging_util.py logging: Fix handling of tracebacks with no exc_info. 2016-12-20 11:49:12 -08:00
mandrill_client.py Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
mention.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
message.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
migrate.py lint: Clean up W503 PEP-8 warning. 2017-01-23 20:50:04 -08:00
name_restrictions.py name_restrictions: Add a few more reserved subdomains. 2016-12-26 14:59:09 -08:00
narrow.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
notifications.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
parallel.py pep8: Fix E301 pep8 violations. 2016-11-29 08:51:44 -08:00
push_notifications.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
queue.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
rate_limiter.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
redis_utils.py settings: Add support for specifying a remote redis password. 2016-08-11 16:54:22 -07:00
request.py mypy: Fix missing class in request.pyi and document. 2016-12-28 09:37:28 -08:00
request.pyi mypy: Fix missing class in request.pyi and document. 2016-12-28 09:37:28 -08:00
response.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
rest.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
retention.py pep8: Fix E231. 2016-11-30 19:59:25 -08:00
session_user.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
sqlalchemy_utils.py mypy: Remove a bunch of now-unnecessary type: ignore annotations. 2016-10-17 11:48:34 -07:00
statistics.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
str_utils.py mypy: Convert the isinstances function in /zerver/lib/ to use typing.Text. 2016-12-25 10:33:45 -08:00
test_classes.py test_classes: Remove domain from ZulipTestCase.register. 2017-01-06 19:45:08 -08:00
test_fixtures.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
test_helpers.py Split webhooks doc and move to particular directories. 2017-01-26 11:56:45 -08:00
test_runner.py lint: Clean up E702 PEP-8 rule. 2017-01-23 21:37:27 -08:00
timeout.py pep8: Fix E301 pep8 violations. 2016-11-29 08:51:44 -08:00
timestamp.py timestamp.py: Add {floor,ceiling}_to_{hour,day} to parallel floor_to_day. 2016-12-29 14:20:13 -08:00
type_debug.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
unminify.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
upload.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
user_agent.py Add type annotation to mention.py, redis_utils.py, timestamp.py, user_agent.py 2016-06-03 19:00:16 -07:00
utils.py subdomains: Don't show login page on root aliases. 2017-01-17 15:29:24 -08:00
validator.py Add annotations for zerver/lib/validator. 2016-06-03 23:53:49 -07:00