forgejo/services/webhook
Cyborus 54b3066e45
Some checks are pending
/ release (push) Waiting to run
testing-integration / test-unit (push) Waiting to run
testing-integration / test-sqlite (push) Waiting to run
testing-integration / test-mariadb (v10.6) (push) Waiting to run
testing-integration / test-mariadb (v11.8) (push) Waiting to run
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / test-remote-cacher (redis) (push) Blocked by required conditions
testing / test-remote-cacher (valkey) (push) Blocked by required conditions
testing / test-remote-cacher (garnet) (push) Blocked by required conditions
testing / test-remote-cacher (redict) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
testing / test-sqlite (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
fix: paginate GET /api/v1/admin/hooks response (#9915)
Fixes #9911

The endpoint was documented as taking `page` and `limit` parameters but did not actually use then and just returned the full list. Now it does use them!

Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9915
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: Cyborus <cyborus@cyborus.xyz>
Co-committed-by: Cyborus <cyborus@cyborus.xyz>
2025-11-06 00:08:13 +01:00
..
shared Actions Failure, Succes, Recover Webhooks (#7508) 2025-06-03 14:29:19 +02:00
sourcehut chore: remove branding from context imports (#9628) 2025-10-11 01:52:51 +02:00
TestPushCommits feat: add commit limit for webhook payload (#6797) 2025-02-07 19:26:50 +00:00
default.go feat(ui): redesign migration selection screen (#6795) 2025-04-19 13:51:35 +00:00
default_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
deliver.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
deliver_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
dingtalk.go Actions Failure, Succes, Recover Webhooks (#7508) 2025-06-03 14:29:19 +02:00
dingtalk_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
discord.go chore: remove branding from context imports (#9628) 2025-10-11 01:52:51 +02:00
discord_test.go Fix discord webhook 400 status code when description limit is exceeded (#34084) 2025-04-07 18:27:08 +02:00
feishu.go Actions Failure, Succes, Recover Webhooks (#7508) 2025-06-03 14:29:19 +02:00
feishu_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
general.go Actions Failure, Succes, Recover Webhooks (#7508) 2025-06-03 14:29:19 +02:00
general_test.go Actions Failure, Succes, Recover Webhooks (#7508) 2025-06-03 14:29:19 +02:00
gogs.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
main_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
matrix.go Actions Failure, Succes, Recover Webhooks (#7508) 2025-06-03 14:29:19 +02:00
matrix_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
msteams.go fix: replace "Gitea" with "Forgejo" in button label (#9494) 2025-10-01 09:56:25 +02:00
msteams_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
notifier.go feat: make upload URL compatible with GitHub API (#9285) 2025-09-15 15:53:35 +02:00
notifier_test.go Actions Failure, Succes, Recover Webhooks (#7508) 2025-06-03 14:29:19 +02:00
packagist.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
packagist_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
slack.go chore: remove branding from context imports (#9628) 2025-10-11 01:52:51 +02:00
slack_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
telegram.go Actions Failure, Succes, Recover Webhooks (#7508) 2025-06-03 14:29:19 +02:00
telegram_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
webhook.go fix: paginate GET /api/v1/admin/hooks response (#9915) 2025-11-06 00:08:13 +01:00
webhook_test.go chore: QoL improvements to tests (#7917) 2025-05-21 15:45:56 +02:00
wechatwork.go Actions Failure, Succes, Recover Webhooks (#7508) 2025-06-03 14:29:19 +02:00