zulip/zerver
sahil839 c488a35f10 streams: Add API for changing stream-level message_retention_days.
This commit adds backend support for setting message_retention_days
while creating streams and updating it for an existing stream. We only
allow organization owners to set/update it for a stream.

'message_retention_days' field for a stream existed previously also, but
there was no way to set it while creating streams or update it for an
exisiting streams using any endpoint.
2020-06-18 17:00:15 -07:00
..
data_import python: Convert more percent formatting to Python 3.6 f-strings. 2020-06-14 23:27:22 -07:00
lib streams: Add API for changing stream-level message_retention_days. 2020-06-18 17:00:15 -07:00
management i18n: Add regex for nested handlebars i18n. 2020-06-17 17:56:57 -07:00
migrations migrations: Add merged migration following 2.1.5 release. 2020-06-16 23:35:39 -07:00
openapi streams: Add API for changing stream-level message_retention_days. 2020-06-18 17:00:15 -07:00
templatetags python: Convert more percent formatting to Python 3.6 f-strings. 2020-06-14 23:27:22 -07:00
tests streams: Add API for changing stream-level message_retention_days. 2020-06-18 17:00:15 -07:00
tornado python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
views streams: Add API for changing stream-level message_retention_days. 2020-06-18 17:00:15 -07:00
webhooks CVE-2020-12759: Fix reflected XSS vulnerability in Dropbox webhook. 2020-06-16 22:46:16 -07:00
worker CVE-2020-14215: Fix validation in PreregistrationUser queries. 2020-06-16 23:35:39 -07:00
__init__.py
apps.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
context_processors.py auth: Make apple log in and sign up buttons consistent with others. 2020-06-18 13:06:10 -07:00
decorator.py python: Combine some split import groups. 2020-06-18 15:54:11 -07:00
filters.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
forms.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
logging_handlers.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
middleware.py python: Manually convert more percent-formatting to f-strings. 2020-06-14 23:27:22 -07:00
models.py streams: Add API for changing stream-level message_retention_days. 2020-06-18 17:00:15 -07:00
signals.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00