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
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
..
actions Fix wrong status of `Set up Job` when first step is skipped (#32120) 5 months ago
activitypub Enable tenv and testifylint rules (#32852) 2 months ago
analyze Rename code_langauge.go to code_language.go (#26377) 2 years ago
assetfs Enable tenv and testifylint rules (#32852) 2 months ago
auth Fix pam auth test regression (#33169) (#33174) 2 months ago
avatar Use `crypto/sha256` (#29386) 1 year ago
badge Implement actions badge svgs (#28102) 1 year ago
base Enable tenv and testifylint rules (#32852) 2 months ago
cache fix(cache): cache test triggered by non memory cache (#33220) (#33221) 1 month ago
charset refactor: remove redundant err declarations (#32381) 4 months ago
container Refactor sidebar assignee&milestone&project selectors (#32465) 4 months ago
csv Refactor markup render system (#32589) 3 months ago
dump Enable tenv and testifylint rules (#32852) 2 months ago
emoji Update emoji set to Unicode 15 (#25595) 2 years ago
eventsource Final round of `db.DefaultContext` refactor (#27587) 1 year ago
generate Refactor JWT secret generating & decoding code (#29172) 1 year ago
git Fix `GetCommitBranchStart` bug (#33298) (#33421) 3 weeks ago
gitgraph Fix milestone deadline and date related problems (#32339) 4 months ago
gitrepo Refactor markup package (#32399) 4 months ago
globallock Make API "compare" accept commit IDs (#32801) 2 months ago
graceful Update golangci-lint to v1.62.2, fix issues (#32845) 2 months ago
hcaptcha Consume hcaptcha and pwn deps (#22610) 2 years ago
highlight Add option to disable ambiguous unicode characters detection (#28454) 1 year ago
hostmatcher Support allowed hosts for migrations to work with proxy (#32025) 6 months ago
htmlutil Refactor markup render system (#32533) 3 months ago
httpcache Fix wrong last modify time (#32102) 5 months ago
httplib Fix SSH LFS memory usage (#33455) (#33460) 3 weeks ago
indexer Fix bleve fuzziness search (#33078) (#33087) 2 months ago
issue/template bump to go 1.23 (#31855) 6 months ago
json Replace `interface{}` with `any` (#25686) 2 years ago
label Make label templates have consistent behavior and priority (#23749) 2 years ago
lfs Revert empty lfs ref name (#33454) (#33457) 3 weeks ago
lfstransfer Fix SSH LFS memory usage (#33455) (#33460) 3 weeks ago
log Deprecated gopid in log (#32932) 2 months ago
markup Update go tool dependencies (#32916) (#33355) 1 month ago
mcaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
metrics Rename project board -> column to make the UI less confusing (#30170) 9 months ago
migration Support migrating GitHub/GitLab PR draft status (#32242) 4 months ago
nosql Update tool dependencies, lock govulncheck and actionlint (#25655) 2 years ago
optional Resolve lint for unused parameter and unnecessary type arguments (#30750) 10 months ago
options Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
packages Fix package error handling and npm meta and empty repo guide (#33112) 2 months ago
paginator Use more specific test methods (#24265) 2 years ago
pprof Implement FSFE REUSE for golang files (#21840) 2 years ago
private Fix SSH LFS memory usage (#33455) (#33460) 3 weeks ago
process Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 10 months ago
proxy Use proxy for pull mirror (#22771) 2 years ago
proxyprotocol Implement FSFE REUSE for golang files (#21840) 2 years ago
public Refactor CORS handler (#28587) 1 year ago
queue Enable tenv and testifylint rules (#32852) 2 months ago
recaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
references fix trailing comma not matched in the case of alphanumeric issue (#32945) (#32959) 2 months ago
regexplru Upgrade go dependencies (#25819) 2 years ago
repository Trivial fixes (#33304) (#33312) 1 month ago
secret Use `crypto/sha256` (#29386) 1 year ago
session Improve oauth2 client "preferred username field" logic and the error handling (#30622) 10 months ago
setting Fix bleve fuzziness search (#33078) (#33087) 2 months ago
sitemap Fix sitemap (#22272) 2 years ago
ssh Fine tune ssh related comments and code (#32846) 2 months ago
storage Fix user avatar (#33439) 4 weeks ago
structs Add tests for webhook and fix some webhook bugs (#33396) (#33442) 3 weeks ago
svg Refactor markup render system (#32533) 3 months ago
sync Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances (#31813) 6 months ago
system Refactor testfixtures (#33028) 2 months ago
templates Make tracked time representation display as hours (#33315) (#33334) 1 month ago
test Remove sub-path from container registry realm (#31293) 9 months ago
testlogger Improve testing and try to fix MySQL hanging (#32515) 3 months ago
timeutil Refactor DateUtils and merge TimeSince (#32409) 4 months ago
translation Render embedded code preview by permlink in markdown (#30234) 11 months ago
turnstile Add new captcha: cloudflare turnstile (#22369) 2 years ago
typesniffer Add avif image file support (#32508) 3 months ago
updatechecker Replace more db.DefaultContext (#27628) 1 year ago
uri Implement FSFE REUSE for golang files (#21840) 2 years ago
user Enable tenv and testifylint rules (#32852) 2 months ago
util Update go tool dependencies (#32916) (#33355) 1 month ago
validation Validate OAuth Redirect URIs (#32643) 3 months ago
web Refactor markdown editor and use it for milestone description editor (#32688) 3 months ago
webhook Add tests for webhook and fix some webhook bugs (#33396) (#33442) 3 weeks ago
zstd Support compression for Actions logs (#31761) 7 months ago