zulip/zerver
Tim Abbott a34b79a3f4 python: Avoid importing the mock module in production.
These lazy imports save a significant amount of time on Zulip's core
import process, because mock imports pbr, which in turn import
pkgresources, which is in turn incredibly slow to import.

Fixes part of #9953.
2018-10-17 15:28:48 -07:00
..
data_import hipchat import: Add NotificationMessage support. 2018-10-17 12:11:08 -07:00
lib push_notifications: Lazily import APNS libraries. 2018-10-17 11:59:33 -07:00
management minor: Add link to hipchat spec to code. 2018-10-13 16:43:28 -07:00
migrations notifications: Fix push notifications with multiple realms. 2018-10-10 16:15:52 -07:00
openapi api docs: Document the /dev_fetch_api_key endpoint. 2018-10-16 12:47:12 -07:00
templatetags api docs: Rename webhook-walkthrough to incoming-webhooks-walkthrough. 2018-10-16 21:07:00 -07:00
tests push_notifications: Lazily import APNS libraries. 2018-10-17 11:59:33 -07:00
tornado tornado: Rename async_request_{restart,stop} to mention timer. 2018-10-16 15:39:10 -07:00
views python: Avoid importing the mock module in production. 2018-10-17 15:28:48 -07:00
webhooks webhooks/taiga: Add test for when a task is moved between stories. 2018-10-16 13:06:20 -07:00
worker refactor: Extract build_bot_request(). 2018-10-11 16:12:07 -07:00
__init__.py
apps.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
context_processors.py portico: Change buttons on /plans to reflect current plan. 2018-09-05 13:44:35 -07:00
decorator.py decorator: Fix error message for accessing deactivated accounts. 2018-08-09 15:58:31 -07:00
filters.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
forms.py password reset: Deduplicate code for reset URL generation. 2018-08-23 12:06:02 -07:00
logging_handlers.py bugdown: Improve exception handler for BugdownRenderingException. 2018-07-26 09:27:55 -07:00
middleware.py tornado: Rename async_request_{restart,stop} to mention timer. 2018-10-16 15:39:10 -07:00
models.py management: Add command to scrub a realm of personal data. 2018-10-11 15:30:26 -07:00
signals.py emails: Add detection for ChromeOS User-Agents. 2018-09-21 10:41:05 -07:00
static_header.txt