zulip/zerver
Aditya Bansal efe8545303 local-uploads: Start running authentication checks on file requests.
From here on we start to authenticate uploaded file request before
serving this files in production. This involves allowing NGINX to
pass on these file requests to Django for authentication and then
serve these files by making use on internal redirect requests having
x-accel-redirect field. The redirection on requests and loading
of x-accel-redirect param is handled by django-sendfile.

NOTE: This commit starts to authenticate these requests for Zulip
servers running platforms either Ubuntu Xenial (16.04) or above.

Fixes: #320 and #291 partially.
2018-02-16 05:06:37 +05:30
..
fixtures stripe: Add backend tests for stripe. 2018-02-12 12:45:46 -08:00
lib embedded bots: Log warning when bot quit()s. 2018-02-13 14:56:37 -08:00
management translation: Mark error strings in django.po files. 2018-02-15 11:12:42 -08:00
migrations migrations: Fix mypy error in placeholder migration. 2018-02-05 18:03:07 -08:00
templatetags mypy: Tweak a bit of syntax to avoid a mypy bug. 2018-02-09 19:43:27 -08:00
tests local-uploads: Start running authentication checks on file requests. 2018-02-16 05:06:37 +05:30
tornado mypy: Clarify valid types in tornado views via new variable. 2018-02-13 11:40:52 -08:00
views local-uploads: Start running authentication checks on file requests. 2018-02-16 05:06:37 +05:30
webhooks integrations: Update text for bitbucket2 doc. 2018-02-13 22:28:48 -03:30
worker embedded bots: Log warning when bot quit()s. 2018-02-13 14:56:37 -08:00
__init__.py caching: Add configuration class for post-migration cache flushing. 2016-10-27 23:26:34 -07:00
apps.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
context_processors.py integrations/email: Render settings.EMAIL_GATEWAY_EXAMPLE correctly. 2018-01-22 18:05:20 -05:00
decorator.py decorators: Fix email check in access_user_by_api_key case insensitive. 2018-01-23 10:04:03 -08:00
filters.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
forms.py mypy: Annotate user variable in ZulipPasswordResetForm.save. 2018-02-13 11:40:07 -08:00
logging_handlers.py Fix mypy error in AdminNotifyHandler.emit(). 2017-12-22 15:02:18 -05:00
middleware.py mypy: Use Python 3 type syntax in zerver/middleware.py. 2017-12-11 18:43:24 -08:00
models.py settings: Added setting to turn on and off realm name in email subject. 2018-02-05 18:01:54 -08:00
signals.py emails: Fix notify_new_login emails have unserializable context. 2017-12-22 16:34:18 -05:00
static_header.txt Update static_header.txt with new license information. 2016-08-13 00:37:21 -07:00
storage.py mypy: Improve typing for ManifestStaticFilesStorage monkeypatch. 2017-12-08 19:00:18 -08:00