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 Restore warning commit status (#27504) 2 years ago
commit_status_test.go refactor improve NoBetterThan (#26126) 2 years ago
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) 8 months ago
issue_comment.go
issue_label.go Support using label names when changing issue labels (#30943) 11 months ago
issue_milestone.go
issue_reaction.go
issue_stopwatch.go
issue_test.go Support issue template assignees (#31083) 8 months ago
issue_tracked_time.go
lfs_lock.go
mirror.go Fix push mirror, wrong timestamp format (#27153) 2 years ago
miscellaneous.go Refactor render system (#32492) 5 months ago
nodeinfo.go
notifications.go
org.go Allow Organisations to have a E-Mail (#25082) 2 years ago
org_member.go
org_team.go Increase max length of org team names from 30 to 255 characters (#31410) 10 months ago
package.go Fix package webhook (#27839) 1 year ago
pull.go Add reviewers selection to new pull request (#32403) 5 months ago
pull_review.go
release.go add Upload URL to release API (#26663) 2 years ago
repo.go Implement update branch API (#32433) 4 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) 3 months ago
repo_collaborator.go Add permission description for API to add repo collaborator (#31744) 8 months ago
repo_commit.go Add file status for API "Get a single commit from a repository" (#16205) (#25831) 2 years ago
repo_compare.go feat(api): implement branch/commit comparison API (#30349) 12 months ago
repo_file.go Refactor "Content" for file uploading (#25851) 2 years ago
repo_key.go
repo_note.go
repo_refs.go
repo_tag.go Add tag protection via rest api #17862 (#31295) 10 months ago
repo_topic.go
repo_tree.go
repo_watch.go Replace `interface{}` with `any` (#25686) 2 years ago
repo_wiki.go
secret.go refactor(API): refactor secret creation and update functionality (#26751) 2 years ago
settings.go
status.go
task.go Make repo migration cancelable and fix various bugs (#24605) 2 years ago
user.go Make gitea webhooks openproject compatible (#28435) 10 months ago
user_app.go add skip secondary authorization option for public oauth2 clients (#31454) 9 months ago
user_email.go add admin API email endpoints (#22792) 2 years ago
user_gpgkey.go
user_key.go
variable.go Add API for `Variables` (#29520) 1 year ago
visible_type.go change org_type.go to visible_type.go and fix the notes (#22752) 2 years ago