go-gitea/gitea

Webhook delivery test unavailable for organisations

Opened this issue · 6 comments

hauau commented
  • Gitea version (or commit ref):
    1.1.2
  • Can you reproduce the bug at https://try.gitea.io:
    • No (It's currently down)

Description

"Test delivery" button is missing in the organisation's webhook settings. Not sure if a bug or a feature is missing.

lunny commented

It's a missing feature I think.

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.

ptman commented

this would be good

Stumbled across this one, because the "Test Delivery" button is mentioned in documentation although it is not available to organisations:

https://docs.gitea.io/en-us/webhooks/

Ok the test delivery button is on:

<button class="ui teal tiny button poping up" id="test-delivery" data-content=

It requires:

{{if .PageIsSettingsHooksEdit}}

I'm not immediately certain I can see a route for this to be ever set on an organisation setting page. Certainly https://github.com/go-gitea/gitea/blob/master/routers/org/setting.go does not appear to set it.

I don't think this is so easy as test delivery currently works only to trigger push event