zulip/zerver
Eeshan Garg 057ff9c91e models: Add Stream.history_public_to_subscribers.
This commit adds a new field history_public_to_subscribers to the
Stream model, which serves a similar function to the old
settings.PRIVATE_STREAM_HISTORY_FOR_SUBSCRIBERS; we still use that
setting as the default value for new streams to avoid breaking
backwards-compatibility for those users before we are ready with an
actual UI for users to choose directly.

This also comes with a migration to set the value of the new field for
existing streams with an algorithm matching that used at runtime.

With significant changes by Tim Abbott.

This is an initial part of our efforts on #9232.
2018-04-28 22:54:04 -07:00
..
lib models: Add Stream.history_public_to_subscribers. 2018-04-28 22:54:04 -07:00
management import: Split out import.py into its own module. 2018-04-23 15:21:12 -07:00
migrations models: Add Stream.history_public_to_subscribers. 2018-04-28 22:54:04 -07:00
templatetags bugdown: Add {settings|my-setting} macro. 2018-04-25 13:41:24 -07:00
tests models: Add Stream.history_public_to_subscribers. 2018-04-28 22:54:04 -07:00
tornado websockets: Fix race condition in CSRF token initialization. 2018-03-31 09:29:56 -07:00
views models: Add Stream.history_public_to_subscribers. 2018-04-28 22:54:04 -07:00
webhooks webhooks/pivotal: Add "epic_update_activity" to unsupported types. 2018-04-27 14:26:14 -07:00
worker mypy: Remove need for cast by using ConcreteQueueWorker TypeVar. 2018-03-11 15:34:11 -07:00
__init__.py
apps.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
context_processors.py cleanup: Remove the legacy Dropbox file upload integration. 2018-04-11 11:39:48 -07:00
decorator.py decorator: Add nocoverage comments for rate_limit decorator. 2018-04-25 22:37:12 -07:00
filters.py zerver: Use Python 3 syntax for typing. 2017-11-28 16:49:36 -08:00
forms.py slack import: Be less strict in `check_subdomain_available`. 2018-04-23 11:48:12 -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 mypy: Rewrite some middleware annotations to use ViewFuncT. 2018-03-17 23:25:05 +00:00
models.py models: Add Stream.history_public_to_subscribers. 2018-04-28 22:54:04 -07:00
signals.py signals: Remove an unused import. 2018-04-26 11:11:45 -07:00
static_header.txt
storage.py mypy: Improve typing for ManifestStaticFilesStorage monkeypatch. 2017-12-08 19:00:18 -08:00