Commit graph

64 commits

Author SHA1 Message Date
Nurahmadie
27c770e097 Fix RepoHandler 2014-04-29 19:48:45 +07:00
Simon Menke
0c6c0dfbbc Split Github and Bitbucket hook handlers
See #2 #232
2014-04-17 09:55:23 +02:00
Alex Suraci
055ed199a1 use query parameter for commit branch 2014-04-06 15:03:51 -07:00
Alex Suraci
10c3c8108e Revert "Revert "query and show commits by branch""
This reverts commit 7d52a4c4df.
2014-04-06 13:54:09 -07:00
Marcus Ramberg
68c7342cbf Expose error message when payload cannot be parsed 2014-04-06 14:34:11 +02:00
Brad Rydzewski
0c9a765956 Merge pull request #237 from fudanchii/gitlab
Gitlab integration support
2014-04-04 18:05:24 -07:00
Nurahmadie
fe75126fe1 Fix tests 2014-04-03 20:20:16 +00:00
Nurahmadie
f17101be0d Set commit.PullRequest for PullRequestHook 2014-04-03 17:39:37 +00:00
Matt Martz
19ba3e2277 Provide checkbox to override private setting on repo 2014-04-02 19:36:35 -05:00
Nurahmadie
1fca69dade Refactor PullRequestHook signature.
May parse hook payload only once.
2014-04-03 00:01:52 +00:00
Nurahmadie
6f10a57f4a Stub for merge request hook handling.
GitLab merge request hook payload doesn't provide
any information regarding source commits.

And since Drone currently doesn't support manual fetch from another
remote upstream, merge request hook only supported for maerge request
fro within the same repository.
2014-04-02 02:50:11 +00:00
Nurahmadie
07071119ca Use TrimSpace 2014-03-31 16:10:06 +00:00
Nurahmadie
0d44a20c63 Fix gitlab account re-link 2014-03-31 06:53:47 +00:00
Nurahmadie
c295776b87 Set gitlab_token column, and use ioutil for r.Body 2014-03-30 21:32:20 +00:00
Nurahmadie
e2a45df3b8 Add initial hook handler 2014-03-30 16:26:53 +00:00
Nurahmadie
15770e6237 Add gitlab options add admin page. 2014-03-29 11:51:02 +00:00
Nurahmadie
ea4917e278 Fix Bitbucket merging conflict 2014-03-29 06:49:44 +00:00
Nurahmadie
43c0a54718 Initial Gitlab Support 2014-03-29 06:37:50 +00:00
Ali Sabil
8f4f747c86 Add Bitbucket integration 2014-03-28 19:40:26 +01:00
Alex Suraci
e0c9617dc7 add admin checkbox for setting a repo privileged 2014-03-19 10:53:52 -07:00
Brad Rydzewski
854d3443d7 Merge branch 'example-fixture' 2014-03-17 12:06:48 -07:00
Brad Rydzewski
7d52a4c4df Revert "query and show commits by branch"
This reverts commit 2d837cc3db.
2014-03-16 23:08:53 -07:00
Brad Rydzewski
5c848d647a Merge pull request #179 from arturhoo/feature/svg-badges
Use SVG badges instead of PNG
2014-03-16 22:33:53 -07:00
Alex Suraci
2d837cc3db query and show commits by branch
This allows the same SHA to have different builds on different branches, each
separately viewable. This is useful for expressing a "pipeline" in terms of
branches, e.g. a commit starts on branch A and progress through B and C to
master, with the build script switching on branch name.

Previously viewing each build would arbitrarily choose which branch's commit
to show.
2014-03-14 12:13:34 -07:00
Brad Rydzewski
6f8bbf1d04 adding mocks for Builder.setup() 2014-03-14 11:52:24 -07:00
Brad Rydzewski
d70a6bb5f7 adding github testing 2014-03-11 23:00:06 -07:00
Artur Rodrigues
88cc8d6bdf Use SVG badges instead of PNG 2014-03-11 15:55:23 -03:00
Benjamin Manns
baf468973f Format go code. 2014-03-06 10:45:21 -08:00
Nurahmadie
cd5126d8c9 Set author for pull request 2014-03-02 19:09:14 +07:00
Brad Rydzewski
f33ebcc21c ability to use custom badges. standard badges now using shields.io 2014-03-01 20:25:10 -07:00
Brad Rydzewski
fa9d3c8277 Merge remote-tracking branch 'origin/master' 2014-02-26 00:01:51 -07:00
Alex Suraci
9e1c4e60e5 remove docker/queue singletons; inject in main 2014-02-25 17:10:04 -08:00
Brad Rydzewski
987e53eb39 ability to view public repos without authentication 2014-02-25 17:13:59 -07:00
Brad Rydzewski
73c03dc2e0 publicly display private projects 2014-02-25 16:50:49 -07:00
Brad Rydzewski
70732c341a Merge pull request #124 from vito/fix-tests
fix handler/testing test imports
2014-02-24 21:22:59 -08:00
Alex Suraci
0e98f294a3 fix handler/testing test imports
Signed-off-by: Abhijit Hiremagalur <abhi@pivotallabs.com>
2014-02-24 14:55:05 -08:00
Andrew Karpow
8f139daec2 add github ping hook handler 2014-02-24 13:56:42 +01:00
Nurahmadie
20bf390dc2 Enable deployment via ssh 2014-02-23 20:19:00 +07:00
Brad Rydzewski
6410bdbe9d added validation for settings 2014-02-21 15:25:05 -07:00
Brad Rydzewski
3c25a4a00a fixed issue updating team member roles 2014-02-21 13:26:50 -07:00
Brad Rydzewski
85e60e4ee2 Merge pull request #75 from floatdrop/github-enterprise-support
GitHub Enterprise Support
2014-02-17 21:38:28 -08:00
Brad Rydzewski
7ce1e55ac3 Merge pull request #83 from fudanchii/migration
Migration system for sqlite
2014-02-17 20:46:13 -08:00
Vsevolod Strukchinsky
833563763c Added settings to github_add page (fix redirect) 2014-02-16 11:45:15 +06:00
Vsevolod Strukchinsky
44d5f3baca Update all github clients in code 2014-02-16 11:45:15 +06:00
Vsevolod Strukchinsky
425cbbc324 Use custom github domain for webhook 2014-02-16 11:45:14 +06:00
Vsevolod Strukchinsky
6c9ff00f99 Put values from settings into handler/auth.go 2014-02-16 11:45:14 +06:00
Vsevolod Strukchinsky
7208d95a76 Added GitHubApiUrl and GitHubDomain to settings and template 2014-02-16 11:45:14 +06:00
Brad Rydzewski
4b412d3a26 added code to prevent panic if /login is reached but no settings exist
minor styling. added success and fail message to top of /signup screen
modified open_registration to boolean value in database
2014-02-15 18:56:48 -07:00
Nurahmadie
4ef0f1b437 Integrate migrations with drone.
Also add migration to tests.
2014-02-16 03:47:30 +07:00
Vsevolod Strukchinsky
460ec90049 Fixup behavior on uninstalled state 2014-02-15 18:17:29 +06:00