zulip/zerver
rahuldeve fa13582ffb Serve uploaded files through get_uploaded_file in development.
Previously, uploaded files were served:
* With S3UploadBackend, via get_uploaded_file (redirects to S3)
* With LocalUploadBackend in production, via nginx directly
* With LocalUploadBackend in development, via Django's static file server

This changes that last case to use get_uploaded_file in development,
which is a key step towards being able to do proper access control
authorization.

Does not affect production.
2016-06-09 22:58:25 -07:00
..
fixtures Add Crashlytics integration. 2016-06-04 15:18:42 -07:00
lib Serve uploaded files through get_uploaded_file in development. 2016-06-09 22:58:25 -07:00
management Add mypy bug number for check_redis type: ignore. 2016-06-04 16:11:18 -07:00
migrations Add bot_type field to UserProfile. 2016-05-19 22:37:37 -07:00
templatetags Cleanup remaining usage of % comprehensions without explicit tuples. 2015-12-05 15:29:42 -08:00
tests upload: Use classes to define S3/Local upload backends. 2016-06-09 22:45:03 -07:00
views Serve uploaded files through get_uploaded_file in development. 2016-06-09 22:58:25 -07:00
worker Purge 'from typing import *' from zerver/. 2016-04-07 14:07:07 -07:00
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
context_processors.py enterprise => voyager 2015-08-21 10:33:35 -07:00
decorator.py Add new is_incoming_webhook bot type. 2016-06-07 21:23:35 -07:00
exceptions.py Annotate zerver.exceptions, zerver.filters, zerver.logging_handlers. 2016-06-04 22:51:18 -07:00
filters.py Annotate zerver.exceptions, zerver.filters, zerver.logging_handlers. 2016-06-04 22:51:18 -07:00
finders.py Purge 'from typing import *' from zerver/. 2016-04-07 14:07:07 -07:00
forms.py Annotate zerver.forms. 2016-06-05 12:02:19 -07:00
logging_handlers.py Annotate zerver.exceptions, zerver.filters, zerver.logging_handlers. 2016-06-04 22:51:18 -07:00
middleware.py Annotate zerver.middleware. 2016-06-04 18:32:06 -07:00
models.py Add new is_incoming_webhook bot type. 2016-06-07 21:23:35 -07:00
static_header.txt Update copyright to 2014. 2014-02-04 15:51:53 -05:00
storage.py Add type: ignore for mypy super() bug. 2016-04-03 15:40:24 -07:00
tornadoviews.py Annotate debug.py, initial_password.py, narrow.py, response.py. 2016-06-04 12:56:36 -07:00