Commit graph

17 commits

Author SHA1 Message Date
Diep Pham
e3a5376d01 uses email from Sender field of push event
Gitea/Gogs [set repository owner](d644e88107/models/pull.go (L469)) information as Pusher in webhook.

For example, if we have a repository: git.example.com/org1/repo1, owner
of repository will be `org1` and the email field will be empty. This PR
changes gitea/gogs helpers to use the email in Sender field, which is
the user that click the merge button.
2018-02-06 15:15:24 +07:00
Brad Rydzewski
7826888729 update listing 2017-08-26 15:59:57 -07:00
Brad Rydzewski
35e0ee2e5f implement sync logic 2017-07-14 15:58:38 -04:00
Bo-Yi Wu
b833b16f32 add missing Email from Hook Event in gitea. (#2080)
* add missing Email from Hook Event in gitea.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix field.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix avatar path

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* fix testing

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-21 06:53:47 +02:00
Brad Rydzewski
0795dce4ed added logging 2017-03-18 23:20:09 +08:00
Brad Rydzewski
e319aaff15 add reviewer fields, endpoints 2017-03-18 16:49:27 +08:00
Michael de Wit
141eb4ea57 Add pull_request webhook support to Gogs remote 2017-01-03 09:38:05 +01:00
Brad Rydzewski
538f82c898 improve Gogs tag implementation 2016-11-25 13:06:07 +01:00
brice
744cf55bf5 change eventType for tag events from gogs 2016-09-07 08:46:42 +02:00
brice
82c534ad18 Suppression de EventBranch 2016-08-14 12:26:35 +02:00
Sandro Santilli
cacfd0c444 Fix resolution of relative avatar urls for Gogs published in subpath
Closes #1701
Includes a new test, and updates expected results for 3 of them (adding
the schema part)
2016-07-06 15:58:31 +02:00
Brad Rydzewski
2e709fb6a9 ability to get team list from Gogs 2016-05-11 12:32:18 -07:00
Brad Rydzewski
ebd547deac refactoring remotes to remove deprecated variables, adding tests 2016-05-01 16:30:00 -07:00
Brad Rydzewski
e1daf0fd74 fix corner case with double-slash in Gogs sender. see #1263 2015-10-27 18:44:41 -07:00
Brad Rydzewski
25fa705511 added scm and deploy fields. plan to support hg, github deploys 2015-10-27 13:03:37 -07:00
Brad Rydzewski
b5a90e0a88 handle gogs custom gravatars. fixes #1263 2015-10-27 10:32:14 -07:00
Brad Rydzewski
d376730226 adding full support for Gogs including private repositories 2015-10-22 16:36:43 -07:00