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/modules/structs
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
2 months ago
..
activity.go Document possible action types for the user activity feed API (#31196) 10 months ago
activitypub.go
admin_user.go chore(api): support ignore password if login source type is LDAP for creating user API (#28491) 1 year ago
attachment.go
commit_status.go
commit_status_test.go
cron.go
doc.go
fork.go
git_blob.go
git_hook.go
hook.go Add tests for webhook and fix some webhook bugs (#33396) (#33442) 2 months ago
issue.go Support issue template assignees (#31083) 7 months ago
issue_comment.go
issue_label.go Support using label names when changing issue labels (#30943) 10 months ago
issue_milestone.go
issue_reaction.go
issue_stopwatch.go
issue_test.go Support issue template assignees (#31083) 7 months ago
issue_tracked_time.go
lfs_lock.go
mirror.go
miscellaneous.go Refactor render system (#32492) 4 months ago
nodeinfo.go
notifications.go
org.go
org_member.go
org_team.go Increase max length of org team names from 30 to 255 characters (#31410) 9 months ago
package.go
pull.go Add reviewers selection to new pull request (#32403) 4 months ago
pull_review.go
release.go
repo.go Implement update branch API (#32433) 3 months ago
repo_actions.go Add API endpoints for getting action jobs status (#26673) 11 months ago
repo_branch.go Fix sync fork for consistency (#33147) (#33192) 2 months ago
repo_collaborator.go Add permission description for API to add repo collaborator (#31744) 8 months ago
repo_commit.go
repo_compare.go feat(api): implement branch/commit comparison API (#30349) 11 months ago
repo_file.go
repo_key.go
repo_note.go
repo_refs.go
repo_tag.go Add tag protection via rest api #17862 (#31295) 9 months ago
repo_topic.go
repo_tree.go
repo_watch.go
repo_wiki.go
secret.go
settings.go
status.go
task.go
user.go Make gitea webhooks openproject compatible (#28435) 10 months ago
user_app.go add skip secondary authorization option for public oauth2 clients (#31454) 8 months ago
user_email.go
user_gpgkey.go
user_key.go
variable.go Add API for `Variables` (#29520) 12 months ago
visible_type.go