Commit graph

15 commits

Author SHA1 Message Date
Thomas Boerger
7f49e69607
Just fixed format with go fmt ./... 2018-03-21 14:02:17 +01:00
Brad Rydzewski
580fe9abb7 add apache license header to files 2018-02-19 14:24:10 -08:00
Brad Rydzewski
9a76ab5bbb
Merge pull request #2315 from favadi/gitea-pull-sender
uses email from Sender field of push event
2018-02-19 12:25:34 -08:00
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
Michael de Wit
e4a77e5346 Fix Gitea remote pull-request webhook parsing 2018-01-29 13:20:02 +01:00
Bo-Yi Wu
837ed7b84c Add testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-11-04 23:19:01 +08: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
Bo-Yi Wu
25ddaf858b
support deactivate method and refactor file method
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-24 10:16:32 +08:00
Bo-Yi Wu
568e8f85d2
fix: update 2017-05-24 10:16:32 +08:00
Bo-Yi Wu
0f95c504a2
fix: [ci skip] update comment. 2017-05-24 10:16:32 +08:00
Bo-Yi Wu
2263ba2a8d
fix: rename Gogs to Gitea 2017-05-24 10:16:31 +08:00
Bo-Yi Wu
70072321e9
fix: remove username json field. 2017-05-24 10:16:31 +08:00
Bo-Yi Wu
4329268ee1
fix: add commit status testing. 2017-05-24 10:16:31 +08:00
Bo-Yi Wu
82548c4587
fix: testing 2017-05-24 10:16:31 +08:00
Bo-Yi Wu
35b1e1d386
feat: add gitea remote driver. 2017-05-24 10:16:31 +08:00