Commit graph

214 commits

Author SHA1 Message Date
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
f2b63b634f
update hook event
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-24 10:16:32 +08: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
7f072e331a
fix gitea file testing.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-24 10:16:32 +08:00
Bo-Yi Wu
f186d4c898
Gitea return a sha with the pull request
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-24 10:16:32 +08:00
Bo-Yi Wu
8e58099c51
fix typo
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-24 10:16:32 +08:00
Bo-Yi Wu
1417948d3d
fix import
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-24 10:16:32 +08:00
Bo-Yi Wu
fefbf9f06b
fix typo
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-05-24 10:16:32 +08:00
Bo-Yi Wu
c018f1a475
fix: comment 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
4f256bfd5c
refactor: update vendor. 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
Brad Rydzewski
736e1bc9b5 fixed gogs pr unit test 2017-03-18 23:28:37 +08:00
Brad Rydzewski
0795dce4ed added logging 2017-03-18 23:20:09 +08:00
Brad Rydzewski
bd25f57fa7 fix mock package name 2017-03-18 19:50:20 +08:00
Brad Rydzewski
45af1697b8 no need to trim file ref 2017-03-18 19:48:54 +08:00
Brad Rydzewski
130c623a35 compare yaml files 2017-03-18 19:25:53 +08:00
Brad Rydzewski
e319aaff15 add reviewer fields, endpoints 2017-03-18 16:49:27 +08:00
Vaidas Jablonskis
d8281c2cdf Github: fix webhook struct tags 2017-03-01 16:47:46 +00:00
Joachim Hill-Grannec
df5d049239 Updates for consistency 2017-02-23 13:52:57 -08:00
Joachim Hill-Grannec
3141ccdaae gofmt 2017-02-23 13:21:47 -08:00
Joachim Hill-Grannec
82189c27fe Fix to check if the repo is enabled and don’t make a call to the settings it isn’t. The API works differently the first time vs if it’s ever been enabled. 2017-02-23 13:12:31 -08:00
Brad Rydzewski
89607232bc Merge pull request #1928 from josmo/fix-hooks
Last known issue with the stash/bitbucket server remote. Will now not…
2017-02-12 01:31:25 +11:00
Brad Rydzewski
505e36788e Merge pull request #1924 from josmo/stash-rsa-string
Stash rsa string
2017-02-11 16:22:58 +11:00
Bugagazavr
57b3752bd8 Use refs/merge-requests
https://github.com/drone/drone/issues/1931
2017-02-08 08:43:55 +02:00
Joachim Hill-Grannec
4b9a76570d Change to private (lowercase) 2017-02-04 20:42:17 -08:00
Joachim Hill-Grannec
f9a8fd4a0a Last known issue with the stash/bitbucket server remote. Will now not disable and override other hooks. It’ll add to the list of hooks and remove from the list of hooks on the project up to the max of 20 hooks 2017-02-04 15:27:01 -08:00
Joachim Hill-Grannec
a9e83aa5ce gofmt modified files 2017-02-01 13:49:26 -08:00
Joachim Hill-Grannec
c413565521 adding the ability to set the RSA key as a string value on drone startup instead of a file that has to be mounted. 2017-02-01 13:41:45 -08:00
Brad Rydzewski
84f1bb4528 Merge pull request #1887 from AlekSi/master
Expose OAuth2 errors, avoid redirect loop.
2017-01-20 19:15:46 +07:00
Brad Rydzewski
a913750b67 Merge pull request #1908 from patrickjahns/feature/bitbucket_email_author_fixed
Feature/bitbucket email author fixed
2017-01-20 17:51:42 +07:00
Patrick Jahns
63a0659aa4 change regex to global regex 2017-01-20 11:36:48 +01:00
Patrick Jahns
e919be5210 extract email for bitbucket push requests from raw git commit 2017-01-20 10:48:13 +01:00
Michael de Wit
64663aba7f Enable all webhook events by default for Gogs remote 2017-01-03 20:31:45 +01:00
Michael de Wit
141eb4ea57 Add pull_request webhook support to Gogs remote 2017-01-03 09:38:05 +01:00
Michael de Wit
c2703ff89c Optimize performance 2016-12-22 14:24:05 +01:00
Michael de Wit
5c2938d970 Format code 2016-12-22 11:54:53 +01:00
Michael de Wit
3884e589a9 Remove /refs/tags or /refs/heads from Gogs remote File() when using build.Ref 2016-12-22 09:55:22 +01:00
Alexey Palazhchenko
b230afe7f5 Add AuthError type, use it. 2016-12-19 19:22:11 +03:00
Alexey Palazhchenko
e259c64bac Expose OAuth2 errors, avoid redirect loop.
Closes #1775.
2016-12-19 08:42:56 +03:00
Brad Rydzewski
24c97c4f1d increased to 5sec 2016-12-14 00:49:22 -05:00
Brad Rydzewski
46a1842665 added backoff to fetch yaml file 2016-12-14 00:45:54 -05:00
Brad Rydzewski
a8b59c331a Merge pull request #1874 from bradrydzewski/master
Improve Gogs tag implementation
2016-11-25 17:13:03 +01:00
Brad Rydzewski
538f82c898 improve Gogs tag implementation 2016-11-25 13:06:07 +01:00
Brad Rydzewski
b1c3ff76f7 Merge pull request #1873 from bradrydzewski/master
enables gogs private mode [ci skip]
2016-11-25 12:32:46 +01:00