help: Document `unarchive_stream` management command.

- Adds "Unarchiving archived streams" section to "Archive a stream".
- Adds `./manage.py unarchive_stream` to contributor docs.
This commit is contained in:
David Rosa 2023-09-09 15:28:02 -07:00 committed by Tim Abbott
parent eb244fdc07
commit e60a4c4d01
2 changed files with 15 additions and 0 deletions

View File

@ -125,6 +125,9 @@ There are dozens of useful management commands under
- `./manage.py export_single_user`: does a limited version of the [main - `./manage.py export_single_user`: does a limited version of the [main
export tools](export-and-import.md) containing just export tools](export-and-import.md) containing just
the messages accessible by a single user. the messages accessible by a single user.
- `./manage.py unarchive_stream`:
[Reactivates](https://zulip.com/help/archive-a-stream#unarchiving-archived-streams)
an archived stream.
- `./manage.py reactivate_realm`: Reactivates a realm. - `./manage.py reactivate_realm`: Reactivates a realm.
- `./manage.py deactivate_user`: Deactivates a user. This can be done - `./manage.py deactivate_user`: Deactivates a user. This can be done
more easily in Zulip's organization administrator UI. more easily in Zulip's organization administrator UI.

View File

@ -41,6 +41,17 @@ than archiving them.
Archiving a stream is currently irreversible via the UI. Archiving a stream is currently irreversible via the UI.
## Unarchiving archived streams
If you are self-hosting, you can unarchive an archived stream using the
`unarchive_stream` [management command][management-command]. This will restore
it as a private stream with shared history, and subscribe all organization
owners to it. If you are using Zulip Cloud, you can [contact us](/help/contact-support)
for help.
[management-command]:
https://zulip.readthedocs.io/en/latest/production/management-commands.html#other-useful-manage-py-commands
## Related articles ## Related articles
* [Edit a message](/help/edit-a-message) * [Edit a message](/help/edit-a-message)
@ -48,3 +59,4 @@ than archiving them.
* [Delete a topic](/help/delete-a-topic) * [Delete a topic](/help/delete-a-topic)
* [Message retention policy](/help/message-retention-policy) * [Message retention policy](/help/message-retention-policy)
* [Stream permissions](/help/stream-permissions) * [Stream permissions](/help/stream-permissions)
* [Zulip Cloud or self-hosting?](/help/zulip-cloud-or-self-hosting)