Make /api/push-github public for private Hydra instances. This makes it possible to use webhooks to trigger evaluations for private Hydra instances.
[?]
Jun 14, 2018, 3:22 PM
3RMTP4QNRY52U6IUMGHPA7PYDYFASPMWA3BYUH7ZT43KXMXKFRMQCDependencies
- [2]
2P35LNRYAdd XSRF protection for POST requests - [3]
HPGWVEFKAdd 'readonly_ips' option, to allow readonly access for certain IPs when 'private' option is enabled. - [4]
V7UDCU3WFix a couple of encoding issues - [5]
E6S4CVUTHandle Referer not having a trailing slash - [6]
LZVO64YGMerge in the first bits of the API work - [*]
J5UVLXOK* Start of a basic Catalyst web interface.
Change contents
- edit in src/lib/Hydra/Controller/Root.pm at line 29
$c->request->path eq "api/push-github" || - replacement in src/lib/Hydra/Controller/Root.pm at line 73
if ($c->req->method eq "POST") {if ($c->req->method eq "POST" && $c->req->path ne "api/push-github") {