zulip/zerver/lib
Sampriti Panda 34a4a1378d bugdown: Use specified realm, not sender realm, for rendering.
This changes bugdown to use the realm passed in by the caller (if any)
for rendering, fixing a problem where bots such as the notification
bot would have their messages rendering using the admin realm's
settings, not the settings of the realm their messages are being sent
into.

Also adds a test for the notification bot case.

Fixes #3215.
2017-01-21 21:37:57 -08:00
..
bugdown bugdown: Use specified realm, not sender realm, for rendering. 2017-01-21 21:37:57 -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 bugdown: Use specified realm, not sender realm, for rendering. 2017-01-21 21:37:57 -08:00
alert_words.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
avatar.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
avatar_hash.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -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 tornado: Remove unused caching code. 2017-01-19 16:36:31 -08:00
cache_helpers.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
camo.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
ccache.py mypy: Convert the isinstances function in /zerver/lib/ to use typing.Text. 2016-12-25 10:33:45 -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 mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
debug.py Fixed typos with receive 2017-01-12 04:52:44 -08:00
digest.py Rename digest_email_txt.html to digest_email.html. 2017-01-06 10:42:28 -08:00
email_mirror.py internal_send_message: Make realm argument mandatory. 2017-01-21 21:37:30 -08:00
emoji.py emoji: Extract zerver.lib.emoji. 2017-01-16 23:45:28 -08:00
export.py Removed accommodate typos 2017-01-12 04:53:31 -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 Add Zapier integration. 2017-01-20 10:43:18 -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 bugdown: Use specified realm, not sender realm, for rendering. 2017-01-21 21:37:57 -08:00
migrate.py lint: Fix E127 pep8 violations. 2016-12-01 10:23:55 -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: Fix % comprehensions being used without a tuple. 2017-01-09 11:45:11 -08:00
parallel.py pep8: Fix E301 pep8 violations. 2016-11-29 08:51:44 -08:00
push_notifications.py mypy: Convert zerver/lib to use typing.Text. 2016-12-25 10:33:45 -08:00
queue.py pep8: Fix many rule E128 violations. 2016-12-03 13:33:31 -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 pep8: Fix E129 violations 2016-12-03 10:56:36 -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 mypy: Remove a bunch of now-unnecessary type: ignore annotations. 2016-10-17 11:48:34 -07: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 ldap: Inherit FakeLdap exceptions from ldap. 2016-12-30 16:55:06 -08:00
test_runner.py pep8: Fix many rule E128 violations. 2016-12-03 13:33:31 -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: Fix % comprehensions being used without a tuple. 2017-01-09 11:45:11 -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