You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/api/v1
Lunny Xiao 23971a77a0
Add tests for webhook and fix some webhook bugs (#33396) (#33442)
This PR created a mock webhook server in the tests and added integration
tests for generic webhooks.
It also fixes bugs in package webhooks and pull request comment
webhooks.

This also corrected an error on the package webhook. The previous
implementation uses a `User` struct as an organization, now it has been
corrected but it will not be consistent with the previous
implementation, some fields which not belong to the organization have
been removed.

Backport #33396
Backport part of #33337
3 weeks ago
..
activitypub Remove SHA1 for support for ssh rsa signing (#31857) 6 months ago
admin Move admin routers from /admin to /-/admin (#32189) 5 months ago
misc Fix markup render regression and fix some tests (#32640) 3 months ago
notify Refactor names (#31405) 8 months ago
org Move GetFeeds to service layer (#32526) 3 months ago
packages remove util.OptionalBool and related functions (#29513) 12 months ago
repo Fix system admin cannot fork or get private fork with API (#33401) (#33417) 4 weeks ago
settings Move context from modules to services (#29440) 1 year ago
shared Refactor names (#31405) 8 months ago
swagger Fix sync fork for consistency (#33147) (#33192) 1 month ago
user Move GetFeeds to service layer (#32526) 3 months ago
utils Add tests for webhook and fix some webhook bugs (#33396) (#33442) 3 weeks ago
api.go Fix sync fork for consistency (#33147) (#33192) 1 month ago