zulip/zerver
Tim Abbott 3b36532407 storage: Fix hash-renaming of various non-CSS/JS file types.
None of the file types here are actually processed by our static asset
pipeline in a way that would result in the hash-named versions of the
files (stored in staticfiles.json) being accessed.  (If they were,
we'd be using something like `render_bundle` to access their paths).

So, we should not be generating/shipping these hash-named versions of
image, audio, and locale files.

This change decreases the size of a Zulip release tarball from 153MB
to 93MB, by removing all of the duplicated copies of various asset
files.

This may also help with #10038, but I'm not marking it as completing
that issue yet, because part of #10038 is that the non-hash-named
image files in prod-static/generated/emoji do not seem to have been
properly overwritten on upgrade, and it's unclear why.

Fixes #5971.
2018-07-24 09:42:25 -07:00
..
lib storage: Fix hash-renaming of various non-CSS/JS file types. 2018-07-24 09:42:25 -07:00
management gitter import: Add management command. 2018-07-23 08:36:30 -07:00
migrations migrations: Convert migration 0041 to not import from zerver. 2018-07-24 09:00:14 -07:00
openapi api docs: Migrate POST /users/me/subscriptions to OpenAPI. 2018-07-03 20:15:34 +02:00
templatetags HTML validation: Remove obsolete attributes from <script>, <style>. 2018-07-13 10:27:23 +05:30
tests tests: Remove redundant test for message 'flags' in test_events.py. 2018-07-23 23:10:07 -07:00
tornado event_queue: Add stream_email_notify. 2018-07-14 12:19:33 +05:30
views search: Duplicate HTML template content for search area. 2018-07-23 11:29:10 -07:00
webhooks webhooks/gitlab: Include title in Issue Hook event messages. 2018-07-14 09:38:11 +05:30
worker registration: Use tokenized noreply address in user invite. 2018-06-23 12:03:30 -07:00
__init__.py
apps.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
context_processors.py custom profile fields: Extract a separate various for whether enabled. 2018-06-07 11:35:04 -07:00
decorator.py 2FA: Add zulip_otp_required decorator. 2018-05-23 15:46:57 -07:00
filters.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
forms.py signup: Prevent users from signing up with email containing +. 2018-06-23 12:03:30 -07:00
logging_handlers.py test_logging_handlers: Mock out `git describe` because can be slow. 2018-03-23 18:24:51 -07:00
middleware.py zerver: Change use of typing.Text to str. 2018-05-12 15:22:39 -07:00
models.py models: Rename remaining audit log event types to past tense. 2018-07-22 20:00:28 -07:00
signals.py auth: Added time conversion in new login emails. 2018-06-07 08:40:22 -07:00
static_header.txt