Skip to content

Releases

v0.2.5

Choose a tag to compare

@Xylo01 Xylo01 released this 24 Nov 04:10

Fixes the Create API Key window crashing on panel 1.2.11. Requires panel >=1.2.10 (unchanged).

  • The account webhooks permission 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

Choose a tag to compare

@Xylo01 Xylo01 released this 23 Nov 08:07

Works with panel 1.2.11. Requires panel >=1.2.10 (unchanged).

  • The frontend builds against panel 1.2.11, which types an extension's card icon as IconLike. No other changes.

Upgrading

Replace the extension archive and restart the panel.

v0.2.3

Choose a tag to compare

@Xylo01 Xylo01 released this 22 Nov 01:06

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

Choose a tag to compare

@Xylo01 Xylo01 released this 22 Nov 00:44

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

Choose a tag to compare

@Xylo01 Xylo01 released this 20 Nov 17:12
  • 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) and 100.100.100.200 (Alibaba Cloud) join 169.254.169.254 and fd00:ec2::254, including their IPv4-mapped and NAT64 forms.

v0.2.0

Choose a tag to compare

@Xylo01 Xylo01 released this 20 Nov 17:01
  • 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.
  • .agents is ignored in git (#1, thanks @ppatoo)

v0.1.2

Choose a tag to compare

@Xylo01 Xylo01 released this 16 Nov 21:22
  • Works with panel 1.2.10, which dropped the url crate from its shared dependencies

v0.1.1

Choose a tag to compare

@Xylo01 Xylo01 released this 25 Oct 23:49
  • Works with panel 1.2.7 (now required)

v0.1.0

Choose a tag to compare

@Xylo01 Xylo01 released this 28 Sep 16:57

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.