Skip to content

Chatroom: Add socket.io and socket.io-client#10564

Closed
fhelfer wants to merge 1 commit into
ILIAS-eLearning:trunkfrom
fhelfer:12/dependencies/chatroom-socketio
Closed

Chatroom: Add socket.io and socket.io-client#10564
fhelfer wants to merge 1 commit into
ILIAS-eLearning:trunkfrom
fhelfer:12/dependencies/chatroom-socketio

Conversation

@fhelfer

@fhelfer fhelfer commented Nov 28, 2025

Copy link
Copy Markdown
Contributor

This PR adds socket.io and socket.io-client as NPM dependency for the chatroom.

General Information:

  • this dependency was already used in ILIAS.
  • License: MIT

Usages:

  • components/ILIAS/Chatroom/chat/api.js
  • components/ILIAS/Chatroom/chat/Bootstrap/SetupServer.js

Wrapped By:

  • il.Chatroom (see: components/ILIAS/OnScreenChat/js/chat.js)
  • SetupServer see:
    • components/ILIAS/Chatroom/chat/Bootstrap/SetupServer.js

Reasoning:

socket.io is a library that enables low-latency, bidirectional and event-based communication between a client and a server. It is used in the Node.js based ILIAS chat server, which relies on the provided WebSocket low-level transport mechanisms. Socket.IO offers HTTP long-polling as a fallback option, which is useful in environments that don't support WebSockets.

Maintenance:

socket.io is a well-maintained package with major releases every few years and recent activities.
(The latest version is from 25.10.2025)

Links:

@fhelfer fhelfer added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code and removed javascript Pull requests that update Javascript code labels Nov 28, 2025
@matthiaskunkel

Copy link
Copy Markdown
Member

Jour Fixe, 08 DEC 2025: Dependency is accepted for ILIAS 12.

@lscharmer

Copy link
Copy Markdown
Contributor

Merged with PR: #11262

@lscharmer lscharmer closed this Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants