Add an option to specify a webhook URL for updates in the downloads section
and tweak the help texts for the original source web hook a bit. Also remove the superfluous inline help code from the SourceConf form that was actually not used. This feature was sponsored by Scilab.
This commit is contained in:
@@ -494,12 +494,12 @@ GROUP BY uid";
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the post commit hook key.
|
||||
* Get the web hook key.
|
||||
*
|
||||
* The goal is to get something predictable but from which one
|
||||
* cannot reverse find the secret key.
|
||||
*/
|
||||
public function getPostCommitHookKey()
|
||||
public function getWebHookKey()
|
||||
{
|
||||
return md5($this->id.sha1(Pluf::f('secret_key')).$this->shortname);
|
||||
}
|
||||
|
Reference in New Issue
Block a user