Repository navigation
Releases
Releases · Caloptreyx/Webhooks
v0.2.5
Fixes the Create API Key window crashing on panel 1.2.11. Requires panel >=1.2.10 (unchanged).
- The account
webhookspermission group now has an icon (the bell). Panel 1.2.11 draws an icon for every permission group, so Account → API Keys → Create crashed with React error #130 while Webhooks was installed. No other changes.
Upgrading
Replace the extension archive and restart the panel.
v0.2.4
v0.2.3
Security release. Requires panel >=1.2.10.
- Turning server or account webhooks off now blocks editing, testing, resending, rotating secrets and previews for that type, and stops queued retries and redeliveries.
- Users can still list, view and delete their webhooks.
v0.2.2
Security release. Requires panel >=1.2.10.
- Template rendering now has a work budget and a 64 KiB output cap, and runs off the async runtime with a 5 s timeout (preview, saving and real deliveries).
- Template preview now needs permission to create or update webhooks, and the webhook type must be enabled.
- Viewing or resending activity-log deliveries, and editing webhooks that carry activity events, now require
activity.read.
v0.2.1
- Cloud metadata endpoints are now blocked for every webhook, global (admin) webhooks included, whatever Allow private/internal IP targets says. Global webhooks now resolve and pin their target like the others, so DNS cannot route around the block; they can still reach every other address.
169.254.170.2(AWS ECS task metadata) and100.100.100.200(Alibaba Cloud) join169.254.169.254andfd00:ec2::254, including their IPv4-mapped and NAT64 forms.
v0.2.0
- New admin setting Allow private/internal IP targets (off by default): per-server and account webhooks may then reach private, loopback, link-local and CGNAT addresses, given literally or returned by DNS (#2). Cloud metadata addresses (
169.254.169.254,fd00:ec2::254) stay blocked. See the README for the SSRF tradeoff before enabling it. - Panels that had this setting on before now pin and check the resolved addresses on every delivery instead of sending unchecked.
.agentsis ignored in git (#1, thanks @ppatoo)
v0.1.2
v0.1.1
v0.1.0
First release of the Webhooks extension for Calagopus Panel (requires panel >=1.2.2, :heavy image).
- Global (admin), per-server and account webhooks
- Discord embed or raw JSON envelope, custom minijinja body templates
- HMAC-SHA256 signed requests, custom headers
- Queued deliveries with retries/backoff, delivery history, redeliver, test button
Install: upload dev_caloptreyx_webhooks.c7s.zip under Admin → Extensions, or drop it into build/extensions/ and docker compose restart web. See the README for events and payload format.