Review main Merged

77362[FEATURE] Outgoing Webhooks for TYPO3

Frank Nägler CR +2 V +2 Nightmare +3588 −72 updated 03/24/23, 21:28

Commit message

A webhook is an automated message sent from one application
to another via HTTP. Most modern web applications have the ability
to communicate either via outgoing or incoming webhooks.
This way of communication allows application users to integrate
multiple systems without writing code (so-called no-code/low-code
integrations).

TYPO3 provides the incoming webhooks part via the system extension
"reactions". This feature now allows configuring
outgoing webhooks in the TYPO3 backend - completing the round trip.

A new backend module is added called "Webhooks" where any
administrative user can create a webhook. At its' core a webhook
consists of a trigger (when something should happen) and a
target URL (what should happen). Every time the webhook is triggered,
an HTTP request is sent to the target URL. With this feature,
the request can be either a POST or a GET request. POST requests
commonly contain data, and GET requests can trigger actions
in third-party systems.

The webhooks extension provides various triggers as examples - for
example a trigger when a page is created or updated, or a file is added
or removed - however, additional triggers can be provided in the future
and custom triggers can be written by extension authors and project
developers.

The backend module also enforces the setting of a secret for each webhook
which can be used to verify that the webhook request originated from the
TYPO3 system and its' payload has not been modified in the meantime.

Under the hood, the webhooks extension uses the TYPO3 queue and
therefore the Symfony messenger component, which provides a flexible
and extensible way for handling messages either synchronously or
asynchronously.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 50

Show 30 more files