zulip/zerver
sahil839 39c9845cb0 streams: Raise same error for all values of invite_to_stream_policy.
We keep the error message same for all cases when a user is not
allowed to subscribe others for all values of invite_to_stream_policy.

We raise error with different message for guest cases because it
is handled by decorators. We aim to change this behavior in future.

Explaining the details in error message isn't much important as
we do not show errors probably in API only, as we do not the show
the options itself in the frontend.
2021-04-07 14:51:00 -07:00
..
data_import models/realm: Add a model for storing realm playground information. 2021-04-07 08:20:53 +05:30
lib streams: Raise same error for all values of create_stream_policy. 2021-04-07 14:51:00 -07:00
management refactor: Rename most of "filter" to "linkifier". 2021-04-05 18:14:07 -07:00
migrations settings: Replace invite_by_admins_policy with invite_to_realm_policy. 2021-04-07 09:02:33 -07:00
openapi api docs: Record surprising required encoding for emojiset. 2021-04-07 12:37:51 -07:00
templatetags dependencies: Upgrade to webpack-bundle-tracker 1.0.0-alpha.1. 2021-04-06 09:31:35 -07:00
tests streams: Raise same error for all values of invite_to_stream_policy. 2021-04-07 14:51:00 -07:00
tornado request: Rename validator parameter of REQ to json_validator. 2021-04-07 14:13:06 -07:00
views streams: Raise same error for all values of invite_to_stream_policy. 2021-04-07 14:51:00 -07:00
webhooks request: Rename validator parameter of REQ to json_validator. 2021-04-07 14:13:06 -07:00
worker outgoing_webhook: Join build_bot_request and send_data_to_server. 2021-03-29 18:24:44 -07:00
__init__.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
apps.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
context_processors.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
decorator.py api: Add REALM_DEACTIVATED error code. 2021-03-31 08:46:13 -07:00
filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
forms.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
logging_handlers.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
middleware.py middleware: Do not trust X-Forwarded-For; use X-Real-Ip, set from nginx. 2021-03-31 14:19:38 -07:00
models.py realm: Add moderators and full members option in invite_to_realm_policy. 2021-04-07 09:05:16 -07:00
signals.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00