Commit graph

14 commits

Author SHA1 Message Date
Brad Rydzewski
b44bdd7ac7 Merge pull request #826 from mattbostock/per_plugin_registration
Per-remote open registration
2015-01-16 22:04:51 -08: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
Cédric Krier
cb6ade6919 Missing URL for bitbucket Repo 2015-01-11 02:13:12 +01:00
Brad Rydzewski
4f30e1388c only generate repo token or key if not exists 2014-10-22 01:02:14 -07:00
Grzegorz Graczyk
79e0c7a84f move regexp to package level variable, add check for email array 2014-10-22 09:37:04 +02:00
Grzegorz Graczyk
25b887c059 get commit author email address from raw_author instead of author field for bitbucket 2014-10-22 08:52:45 +02:00
Brad Rydzewski
5f950d21c4 hooked up jwt token in angular 2014-09-30 00:43:50 -07:00
Brad Rydzewski
ca3d15bca2 refactored how remotes work and how (some) config is loaded 2014-09-03 00:23:36 -07: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
9424b55046 bitbucket now checking for email on login 2014-07-09 22:23:49 -07:00
Brad Rydzewski
8eaf9957a6 Moved httputil and sshutil Packages 2014-06-12 15:28:05 -07:00
Brad Rydzewski
170135cb1d Move Plugins to a /plugin Directory 2014-06-12 14:46:55 -07:00