Commit graph

112 commits

Author SHA1 Message Date
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
Brad Rydzewski
970cf0ecae adding some debugging code for #1280 2015-10-29 13:47:46 -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
4a0deff5a5 implements Stringer for store and remotes 2015-10-27 16:48:05 -07:00
Brad Rydzewski
fc02d38b4a updates the github deployment hook parser to work with older payloads 2015-10-27 14:53:55 -07:00
Brad Rydzewski
37a8a6d4e9 add github deployment environment to build.Deploy 2015-10-27 13:09:13 -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
e71905273d parses github hooks 2015-10-26 17:31:26 -07:00
Brad Rydzewski
001c06bb2c parses github deployment hooks for #1144 into build objects 2015-10-26 17:29:29 -07:00
Brad Rydzewski
0427306f31 request github deploymet hooks, but keep disabled by default in UI 2015-10-26 16:04:18 -07:00
Brad Rydzewski
13aa6fda3d properly label tag events for GitHub 2015-10-26 13:10:46 -07:00
Brad Rydzewski
3dd218b211 fixed broken repo delete 2015-10-23 16:37:25 -07:00
Brad Rydzewski
d376730226 adding full support for Gogs including private repositories 2015-10-22 16:36:43 -07:00
Brad Rydzewski
2dd4d6613c ability to get remote from context 2015-10-19 17:57:21 -07:00
Brad Rydzewski
ffd42a1a0e use helper function to create test db connection for planned pg support 2015-10-19 11:45:53 -07:00
Brad Rydzewski
23a044d076 fix postgres table creation 2015-10-19 10:41:57 -07:00
Brad Rydzewski
7190facb41 updated to auto generate build documentation and embed in binary 2015-10-06 19:41:20 -07:00
Brad Rydzewski
aa8e0347d0 github author fallback for old GitHub enterprise 2015-10-06 18:31:01 -07:00
Brad Rydzewski
df0b442d5d just some initial work to enable bitbucket pull requests 2015-10-05 23:17:59 -07:00
Brad Rydzewski
ac6133c922 bitbucket code is mostly working 2015-10-04 18:34:06 -07:00
Brad Rydzewski
528fbb0f2c some finishing touches on the bitbucket implementation for 0.4 2015-10-04 17:40:27 -07:00
Brad Rydzewski
1c87bd9c3b pull .drone.yml and .drone.sec from bitbucket 2015-10-03 22:23:37 -07:00
Brad Rydzewski
75cca2807d some initial work on #1147 to enable Bitbucket with oauth2 2015-10-03 21:50:11 -07:00
Brad Rydzewski
4435d7f2f6 added ssh param to force git+ssh cloning 2015-10-02 16:02:37 -07:00
Brad Rydzewski
5d586582c8 fix failing gitlab and cc tests 2015-09-30 14:18:09 -07:00
Brad Rydzewski
dfea14c7e5 updated vendor files and paths 2015-09-29 18:21:17 -07:00
Brad Rydzewski
155576fb03 moved to single binary project structure 2015-09-29 17:53:21 -07:00
Brad Rydzewski
40a9543c0c moving remote pkg per new multi-binary structure 2015-05-17 11:45:09 -07:00
Brad Rydzewski
1ef6dc0bc6 persist self url in repo field 2015-05-12 23:58:30 -07:00
Brad Rydzewski
85256d3a22 backported 0.4 changes to existing database 2015-05-11 00:45:31 -07:00
Daniel Oliveira
ba159976a0 Fixing TODO comments in code /cc @oliveiradan
1. server/login.go:49 (// TODO(bradrydzewski) return an error message instead). Added error message if authorization fails.
2. server/repos.go:178 (TODO(bradrydzewski) verify repo not exists). Added a checking for the repo and return an error in case it does not exist.
3. server/queue.go:170:  // TODO (bradrydzewski) change this interface to accept an io.Reader. All references to the API change been in question SetLogs() have been modified.
4. remote/github/github.go:106  // Fixed a crash in case *repo_.Language is nil , when de-referencing it. This could happen when a repo only has a readme, so github hasn't set the language yet.
5. ./server/queue.go:170:  // TODO (bradrydzewski) change this interface to accept an io.Reader. All references to the API change been in question SetLogs() have been modified.
6. .remote/github/github.go:106  // Fixed a crash in case *repo_.Language is nil , when de-referencing it. This could happen when a repo only has a readme, so github hasn't set the language yet.
2015-05-08 10:47:40 -06:00
Brad Rydzewski
204fba9018 some initial work on a builtin build runner 2015-05-05 01:04:20 -07:00
Brad Rydzewski
6fcae7d80a hooks are protected with signed sha 2015-04-30 14:23:46 -07:00
Brad Rydzewski
b84943222b get netrc data when hook is triggering 2015-04-28 15:08:21 -07:00
Brad Rydzewski
67a4e302c7 ability to get netrc from remote 2015-04-28 14:39:48 -07:00
Brad Rydzewski
79b83025a8 added cluster in place of pool, some other minor changes 2015-04-21 15:48:06 -07:00
Brad Rydzewski
c324d66872 ability to pull list of orgs and verify membership 2015-04-15 00:20:00 -07:00
Brad Rydzewski
09bd7cf71a added github remote 2015-04-08 15:00:27 -07:00