snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
This commit is contained in:
58
zerver/tests/fixtures/slack_fixtures/channels.json
vendored
Normal file
58
zerver/tests/fixtures/slack_fixtures/channels.json
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
[
|
||||
{
|
||||
"id": "C061A0WJG",
|
||||
"name": "random",
|
||||
"created": "1433558319",
|
||||
"is_general": false,
|
||||
"members": ["U061A1R2R", "U061A5N1G"],
|
||||
"is_archived": true,
|
||||
"topic": {
|
||||
"value": "random"
|
||||
},
|
||||
"purpose": {
|
||||
"value": "no purpose"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "C061A0YJG",
|
||||
"name": "general",
|
||||
"created": "1433559319",
|
||||
"is_general": false,
|
||||
"is_archived": false,
|
||||
"members": ["U061A1R2R", "U061A5N1G", "U064KUGRJ"],
|
||||
"topic": {
|
||||
"value": "general"
|
||||
},
|
||||
"purpose": {
|
||||
"value": "general"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "C061A0YJP",
|
||||
"name": "general1",
|
||||
"created": "1433559319",
|
||||
"is_general": false,
|
||||
"is_archived": false,
|
||||
"members": ["U061A1R2R"],
|
||||
"topic": {
|
||||
"value": "general channel"
|
||||
},
|
||||
"purpose": {
|
||||
"value": "For everyone"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "C061A0HJG",
|
||||
"name": "sharedchannel",
|
||||
"created": "1433558359",
|
||||
"is_general": false,
|
||||
"members": ["U061A3E0G", "U061A1R2R"],
|
||||
"is_archived": false,
|
||||
"topic": {
|
||||
"value": ""
|
||||
},
|
||||
"purpose": {
|
||||
"value": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
34
zerver/tests/fixtures/slack_fixtures/dms.json
vendored
Normal file
34
zerver/tests/fixtures/slack_fixtures/dms.json
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
[
|
||||
{
|
||||
"id": "DJ47BL849",
|
||||
"created": 1556638416,
|
||||
"members": [
|
||||
"U061A1R2R",
|
||||
"U061A5N1G"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "DHX1UP7EG",
|
||||
"created": 1555422321,
|
||||
"members": [
|
||||
"U061A5N1G",
|
||||
"U064KUGRJ"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "DK8HSJDHS",
|
||||
"created": 1555422321,
|
||||
"members": [
|
||||
"U061A1R2R",
|
||||
"U064KUGRJ"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "DRS3PSLDK",
|
||||
"created": 1555422321,
|
||||
"members": [
|
||||
"U064KUGRJ",
|
||||
"U064KUGRJ"
|
||||
]
|
||||
}
|
||||
]
|
||||
16
zerver/tests/fixtures/slack_fixtures/exported_messages_fixtures/normal_messages.json
vendored
Normal file
16
zerver/tests/fixtures/slack_fixtures/exported_messages_fixtures/normal_messages.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
[
|
||||
{
|
||||
"text": "<@U066MTL5U> has joined the channel",
|
||||
"subtype": "channel_join",
|
||||
"user": "U066MTL5U",
|
||||
"ts": "1434139102.000002",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "<@U061A5N1G>: hey!",
|
||||
"user": "U061A1R2R",
|
||||
"ts": "1437868294.000006",
|
||||
"has_image": true,
|
||||
"channel_name": "random"
|
||||
}
|
||||
]
|
||||
32
zerver/tests/fixtures/slack_fixtures/exported_messages_fixtures/normal_thread.json
vendored
Normal file
32
zerver/tests/fixtures/slack_fixtures/exported_messages_fixtures/normal_thread.json
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
[
|
||||
{
|
||||
"text": "message body text",
|
||||
"user": "U061A5N1G",
|
||||
"ts": "1434139102.000002",
|
||||
"thread_ts": "1434139102.000002",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "random",
|
||||
"user": "U061A5N1G",
|
||||
"ts": "1439868294.000007",
|
||||
"parent_user_id": "U061A5N1G",
|
||||
"thread_ts": "1434139102.000002",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "another thread message",
|
||||
"user": "U061A1R2R",
|
||||
"ts": "1539868294.000007",
|
||||
"thread_ts": "1539868294.000007",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "another reply",
|
||||
"user": "U061A1R2R",
|
||||
"ts": "1449868294.000007",
|
||||
"parent_user_id": "U061A1R2R",
|
||||
"thread_ts": "1539868294.000007",
|
||||
"channel_name": "random"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,29 @@
|
||||
[
|
||||
{
|
||||
"text": "Look!",
|
||||
"user": "U061A1R2R",
|
||||
"ts": "1537139200.000002",
|
||||
"thread_ts": "1537139200.000002",
|
||||
"has_image": true,
|
||||
"channel_name": "random",
|
||||
"files": [
|
||||
{
|
||||
"url_private": "https://files.slack.com/apple.png",
|
||||
"title": "Apple",
|
||||
"name": "apple.png",
|
||||
"mimetype": "image/png",
|
||||
"timestamp": 9999,
|
||||
"created": 8888,
|
||||
"size": 3000000
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"text": "Delicious",
|
||||
"user": "U061A5N1G",
|
||||
"ts": "1637139200.000002",
|
||||
"parent_user_id": "U061A1R2R",
|
||||
"thread_ts": "1537139200.000002",
|
||||
"channel_name": "random"
|
||||
}
|
||||
]
|
||||
32
zerver/tests/fixtures/slack_fixtures/exported_messages_fixtures/thread_with_long_topic_name.json
vendored
Normal file
32
zerver/tests/fixtures/slack_fixtures/exported_messages_fixtures/thread_with_long_topic_name.json
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
[
|
||||
{
|
||||
"text": "random message but it is too long for the thread topic name",
|
||||
"user": "U061A5N1G",
|
||||
"ts": "1439868294.000008",
|
||||
"thread_ts": "1439868294.000008",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "replying to the second thread :)",
|
||||
"user": "U061A1R2R",
|
||||
"ts": "1439869294.000008",
|
||||
"parent_user_id": "U061A5N1G",
|
||||
"thread_ts": "1439868294.000008",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "random message but it is too long for the thread two electric boogaloo",
|
||||
"user": "U061A1R2R",
|
||||
"ts": "1439868294.000008",
|
||||
"thread_ts": "1439868294.000008",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "second thread",
|
||||
"user": "U061A5N1G",
|
||||
"ts": "1439869294.000008",
|
||||
"parent_user_id": "U061A1R2R",
|
||||
"thread_ts": "1439868294.000008",
|
||||
"channel_name": "random"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"text": "<@U061A1R2R> please reply to this message",
|
||||
"user": "U061A5N1G",
|
||||
"ts": "1437139200.000002",
|
||||
"thread_ts": "1437139200.000002",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "Yes?",
|
||||
"user": "U061A1R2R",
|
||||
"ts": "1440869295.000008",
|
||||
"parent_user_id": "U061A5N1G",
|
||||
"thread_ts": "1437139200.000002",
|
||||
"channel_name": "random"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"text": "*foo* _bar_ ~baz~ [qux](https://chat.zulip.org)",
|
||||
"user": "U061A1R2R",
|
||||
"ts": "1547139200.000002",
|
||||
"thread_ts": "1547139200.000002",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "Delicious",
|
||||
"user": "U061A5N1G",
|
||||
"ts": "1637139200.000002",
|
||||
"parent_user_id": "U061A1R2R",
|
||||
"thread_ts": "1547139200.000002",
|
||||
"channel_name": "random"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,47 @@
|
||||
[
|
||||
{
|
||||
"text": "message body text",
|
||||
"user": "U061A5N1G",
|
||||
"ts": "1434139102.000002",
|
||||
"thread_ts": "1434139102.000002",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "random",
|
||||
"user": "U061A5N1G",
|
||||
"ts": "1439868294.000007",
|
||||
"parent_user_id": "U061A5N1G",
|
||||
"thread_ts": "1434139102.000002",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "message body text",
|
||||
"user": "U061A5N1G",
|
||||
"ts": "1434139200.000002",
|
||||
"thread_ts": "1434139200.000002",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "The first reply to the third thread",
|
||||
"user": "U061A1R2R",
|
||||
"ts": "1439869295.000008",
|
||||
"parent_user_id": "U061A5N1G",
|
||||
"thread_ts": "1434139200.000002",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "message body text",
|
||||
"user": "U061A5N1G",
|
||||
"ts": "144139100.000008",
|
||||
"thread_ts": "144139100.000008",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "This thread shouldn't collide",
|
||||
"user": "U061A1R2R",
|
||||
"ts": "1439869295.000008",
|
||||
"parent_user_id": "U061A5N1G",
|
||||
"thread_ts": "144139100.000008",
|
||||
"channel_name": "random"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,32 @@
|
||||
[
|
||||
{
|
||||
"text": "Hi\n\nthere\tfriend",
|
||||
"user": "U061A5N1G",
|
||||
"ts": "1439868294.000008",
|
||||
"thread_ts": "1439868294.000008",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "hello",
|
||||
"user": "U061A1R2R",
|
||||
"ts": "1439869294.000008",
|
||||
"parent_user_id": "U061A5N1G",
|
||||
"thread_ts": "1439868294.000008",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "Release notes:\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n- fixed the thing",
|
||||
"user": "U061A1R2R",
|
||||
"ts": "1547139200.000002",
|
||||
"thread_ts": "1547139200.000002",
|
||||
"channel_name": "random"
|
||||
},
|
||||
{
|
||||
"text": "nice",
|
||||
"user": "U061A5N1G",
|
||||
"ts": "1547149200.000002",
|
||||
"parent_user_id": "U061A1R2R",
|
||||
"thread_ts": "1547139200.000002",
|
||||
"channel_name": "random"
|
||||
}
|
||||
]
|
||||
23
zerver/tests/fixtures/slack_fixtures/exported_messages_fixtures/users.json
vendored
Normal file
23
zerver/tests/fixtures/slack_fixtures/exported_messages_fixtures/users.json
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"id": "U066MTL5U",
|
||||
"name": "john doe",
|
||||
"deleted": false,
|
||||
"real_name": "John"
|
||||
},
|
||||
{
|
||||
"id": "U061A5N1G",
|
||||
"name": "jane doe",
|
||||
"deleted": false,
|
||||
"real_name": "Jane"
|
||||
},
|
||||
{
|
||||
"id": "U061A1R2R",
|
||||
"name": "jon",
|
||||
"deleted": false,
|
||||
"real_name": "Jon",
|
||||
"profile": {
|
||||
"email": "jon@example.com"
|
||||
}
|
||||
}
|
||||
]
|
||||
68
zerver/tests/fixtures/slack_fixtures/mpims.json
vendored
Normal file
68
zerver/tests/fixtures/slack_fixtures/mpims.json
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
[
|
||||
{
|
||||
"id": "G9HBG2A5D",
|
||||
"name": "mpdm-user9--user2--user10-1",
|
||||
"created": 1519833671,
|
||||
"creator": "U1HJ9SY49",
|
||||
"is_archived": false,
|
||||
"members": [
|
||||
"U061A1R2R",
|
||||
"U061A5N1G",
|
||||
"U064KUGRJ",
|
||||
"U061A3E0G"
|
||||
],
|
||||
"topic": {
|
||||
"value": "Group messaging",
|
||||
"creator": "U061A1R2R",
|
||||
"last_set": "1519833671"
|
||||
},
|
||||
"purpose": {
|
||||
"value": "Group messaging with: @user1 @user2 @user3",
|
||||
"creator": "U061A1R2R",
|
||||
"last_set": "1519833671"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "G6H1Z0ZPS",
|
||||
"name": "mpdm-user6--user7--user4-1",
|
||||
"created": 1501769332,
|
||||
"creator": "U3673G9N2",
|
||||
"is_archived": false,
|
||||
"members": [
|
||||
"U061A1R2R",
|
||||
"U061A5N1G",
|
||||
"U064KUGRJ"
|
||||
],
|
||||
"topic": {
|
||||
"value": "Group messaging",
|
||||
"creator": "U061A5N1G",
|
||||
"last_set": "1501769332"
|
||||
},
|
||||
"purpose": {
|
||||
"value": "Group messaging with: @user4 @user1 @user5",
|
||||
"creator": "U061A5N1G",
|
||||
"last_set": "1501769332"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "G6N944JPL",
|
||||
"name": "mpdm-user4--user1--user5-1",
|
||||
"created": 1502722911,
|
||||
"creator": "U1HJ9SY49",
|
||||
"is_archived": false,
|
||||
"members": [
|
||||
"U064KUGRJ",
|
||||
"U061A3E0G"
|
||||
],
|
||||
"topic": {
|
||||
"value": "Group messaging",
|
||||
"creator": "U064KUGRJ",
|
||||
"last_set": "1502722911"
|
||||
},
|
||||
"purpose": {
|
||||
"value": "Group messaging with: @user6 @user7 @user4",
|
||||
"creator": "U064KUGRJ",
|
||||
"last_set": "1502722911"
|
||||
}
|
||||
}
|
||||
]
|
||||
19
zerver/tests/fixtures/slack_fixtures/team_info.json
vendored
Normal file
19
zerver/tests/fixtures/slack_fixtures/team_info.json
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"ok": true,
|
||||
"team": {
|
||||
"id": "Z7LITMQ0Y",
|
||||
"name": "acme",
|
||||
"domain": "acme",
|
||||
"email_domain": "acme.com",
|
||||
"icon": {
|
||||
"image_34": "https:\/\/avatars.slack-edge.com\/2019-01-21\/783629837827_98743hb4793vjhad73jh3_34.jpg",
|
||||
"image_44": "https:\/\/avatars.slack-edge.com\/2019-01-21\/783629837827_98743hb4793vjhad73jh3_44.jpg",
|
||||
"image_68": "https:\/\/avatars.slack-edge.com\/2019-01-21\/783629837827_98743hb4793vjhad73jh3_68.jpg",
|
||||
"image_88": "https:\/\/avatars.slack-edge.com\/2019-01-21\/783629837827_98743hb4793vjhad73jh3_88.jpg",
|
||||
"image_102": "https:\/\/avatars.slack-edge.com\/2019-01-21\/783629837827_98743hb4793vjhad73jh3_102.jpg",
|
||||
"image_132": "https:\/\/avatars.slack-edge.com\/2019-01-21\/783629837827_98743hb4793vjhad73jh3_132.jpg",
|
||||
"image_230": "https:\/\/avatars.slack-edge.com\/2019-01-21\/783629837827_98743hb4793vjhad73jh3_230.jpg",
|
||||
"image_original": "https:\/\/avatars.slack-edge.com\/2019-01-23\/783629837827_98743hb4793vjhad73jh3_original.jpg"
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
zerver/tests/fixtures/slack_fixtures/test_slack_importer.zip
vendored
Normal file
BIN
zerver/tests/fixtures/slack_fixtures/test_slack_importer.zip
vendored
Normal file
Binary file not shown.
BIN
zerver/tests/fixtures/slack_fixtures/test_unicode_slack_importer.zip
vendored
Normal file
BIN
zerver/tests/fixtures/slack_fixtures/test_unicode_slack_importer.zip
vendored
Normal file
Binary file not shown.
22
zerver/tests/fixtures/slack_fixtures/unicode_team_info.json
vendored
Normal file
22
zerver/tests/fixtures/slack_fixtures/unicode_team_info.json
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"ok": true,
|
||||
"team": {
|
||||
"id": "T04LT7JD2AZ",
|
||||
"name": "例",
|
||||
"url": "https://w1674835429-reo773452.slack.com/",
|
||||
"domain": "w1674835429-reo773452",
|
||||
"email_domain": "",
|
||||
"icon": {
|
||||
"image_default": true,
|
||||
"image_34": "https://a.slack-edge.com/80588/img/avatars-teams/ava_0007-34.png",
|
||||
"image_44": "https://a.slack-edge.com/80588/img/avatars-teams/ava_0007-44.png",
|
||||
"image_68": "https://a.slack-edge.com/80588/img/avatars-teams/ava_0007-68.png",
|
||||
"image_88": "https://a.slack-edge.com/80588/img/avatars-teams/ava_0007-88.png",
|
||||
"image_102": "https://a.slack-edge.com/80588/img/avatars-teams/ava_0007-102.png",
|
||||
"image_230": "https://a.slack-edge.com/80588/img/avatars-teams/ava_0007-230.png",
|
||||
"image_132": "https://a.slack-edge.com/80588/img/avatars-teams/ava_0007-132.png"
|
||||
},
|
||||
"avatar_base_url": "https://ca.slack-edge.com/",
|
||||
"is_verified": false
|
||||
}
|
||||
}
|
||||
152
zerver/tests/fixtures/slack_fixtures/unicode_user_data.json
vendored
Normal file
152
zerver/tests/fixtures/slack_fixtures/unicode_user_data.json
vendored
Normal file
@@ -0,0 +1,152 @@
|
||||
{
|
||||
"cache_ts": 1674860232,
|
||||
"members": [
|
||||
{
|
||||
"color": "757575",
|
||||
"deleted": false,
|
||||
"id": "USLACKBOT",
|
||||
"is_admin": false,
|
||||
"is_app_user": false,
|
||||
"is_bot": false,
|
||||
"is_email_confirmed": false,
|
||||
"is_owner": false,
|
||||
"is_primary_owner": false,
|
||||
"is_restricted": false,
|
||||
"is_ultra_restricted": false,
|
||||
"name": "slackbot",
|
||||
"profile": {
|
||||
"always_active": true,
|
||||
"avatar_hash": "sv41d8cd98f0",
|
||||
"display_name": "Slackbot",
|
||||
"display_name_normalized": "Slackbot",
|
||||
"fields": {},
|
||||
"first_name": "slackbot",
|
||||
"image_192": "https://a.slack-edge.com/80588/marketing/img/avatars/slackbot/avatar-slackbot.png",
|
||||
"image_24": "https://a.slack-edge.com/80588/img/slackbot_24.png",
|
||||
"image_32": "https://a.slack-edge.com/80588/img/slackbot_32.png",
|
||||
"image_48": "https://a.slack-edge.com/80588/img/slackbot_48.png",
|
||||
"image_512": "https://a.slack-edge.com/80588/img/slackbot_512.png",
|
||||
"image_72": "https://a.slack-edge.com/80588/img/slackbot_72.png",
|
||||
"last_name": "",
|
||||
"phone": "",
|
||||
"real_name": "Slackbot",
|
||||
"real_name_normalized": "Slackbot",
|
||||
"skype": "",
|
||||
"status_emoji": "",
|
||||
"status_emoji_display_info": [],
|
||||
"status_expiration": 0,
|
||||
"status_text": "",
|
||||
"status_text_canonical": "",
|
||||
"team": "T04LT7JD2AZ",
|
||||
"title": ""
|
||||
},
|
||||
"real_name": "Slackbot",
|
||||
"team_id": "T04LT7JD2AZ",
|
||||
"tz": "America/Los_Angeles",
|
||||
"tz_label": "Pacific Standard Time",
|
||||
"tz_offset": -28800,
|
||||
"updated": 0,
|
||||
"who_can_share_contact_card": "EVERYONE"
|
||||
},
|
||||
{
|
||||
"color": "9f69e7",
|
||||
"deleted": false,
|
||||
"id": "U04LW5V0LH0",
|
||||
"is_admin": true,
|
||||
"is_app_user": false,
|
||||
"is_bot": false,
|
||||
"is_email_confirmed": true,
|
||||
"is_owner": true,
|
||||
"is_primary_owner": true,
|
||||
"is_restricted": false,
|
||||
"is_ultra_restricted": false,
|
||||
"name": "alexmv",
|
||||
"profile": {
|
||||
"avatar_hash": "g6040af6e26d",
|
||||
"display_name": "",
|
||||
"display_name_normalized": "",
|
||||
"email": "alexmv@zulip.com",
|
||||
"fields": null,
|
||||
"first_name": "alexmv",
|
||||
"image_192": "https://secure.gravatar.com/avatar/6040af6e26d481c0e5fd4ac2fe4ea460.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0004-192.png",
|
||||
"image_24": "https://secure.gravatar.com/avatar/6040af6e26d481c0e5fd4ac2fe4ea460.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0004-24.png",
|
||||
"image_32": "https://secure.gravatar.com/avatar/6040af6e26d481c0e5fd4ac2fe4ea460.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0004-32.png",
|
||||
"image_48": "https://secure.gravatar.com/avatar/6040af6e26d481c0e5fd4ac2fe4ea460.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0004-48.png",
|
||||
"image_512": "https://secure.gravatar.com/avatar/6040af6e26d481c0e5fd4ac2fe4ea460.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0004-512.png",
|
||||
"image_72": "https://secure.gravatar.com/avatar/6040af6e26d481c0e5fd4ac2fe4ea460.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0004-72.png",
|
||||
"last_name": "",
|
||||
"phone": "",
|
||||
"real_name": "alexmv",
|
||||
"real_name_normalized": "alexmv",
|
||||
"skype": "",
|
||||
"status_emoji": "",
|
||||
"status_emoji_display_info": [],
|
||||
"status_expiration": 0,
|
||||
"status_text": "",
|
||||
"status_text_canonical": "",
|
||||
"team": "T04LT7JD2AZ",
|
||||
"title": ""
|
||||
},
|
||||
"real_name": "alexmv",
|
||||
"team_id": "T04LT7JD2AZ",
|
||||
"tz": "America/New_York",
|
||||
"tz_label": "Eastern Standard Time",
|
||||
"tz_offset": -18000,
|
||||
"updated": 1674835388,
|
||||
"who_can_share_contact_card": "EVERYONE"
|
||||
},
|
||||
{
|
||||
"color": "4bbe2e",
|
||||
"deleted": false,
|
||||
"id": "U04LYMYPGSG",
|
||||
"is_admin": false,
|
||||
"is_app_user": false,
|
||||
"is_bot": true,
|
||||
"is_email_confirmed": false,
|
||||
"is_owner": false,
|
||||
"is_primary_owner": false,
|
||||
"is_restricted": false,
|
||||
"is_ultra_restricted": false,
|
||||
"name": "zulip_export",
|
||||
"profile": {
|
||||
"always_active": false,
|
||||
"api_app_id": "A04LFM9BJ6T",
|
||||
"avatar_hash": "g2668f8ddfc6",
|
||||
"bot_id": "B04LW4RLEGK",
|
||||
"display_name": "",
|
||||
"display_name_normalized": "",
|
||||
"fields": null,
|
||||
"first_name": "Zulip",
|
||||
"image_192": "https://secure.gravatar.com/avatar/2668f8ddfc6b6c6289f2fd5ba5490cae.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0024-192.png",
|
||||
"image_24": "https://secure.gravatar.com/avatar/2668f8ddfc6b6c6289f2fd5ba5490cae.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0024-24.png",
|
||||
"image_32": "https://secure.gravatar.com/avatar/2668f8ddfc6b6c6289f2fd5ba5490cae.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0024-32.png",
|
||||
"image_48": "https://secure.gravatar.com/avatar/2668f8ddfc6b6c6289f2fd5ba5490cae.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0024-48.png",
|
||||
"image_512": "https://secure.gravatar.com/avatar/2668f8ddfc6b6c6289f2fd5ba5490cae.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0024-512.png",
|
||||
"image_72": "https://secure.gravatar.com/avatar/2668f8ddfc6b6c6289f2fd5ba5490cae.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2Fdf10d%2Fimg%2Favatars%2Fava_0024-72.png",
|
||||
"last_name": "export",
|
||||
"phone": "",
|
||||
"real_name": "Zulip export",
|
||||
"real_name_normalized": "Zulip export",
|
||||
"skype": "",
|
||||
"status_emoji": "",
|
||||
"status_emoji_display_info": [],
|
||||
"status_expiration": 0,
|
||||
"status_text": "",
|
||||
"status_text_canonical": "",
|
||||
"team": "T04LT7JD2AZ",
|
||||
"title": ""
|
||||
},
|
||||
"real_name": "Zulip export",
|
||||
"team_id": "T04LT7JD2AZ",
|
||||
"tz": "America/Los_Angeles",
|
||||
"tz_label": "Pacific Standard Time",
|
||||
"tz_offset": -28800,
|
||||
"updated": 1674836111,
|
||||
"who_can_share_contact_card": "EVERYONE"
|
||||
}
|
||||
],
|
||||
"ok": true,
|
||||
"response_metadata": {
|
||||
"next_cursor": ""
|
||||
}
|
||||
}
|
||||
199
zerver/tests/fixtures/slack_fixtures/user_data.json
vendored
Normal file
199
zerver/tests/fixtures/slack_fixtures/user_data.json
vendored
Normal file
@@ -0,0 +1,199 @@
|
||||
{
|
||||
"ok": true,
|
||||
"members": [
|
||||
{"id": "U6006P1CN",
|
||||
"team_id": "T5YFFM2QY",
|
||||
"name": "k._",
|
||||
"deleted": false,
|
||||
"color": "9f69e7",
|
||||
"real_name": "Josef K.",
|
||||
"tz": "Europe\/Amsterdam",
|
||||
"tz_label": "Central European Time",
|
||||
"tz_offset": 3600,
|
||||
"profile": {
|
||||
"title": "",
|
||||
"phone": "",
|
||||
"skype": "",
|
||||
"real_name": "Josef K.",
|
||||
"real_name_normalized": "Josef K.",
|
||||
"display_name": "k._",
|
||||
"display_name_normalized": "k._",
|
||||
"status_text": "",
|
||||
"status_emoji": "",
|
||||
"avatar_hash": "gd41c3c33cbe",
|
||||
"email": "rhtbot@protonmail.com",
|
||||
"first_name": "Josef",
|
||||
"last_name": "K.",
|
||||
"image_24": "https:\/\/secure.gravatar.com\/avatar\/d41c3c33cbe6accfb8711e6f21a17c45.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2F0180%2Fimg%2Favatars%2Fava_0025-24.png",
|
||||
"image_32": "https:\/\/secure.gravatar.com\/avatar\/d41c3c33cbe6accfb8711e6f21a17c45.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0025-32.png",
|
||||
"image_48": "https:\/\/secure.gravatar.com\/avatar\/d41c3c33cbe6accfb8711e6f21a17c45.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0025-48.png",
|
||||
"image_72": "https:\/\/secure.gravatar.com\/avatar\/d41c3c33cbe6accfb8711e6f21a17c45.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0025-72.png",
|
||||
"image_192": "https:\/\/secure.gravatar.com\/avatar\/d41c3c33cbe6accfb8711e6f21a17c45.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0025-192.png",
|
||||
"image_512": "https:\/\/secure.gravatar.com\/avatar\/d41c3c33cbe6accfb8711e6f21a17c45.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0025-512.png",
|
||||
"team": "T5YFFM2QY"
|
||||
},
|
||||
"is_admin": true,
|
||||
"is_owner": true,
|
||||
"is_primary_owner": true,
|
||||
"is_restricted": false,
|
||||
"is_ultra_restricted": false,
|
||||
"is_bot": false,
|
||||
"updated": 1504496865,
|
||||
"is_app_user": false,
|
||||
"has_2fa": false},
|
||||
{"id": "U8W3QFGQ5",
|
||||
"team_id": "T5YFFM2QY",
|
||||
"name": "rheaparekh12",
|
||||
"deleted": false,
|
||||
"color": "e7392d",
|
||||
"real_name": "Rhea Parekh",
|
||||
"tz": "Asia\/Kolkata",
|
||||
"tz_label": "India Standard Time",
|
||||
"tz_offset": 19800,
|
||||
"profile": {
|
||||
"title": "",
|
||||
"phone": "",
|
||||
"skype": "",
|
||||
"real_name": "Rhea Parekh",
|
||||
"real_name_normalized": "Rhea Parekh",
|
||||
"display_name": "Rhea",
|
||||
"display_name_normalized": "Rhea",
|
||||
"status_text": "",
|
||||
"status_emoji": "",
|
||||
"avatar_hash": "g1260bbb9ad8",
|
||||
"email": "rheaparekh12@gmail.com",
|
||||
"image_24": "https:\/\/secure.gravatar.com\/avatar\/1260bbb9ad836a3122d081d49d083214.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0024-24.png",
|
||||
"image_32": "https:\/\/secure.gravatar.com\/avatar\/1260bbb9ad836a3122d081d49d083214.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0024-32.png",
|
||||
"image_48": "https:\/\/secure.gravatar.com\/avatar\/1260bbb9ad836a3122d081d49d083214.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0024-48.png",
|
||||
"image_72": "https:\/\/secure.gravatar.com\/avatar\/1260bbb9ad836a3122d081d49d083214.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0024-72.png",
|
||||
"image_192": "https:\/\/secure.gravatar.com\/avatar\/1260bbb9ad836a3122d081d49d083214.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0024-192.png",
|
||||
"image_512": "https:\/\/secure.gravatar.com\/avatar\/1260bbb9ad836a3122d081d49d083214.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0024-512.png",
|
||||
"team": "T5YFFM2QY"
|
||||
},
|
||||
"is_admin": true,
|
||||
"is_owner": true,
|
||||
"is_primary_owner": false,
|
||||
"is_restricted": false,
|
||||
"is_ultra_restricted": false,
|
||||
"is_bot": false,
|
||||
"updated": 1516457942,
|
||||
"is_app_user": false,
|
||||
"has_2fa": false},
|
||||
{"id": "U8X25EBAB",
|
||||
"team_id": "T5YFFM2QY",
|
||||
"name": "rishiweb_0",
|
||||
"deleted": false,
|
||||
"color": "3c989f",
|
||||
"real_name": "Rishi \u0939\u093f\u0928\u094d\u0926\u0940 \u6c49\u8bed",
|
||||
"tz": "Asia\/Kolkata",
|
||||
"tz_label": "India Standard Time",
|
||||
"tz_offset": 19800,
|
||||
"profile": {
|
||||
"title": "",
|
||||
"phone": "",
|
||||
"skype": "",
|
||||
"real_name": "Rishi \u0939\u093f\u0928\u094d\u0926\u0940 \u6c49\u8bed",
|
||||
"real_name_normalized": "Rishi \u0939\u0928\u0926 \u6c49\u8bed",
|
||||
"display_name": "\u6c49\u8bed \u0939\u093f\u0928\u094d\u0926\u0940",
|
||||
"display_name_normalized": "\u6c49\u8bed \u0939\u0928\u0926",
|
||||
"status_text": "",
|
||||
"status_emoji": "",
|
||||
"avatar_hash": "gbe7dc6bed51",
|
||||
"email": "rishiweb+0@mit.edu",
|
||||
"image_24": "https:\/\/secure.gravatar.com\/avatar\/be7dc6bed51f59ef43acb198109451da.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0001-24.png",
|
||||
"image_32": "https:\/\/secure.gravatar.com\/avatar\/be7dc6bed51f59ef43acb198109451da.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0001-32.png",
|
||||
"image_48": "https:\/\/secure.gravatar.com\/avatar\/be7dc6bed51f59ef43acb198109451da.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2F0180%2Fimg%2Favatars%2Fava_0001-48.png",
|
||||
"image_72": "https:\/\/secure.gravatar.com\/avatar\/be7dc6bed51f59ef43acb198109451da.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2F3654%2Fimg%2Favatars%2Fava_0001-72.png",
|
||||
"image_192": "https:\/\/secure.gravatar.com\/avatar\/be7dc6bed51f59ef43acb198109451da.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0001-192.png",
|
||||
"image_512": "https:\/\/secure.gravatar.com\/avatar\/be7dc6bed51f59ef43acb198109451da.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0001-512.png",
|
||||
"team": "T5YFFM2QY"
|
||||
},
|
||||
"is_admin": true,
|
||||
"is_owner": false,
|
||||
"is_primary_owner": false,
|
||||
"is_restricted": false,
|
||||
"is_ultra_restricted": false,
|
||||
"is_bot": false,
|
||||
"updated": 1516457965,
|
||||
"is_app_user": false,
|
||||
"has_2fa": false},
|
||||
{"id": "U8VAHEVUY",
|
||||
"team_id": "T5YFFM2QY",
|
||||
"name": "showell30",
|
||||
"deleted": false,
|
||||
"color": "4bbe2e",
|
||||
"real_name": "Steve Howell",
|
||||
"tz": "America\/New_York",
|
||||
"tz_label": "Eastern Standard Time",
|
||||
"tz_offset": -18000,
|
||||
"profile": {
|
||||
"title": "",
|
||||
"phone": "",
|
||||
"skype": "",
|
||||
"real_name": "Steve Howell",
|
||||
"real_name_normalized": "Steve Howell",
|
||||
"display_name": "Steve",
|
||||
"display_name_normalized": "Steve",
|
||||
"status_text": "",
|
||||
"status_emoji": "",
|
||||
"avatar_hash": "gb60683e6dac",
|
||||
"email": "showell30@yahoo.com",
|
||||
"image_24": "https:\/\/secure.gravatar.com\/avatar\/b60683e6dacd4556ae15430a7c9b6f13.jpg?s=24&d=https%3A%2F%2Fa.slack-edge.com%2F0180%2Fimg%2Favatars%2Fava_0004-24.png",
|
||||
"image_32": "https:\/\/secure.gravatar.com\/avatar\/b60683e6dacd4556ae15430a7c9b6f13.jpg?s=32&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0004-32.png",
|
||||
"image_48": "https:\/\/secure.gravatar.com\/avatar\/b60683e6dacd4556ae15430a7c9b6f13.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0004-48.png",
|
||||
"image_72": "https:\/\/secure.gravatar.com\/avatar\/b60683e6dacd4556ae15430a7c9b6f13.jpg?s=72&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0004-72.png",
|
||||
"image_192": "https:\/\/secure.gravatar.com\/avatar\/b60683e6dacd4556ae15430a7c9b6f13.jpg?s=192&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0004-192.png",
|
||||
"image_512": "https:\/\/secure.gravatar.com\/avatar\/b60683e6dacd4556ae15430a7c9b6f13.jpg?s=512&d=https%3A%2F%2Fa.slack-edge.com%2F7fa9%2Fimg%2Favatars%2Fava_0004-512.png",
|
||||
"team": "T5YFFM2QY"
|
||||
},
|
||||
"is_admin": false,
|
||||
"is_owner": false,
|
||||
"is_primary_owner": false,
|
||||
"is_restricted": false,
|
||||
"is_ultra_restricted": false,
|
||||
"is_bot": false,
|
||||
"updated": 1516454398,
|
||||
"is_app_user": false,
|
||||
"has_2fa": false},
|
||||
{"id": "USLACKBOT",
|
||||
"team_id": "T5YFFM2QY",
|
||||
"name": "slackbot",
|
||||
"deleted": false,
|
||||
"color": "757575",
|
||||
"real_name": "slackbot",
|
||||
"tz": null,
|
||||
"tz_label": "Pacific Standard Time",
|
||||
"tz_offset": -28800,
|
||||
"profile": {
|
||||
"title": "",
|
||||
"phone": "",
|
||||
"skype": "",
|
||||
"real_name": "slackbot",
|
||||
"real_name_normalized": "slackbot",
|
||||
"display_name": "slackbot",
|
||||
"display_name_normalized": "slackbot",
|
||||
"fields": null,
|
||||
"status_text": "",
|
||||
"status_emoji": "",
|
||||
"avatar_hash": "sv1444671949",
|
||||
"always_active": true,
|
||||
"first_name": "slackbot",
|
||||
"last_name": "",
|
||||
"image_24": "https:\/\/a.slack-edge.com\/0180\/img\/slackbot_24.png",
|
||||
"image_32": "https:\/\/a.slack-edge.com\/7f1a0\/plugins\/slackbot\/assets\/service_32.png",
|
||||
"image_48": "https:\/\/a.slack-edge.com\/7f1a0\/plugins\/slackbot\/assets\/service_48.png",
|
||||
"image_72": "https:\/\/a.slack-edge.com\/0180\/img\/slackbot_72.png",
|
||||
"image_192": "https:\/\/a.slack-edge.com\/66f9\/img\/slackbot_192.png",
|
||||
"image_512": "https:\/\/a.slack-edge.com\/1801\/img\/slackbot_512.png",
|
||||
"team": "T5YFFM2QY"
|
||||
},
|
||||
"is_admin": false,
|
||||
"is_owner": false,
|
||||
"is_primary_owner": false,
|
||||
"is_restricted": false,
|
||||
"is_ultra_restricted": false,
|
||||
"is_bot": false,
|
||||
"updated": 0,
|
||||
"is_app_user": false}],
|
||||
"cache_ts": 1518116853
|
||||
}
|
||||
Reference in New Issue
Block a user