Merge lp:~cjwatson/launchpad/add-webhook-secret into lp:launchpad
Proposed by
Colin Watson
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 17832 | ||||
Proposed branch: | lp:~cjwatson/launchpad/add-webhook-secret | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
77 lines (+24/-4) 2 files modified
lib/lp/services/webhooks/browser.py (+6/-3) lib/lp/services/webhooks/tests/test_browser.py (+18/-1) |
||||
To merge this branch: | bzr merge lp:~cjwatson/launchpad/add-webhook-secret | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+275695@code.launchpad.net |
Commit message
Allow setting a secret when creating a new webhook.
Description of the change
Allow setting a secret when creating a new webhook.
For now, this field is disabled when editing an existing webhook. It will need some custom handling to, at minimum, not reveal the existing secret, and probably also do some clever JavaScript thing to obscure the entered secret except when you're editing the value. Secrets for existing webhooks can still be edited using the API though.
To post a comment you must log in.