zulip/zerver
sahil839 86f7b6af60 events: Pass can_invite_others_to_realm to client using page_params.
This commit adds backend code for passing can_invite_others_to_realm
field to clients using the fetch_initial_state_data in the page_params
object.

Though this field is not used by webapp as of now, but will be used
to fix a bug of incorreclty showing the invite users option in
settings overlay in the next commit.
2021-04-07 09:05:16 -07:00
..
data_import models/realm: Add a model for storing realm playground information. 2021-04-07 08:20:53 +05:30
lib events: Pass can_invite_others_to_realm to client using page_params. 2021-04-07 09:05:16 -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 events: Pass can_invite_others_to_realm to client using page_params. 2021-04-07 09:05:16 -07:00
templatetags dependencies: Upgrade to webpack-bundle-tracker 1.0.0-alpha.1. 2021-04-06 09:31:35 -07:00
tests events: Pass can_invite_others_to_realm to client using page_params. 2021-04-07 09:05:16 -07:00
tornado tornado: Explicitly mark requests as varying by cookie. 2021-04-02 14:55:22 -07:00
views realm: Add moderators and full members option in invite_to_realm_policy. 2021-04-07 09:05:16 -07:00
webhooks statuspage: Properly detect the update is for component or incident. 2021-03-30 12:06:09 -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