Commit graph

1369 commits

Author SHA1 Message Date
Brad Rydzewski
452beba83d Update user.go
fix migration database issue using zeroisnull
2015-02-05 11:18:06 -08:00
Ulrich Schreiner
ae236a3d4d reworked to have two distinct REST handlers 2015-02-05 15:27:26 +01:00
Ulrich Schreiner
05b6dad81e Merge branch 'master' into delrepo 2015-02-05 14:47:35 +01:00
Ulrich Schreiner
bd8fb51c2a rework to delete the repository from the datastore if there are previous errors from the remote 2015-02-05 13:13:17 +01:00
Brad Rydzewski
64aeeff3ae Merge pull request #856 from Bugagazavr/gitlab-ouath
Refresh only expired tokens
2015-02-04 22:11:14 -08:00
Ulrich Schreiner
347aa24785 remove Printf output and do a real removal of the repository in the datastore 2015-02-04 15:13:23 +01:00
Ulrich Schreiner
0ed7ae7e3f impelement a delete of a repository 2015-02-04 14:42:24 +01:00
Kirill Zaitsev
6ca94970d6 Refresh only expired tokens 2015-02-04 13:18:46 +03:00
Brad Rydzewski
22fa37c3f1 Merge pull request #864 from Bugagazavr/json_response
Response as JSON instead plain text
2015-02-01 23:41:02 -08:00
Kirill Zaitsev
a354aabbb0 Response as JSON instead plain text 2015-02-01 14:12:32 +03:00
Brad Rydzewski
24cbc363a0 Merge pull request #863 from Bugagazavr/cctray
Added last build time
2015-01-31 20:46:33 -08:00
Kirill Zaitsev
ec825996c9 Added last build time 2015-02-01 04:26:10 +03:00
Alvaro
4b59896f4c Fix the tests.
Not very elegant, but now the strings have an extra space to allow putting the options there.
2015-01-30 10:07:55 +02:00
Alvaro
a6caa67c6f Be able to force docker to update the tags 2015-01-30 09:10:19 +02:00
Brad Rydzewski
2f76696226 Merge pull request #857 from andy-g/list_view
Adding a list-view layout
2015-01-29 21:40:18 -08:00
Brad Rydzewski
9cc3f56ac7 Merge pull request #858 from epipho/inc-build-num-2
All builds now have a monotonically increasing build number (v2)
2015-01-28 21:48:50 -08:00
epipho
717bef75dd Adding test for get build number. Moved build number env build injection 2015-01-28 23:39:09 -05:00
epipho
5f8b026d14 All builds now have a per-repository monotonically increasing build number accessible via DRONE_BUILD_NUMBER
and CI_BUILD_NUMBER env variables.
2015-01-28 21:13:22 -05:00
Andy Gardner
5ea14a73af Adding a list-view layout 2015-01-28 14:15:20 +02:00
Brad Rydzewski
350d056d34 Merge pull request #832 from andy-g/live_commit_update
Make live updates to the commits (repo controller) without needing to reload
2015-01-26 22:40:46 -08:00
Brad Rydzewski
e6bcae2e1d Merge pull request #853 from Bugagazavr/gitlab-ouath
Refresh tokens before any requests to remote
2015-01-26 18:40:15 -08:00
Kirill Zaitsev
d225181a0f Refresh tokens before any requests to remote 2015-01-27 02:33:27 +03:00
Brad Rydzewski
9aa6c92e90 Merge pull request #847 from udzura/master
Getting github orgs more than 30
2015-01-26 15:07:33 -08:00
Uchio KONDO
6699770e76 Fix loop to be consistent with the others 2015-01-26 16:20:53 +09:00
Uchio KONDO
e4efc039c9 Merge remote-tracking branch 'origin/master' 2015-01-26 15:51:09 +09:00
Brad Rydzewski
7c13fdac79 Merge pull request #846 from Bugagazavr/gitlab-ouath
Gitlab oauth login
2015-01-25 22:42:14 -08:00
Brad Rydzewski
35acc48dd1 Merge pull request #848 from bradrydzewski/master
vendored flowdock dependency
2015-01-25 22:39:23 -08:00
Brad Rydzewski
6add452168 vendored flowdock dependency 2015-01-25 22:35:14 -08:00
Uchio KONDO
bcb8b17c32 Get github orgs over 30 2015-01-26 14:56:30 +09:00
Kirill Zaitsev
f47ab27702 Gitlab oauth login 2015-01-23 22:28:24 +03:00
Andy Gardner
8f93561f04 Merge branch 'master' into live_commit_update 2015-01-23 12:31:12 +02:00
Brad Rydzewski
44c5ca2b55 Merge pull request #845 from shawnzhu/npm
publish npm package if not exist on registry #799
2015-01-22 18:13:09 -08:00
Ke Zhu
25f1e24ce0 publish npm package if not exist on registry #799 2015-01-22 20:42:32 -05:00
Brad Rydzewski
46955db3bd Merge pull request #844 from andy-g/exclude_pr_from_branches
Exclude Pull Requests from the branches.
2015-01-22 09:00:08 -08:00
Andy Gardner
77e059ae98 Exclude Pull Requests from the branches.
Currently they are included because the AngularJS "filter" filter defaults to a substring match rather than a strict equality comparison, so filtering by '' includes everything.

