Commit graph

89 commits

Author SHA1 Message Date
Brad Rydzewski 857062d895 fixed failing gitlab test 2016-04-12 13:22:23 -07:00
Brad Rydzewski 84db808eca fixed unit test reference deleted pkg 2016-04-12 13:15:03 -07:00
Brad Rydzewski 9b306a1bc8 load all things via middleware 2016-04-12 13:08:17 -07:00
Brad Rydzewski a9c84d26e1 Merge pull request #1560 from iamjarvo/auth-with-ghe
Match user url against default api url
2016-04-02 13:59:35 -07:00
Jearvon Dharrie c0cb91c37e Match user url against default api url
Some GHE urls can have the github url prefix.
I.E https://github.compaq.com, this caused the GHE code not to run.
User.url is the api url for that that user
GHE urls always have /api/version at the end. Probability of a GHE url
starting with api.github is low
2016-04-02 16:45:43 -04:00
Jeff Storey 79dc866f43 getting rid of string split and using the regex match 2016-03-30 07:59:06 -04:00
Jeff Storey 3e4b871991 adding check for github link 2016-03-29 20:05:28 -04:00
Jeff Storey 6ddc2abf47 #1550 deployment status hooks for github 2016-03-29 14:10:33 -04:00
Matthias Loibl 2de58d1f90 Use gofmt to fmt & simplify 2016-03-27 01:24:09 +01:00
Kirill Zaitsev d7b066b308 Use GetUserRepos instead GetAllRepos 2016-03-26 18:48:35 +03:00
Fabio Rapposelli e5131fd76e Add tuneable build file parameter BUILD_CONFIG_FILE 2016-03-25 00:08:27 +01:00
alex c2f3cf06ad Parameterize GitHub OAuth2 scopes.
If no scope provided, default will be used:
scope=repo,repo:status,user:email.
2016-03-10 19:30:14 +00:00
Brad Rydzewski 3dd0260b69 improve and simplify repository caching 2016-03-04 21:15:50 -08:00
Brad Rydzewski f19841c2d2 Merge pull request #1504 from Bugagazavr/fetch-data-from-hooks
Added support for new attributes for GitLab
2016-03-03 12:36:58 -08:00
Kirill Zaitsev f9c299ce57 Added support for new hook attributes in merge request hook 2016-02-28 20:11:50 +03:00
Kirill Zaitsev 37e29b930e More coverage for gitlab hooks 2016-02-22 23:43:54 +03:00
Kirill Zaitsev 39dc9f7c76 Added support for new attributes 2016-02-22 22:35:53 +03:00
Brad Rydzewski 35b9c0ff9a Merge pull request #1486 from Bugagazavr/gitlab-group-verify
GitLab allowed groups for login
2016-02-16 09:48:51 -08:00
Aurélien Thieriot 05207546c6 Add ability to hide Archived projects from Gitlab 2016-02-16 11:35:20 +00:00
Kirill Zaitsev b8b120afcc GitLab allowed groups for login 2016-02-14 03:38:31 +03:00
Kirill Zaitsev 1f9516a385 Dot names fix 2016-02-02 01:28:09 +03:00
Kirilll Zaycev fbf36458f1 Committer avatar 2016-02-01 02:49:52 +03:00
Kirilll Zaycev 193d524493 Ensure we add avatar when activate repo 2016-02-01 02:22:44 +03:00
Kirilll Zaycev c4a608b38c Added gitlab repository avatars 2016-02-01 01:55:59 +03:00
Michael Gibson 2de9f29c6b enabling skip_verify functionality in gogs client 2016-01-21 09:50:15 -07:00
Kirilll Zaycev 32e2371ba6 Add member struct to project 2016-01-14 02:05:46 +03:00
Brad Rydzewski bff5834677 Merge pull request #1374 from Bugagazavr/embedded-gitlab-client
Move gitlab client inside drone
2016-01-13 12:43:39 -08:00
Jonathan Duck 007a3462ca Allow Gogs server on a subdirectory 2016-01-13 04:31:16 -08:00
Brad Rydzewski c60b7eddee Merge pull request #1382 from frapposelli/gh-status-fix
Make GitHub status API context congruous
2016-01-12 11:22:24 -08:00
Georges Chaudy 39ee59a01b fix: gitlab owner permission 2016-01-12 15:40:13 +00:00
Georges Chaudy bd616344fd fix: gitlab owner has admin privileges 2016-01-08 17:42:47 +00:00
Kirilll Zaycev c69343ecc6 Remove println 2016-01-05 01:16:50 +03:00
Kirilll Zaycev 73dd59d1ca Remove unused data from structs 2016-01-05 01:07:36 +03:00
Brad Rydzewski 32cdf41ce7 Strip port from gogs netrc file 2015-12-24 10:09:18 -05:00
Fabio Rapposelli 9eb4161750
Make GitHub status API context congruous
Signed-off-by: Fabio Rapposelli <fabio@vmware.com>
2015-12-22 14:10:39 +01:00
alex 5ca67d304c Do not ignore refs/heads/gh-pages 2015-12-18 10:57:38 +00:00
Kirilll Zaycev b5e50ff766 Gitlab commit statuses 2015-12-13 13:50:37 +03:00
Kirilll Zaycev 044e2ea07a Added hook parser and opaque in request 2015-12-13 13:50:37 +03:00
Kirilll Zaycev d9f9d6f762 Move gitlab client inside drone 2015-12-13 13:50:37 +03:00
Greg Taylor 7365ae111e Temporary bandaid to fix Bitbucket case sensitivity. 2015-11-25 17:09:57 -08:00
Aiden Nibali f4e6357e96 Add support for Bitbucket build status 2015-11-21 16:48:25 +11:00
Greg Taylor d4fb58d2e6 Adding Bitbucket tag push hook support. 2015-11-19 12:38:20 -08:00
Greg Taylor 68a71b7baa Spelling nit in remote/bitbucket.go. 2015-11-18 14:29:50 -08:00
Adam Stepinski cda3e443c6 sanitize description 2015-11-11 13:43:20 -08:00
Adam Stepinski c7c2c13f2c include test 2015-11-11 13:42:31 -08:00
Adam Stepinski 1c9cfcd376 pull build author from pull request user 2015-11-11 13:41:45 -08:00
Thomas Frössman d8e74ebc63 Add tag event support in Gitlab remote 2015-11-02 04:31:42 +01:00
Brad Rydzewski 7c2764f8eb SkipVerify oauth code as needed 2015-10-30 14:47:46 -07:00
Brad Rydzewski bc5ec51a6e don't return error if drone.sec not found 2015-10-29 16:15:06 -07:00
Brad Rydzewski 525fd50f43 attempt fix gitlab drone.sec issue 2015-10-29 16:10:26 -07:00