Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
Go to file
Mateusz Mandera a43bdcd166 import: Fix is_realm_imported_from_other_zulip_server logic.
This logic was fundamentally broken:
```
    is_realm_imported_from_other_zulip_server = RealmAuditLog.objects.filter(
        realm=realm, event_type=AuditLogEventType.REALM_EXPORTED
    ).exists()
    if not is_realm_imported_from_other_zulip_server:
        send_zulip_update_announcements_to_realm(
            realm, skip_delay=False, realm_imported_from_other_product=True
        )
```

Because the `REALM_EXPORTED` was only created after the export completed
- meaning it couldn't be included in the export data at all. Thus
considering exports to be "not from Zulip" incorrectly.

We get around this issue by explicitly including an import_source in the
realm dict in the export data from 3rd party apps. The importer can then
rely on this value to determine if it's dealing with a Zulip-originated
export or not.
2025-07-14 15:11:43 -07:00
.github github_actions: Check if feature levels are updated in API docs. 2025-07-09 09:33:55 -07:00
.tx i18n: Merge zh_Hant into zh_TW. 2024-12-10 10:00:45 -08:00
.vscode vscode: Recommend remote development extension. 2021-11-03 16:03:46 -07:00
analytics analytics: Get user by delivery email when creating users in test set up. 2025-07-08 09:30:39 -07:00
api_docs zerver: Add endpoint to register a push device to server. 2025-07-14 14:52:39 -07:00
confirmation confirm_email_change: Use redirect-to-POST trick. 2025-07-07 17:15:08 -07:00
corporate auth: Only automatically redirect for same domain redirects. 2025-07-10 10:46:59 -07:00
docs integrations: Remove Phabricator integration. 2025-07-14 12:03:48 -07:00
help help: Update out-of-date icons in help center instructions. 2025-07-14 10:41:17 -07:00
help-beta help-beta: Add footer to the new help center. 2025-07-14 10:45:40 -07:00
locale i18n: Update translations from Transifex. 2025-06-25 22:58:55 -07:00
patches dependencies: Upgrade JavaScript dependencies. 2025-06-04 16:24:47 -07:00
pgroonga migrations: Import BaseDatabaseSchemaEditor from its canonical module. 2023-03-05 14:46:28 -08:00
puppet docker: Start local mailserver on port 25. 2025-07-02 10:21:08 -07:00
scripts settings: Add push_registration_encryption_keys map. 2025-07-06 21:11:26 -07:00
static integrations: Remove Phabricator integration. 2025-07-14 12:03:48 -07:00
templates integrations: Remove Phabricator integration. 2025-07-14 12:03:48 -07:00
tools help-beta: Add footer to the new help center. 2025-07-14 10:45:40 -07:00
web inputs: Remove JS logic to determine empty/non-empty input fields. 2025-07-14 13:58:02 -07:00
zerver import: Fix is_realm_imported_from_other_zulip_server logic. 2025-07-14 15:11:43 -07:00
zilencer zerver: Add PushDevice model. 2025-07-14 14:52:38 -07:00
zproject zerver: Add endpoint to register a push device to server. 2025-07-14 14:52:39 -07:00
.codecov.yml codecov: Change threshold to use percentage syntax. 2019-07-20 14:37:04 -07:00
.codespellignore corporate: Add more detail to job description. 2025-04-01 18:36:54 -07:00
.editorconfig lint: Further recognize more JavaScript file extensions. 2024-11-10 17:52:49 -08:00
.gitattributes gitattributes: Diff SVGs as code. 2025-05-22 15:59:55 -07:00
.gitignore requirements: Migrate to uv. 2025-02-24 22:29:24 -08:00
.gitlint lint: Update line-length for commit message to 72 in gitlint. 2023-05-01 10:35:52 -07:00
.mailmap mailmap: Add a few more mailmap entries. 2025-03-20 11:07:18 -07:00
.npmignore
.prettierignore marked: Rename to *.cjs. 2024-11-13 09:18:56 -08:00
.readthedocs.yaml install-uv: Upgrade uv from 0.6.3 to 0.6.6. 2025-03-14 17:31:50 -07:00
.sonarcloud.properties tools: Configure Zulip to be scannable by SonarCloud. 2020-06-24 12:41:17 -07:00
CODE_OF_CONDUCT.md linter: Add check for comma after "e.g." in md files. 2024-07-05 15:36:24 -07:00
CONTRIBUTING.md contributor docs: Better explain taking over abandoned issues. 2025-03-06 10:33:00 -08:00
Dockerfile-postgresql docs: Fix grammar errors found by mwic. 2023-10-09 13:24:09 -07:00
eslint.config.js help-beta: Add eslint plugin for astro files. 2025-06-30 09:06:18 -07:00
LICENSE license: Move copyright notice from LICENSE to NOTICE. 2021-02-05 09:28:12 -08:00
manage.py manage: Delete custom PYTHONSTARTUP. 2025-06-12 09:28:00 -07:00
NOTICE docs: Bump copyright year. 2021-02-05 09:28:15 -08:00
package.json help-beta: Add eslint plugin for astro files. 2025-06-30 09:06:18 -07:00
pnpm-lock.yaml help-beta: Add eslint plugin for astro files. 2025-06-30 09:06:18 -07:00
pnpm-workspace.yaml help-beta: Create initial starlight project. 2024-08-02 18:18:01 -07:00
prettier.config.js help-beta: Add prettier plugin for astro files. 2025-06-30 09:06:18 -07:00
pyproject.toml mypy: Add google-re2-stubs. 2025-07-14 14:33:54 -04:00
README.md contributor docs: Reorganize contributor guide. 2025-02-12 12:58:10 -08:00
SECURITY.md docs: Update .html links pointing to "Upgrade Zulip" or "Modify Zulip". 2023-08-11 16:49:32 -07:00
stylelint.config.js web: Set "type": "module" and convert various CJS files to ESM. 2024-11-13 09:18:56 -08:00
tsconfig.json tsconfig: Enable erasableSyntaxOnly. 2025-03-17 08:43:19 -07:00
uv.lock mypy: Add google-re2-stubs. 2025-07-14 14:33:54 -04:00
Vagrantfile Upgrade development environment to Ubuntu 22.04. 2024-04-01 13:27:39 -07:00
version.py zerver: Add endpoint to register a push device to server. 2025-07-14 14:52:39 -07:00

Zulip overview

Zulip is an open-source team collaboration tool with unique topic-based threading that combines the best of email and chat to make remote work productive and delightful. Fortune 500 companies, leading open source projects, and thousands of other organizations use Zulip every day. Zulip is the only modern team chat app that is designed for both live and asynchronous conversations.

Zulip is built by a distributed community of developers from all around the world, with 74+ people who have each contributed 100+ commits. With over 1000 contributors merging over 500 commits a month, Zulip is the largest and fastest growing open source team chat project.

Come find us on the development community chat!

GitHub Actions build status coverage status Mypy coverage Ruff code style: prettier GitHub release docs Zulip chat Twitter GitHub Sponsors

Getting started

You may also be interested in reading our blog, and following us on Twitter and LinkedIn.

Zulip is distributed under the Apache 2.0 license.