Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Bump Etherpad to 1.9.1 #18276

Merged

Conversation

danielpetri1
Copy link
Collaborator

@danielpetri1 danielpetri1 commented Jul 4, 2023

What does this PR do?

This PR upgrades bbb-etherpad to use Etherpad 1.9.1.

Motivation

The current release (1.8.17) is over a year old.

More

There's a known bug in Etherpad 1.9.1 that prevents empty pads from being created through the HTTP API. This results in a "You do not have permission to access this pad" message being shown to the shared notes user. To work around this issue, the pad's default text is set to a zero-width space character. For more information, see the relevant Etherpad issue.

In Etherpad 1.9.1, serializing the Pad object with JSON.stringify() removes the id attribute of the pad since it implements its own toJSON method (see ether/etherpad-lite#5814). As a workaround, a padId attribute is manually added in such cases. The lack of a padId breaks BBB's captions and ability to bring back notes from breakout rooms.

Hence, the following changes have to be in place before merging this PR:

A zero-width-space is used to work around an issue with Etherpad 1.9.1 where empty pads are not being created.
@sonarcloud
Copy link

sonarcloud bot commented Jul 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Collaborator

@GuiLeme GuiLeme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!!

@danielpetri1
Copy link
Collaborator Author

Please only merge this PR once mconf/ep_redis_publisher#7 has been merged.

@antobinary antobinary merged commit 2d504a1 into bigbluebutton:v2.6.x-release Jul 24, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants