zulip/zerver
Wyatt Hoodes 8eac361fb5 docs: Refactor BS work with use of cache_with_key.
Refactor the potentially expensive work done by Beautiful Soup into a
function that is called by the alter_content function, so that we can
cache the result.  Saves a significant portion of the runtime of
loading of all of our /help/ and /api/ documentation pages (e.g. 12ms
for /api).

Fixes #11088.

Tweaked by tabbott to use the URL path as the cache key, clean up
argument structure, and use a clearer name for the function.
2019-01-28 15:21:52 -08:00
..
data_import import: Normalize Slackbot String Comparison. 2019-01-28 14:59:41 -08:00
lib docs: Refactor BS work with use of cache_with_key. 2019-01-28 15:21:52 -08:00
management import realm: Use processes for resizing avatar images. 2019-01-25 12:37:12 -08:00
migrations org settings: Add realm level setting for missed message content in email. 2019-01-25 14:34:10 -08:00
openapi api_docs: Document is_guest field in the get_members API. 2019-01-23 16:04:16 -08:00
templatetags bugdown: Trigger test failure for invalid Markdown include statements. 2018-12-27 20:13:08 -08:00
tests bugdown: Process word boundaries properly in realm_filters. 2019-01-28 14:48:15 -08:00
tornado event_queue: Avoid hardcoded paths in /var/tmp. 2019-01-15 16:12:05 -08:00
views stream_color: Extend subscribe API to support color attribute. 2019-01-25 16:44:59 -08:00
webhooks webhooks/clubhouse: Extract story labels from actions. 2019-01-24 20:08:59 -03:30
worker send_email: Add support for passing language into send_future_email. 2019-01-09 17:47:58 -08:00
__init__.py
apps.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
context_processors.py emails: Clean up code surrounding the call to find_team. 2018-12-20 16:26:19 -08:00
decorator.py decorator: Set an error code for invalid API key errors. 2019-01-05 11:29:34 -08:00
filters.py error reports: Ensure we filter API keys from query strings. 2018-10-19 15:03:14 -07:00
forms.py emails: Update text for password_reset. 2018-12-20 16:26:19 -08:00
logging_handlers.py bugdown: Improve exception handler for BugdownRenderingException. 2018-07-26 09:27:55 -07:00
middleware.py docs: Refactor BS work with use of cache_with_key. 2019-01-28 15:21:52 -08:00
models.py org settings: Add realm level setting for missed message content in email. 2019-01-25 14:34:10 -08:00
signals.py emails: Use ugettext instead of ugettext_lazy in signals. 2018-12-20 19:35:23 -08:00
static_header.txt