Rocket.Chat Integration (Block)

Blocks ::: block_rocketchat
Maintained by Adrian Perez Rodriguez
Part of set Rocket.Chat.
Quickaccess and functions for integration of Rocket.Chat in Moodle

Rocket.Chat Integration (Block) v3.11-r2

Moodle 3.9, 3.10, 3.11
Released: Thursday, 16 September 2021, 4:31 AM

Moodle Rocket.Chat Block Plugin Moodle Plugin CI

The Rocket.Chat block plugin acts as overview and quick access between Moodle and Rocket.Chat. This block lists all groups and channels of the Rocket.Chat user.

Main features

  1. Channel overview (public and private)
  2. Access to Rocket.Chat channels and groups.

Installation

This plugin has a dependency as the local_rocketchat plugin must be installed first. After that please do these steps:

  1. Copy this Rocket.Chat plugin to the blocks directory of your Moodle instance: git clone https://github.com/adpe/moodle-blocks_rocketchat.git blocks/rocketchat
  2. Run composer install inside the blocks/rocketchat directory to install the dependencies
  3. Visit the notifications page to complete the install process

For more information, visit documentation for installing contributed modules and plugins.

Note - you need a running Rocket.Chat server that you can point the plugin to. If you aren't sure how to do this, checkout the documentation on Rocket.Chat. I also added a bit of code to Rocket.Chat to make integration a little easier. This unfortunately will require a custom build of the Rocket.Chat source code.

Configuration

In order to allow IFrame based Single Sign On you must have configured your Rocket.Chat instance under Administration > General > Restrict access insid any Iframe/Options to X-Frame-Options.

Usage

The user can add this block in all Moodle areas where blocks can be added. So he has over all Moodle access to his channels.

Todo

  • Create public channel direct from the block.
  • Create private group direct from the block.
  • Change the status of the user.
  • Open new chat inside popup and not as new tab.
  • Fix logout out of block.
  • Redesign block.

Version information

Version build number
2021091202
Version release name
v3.11-r2
Can be updated from
0.2.0, v3.9-r1, v3.9-r2, v3.9-r3 (2020120902), v3.11-r1 (2021091201)
Maturity
Stable version
MD5 Sum
33d7ec91c313a0b27b0082c3c8bdfd4d
Supported software
PHP 7.2, PHP 7.3, PHP 7.4, Moodle 3.9, Moodle 3.10, Moodle 3.11
  • Latest release for Moodle 3.9
  • Latest release for Moodle 3.10
  • Latest release for Moodle 3.11

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
master
VCS tag
v3.11-r2

Default installation instructions for plugins of the type Blocks

  1. Make sure you have all the required versions.
  2. Download and unpack the block folder.
  3. Place the folder (eg "myblock") in the "blocks" subdirectory.
  4. Visit http://yoursite.com/admin to complete the installation
  5. Turn editing on in any home or course page.
  6. Add the block to the page
  7. Visit the config link in the block for more options.