woodpecker/plugin/remote/gitlab
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
..
testdata Updated mocks 2014-09-05 22:14:18 +04:00
gitlab.go Move open registration setting into remote plugins 2015-01-16 22:04:24 +00:00
gitlab_test.go Move open registration setting into remote plugins 2015-01-16 22:04:24 +00:00
helper.go Add Gitlab certificate verification configuration 2014-12-09 10:16:59 -06:00
helper_test.go refactored plugin/remote and adapted @bugBugagazavr Gitlab code 2014-09-02 00:18:17 -07:00
register.go Move open registration setting into remote plugins 2015-01-16 22:04:24 +00:00