zulip/zerver
Hemanth V. Alluri b5cd232a2e drafts: Use enable_drafts_synchronization for access control.
If a user doesn't have enable_drafts_synchronization set to True, then
don't let them access the drafts API.  This will help protect us
against client bugs accidentally sending drafts to the server when the
feature is disabled.

Signed-off-by: Hemanth V. Alluri <hdrive1999@gmail.com>
2021-07-23 12:34:15 -07:00
..
data_import data_import: Rename mattermost_user to user_handler. 2021-07-15 14:28:36 -07:00
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib fenced_code: Optimize FENCE_RE to fix cubic worst-case complexity. 2021-07-22 16:40:44 -07:00
management python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
migrations models: Add a new field controlling drafts synchronization. 2021-07-23 12:31:00 -07:00
openapi api: Allow setting email_notifications_batching_period_seconds. 2021-07-23 12:22:05 -07:00
tests drafts: Use enable_drafts_synchronization for access control. 2021-07-23 12:34:15 -07:00
tornado tornado: Call close() on Django HttpResponse objects. 2021-07-20 11:07:36 -07:00
views drafts: Use enable_drafts_synchronization for access control. 2021-07-23 12:34:15 -07:00
webhooks python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
worker MissedMessageWorker: Use custom batching periods from UserProfile. 2021-07-23 12:13:46 -07:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
context_processors.py auth: show _OR_ during login only when other methods are available. 2021-07-20 14:29:48 -07:00
decorator.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
forms.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00
logging_handlers.py logging_handlers: Remove STAGING_ERROR_NOTIFICATIONS setting. 2021-07-07 09:26:02 -07:00
middleware.py Revert "Revert "request: Refactor to record rate limit data using ZulipRequestNotes."" 2021-07-19 16:48:23 -07:00
models.py models: Add a new field controlling drafts synchronization. 2021-07-23 12:31:00 -07:00
signals.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00