frontend: Update when communities directory checkbox is disabled.

Changes the admin UI for the communities directory checkbox to use
the `realm_push_notifications_enabled` page param instead of the
`server_web_public_streams_enabled` page param.

Updates help center documentation about the communities directory
to have clearer information about how the setting works for
self-hosted communitites.
This commit is contained in:
Lauryn Menard
2022-05-24 01:33:11 +02:00
committed by Tim Abbott
parent 9273c314cf
commit bb45c04136
2 changed files with 25 additions and 11 deletions

View File

@@ -171,7 +171,7 @@ export function build_page() {
realm_want_advertise_in_communities_directory:
page_params.realm_want_advertise_in_communities_directory,
disable_want_advertise_in_communities_directory:
!page_params.server_web_public_streams_enabled,
!page_params.realm_push_notifications_enabled,
};
if (options.realm_logo_source !== "D" && options.realm_night_logo_source === "D") {

View File

@@ -2,24 +2,38 @@
{!communities-directory-intro.md!}
## Eligibility
In order to be eligible for listing in the communities directory, an
organization must be open to the public. Your organization is eligible if users are
allowed [join without an invitation][join-without-invite] and/or the [public
access option](/help/public-access-option) is enabled.
organization must be open to the public. Your organization is eligible
if users are allowed to [join without an invitation][join-without-invite]
and/or the [public access option](/help/public-access-option) is enabled.
The directory will be organized by [organization type](/help/organization-type),
so it is highly recommended that you make sure the appropriate category is
selected.
so it is highly recommended that you make sure the appropriate category
is selected.
To prevent spam, Zulip reserves the right to use editorial discretion. Giving
Zulip permission to promote your organization in the communities directory does
not guarantee that it will be listed.
To prevent spam, Zulip reserves the right to use editorial discretion.
Giving Zulip permission to promote your organization in the communities
directory does not guarantee that it will be listed.
If you administer a self-hosted Zulip community that you would like to be
listed, please contact [Zulip support](mailto:support@zulip.com).
### Self-hosted Zulip communities
Zulip plans to develop support for self-hosted Zulip communities that
have registered their servers with the [Zulip mobile push
notification service][push-notifications] to sign-up for the Zulip
communities directory.
Until that feature is developed, if you administer a self-hosted Zulip
community and would like to be listed in the directory, please contact
[Zulip support](mailto:support@zulip.com). Changing the setting in your
Zulip organization will not send any information to the Zulip project
at this time, even if you use the Zulip mobile push notifications
service.
[join-without-invite]: /help/restrict-account-creation#set-whether-invitations-are-required-to-join
[communities-directory-permission]: /help/communities-directory#give-permission-to-be-in-the-zulip-communities-directory
[push-notifications]: https://zulip.readthedocs.io/en/stable/production/mobile-push-notifications.html
## Change whether your organization may be listed in the Zulip communities directory