https://docs.angularjs.org/api/ng/filter/filter
2015-01-22 11:33:10 +02:00
Andy Gardner
3e1b3c5871 Only live update for existing builds
The build message will only be displayed for new builds as the new item will not be auto updated, if the build has been auto-updated no build message will be displayed.
2015-01-22 10:53:10 +02:00
Brad Rydzewski
8408cfd055 Merge pull request #834 from shawnzhu/npm
npm publish only when version not exist
2015-01-21 20:09:42 -08:00
Brad Rydzewski
1ec5ac963d Merge pull request #843 from bradrydzewski/master
added apt-get update to yaml prior to installing packages
2015-01-21 07:52:52 -08:00
Brad Rydzewski
5c9b5f65b9 added apt-get update to yaml prior to installing packages 2015-01-21 07:40:27 -08:00
Ke Zhu
d860133d28 npm publish only when version not exist 2015-01-20 10:32:49 -05:00
Andy Gardner
217cf0bc23 Make live updates to the commits without needing to reload 2015-01-20 15:13:53 +02:00
Brad Rydzewski
c8ac57c2ba Merge pull request #827 from bradrydzewski/master
partial fix for issue #812
2015-01-16 22:17:23 -08:00
Brad Rydzewski
b8b01c2db4 partial fix for issue #812 2015-01-16 22:11:36 -08:00
Brad Rydzewski
b44bdd7ac7 Merge pull request #826 from mattbostock/per_plugin_registration
Per-remote open registration
2015-01-16 22:04:51 -08:00
Brad Rydzewski
3e8fdf0ea7 Merge pull request #788 from gregory90/docker-publish-pull
Always pull newest base image when using docker publish plugin
2015-01-16 21:40:41 -08:00
Brad Rydzewski
11e7ea7e15 Merge pull request #824 from orjanbruland/master
Use Slug instead of Name for Bitbucket repos.
2015-01-16 21:22:39 -08:00
Matt Bostock
c48c6ebc88 Remove capability package
It's no longer used. This commit can always be reverted later if it's
needed again.
2015-01-16 22:05:23 +00:00
Matt Bostock
307aed12bc Move open registration setting into remote plugins
...so that it's possible to enable or disable open registration on a
per-remote basis.

For example, the `DRONE_REGISTRATION_OPEN` environment variable now
becomes `DRONE_GITHUB_OPEN` when using GitHub as a remote.

The default for open registration in this commit is `false` (disabled),
which matches the existing behaviour.

This is useful if you need to support both public and private remotes,
e.g. GitHub.com and GitHub Enterprise, where you trust all of the
private users and want to allow open registration for those but would
not want all GitHub.com users to run builds on your server.

Tested with GitHub and GitLab.
2015-01-16 22:04:24 +00:00
Ørjan Bruland
570a23f952 Use Slug instead of Name for Bitbucket repos. 2015-01-16 17:36:56 +01:00
Brad Rydzewski
f79762177c Merge pull request #820 from dcarley/github_whitelist_orgs
Support org whitelists for GitHub+GHE remotes
2015-01-15 21:50:01 -08:00