Commit graph

47 commits

Author SHA1 Message Date
Laszlo Fogas
ca5817ffc2 Renamed package 2019-04-04 20:51:20 +02:00
Vincent Lequertier
23f215df0e Remove labels deserialization for gogs and gitea PRs
This fixes #2154
2018-04-10 11:24:05 +02:00
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
Yuki Yoshida
100f44c615 Fix typos 2018-02-16 17:21:01 +09: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
Pavlo Kerestey
96734122b9 Fix typo of gogs pull request synchronized action 2017-10-12 12:32:17 +02: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
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
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
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
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
Brad Rydzewski
658f999fcf enable gogs private mode 2016-11-25 11:46:50 +01:00
Jacob McCann
820e0ab158 Check remote for org secrets access
Fully implemented for github remote
2016-11-18 22:12:28 -06:00
Brad Rydzewski
668ecb446d Merge pull request #1498 from bsauvajon/master
Manage tag hooks from gogs
2016-10-25 00:24:09 +02:00
brice
744cf55bf5 change eventType for tag events from gogs 2016-09-07 08:46:42 +02:00
Sandro Santilli
320b8b68f0 Fix ticks 2016-09-01 21:49:44 +02:00
Sandro Santilli
bacb78a9e2 Add more hooks to existing fixture file 2016-09-01 17:59:07 +02:00
Sandro Santilli
a2829a2e96 Add sample gogs web hooks (unused yet) 2016-08-31 22:57:52 +02:00
bsauvajon
c8d1fe0468 Manage TAG and BRANCH events sent from gogs 2016-08-14 12:26:35 +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
082570fb5b refactoring input and configuration 2016-04-29 12:39:56 -07:00
Brad Rydzewski
9b306a1bc8 load all things via middleware 2016-04-12 13:08:17 -07:00
Fabio Rapposelli
e5131fd76e Add tuneable build file parameter BUILD_CONFIG_FILE 2016-03-25 00:08:27 +01:00
Michael Gibson
2de9f29c6b enabling skip_verify functionality in gogs client 2016-01-21 09:50:15 -07:00
Jonathan Duck
007a3462ca Allow Gogs server on a subdirectory 2016-01-13 04:31:16 -08:00
Brad Rydzewski
32cdf41ce7 Strip port from gogs netrc file 2015-12-24 10:09:18 -05: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
4a0deff5a5 implements Stringer for store and remotes 2015-10-27 16:48:05 -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
937e61b8a1 expand user avatar url as well. #1263 2015-10-27 10:58:58 -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