Commit graph

6 commits

Author SHA1 Message Date
Ulrich Schreiner
0ed7ae7e3f impelement a delete of a repository 2015-02-04 14:42:24 +01:00
Kirill Zaitsev
d225181a0f Refresh tokens before any requests to remote 2015-01-27 02:33:27 +03: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
Brad Rydzewski
38379992bf refactored plugin/remote and adapted @bugBugagazavr Gitlab code 2014-09-02 00:18:17 -07:00
Brad Rydzewski
aa9a8f4878 integrated plugin model for remotes 2014-07-12 19:01:58 -07:00
Brad Rydzewski
170135cb1d Move Plugins to a /plugin Directory 2014-06-12 14:46:55 -07:00
Renamed from shared/remote/remote.go (Browse further)