Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

help center: Migrate reusable content in "Import from Slack".

David Rosa59df44f5ceaf
diff --git a/templates/zerver/help/import-from-slack.md b/templates/zerver/help/import-from-slack.md
index ab5033b06ee..11cdc82e1bf 100644
--- a/templates/zerver/help/import-from-slack.md
+++ b/templates/zerver/help/import-from-slack.md
@@ -1,16 +1,6 @@
# Import from Slack
-You can import your current workspace into a Zulip organization. It's a great way
-to preserve your workspace history when you migrate to Zulip, and to
-make the transition easy for the members of your organization.
-
-The import will include your organization's:
-
-* **Name** and **Logo**
-* **Message history**, including attachments and emoji reactions
-* **Users**, including names, emails, roles, avatars, time zones, and custom profile fields
-* **Channels**, including all user subscriptions
-* **Custom emoji**
+{!import-workspace-to-zulip.md!}
## Import process overview
@@ -89,73 +79,28 @@ in order to export private message data.
### Import your data into Zulip
-To start using Zulip, you will need to choose between Zulip Cloud and
-self-hosting Zulip. For a simple managed solution, with no setup or maintenance
-overhead, you can [sign up](/new/) for Zulip Cloud with just a few clicks.
-Alternatively, you can [self-host](/self-hosting/) your Zulip organization. See
-[here](/help/zulip-cloud-or-self-hosting) to learn more.
-
-!!! warn ""
-
- **You can only import a workspace as a new Zulip organization.** Your imported
- message history cannot be added into an existing Zulip organization.
+{!import-your-data-into-zulip.md!}
{start_tabs}
{tab|zulip-cloud}
-#### Import into a Zulip Cloud organization
-
-{!send-us-info.md!}
-
-1. The subdomain you would like to use for your organization. Your Zulip chat will
- be hosted at `<subdomain>.zulipchat.com`.
-
-1. The **exported data** file containing your workspace message history export.
+{!import-into-a-zulip-cloud-organization.md!}
1. Your Slack **Bot User OAuth Token**, which will be a long
string of numbers and characters starting with `xoxb-`.
-!!! warn ""
-
- If the organization already exists, the import process will overwrite all
- data that's already there. If needed, we're happy to preserve your
- data by moving an organization you've already created to a new
- subdomain prior to running the import process.
+{!import-zulip-cloud-organization-warning.md!}
{tab|self-hosting}
-#### Import into a self-hosted Zulip server
-
-Zulip's import tools are robust, and have been used to import workspaces
-with 10,000 members and millions of messages. If you're planning on doing
-an import much larger than that, or run into performance issues when
-importing, [contact us](/help/contact-support) for help.
-
-1. Follow steps
- [1](https://zulip.readthedocs.io/en/stable/production/install.html#step-1-download-the-latest-release)
- and
- [2](https://zulip.readthedocs.io/en/stable/production/install.html#step-2-install-zulip)
- of the guide for [installing a new Zulip
- server](https://zulip.readthedocs.io/en/stable/production/install.html).
-
-1. Copy the **exported data** file containing your workspace message
- history export onto your Zulip server, and put it in `/tmp/`.
-
-1. Log in to a shell on your Zulip server as the `zulip` user.
+{!import-into-a-self-hosted-zulip-server.md!}
1. To import into an organization hosted on the root domain
(`EXTERNAL_HOST`) of the Zulip installation, run the following
commands, replacing `<token>` with your Slack **Bot User OAuth Token**.
- !!! tip ""
-
- * The import could take several minutes to run,
- depending on how much data you're importing.
-
- * The server stop/restart commands are only
- necessary when importing on a server with minimal
- RAM, where an OOM kill might otherwise occur.
+{!import-self-hosted-server-tips.md!}
```
cd /home/zulip/deployments/current
@@ -223,101 +168,16 @@ token from being used to access your Slack workspace in the future.
## Get your organization started with Zulip
-Once the import process is completed, you will need to:
-
-{start_tabs}
-
-1. [Configure the settings for your organization](/help/customize-organization-settings),
- which are not exported. This includes settings like [email
- visibility](/help/restrict-visibility-of-email-addresses), [message editing
- permissions](/help/configure-message-editing-and-deletion#configure-message-editing-and-deletion_1),
- and [how users can join your organization](/help/restrict-account-creation).
-
-1. All users from your previous workspace will have accounts in your new Zulip
- organization. However, you will need to let users know about their new
- accounts, and [decide how they will log
- in](/help/import-from-slack#decide-how-users-will-log-in) for the first time.
-
-1. Share the URL for your new Zulip organization, and (recommended) the [Getting
- started with Zulip guide](/help/getting-started-with-zulip).
-
-1. Migrate any [integrations](/integrations), which is easy to do with Zulip's
- [Slack-compatible incoming webhook](/integrations/doc/slack_incoming).
-
-{end_tabs}
-
-## Decide how users will log in
-
-When user accounts are imported, users initially do not have passwords
-configured. There are a few options for how users can log in for the first time.
+{!import-get-your-organization-started.md!}
!!! tip ""
- For security reasons, passwords are never exported.
-
-### Allow users to log in with non-password authentication
-
-When you create your organization, users will immediately be able to log in with
-[authentication methods](/help/configure-authentication-methods) that do not
-require a password. Zulip offers a variety of authentication methods, including
-Google, GitHub, GitLab, Apple, LDAP and [SAML](/help/saml-authentication).
-
-### Send password reset emails to all users
-
-You can send password reset emails to all users in your organization, which
-will allow them to set an initial password.
-
-If you imported your organization into Zulip Cloud, simply e-mail
-[[email protected]](mailto:[email protected]) to request this.
-
-!!! warn ""
-
- To avoid confusion, first make sure that the users in your
- organization are aware that their workspace account has been
- moved to Zulip, and are expecting to receive a password reset email.
-
-#### Send password reset emails (self-hosted organization)
-
-{start_tabs}
-
-{tab|default-subdomain}
-
-1. To test the process, start by sending yourself a password reset email by
- using the following command:
-
- ```
- ./manage.py send_password_reset_email -u [email protected]
- ```
-
-1. When ready, send password reset emails to all users by
- using the following command:
-
- ```
- ./manage.py send_password_reset_email -r '' --all-users
- ```
-
-{tab|custom-subdomain}
-
-1. To test the process, start by sending yourself a password reset email by
- using the following command:
+ Zulip's [Slack-compatible incoming webhook](/integrations/doc/slack_incoming)
+ makes it easy to migrate integrations.
- ```
- ./manage.py send_password_reset_email -u [email protected]
- ```
-
-1. When ready, send password reset emails to all users by
- using the following command:
-
- ```
- ./manage.py send_password_reset_email -r <subdomain> --all-users
- ```
-
-{end_tabs}
-
-### Manual password resets
+## Decide how users will log in
-Alternatively, users can reset their own passwords by following the instructions
-on your Zulip organization's login page.
+{!import-how-users-will-log-in.md!}
## Related articles
diff --git a/templates/zerver/help/include/import-get-your-organization-started.md b/templates/zerver/help/include/import-get-your-organization-started.md
new file mode 100644
index 00000000000..68415e44b4e
--- /dev/null
+++ b/templates/zerver/help/include/import-get-your-organization-started.md
@@ -0,0 +1,21 @@
+Once the import process is completed, you will need to:
+
+{start_tabs}
+
+1. [Configure the settings for your organization](/help/customize-organization-settings),
+ which are not exported. This includes settings like [email
+ visibility](/help/restrict-visibility-of-email-addresses), [message editing
+ permissions](/help/configure-message-editing-and-deletion#configure-message-editing-and-deletion_1),
+ and [how users can join your organization](/help/restrict-account-creation).
+
+1. All users from your previous workspace will have accounts in your new Zulip
+ organization. However, you will need to let users know about their new
+ accounts, and [decide how they will log
+ in](/help/import-from-slack#decide-how-users-will-log-in) for the first time.
+
+1. Share the URL for your new Zulip organization, and (recommended) the [Getting
+ started with Zulip guide](/help/getting-started-with-zulip).
+
+1. Migrate any [integrations](/integrations).
+
+{end_tabs}
diff --git a/templates/zerver/help/include/import-how-users-will-log-in.md b/templates/zerver/help/include/import-how-users-will-log-in.md
new file mode 100644
index 00000000000..b548fbf084c
--- /dev/null
+++ b/templates/zerver/help/include/import-how-users-will-log-in.md
@@ -0,0 +1,70 @@
+When user accounts are imported, users initially do not have passwords
+configured. There are a few options for how users can log in for the first time.
+
+!!! tip ""
+
+ For security reasons, passwords are never exported.
+
+### Allow users to log in with non-password authentication
+
+When you create your organization, users will immediately be able to log in with
+[authentication methods](/help/configure-authentication-methods) that do not
+require a password. Zulip offers a variety of authentication methods, including
+Google, GitHub, GitLab, Apple, LDAP and [SAML](/help/saml-authentication).
+
+### Send password reset emails to all users
+
+You can send password reset emails to all users in your organization, which
+will allow them to set an initial password.
+
+If you imported your organization into Zulip Cloud, simply e-mail
+[[email protected]](mailto:[email protected]) to request this.
+
+!!! warn ""
+
+ To avoid confusion, first make sure that the users in your
+ organization are aware that their account has been moved to
+ Zulip, and are expecting to receive a password reset email.
+
+#### Send password reset emails (self-hosted organization)
+
+{start_tabs}
+
+{tab|default-subdomain}
+
+1. To test the process, start by sending yourself a password reset email by
+ using the following command:
+
+ ```
+ ./manage.py send_password_reset_email -u [email protected]
+ ```
+
+1. When ready, send password reset emails to all users by
+ using the following command:
+
+ ```
+ ./manage.py send_password_reset_email -r '' --all-users
+ ```
+
+{tab|custom-subdomain}
+
+1. To test the process, start by sending yourself a password reset email by
+ using the following command:
+
+ ```
+ ./manage.py send_password_reset_email -u [email protected]
+ ```
+
+1. When ready, send password reset emails to all users by
+ using the following command:
+
+ ```
+ ./manage.py send_password_reset_email -r <subdomain> --all-users
+ ```
+
+{end_tabs}
+
+### Manual password resets
+
+Alternatively, users can reset their own passwords by following the instructions
+on your Zulip organization's login page.
diff --git a/templates/zerver/help/include/import-into-a-self-hosted-zulip-server.md b/templates/zerver/help/include/import-into-a-self-hosted-zulip-server.md
new file mode 100644
index 00000000000..7b667095593
--- /dev/null
+++ b/templates/zerver/help/include/import-into-a-self-hosted-zulip-server.md
@@ -0,0 +1,18 @@
+#### Import into a self-hosted Zulip server
+
+Zulip's import tools are robust, and have been used to import workspaces
+with 10,000 members and millions of messages. If you're planning on doing
+an import much larger than that, or run into performance issues when
+importing, [contact us](/help/contact-support) for help.
+
+1. Follow steps
+ [1](https://zulip.readthedocs.io/en/stable/production/install.html#step-1-download-the-latest-release)
+ and
+ [2](https://zulip.readthedocs.io/en/stable/production/install.html#step-2-install-zulip)
+ of the guide for [installing a new Zulip
+ server](https://zulip.readthedocs.io/en/stable/production/install.html).
+
+1. Copy the **exported data** file containing your workspace message
+ history export onto your Zulip server, and put it in `/tmp/`.
+
+1. Log in to a shell on your Zulip server as the `zulip` user.
diff --git a/templates/zerver/help/include/import-into-a-zulip-cloud-organization.md b/templates/zerver/help/include/import-into-a-zulip-cloud-organization.md
new file mode 100644
index 00000000000..96231879677
--- /dev/null
+++ b/templates/zerver/help/include/import-into-a-zulip-cloud-organization.md
@@ -0,0 +1,8 @@
+#### Import into a Zulip Cloud organization
+
+{!send-us-info.md!}
+
+1. The subdomain you would like to use for your organization. Your Zulip chat will
+ be hosted at `<subdomain>.zulipchat.com`.
+
+1. The **exported data** file containing your workspace message history export.
diff --git a/templates/zerver/help/include/import-self-hosted-server-tips.md b/templates/zerver/help/include/import-self-hosted-server-tips.md
new file mode 100644
index 00000000000..522852354e2
--- /dev/null
+++ b/templates/zerver/help/include/import-self-hosted-server-tips.md
@@ -0,0 +1,8 @@
+ !!! tip ""
+
+ * The import could take several minutes to run,
+ depending on how much data you're importing.
+
+ * The server stop/restart commands are only
+ necessary when importing on a server with minimal
+ RAM, where an OOM kill might otherwise occur.
diff --git a/templates/zerver/help/include/import-workspace-to-zulip.md b/templates/zerver/help/include/import-workspace-to-zulip.md
new file mode 100644
index 00000000000..4624c7fd38f
--- /dev/null
+++ b/templates/zerver/help/include/import-workspace-to-zulip.md
@@ -0,0 +1,11 @@
+You can import your current workspace into a Zulip organization. It's a great way
+to preserve your workspace history when you migrate to Zulip, and to
+make the transition easy for the members of your organization.
+
+The import will include your organization's:
+
+* **Name** and **Logo**
+* **Message history**, including attachments and emoji reactions
+* **Users**, including names, emails, roles, avatars, time zones, and custom profile fields
+* **Channels**, including all user subscriptions
+* **Custom emoji**
diff --git a/templates/zerver/help/include/import-your-data-into-zulip.md b/templates/zerver/help/include/import-your-data-into-zulip.md
new file mode 100644
index 00000000000..8b69e92b250
--- /dev/null
+++ b/templates/zerver/help/include/import-your-data-into-zulip.md
@@ -0,0 +1,10 @@
+To start using Zulip, you will need to choose between Zulip Cloud and
+self-hosting Zulip. For a simple managed solution, with no setup or maintenance
+overhead, you can [sign up](/new/) for Zulip Cloud with just a few clicks.
+Alternatively, you can [self-host](/self-hosting/) your Zulip organization. See
+[here](/help/zulip-cloud-or-self-hosting) to learn more.
+
+!!! warn ""
+
+ **You can only import a workspace as a new Zulip organization.** Your imported
+ message history cannot be added into an existing Zulip organization.
diff --git a/templates/zerver/help/include/import-zulip-cloud-organization-warning.md b/templates/zerver/help/include/import-zulip-cloud-organization-warning.md
new file mode 100644
index 00000000000..668298c3d38
--- /dev/null
+++ b/templates/zerver/help/include/import-zulip-cloud-organization-warning.md
@@ -0,0 +1,6 @@
+!!! warn ""
+
+ If the organization already exists, the import process will overwrite all
+ data that's already there. If needed, we're happy to preserve your
+ data by moving an organization you've already created to a new
+ subdomain prior to running the import process.