forked from Gitlink/gitlink-cli
- Use v1 API paths for all webhook endpoints (fixes view/test returning HTML/404) - Add +tasks command for listing webhook delivery tasks - Add webhook event validation (10-event whitelist) - Add webhook type validation (10-type whitelist) - Add content-type and http-method validation - Fix update to preserve unspecified fields via fetch-and-merge - Add event deduplication in parseWebhookEvents - Add 9 comprehensive unit tests (up from 3) - Use --http-method flag (maintains backward compatibility with PR #20) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| webhook.go | ||
| webhook_test.go | ||