zulip/zerver
Anders Kaseorg 19b470c260 openapi: Fix principals array type.
We do not accept heterogeneous arrays containing both user ids and
email addresses.

This also happens to disallow an empty array, which is fine since the
principals parameter should be omitted if the default to the calling
user is desired.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-01-13 14:25:18 -08:00
..
data_import data_import: Ignore Rocket.Chat livechat streams/messages. 2021-11-07 09:50:55 -08:00
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib python: Replace deprecated jinja2.utils.Markup with markupsafe.Markup. 2022-01-13 14:22:48 -08:00
management python: Remove duplicates of global imports inside functions. 2022-01-12 13:50:12 -08:00
migrations migrations: Remove an unnecessary list. 2022-01-11 15:59:50 -08:00
openapi openapi: Fix principals array type. 2022-01-13 14:25:18 -08:00
tests users: Send peer_add subscription events on reactivating users. 2022-01-12 14:30:21 -08:00
tornado notifications: Don't enqueue notifications for bots. 2022-01-03 09:55:06 -08:00
views python: Replace deprecated jinja2.utils.Markup with markupsafe.Markup. 2022-01-13 14:22:48 -08:00
webhooks webhooks/slack: Stop wrapping message content in backticks. 2022-01-10 11:37:53 -08:00
worker queue_processors: Shut down background missedmessage_emails thread. 2021-11-23 10:45:49 -08:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py caching: Make sender type optional for flush_cache. 2021-07-26 14:48:07 -07:00
context_processors.py portico: Use /help/ style pages for displaying policies. 2021-12-10 17:56:12 -08:00
decorator.py webhooks/jira: Handle anomalous payloads properly. 2021-12-28 10:56:25 -08:00
filters.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
forms.py python: Replace deprecated jinja2.utils.Markup with markupsafe.Markup. 2022-01-13 14:22:48 -08:00
logging_handlers.py logging_handlers: Remove STAGING_ERROR_NOTIFICATIONS setting. 2021-07-07 09:26:02 -07:00
middleware.py lint: Fix typos found by codespell. 2021-10-19 16:51:13 -07:00
models.py streams: Add notifications for posting policy changes. 2022-01-10 18:29:04 -08:00
signals.py python: Convert deprecated Django ugettext alias to gettext. 2021-04-15 18:01:34 -07:00