gitea/services
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
2025-02-02 14:44:50 +08:00
..
actions Fix user avatar (#33439) 2025-01-30 17:11:13 +08:00
agit Add reviewers selection to new pull request (#32403) 2024-11-09 04:48:31 +00:00
asymkey Fix some pending problems (#29985) 2024-03-22 19:17:30 +08:00
attachment Include file extension checks in attachment API (#32151) 2024-11-06 21:34:32 +00:00
auth Backport 1.23 (#32868) 2024-12-17 11:58:27 +08:00
automerge Add new event commit status creation and webhook implementation (#27151) 2024-11-07 06:41:49 +00:00
context Fix raw file API ref handling (#33172) (#33189) 2025-01-10 02:41:28 +00:00
contexttest Check if reverse proxy is correctly configured (#30890) 2024-05-10 20:07:01 +08:00
convert Make tracked time representation display as hours (#33315) (#33334) 2025-01-21 06:49:58 +08:00
cron Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
doctor Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
externalaccount allow synchronizing user status from OAuth2 login providers (#31572) 2024-07-16 20:33:16 +02:00
feed Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
forms Issue time estimate, meaningful time tracking (#23113) 2024-12-05 13:07:53 +00:00
gitdiff Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
indexer Update issue indexer after merging a PR (#30715) 2024-05-08 14:45:15 +00:00
issue demilestone should not include milestone (#32923) (#32979) 2024-12-25 08:03:18 +00:00
lfs Fix SSH LFS memory usage (#33455) (#33460) 2025-01-31 11:30:16 +00:00
mailer Support for email addresses containing uppercase characters when activating user account (#32998) (#33001) 2024-12-27 11:41:41 +00:00
markup Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
migrations Remove aws go sdk package dependency (#33029) (#33047) 2024-12-30 06:55:06 +00:00
mirror Fix mirror bug (#33224) (#33225) 2025-01-12 11:11:02 +00:00
notify Add new event commit status creation and webhook implementation (#27151) 2024-11-07 06:41:49 +00:00
oauth2_provider Introduce OrgList and add LoadTeams, optimaze Load teams for orgs (#32543) 2024-11-26 21:55:06 +00:00
org Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
packages Use ProtonMail/go-crypto to replace keybase/go-crypto (#33402) (#33410) 2025-01-27 02:50:00 +00:00
projects Add issue comment when moving issues from one column to another of the project (#29311) 2024-08-09 01:29:02 +00:00
pull Add missing transaction when set merge (#33113) 2025-01-06 18:21:14 +00:00
release Enable tenv and testifylint rules (#32852) 2024-12-15 10:41:29 +00:00
repository Fix system admin cannot fork or get private fork with API (#33401) (#33417) 2025-01-27 18:43:16 +00:00
secrets Refactor deletion (#28610) 2023-12-25 21:25:29 +01:00
task Fix "force private" logic (#31012) 2024-05-20 00:56:45 +00:00
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 2023-10-11 04:24:07 +00:00
user Move team related functions to service layer (#32537) 2024-11-27 21:12:26 +00:00
webhook Add tests for webhook and fix some webhook bugs (#33396) (#33442) 2025-02-02 14:44:50 +08:00
webtheme Initial support for colorblindness-friendly themes (#30625) 2024-04-24 00:18:41 +08:00
wiki Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances (#31813) 2024-09-06 10:12:41 +00:00