Skip to content

armgit / zulip

Public Imported from GitHub
0

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

gitlab: Add user_username field to push/tag webhook fixtures.

The Dancedfd518b804bf
diff --git a/zerver/webhooks/gitlab/fixtures/push_hook.json b/zerver/webhooks/gitlab/fixtures/push_hook.json
index 242d40c6fe9..54181b88efe 100644
--- a/zerver/webhooks/gitlab/fixtures/push_hook.json
+++ b/zerver/webhooks/gitlab/fixtures/push_hook.json
@@ -8,6 +8,7 @@
"message":null,
"user_id":670043,
"user_name":"Tomasz Kolek",
+ "user_username":"tomaszkolek0",
"user_email":"[email protected]",
"user_avatar":"https://secure.gravatar.com/avatar/116a6fdbcfd00466297a39174da11fbb?s=80\u0026d=identicon",
"project_id":1534233,
diff --git a/zerver/webhooks/gitlab/fixtures/push_hook__push_commits_more_than_limit.json b/zerver/webhooks/gitlab/fixtures/push_hook__push_commits_more_than_limit.json
index d32ccac1b34..b0f76a29d21 100644
--- a/zerver/webhooks/gitlab/fixtures/push_hook__push_commits_more_than_limit.json
+++ b/zerver/webhooks/gitlab/fixtures/push_hook__push_commits_more_than_limit.json
@@ -8,6 +8,7 @@
"message":null,
"user_id":670043,
"user_name":"Tomasz Kolek",
+ "user_username":"tomaszkolek0",
"user_email":"[email protected]",
"user_avatar":"https://secure.gravatar.com/avatar/116a6fdbcfd00466297a39174da11fbb?s=80\u0026d=identicon",
"project_id":1534233,
diff --git a/zerver/webhooks/gitlab/fixtures/push_hook__push_local_branch_without_commits.json b/zerver/webhooks/gitlab/fixtures/push_hook__push_local_branch_without_commits.json
index 2a66a03930e..9041989a74c 100644
--- a/zerver/webhooks/gitlab/fixtures/push_hook__push_local_branch_without_commits.json
+++ b/zerver/webhooks/gitlab/fixtures/push_hook__push_local_branch_without_commits.json
@@ -8,6 +8,7 @@
"message":null,
"user_id":1129123,
"user_name":"Eeshan Garg",
+ "user_username":"eeshangarg",
"user_email":"[email protected]",
"user_avatar":"https://secure.gravatar.com/avatar/cd181af88d928dab53c55600c9f7551d?s=80\u0026d=identicon",
"project_id":3319043,
diff --git a/zerver/webhooks/gitlab/fixtures/push_hook__push_multiple_committers.json b/zerver/webhooks/gitlab/fixtures/push_hook__push_multiple_committers.json
index fd5b7a9d4c3..d23d769f601 100644
--- a/zerver/webhooks/gitlab/fixtures/push_hook__push_multiple_committers.json
+++ b/zerver/webhooks/gitlab/fixtures/push_hook__push_multiple_committers.json
@@ -8,6 +8,7 @@
"message":null,
"user_id":670043,
"user_name":"Tomasz Kolek",
+ "user_username":"tomaszkolek0",
"user_email":"[email protected]",
"user_avatar":"https://secure.gravatar.com/avatar/116a6fdbcfd00466297a39174da11fbb?s=80\u0026d=identicon",
"project_id":1534233,
diff --git a/zerver/webhooks/gitlab/fixtures/push_hook__push_multiple_committers_with_others.json b/zerver/webhooks/gitlab/fixtures/push_hook__push_multiple_committers_with_others.json
index b4ce287d3a7..04b034caaeb 100644
--- a/zerver/webhooks/gitlab/fixtures/push_hook__push_multiple_committers_with_others.json
+++ b/zerver/webhooks/gitlab/fixtures/push_hook__push_multiple_committers_with_others.json
@@ -8,6 +8,7 @@
"message":null,
"user_id":670043,
"user_name":"Tomasz Kolek",
+ "user_username":"tomaszkolek0",
"user_email":"[email protected]",
"user_avatar":"https://secure.gravatar.com/avatar/116a6fdbcfd00466297a39174da11fbb?s=80\u0026d=identicon",
"project_id":1534233,
diff --git a/zerver/webhooks/gitlab/fixtures/push_hook__remove_branch.json b/zerver/webhooks/gitlab/fixtures/push_hook__remove_branch.json
index 171c9551621..4b6633cd975 100644
--- a/zerver/webhooks/gitlab/fixtures/push_hook__remove_branch.json
+++ b/zerver/webhooks/gitlab/fixtures/push_hook__remove_branch.json
@@ -8,6 +8,7 @@
"message":null,
"user_id":745906,
"user_name":"Tomasz Kolek",
+ "user_username":"tomaszkolek",
"user_email":"[email protected]",
"user_avatar":"https://secure.gravatar.com/avatar/c80a7a8454ed7d9e3c5618f1748385c2?s=80\u0026d=identicon",
"project_id":1740047,
diff --git a/zerver/webhooks/gitlab/fixtures/system_hook__push_hook.json b/zerver/webhooks/gitlab/fixtures/system_hook__push_hook.json
index fe80b8ccb3f..27247302879 100644
--- a/zerver/webhooks/gitlab/fixtures/system_hook__push_hook.json
+++ b/zerver/webhooks/gitlab/fixtures/system_hook__push_hook.json
@@ -8,6 +8,7 @@
"message": "Hello World",
"user_id": 4,
"user_name": "John Smith",
+ "user_username": "jsmith",
"user_email": "[email protected]",
"user_avatar": "https://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=8://s.gravatar.com/avatar/d4c74594d841139328695756648b6bd6?s=80",
"project_id": 15,
diff --git a/zerver/webhooks/gitlab/fixtures/tag_push_hook__add_tag.json b/zerver/webhooks/gitlab/fixtures/tag_push_hook__add_tag.json
index 64393843355..a7e11ca1217 100644
--- a/zerver/webhooks/gitlab/fixtures/tag_push_hook__add_tag.json
+++ b/zerver/webhooks/gitlab/fixtures/tag_push_hook__add_tag.json
@@ -8,6 +8,7 @@
"message":null,
"user_id":670043,
"user_name":"Tomasz Kolek",
+ "user_username":"tomaszkolek0",
"user_email":"[email protected]",
"user_avatar":"https://secure.gravatar.com/avatar/116a6fdbcfd00466297a39174da11fbb?s=80\u0026d=identicon",
"project_id":1534233,
diff --git a/zerver/webhooks/gitlab/fixtures/tag_push_hook__remove_tag.json b/zerver/webhooks/gitlab/fixtures/tag_push_hook__remove_tag.json
index ab31c83338c..24b5dc9b79e 100644
--- a/zerver/webhooks/gitlab/fixtures/tag_push_hook__remove_tag.json
+++ b/zerver/webhooks/gitlab/fixtures/tag_push_hook__remove_tag.json
@@ -8,6 +8,7 @@
"message":null,
"user_id":670043,
"user_name":"Tomasz Kolek",
+ "user_username":"tomaszkolek0",
"user_email":"[email protected]",
"user_avatar":"https://secure.gravatar.com/avatar/116a6fdbcfd00466297a39174da11fbb?s=80\u0026d=identicon",
"project_id":1534233,