woodpecker/server/handler
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
..
badge.go CC should return not fount 404 2014-11-01 11:58:56 -07:00
commit.go more work on worker integration 2014-09-28 20:21:02 -07:00
context.go added new handlers and workers 2014-09-28 18:36:24 -07:00
hook.go slightly altered the URL token format 2014-10-22 00:41:25 -07:00
login.go Move open registration setting into remote plugins 2015-01-16 22:04:24 +00:00
output.go added new handlers and workers 2014-09-28 18:36:24 -07:00
repo.go added logging to page when adding / removing repos 2014-10-31 20:00:58 -07:00
user.go Wall feed 2014-11-11 10:02:18 -06:00
users.go removed User checks from handler because middlware has our back 2014-10-09 20:26:32 -07:00
worker.go ability to add and remove workers 2014-10-08 21:55:53 -07:00
ws.go adding logging to WS layer until it is more stable 2014-10-16 21:45:21 -07:00