Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
bitbucket: Update fixture files for GDPR-compliant user references.
The Dancec9abb714ffcf
diff --git a/zerver/webhooks/bitbucket/fixtures/commit_comment_created.json b/zerver/webhooks/bitbucket/fixtures/commit_comment_created.jsonindex 239c71dd1fc..f5c25e058f3 100644--- a/zerver/webhooks/bitbucket/fixtures/commit_comment_created.json+++ b/zerver/webhooks/bitbucket/fixtures/commit_comment_created.json@@ -2,15 +2,16 @@"comment":{"user":{"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"nickname":"Tomasz Kolaszek",@@ -56,15 +57,16 @@},"actor":{"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"nickname":"Tomasz Kolaszek",@@ -77,15 +79,16 @@"is_private":true,"owner":{"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"nickname":"Tomasz Kolaszek",diff --git a/zerver/webhooks/bitbucket/fixtures/commit_status_changed.json b/zerver/webhooks/bitbucket/fixtures/commit_status_changed.jsonindex 2daf960b34b..a9a607e7d36 100644--- a/zerver/webhooks/bitbucket/fixtures/commit_status_changed.json+++ b/zerver/webhooks/bitbucket/fixtures/commit_status_changed.json@@ -1,15 +1,16 @@{"actor": {"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"nickname":"Tomasz Kolaszek",@@ -25,19 +26,20 @@"owner":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"links":{"self":{diff --git a/zerver/webhooks/bitbucket/fixtures/force_push.json b/zerver/webhooks/bitbucket/fixtures/force_push.jsonindex 6b94959e68b..9f3b14777d3 100644--- a/zerver/webhooks/bitbucket/fixtures/force_push.json+++ b/zerver/webhooks/bitbucket/fixtures/force_push.json@@ -18,17 +18,18 @@"nickname":"Tomasz Kolaszek","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"},"full_name":"kolaszek/repository-name",@@ -40,17 +41,18 @@"nickname":"Tomasz Kolaszek","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"},"push":{@@ -73,17 +75,18 @@"nickname":"Tomasz Kolaszek","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"}},@@ -156,17 +159,18 @@"nickname":"Tomasz Kolaszek","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"}},@@ -204,17 +208,18 @@"nickname":"Tomasz Kolaszek","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"}},@@ -252,17 +257,18 @@"nickname":"Tomasz Kolaszek","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"}},@@ -300,17 +306,18 @@"nickname":"Tomasz Kolaszek","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"}},@@ -339,17 +346,18 @@"nickname":"Tomasz Kolaszek","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"}},diff --git a/zerver/webhooks/bitbucket/fixtures/fork.json b/zerver/webhooks/bitbucket/fixtures/fork.jsonindex d5d9898ca1c..63728d97a78 100644--- a/zerver/webhooks/bitbucket/fixtures/fork.json+++ b/zerver/webhooks/bitbucket/fixtures/fork.json@@ -3,17 +3,18 @@"type":"user","links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"nickname":"Tomasz Kolaszek","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"},"repository":{@@ -39,17 +40,18 @@"type":"user","links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"nickname":"Tomasz Kolaszek","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"}},diff --git a/zerver/webhooks/bitbucket/fixtures/issue_commented.json b/zerver/webhooks/bitbucket/fixtures/issue_commented.jsonindex 6df4f00b099..1ba09fb0605 100644--- a/zerver/webhooks/bitbucket/fixtures/issue_commented.json+++ b/zerver/webhooks/bitbucket/fixtures/issue_commented.json@@ -25,17 +25,18 @@"reporter":{"links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"display_name":"Tomasz","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","type":"user","nickname":"Tomasz Kolaszek"},@@ -51,17 +52,18 @@"assignee":{"links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"display_name":"Tomasz","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","type":"user","nickname":"Tomasz Kolaszek"},@@ -90,17 +92,18 @@"owner":{"links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"display_name":"Tomasz","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","type":"user","nickname":""},@@ -126,17 +129,18 @@"user":{"links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"display_name":"Tomasz","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","type":"user","nickname":"Tomasz Kolaszek"},@@ -150,17 +154,18 @@"actor":{"links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"display_name":"Tomasz","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","type":"user","nickname":"Tomasz Kolaszek"}diff --git a/zerver/webhooks/bitbucket/fixtures/issue_created.json b/zerver/webhooks/bitbucket/fixtures/issue_created.jsonindex 69ea450f808..77cae2bdef2 100644--- a/zerver/webhooks/bitbucket/fixtures/issue_created.json+++ b/zerver/webhooks/bitbucket/fixtures/issue_created.json@@ -2,16 +2,17 @@"actor":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","type":"user","display_name":"Tomasz","nickname":"Tomasz Kolaszek"@@ -54,16 +55,17 @@"reporter":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","type":"user","display_name":"Tomasz","nickname":"Tomasz Kolaszek"@@ -75,16 +77,17 @@"assignee":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","type":"user","display_name":"Tomasz","nickname":"Tomasz Kolaszek"@@ -110,16 +113,17 @@"owner":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","type":"user","display_name":"Tomasz","nickname":"Tomasz Kolaszek"diff --git a/zerver/webhooks/bitbucket/fixtures/issue_updated.json b/zerver/webhooks/bitbucket/fixtures/issue_updated.jsonindex 4d4e90e0c27..06c14753ed0 100644--- a/zerver/webhooks/bitbucket/fixtures/issue_updated.json+++ b/zerver/webhooks/bitbucket/fixtures/issue_updated.json@@ -2,15 +2,16 @@"actor":{"display_name":"Tomasz","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"nickname":"Tomasz Kolaszek",@@ -26,15 +27,16 @@"user":{"display_name":"Tomasz","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"nickname":"Tomasz Kolaszek",@@ -69,15 +71,16 @@"owner":{"display_name":"Tomasz","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"nickname":"Tomasz Kolaszek",@@ -97,15 +100,16 @@"assignee":{"display_name":"Tomasz","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"nickname":"Tomasz Kolaszek",@@ -169,15 +173,16 @@"reporter":{"display_name":"Tomasz","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"nickname":"Tomasz Kolaszek",diff --git a/zerver/webhooks/bitbucket/fixtures/more_than_one_push_event.json b/zerver/webhooks/bitbucket/fixtures/more_than_one_push_event.jsonindex 7c7a6a5ce1f..c4a9a003a4a 100644--- a/zerver/webhooks/bitbucket/fixtures/more_than_one_push_event.json+++ b/zerver/webhooks/bitbucket/fixtures/more_than_one_push_event.json@@ -22,16 +22,17 @@"type":"user","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","nickname":"Tomasz Kolaszek"},"website":""@@ -80,19 +81,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Tomasz Kolek <[email protected]>"},@@ -129,19 +131,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Tomasz Kolek <[email protected]>"},@@ -224,18 +227,19 @@"actor":{"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","location":null,"created_on":"2016-06-29T17:51:47.001868+00:00","display_name":"Tomasz","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"website":null,diff --git a/zerver/webhooks/bitbucket/fixtures/pull_request_approved_or_unapproved.json b/zerver/webhooks/bitbucket/fixtures/pull_request_approved_or_unapproved.jsonindex 6e237ad768f..5d2eea83895 100644--- a/zerver/webhooks/bitbucket/fixtures/pull_request_approved_or_unapproved.json+++ b/zerver/webhooks/bitbucket/fixtures/pull_request_approved_or_unapproved.json@@ -43,17 +43,18 @@"type":"user","links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"nickname":"Tomasz Kolaszek","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"},"closed_by":null,@@ -106,17 +107,18 @@"type":"user","links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"nickname":"Tomasz Kolaszek","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"},"role":"PARTICIPANT"@@ -131,17 +133,18 @@"type":"user","links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"nickname":"Tomasz Kolaszek","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"},"date":"2016-07-04T19:40:30.999805+00:00"@@ -169,17 +172,18 @@"type":"user","links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"nickname":"Tomasz Kolaszek","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"}},@@ -187,17 +191,18 @@"type":"user","links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"nickname":"Tomasz Kolaszek","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz"}}diff --git a/zerver/webhooks/bitbucket/fixtures/pull_request_comment_action.json b/zerver/webhooks/bitbucket/fixtures/pull_request_comment_action.jsonindex 6ea50b255ec..39990bccb0f 100644--- a/zerver/webhooks/bitbucket/fixtures/pull_request_comment_action.json+++ b/zerver/webhooks/bitbucket/fixtures/pull_request_comment_action.json@@ -13,16 +13,17 @@"user":{"links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz","type":"user","nickname":"Tomasz Kolaszek"@@ -66,16 +67,17 @@"owner":{"links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz","type":"user","nickname":"Tomasz Kolaszek"@@ -88,16 +90,17 @@"actor":{"links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz","type":"user","nickname":"Tomasz Kolaszek"@@ -126,16 +129,17 @@"author":{"links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz","type":"user","nickname":"Tomasz Kolaszek"@@ -212,16 +216,17 @@"user":{"links":{"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz","type":"user","nickname":"Tomasz Kolaszek"diff --git a/zerver/webhooks/bitbucket/fixtures/pull_request_created_or_updated.json b/zerver/webhooks/bitbucket/fixtures/pull_request_created_or_updated.jsonindex 34dcc781e33..27376865720 100644--- a/zerver/webhooks/bitbucket/fixtures/pull_request_created_or_updated.json+++ b/zerver/webhooks/bitbucket/fixtures/pull_request_created_or_updated.json@@ -65,17 +65,18 @@{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/tkolek"+ "href":"https://api.bitbucket.org/2.0/users/%7Bbf830c24-bde2-41f1-a790-2c9372a2e789%7D"},"html":{- "href":"https://bitbucket.org/tkolek/"+ "href":"https://bitbucket.org/%7Bbf830c24-bde2-41f1-a790-2c9372a2e789%7D/"},"avatar":{- "href":"https://bitbucket.org/account/tkolek/avatar/32/"+ "href":"https://bitbucket.org/account/%7Bbf830c24-bde2-41f1-a790-2c9372a2e789%7D/avatar/32/"} },"type":"user","nickname":"T Kolek","uuid":"{bf830c24-bde2-41f1-a790-2c9372a2e789}",+ "account_id":"557058:d8e78bc0-2e36-4b47-8c5c-1c8c22f5b1e3","display_name":"Tomasz Kolek"}],@@ -83,15 +84,16 @@"author":{"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"display_name":"Tomasz",@@ -123,15 +125,16 @@"actor":{"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"display_name":"Tomasz",@@ -159,15 +162,16 @@"owner":{"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"display_name":"Tomasz",diff --git a/zerver/webhooks/bitbucket/fixtures/pull_request_created_or_updated_without_username.json b/zerver/webhooks/bitbucket/fixtures/pull_request_created_or_updated_without_username.jsonindex 2b5cf1a73cc..5fc5284fb8e 100644--- a/zerver/webhooks/bitbucket/fixtures/pull_request_created_or_updated_without_username.json+++ b/zerver/webhooks/bitbucket/fixtures/pull_request_created_or_updated_without_username.json@@ -65,16 +65,17 @@{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/tkolek"+ "href":"https://api.bitbucket.org/2.0/users/%7Bbf830c24-bde2-41f1-a790-2c9372a2e789%7D"},"html":{- "href":"https://bitbucket.org/tkolek/"+ "href":"https://bitbucket.org/%7Bbf830c24-bde2-41f1-a790-2c9372a2e789%7D/"},"avatar":{- "href":"https://bitbucket.org/account/tkolek/avatar/32/"+ "href":"https://bitbucket.org/account/%7Bbf830c24-bde2-41f1-a790-2c9372a2e789%7D/avatar/32/"} },"type":"user","uuid":"{bf830c24-bde2-41f1-a790-2c9372a2e789}",+ "account_id":"557058:d8e78bc0-2e36-4b47-8c5c-1c8c22f5b1e3","display_name":"Tomasz Kolek"}],@@ -82,15 +83,16 @@"author":{"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"display_name":"Tomasz",@@ -122,15 +124,16 @@"actor":{"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"display_name":"Tomasz",@@ -158,15 +161,16 @@"owner":{"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"display_name":"Tomasz",diff --git a/zerver/webhooks/bitbucket/fixtures/pull_request_fulfilled_or_rejected.json b/zerver/webhooks/bitbucket/fixtures/pull_request_fulfilled_or_rejected.jsonindex ea8b93fbe07..5b0712f6f29 100644--- a/zerver/webhooks/bitbucket/fixtures/pull_request_fulfilled_or_rejected.json+++ b/zerver/webhooks/bitbucket/fixtures/pull_request_fulfilled_or_rejected.json@@ -4,17 +4,18 @@"display_name":"Tomasz","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"nickname":"Tomasz Kolaszek",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"pullrequest":{"title":"new commit",@@ -34,34 +35,36 @@"display_name":"Tomasz","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"nickname":"Tomasz Kolaszek",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"author":{"type":"user","display_name":"Tomasz","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"nickname":"Tomasz Kolaszek",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"updated_on":"2016-07-04T20:17:13.680242+00:00","source":{@@ -158,17 +161,18 @@"display_name":"Tomasz","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"nickname":"Tomasz Kolaszek",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"full_name":"kolaszek/repository-name","name":"Repository name",diff --git a/zerver/webhooks/bitbucket/fixtures/push.json b/zerver/webhooks/bitbucket/fixtures/push.jsonindex b5a3d1fffa5..37f8a53870d 100644--- a/zerver/webhooks/bitbucket/fixtures/push.json+++ b/zerver/webhooks/bitbucket/fixtures/push.json@@ -2,19 +2,20 @@"actor":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"repository":{"scm":"git",@@ -25,19 +26,20 @@"owner":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"links":{"self":{@@ -97,19 +99,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Tomasz Kolek <[email protected]>"},@@ -146,19 +149,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Tomasz Kolek <[email protected]>"},diff --git a/zerver/webhooks/bitbucket/fixtures/push_commits_above_limit.json b/zerver/webhooks/bitbucket/fixtures/push_commits_above_limit.jsonindex f722425661d..d82832853c2 100644--- a/zerver/webhooks/bitbucket/fixtures/push_commits_above_limit.json+++ b/zerver/webhooks/bitbucket/fixtures/push_commits_above_limit.json@@ -3,18 +3,19 @@"website":null,"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"display_name":"Tomasz","type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","nickname":"Tomasz Kolaszek","location":null,"created_on":"2016-06-29T17:51:47.001868+00:00"@@ -369,18 +370,19 @@"nickname":"Tomasz Kolaszek","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"display_name":"Tomasz","type":"user",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"scm":"git","type":"repository",diff --git a/zerver/webhooks/bitbucket/fixtures/push_more_than_one_tag.json b/zerver/webhooks/bitbucket/fixtures/push_more_than_one_tag.jsonindex 4f05c082641..0b31f5eca1b 100644--- a/zerver/webhooks/bitbucket/fixtures/push_more_than_one_tag.json+++ b/zerver/webhooks/bitbucket/fixtures/push_more_than_one_tag.json@@ -2,13 +2,13 @@"actor":{"links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"website":null,@@ -16,6 +16,7 @@"created_on":"2016-06-29T17:51:47.001868+00:00","type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","location":null,"nickname":"Tomasz Kolaszek"},@@ -36,16 +37,17 @@"owner":{"links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz","type":"user","nickname":"Tomasz Kolaszek"diff --git a/zerver/webhooks/bitbucket/fixtures/push_multiple_committers.json b/zerver/webhooks/bitbucket/fixtures/push_multiple_committers.jsonindex e7649a185a3..d460d62915a 100644--- a/zerver/webhooks/bitbucket/fixtures/push_multiple_committers.json+++ b/zerver/webhooks/bitbucket/fixtures/push_multiple_committers.json@@ -2,19 +2,20 @@"actor":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"repository":{"scm":"git",@@ -25,19 +26,20 @@"owner":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"links":{"self":{@@ -97,19 +99,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Tomasz Kolek <[email protected]>"},@@ -146,19 +149,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Tomasz Kolek <[email protected]>"},@@ -184,19 +188,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Zev Benjamin","display_name":"Ben",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Benjamin Simon <[email protected]>"},@@ -221,19 +226,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Zev Benjamin","display_name":"Ben",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Benjamin Simon <[email protected]>"},diff --git a/zerver/webhooks/bitbucket/fixtures/push_multiple_committers_with_others.json b/zerver/webhooks/bitbucket/fixtures/push_multiple_committers_with_others.jsonindex a2e55bbd2f1..87fef620326 100644--- a/zerver/webhooks/bitbucket/fixtures/push_multiple_committers_with_others.json+++ b/zerver/webhooks/bitbucket/fixtures/push_multiple_committers_with_others.json@@ -2,19 +2,20 @@"actor":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"repository":{"scm":"git",@@ -25,19 +26,20 @@"owner":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"links":{"self":{@@ -97,19 +99,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Tomasz Kolek <[email protected]>"},@@ -146,19 +149,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Tomasz Kolek <[email protected]>"},@@ -183,19 +187,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Tomasz Kolek <[email protected]>"},@@ -220,19 +225,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Tomasz Kolek <[email protected]>"},@@ -257,19 +263,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Tomasz Kolaszek","display_name":"Tomasz",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Tomasz Kolek <[email protected]>"},@@ -294,19 +301,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"James Franklin","display_name":"James",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"James Franklin <[email protected]>"},@@ -331,19 +339,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"James Franklin","display_name":"James",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"James Franklin <[email protected]>"},@@ -368,19 +377,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"James Kolek","display_name":"James",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"James Kolek <[email protected]>"},@@ -405,19 +415,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Brendon Rogers","display_name":"Brendon",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Brendon Rogers <[email protected]>"},@@ -442,19 +453,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Brendon Rogers","display_name":"Brendon",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Brendon Rogers <[email protected]>"},@@ -480,19 +492,20 @@"user":{"links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"}},"type":"user","nickname":"Zev Benjamin","display_name":"Ben",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Benjamin Simon <[email protected]>"},diff --git a/zerver/webhooks/bitbucket/fixtures/push_one_tag.json b/zerver/webhooks/bitbucket/fixtures/push_one_tag.jsonindex a3817a1e5dd..87a9f1fbdaa 100644--- a/zerver/webhooks/bitbucket/fixtures/push_one_tag.json+++ b/zerver/webhooks/bitbucket/fixtures/push_one_tag.json@@ -2,13 +2,13 @@"actor":{"links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"website":null,@@ -16,6 +16,7 @@"created_on":"2016-06-29T17:51:47.001868+00:00","type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","location":null,"nickname":"Tomasz Kolaszek"},@@ -36,16 +37,17 @@"owner":{"links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}},"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","display_name":"Tomasz","type":"user","nickname":"Tomasz Kolaszek"diff --git a/zerver/webhooks/bitbucket/fixtures/push_remove_tag.json b/zerver/webhooks/bitbucket/fixtures/push_remove_tag.jsonindex 5257a9e3c1a..1ab2b81c48a 100644--- a/zerver/webhooks/bitbucket/fixtures/push_remove_tag.json+++ b/zerver/webhooks/bitbucket/fixtures/push_remove_tag.json@@ -22,16 +22,17 @@"type":"user","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","nickname":"Tomasz Kolaszek"},"website":""@@ -96,18 +97,19 @@"actor":{"type":"user","uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443","location":null,"created_on":"2016-06-29T17:51:47.001868+00:00","display_name":"Tomasz","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"website":null,diff --git a/zerver/webhooks/bitbucket/fixtures/push_without_changes.json b/zerver/webhooks/bitbucket/fixtures/push_without_changes.jsonindex 4a50dd9bd1a..a89e5062e4a 100644--- a/zerver/webhooks/bitbucket/fixtures/push_without_changes.json+++ b/zerver/webhooks/bitbucket/fixtures/push_without_changes.json@@ -9,15 +9,16 @@"type":"user","display_name":"eeshangarg","uuid":"{a161e482-30e8-47ef-b6ab-c4e4cfaa0dce}",+ "account_id":"557058:a4e12c67-3c4d-4567-8e90-1f2c3d4e5678","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/eeshangarg"+ "href":"https://api.bitbucket.org/2.0/users/557058:a4e12c67-3c4d-4567-8e90-1f2c3d4e5678"},"html":{- "href":"https://bitbucket.org/eeshangarg/"+ "href":"https://bitbucket.org/%7Ba161e482-30e8-47ef-b6ab-c4e4cfaa0dce%7D/"},"avatar":{- "href":"https://bitbucket.org/account/eeshangarg/avatar/32/"+ "href":"https://bitbucket.org/account/%7Ba161e482-30e8-47ef-b6ab-c4e4cfaa0dce%7D/avatar/32/"}}},@@ -59,15 +60,16 @@"type":"team","display_name":"webhooktest","uuid":"{31358906-183f-4b53-b83c-f70ba0ca5d3c}",+ "account_id":"557058:aaaa1111-2222-3333-4444-555566667777","links":{"self":{- "href":"https://api.bitbucket.org/2.0/teams/webhooktest"+ "href":"https://api.bitbucket.org/2.0/teams/557058:aaaa1111-2222-3333-4444-555566667777"},"html":{- "href":"https://bitbucket.org/webhooktest/"+ "href":"https://bitbucket.org/%7B31358906-183f-4b53-b83c-f70ba0ca5d3c%7D/"},"avatar":{- "href":"https://bitbucket.org/account/webhooktest/avatar/32/"+ "href":"https://bitbucket.org/account/%7B31358906-183f-4b53-b83c-f70ba0ca5d3c%7D/avatar/32/"}}},diff --git a/zerver/webhooks/bitbucket/fixtures/remove_branch.json b/zerver/webhooks/bitbucket/fixtures/remove_branch.jsonindex 1e5a3e964a5..e4b8762c104 100644--- a/zerver/webhooks/bitbucket/fixtures/remove_branch.json+++ b/zerver/webhooks/bitbucket/fixtures/remove_branch.json@@ -10,18 +10,19 @@"display_name":"Tomasz","links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"nickname":"Tomasz Kolaszek","type":"user",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"uuid":"{ede265ff-3649-4068-a7da-81ac581b6f47}","links":{@@ -75,18 +76,19 @@"display_name":"Tomasz","links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"nickname":"Tomasz Kolaszek","type":"user",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"raw":"Tomasz Kolek <[email protected]>"},@@ -131,17 +133,18 @@"display_name":"Tomasz","links":{"avatar":{- "href":"https://bitbucket.org/account/kolaszek/avatar/32/"+ "href":"https://bitbucket.org/account/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/avatar/32/"},"self":{- "href":"https://api.bitbucket.org/2.0/users/kolaszek"+ "href":"https://api.bitbucket.org/2.0/users/557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"},"html":{- "href":"https://bitbucket.org/kolaszek/"+ "href":"https://bitbucket.org/%7B678ab31f-9f88-4d7a-b343-1bdf9f024917%7D/"}},"nickname":"Tomasz Kolaszek","type":"user",- "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}"+ "uuid":"{678ab31f-9f88-4d7a-b343-1bdf9f024917}",+ "account_id":"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443"}}diff --git a/zerver/webhooks/bitbucket/fixtures/repo_updated.json b/zerver/webhooks/bitbucket/fixtures/repo_updated.jsonindex e5d04e46fba..0da917feeae 100644--- a/zerver/webhooks/bitbucket/fixtures/repo_updated.json+++ b/zerver/webhooks/bitbucket/fixtures/repo_updated.json@@ -38,15 +38,16 @@"type":"user","display_name":"eeshangarg","uuid":"{a161e482-30e8-47ef-b6ab-c4e4cfaa0dce}",+ "account_id":"557058:a4e12c67-3c4d-4567-8e90-1f2c3d4e5678","links":{"self":{- "href":"https://api.bitbucket.org/2.0/users/eeshangarg"+ "href":"https://api.bitbucket.org/2.0/users/557058:a4e12c67-3c4d-4567-8e90-1f2c3d4e5678"},"html":{- "href":"https://bitbucket.org/eeshangarg/"+ "href":"https://bitbucket.org/%7Ba161e482-30e8-47ef-b6ab-c4e4cfaa0dce%7D/"},"avatar":{- "href":"https://bitbucket.org/account/eeshangarg/avatar/32/"+ "href":"https://bitbucket.org/account/%7Ba161e482-30e8-47ef-b6ab-c4e4cfaa0dce%7D/avatar/32/"}}},@@ -88,15 +89,16 @@"type":"team","display_name":"webhooktest","uuid":"{31358906-183f-4b53-b83c-f70ba0ca5d3c}",+ "account_id":"557058:aaaa1111-2222-3333-4444-555566667777","links":{"self":{- "href":"https://api.bitbucket.org/2.0/teams/webhooktest"+ "href":"https://api.bitbucket.org/2.0/teams/557058:aaaa1111-2222-3333-4444-555566667777"},"html":{- "href":"https://bitbucket.org/webhooktest/"+ "href":"https://bitbucket.org/%7B31358906-183f-4b53-b83c-f70ba0ca5d3c%7D/"},"avatar":{- "href":"https://bitbucket.org/account/webhooktest/avatar/32/"+ "href":"https://bitbucket.org/account/%7B31358906-183f-4b53-b83c-f70ba0ca5d3c%7D/avatar/32/"}}},