91740[FEATURE] Server-sent events for real-time backend updates
Commit message
Review
-
Code review CR 0
-
Verified V -1
- core-ci -1 CI
Files 30
- Build/Sources/TypeScript/backend/server-sent-events/sse-service.tsnew+224 −0
- Build/Sources/TypeScript/backend/tree/page-tree-element.ts+27 −1
- Build/Sources/TypeScript/backend/tree/page-tree-sse-handler.tsnew+191 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Emitter/ServerSentEventEmitter.phpnew+50 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Handler/ClientBroadcastHandler.phpnew+184 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Hook/DataHandlerHook.phpnew+277 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Message/AbstractMessage.phpnew+82 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Message/ConnectedMessage.phpnew+35 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Message/DatabaseRecordMessage.phpnew+32 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Message/DisconnectedMessage.phpnew+32 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Message/HeartbeatMessage.phpnew+34 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Message/MessageInterface.phpnew+29 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Message/PostponedMessage.phpnew+34 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Message/RawMessage.phpnew+54 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Queue/BackendUserSessionService.phpnew+64 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Queue/CacheMessageQueue.phpnew+131 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Queue/DatabaseMessageQueue.phpnew+142 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Queue/InMemoryMessageQueue.phpnew+150 −0
- typo3/sysext/backend/Classes/ClientBroadcast/Queue/MessageQueueInterface.phpnew+47 −0
- typo3/sysext/backend/Classes/ClientBroadcast/EventStreamResponse.phpnew+66 −0
Show 10 more files
- typo3/sysext/backend/Classes/ClientBroadcast/MessageChannel.phpnew+43 −0
- typo3/sysext/backend/Classes/ClientBroadcast/MessageOwner.phpnew+59 −0
- typo3/sysext/backend/Configuration/Backend/AjaxRoutes.php+8 −0
- typo3/sysext/backend/Configuration/Services.yaml+9 −0
- typo3/sysext/backend/Resources/Public/JavaScript/server-sent-events/sse-service.jsnew+13 −0
- typo3/sysext/backend/Resources/Public/JavaScript/tree/page-tree-element.js+1 −1
- typo3/sysext/backend/Resources/Public/JavaScript/tree/page-tree-sse-handler.jsnew+13 −0
- typo3/sysext/backend/ext_localconf.php+4 −0
- typo3/sysext/backend/ext_tables.sql+12 −0
- typo3/sysext/core/Classes/Http/CallableStream.phpnew+49 −0
Review log 1416
-
Benni Mack uploaded patch set 1 11/18/25, 16:22
-
Benni Mack wrote 11/18/25, 16:23
Set private -
Benni Mack updated the commit message in patch set 2 11/18/25, 16:23
-
Benni Mack marked it work in progress 01/05/26, 21:00
-
Oliver Hader uploaded patch set 3 02/17/26, 10:42
-
Oliver Hader commented on patch set 3 02/17/26, 10:43
On it soon... -
Oliver Hader commented on patch set 3 02/17/26, 11:03
ServerSentEventsController.php:76UnresolvedProbably not required, given that client-side event streams would reconnect automatically.ArrayEventQueue.php:28UnresolvedWe might use "EventQueueTransport" to distinguish between in-memory, database, cache, redis, ...CacheEventQueue.php:30UnresolvedI'd opt for avoiding to store messages in cache. Clearing-caches should not result in users not getting notified.DataHandlerHook.php:28UnresolvedThis would probably be a separate patch - emitting events next to (or a substitute) for DataHandler hooks -
Oliver Hader uploaded patch set 4 02/17/26, 22:12
-
Benni Mack marked it ready for review 02/18/26, 08:45
-
Benni Mack wrote 02/18/26, 08:45
Unset private -
Benni Mack marked it work in progress 02/18/26, 08:45
-
Oliver Hader uploaded patch set 5 02/18/26, 11:23
-
core-ci voted on patch set 5 V -1 02/18/26, 11:41 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96123
-
Oliver Hader uploaded patch set 6
V -102/18/26, 16:14 -
core-ci voted on patch set 6 V -1 02/18/26, 16:39 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/96169
-
Benni Mack abandoned the change 04/21/26, 15:13
was a nice idea