Skip to content

chore: BigBlueButton 4.0.2 iteration - #26324

Merged
antobinary merged 353 commits into
v4.0.x-releasefrom
v4.0.x-develop
Nov 6, 2026
Merged

antobinary merged 353 commits into
v4.0.x-releasefrom
v4.0.x-develop

Conversation

@antobinary

@antobinary antobinary commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

imdt-claudiop and others added 30 commits October 27, 2026 13:30
Resolves the conflict in bigbluebutton-tests/playwright/user/user.spec.ts.
This branch only reformats that file, and v4.0.x-develop added four
hideUserList talking-indicator tests between the hunks it reformats, so
the resolution takes v4.0.x-develop's version and runs prettier --write
over it again. Ignoring whitespace and trailing commas, the result is
identical to v4.0.x-develop's file. user/lockViewers.ts merged cleanly.

On the merged tree format:check, lint and typecheck all pass. The files
v4.0.x-develop added since dda8d28 were already clean apart from
user.spec.ts. The suite now lists 690 tests (Chromium @ci: 671), with the
same titles, tags, annotations and expected status as v4.0.x-develop
ac97a8b. Comparing syntax trees against it, 164 of the 170 .ts, .js
and .cjs files are unchanged, and the other six are the six described in
the branch's commit.
The plugins engine logs "N/T plugins loaded" from an effect that runs
on each render the loaded count changes. Script loads settle in bursts
that React batches into one render, so the log skips counts (1, 2, 8,
10, 21, 22). T counts plugins that failed in the back-end, which never
load, and a script that fails to load is not counted either; with any
failure the log never reaches T/T.

Track loading in a ref and log one summary when every script has
loaded or failed, naming the failed plugins and the total time. Log
each plugin's load time with its own entry, which helps tell how far
plugins run ahead of the core's subscriptions. The summary keeps the
plugin_loading_status log code so its consumers keep working.
The /create parameter table listed clientSettingsOverride as a
parameter and said the data could "also" be sent in the POST body.
bbb-web never reads it from the query string or from form fields; it
only reads the <module name="clientSettingsOverride"> of an XML POST
body, and only with allowOverrideClientSettingsOnCreateCall=true.

- create.tsx: describe the XML module, the server-side gate and its
  default, point GET-only integrations to clientSettingsOverrideJsonUrl
  (which takes precedence), and set "Added" to 3.0.0-alpha.1, the first
  tag that contains the feature.
- customize.md: stop calling the module a create parameter.
- api.md: the example used public.app.appName, removed from
  settings.yml in #24756; use clientTitle
  so the example passes clientSettingsOverrideStrictValidation.

Closes #26234

Co-authored-by: Tainan Felipe <[email protected]>
join's guest cases need bbb-web with authenticatedGuest=false, where the
guest param alone decides a user's guest status.
fullName, password length, malformed guest, auth and createTime, and an
ended meeting each redirect with their error. The keys reported for a
missing, unknown or empty meetingID, and the redirect that ignores
redirect=false, are recorded for triage.
The XML answer with redirect=false and its ID formats, the redirect to the
client, waitLayout with enforceLayout, which redirect values redirect, and
where a validation error sends the browser: errorRedirectUrl, then
logoutURL with its placeholders emptied, then the default logout URL.
The role param in any case, the moderator and attendee passwords, the role
param winning over the password, and the joins refused with "Params
required". The role is read from akka-apps' UserRegisteredRespMsg.
The meeting's createTime is accepted; another is refused, as a redirect or,
with redirect=false, as XML.
Each guest policy, with authenticatedGuest on and off, for moderators and
viewers with and without the guest and auth params, plus the default
policy. The answers to an unknown policy are recorded for triage.
An ended meeting is forgotten by the time the join arrives, so its error
comes from the same undecided order as an unknown meeting's: triage. The
guest=1 variants (validation accepts 1 as a boolean, join reads it as
false) and redirect=1 are triage rather than compat. The default error
target pins its path, the "nobody registered" check waits as long as the
role cases do, and the guest headers mention refusals and guest=1 only
where a variant has them.
The repo's ShellCheck job failed on SC2148: the script has no shebang.
It never runs on its own; profile.sh puts NAME and OVERLAY in front of
it and pipes the result to sh -s, so a directive names the shell instead.
getSessions names a session's meeting only by its internal ID, so the
${uid} scope rule couldn't tell a case's own sessions from those of cases
running alongside it. A scope key now also counts as the case's when it is
the internal ID of a meeting whose meetingID the case sent. getSessions'
noSessions is dropped like getMeetings' noMeetings, and sessions are
sorted.
meetingID's checks, and that a meeting runs only once a user is in it:
not when it is created, and not when join has only registered a user.
An unknown meeting; malformed meetingIDs, recorded for triage since they
fail several checks at once; the fields of a meeting created with defaults
and with explicit values; a registered user not counted; and a password
param ignored.
An empty server (serial, since it needs no other meetings), two meetings
and their fields, and an ended meeting leaving the list while the other
stays.
An empty server (serial), a session per join with the meeting's internal
ID and the user's name, none for a meeting nobody joined, and an ended
meeting's sessions going away.
An unknown meeting; a missing or empty meetingID, recorded for triage;
password lengths; the password never compared with the meeting's; and the
end itself: akka-apps' MeetingEndingEvtMsg with ENDED_FROM_API and
MeetingEndedEvtMsg, the meeting forgotten, and a second end answering
notFound. Each end waits until akka-apps has created the meeting, since an
end that reaches it earlier is lost.
getMeetings and getSessions check whether the server has meetings or
sessions, then list them from a live view. When the last one goes away
in between, the template takes the empty branch without its messageKey
and the answer is cut short: a 200 that isn't valid XML. A full run hit
it once, in two cases, after the end cases added more meetings ending
alongside the rest. The cases whose call can find the server's list
emptying under it, because they hold no meeting or session of their own,
now run alone (serial).
Now that getSessions answers are scoped to the case, getSessions'
accepted-checksum and allowed-method cases make a valid call and record
it, like getMeetings' (serial, since they list without a session of
their own). isMeetingRunning's rejected meetingIDs also check that no
running element comes back.
The first nightly run on v4.0.x-develop (run 40804099115) runs the whole
suite on bbb-webrtc-sfu, where the per-PR gate only runs the @media tests.
Three @ci tests in parameters/parameters.spec.ts failed there and passed on
LiveKit:

- Disabled Features > Speech Recognition, and its (exclude) variant: on
  bbb-webrtc-sfu listenOnlyMode stays on (audio-modal/container.jsx forces
  it off only for LiveKit), so the audio modal opens on the Microphone /
  Listen only choice and neither the audio settings nor the speech
  recognition option is rendered. Click the microphone button first,
  through the existing bridge-aware Page.clickMicrophoneButton (a no-op on
  LiveKit).
- Enforce Layout > enforceLayout=PARTICIPANTS_AND_CHAT_ONLY: the attendee
  joins without enforceLayout and sees the presentation. On bbb-webrtc-sfu,
  closing the audio modal returns at once, and the attendee screenshot
  catches the slide still zoomed in before the whiteboard fits it (7% of
  the pixels, against the 5% budget). On LiveKit, closeAudioModal joins
  and leaves audio first, which happens to give the slide time to settle.
  Wait for the attendee's slide to settle before the screenshots.

Verified on a 4.0.1 server with the nightly config (CI=true,
TIMEOUT_MULTIPLIER=2, --retries=0): before, 3 of 3 fail on bbb-webrtc-sfu
(70028 different pixels, as in CI) and pass on LiveKit; after, 15 of 15 pass
on bbb-webrtc-sfu (--repeat-each=5) and 9 of 9 on LiveKit (--repeat-each=3).
The header said the nightly skips every screenshot comparison because
GitHub sets CI=true. Only the comparisons the suite wraps in `if (!CI)`
are skipped (options/options.ts and presentation/presentation.ts); the
rest run, as in the per-PR gate. The first nightly run showed it:
enforceLayout=PARTICIPANTS_AND_CHAT_ONLY failed on a toHaveScreenshot
diff on the bbb-webrtc-sfu bridge.
If every test job stops before Playwright writes its blob report, for
example on an install or npm ci failure, nightly-merge is never created
and the loop over nightly-merge/* runs once on the literal pattern.
merge-reports fails on it, the step stops under bash -e, and the summary
loses the list of failed server health checks, the only thing such a
run has to show.

Skip anything that is not a directory, as the loop over the downloaded
jobs above it already does. shopt -s nullglob would fix this loop too,
but it would leave the grep over nightly-jobs/*/nightly-output/health.txt
at the end of the step with no file operand, reading stdin, whenever no
job got as far as the health check.

Raised in the review of #26309.
With KERNEL_LOG naming a missing or unreadable file, cat printed its
error, the search ran on an empty string and the check reported PASS.
Report FAIL instead, as check_conversion_runtime already does for
BBB_WEB_LOG.

The nightly workflow does not set KERNEL_LOG, so this only changes runs
by hand.

Raised in the review of #26309.
Arthurk12 and others added 10 commits November 5, 2026 14:43
When an app that is not pinned sets a badge, nothing on screen shows
it while its panel and the Apps gallery are closed: the badge only
exists inside the gallery, so users have no sign that the app wants
attention until they open it.

Show the core notification indicator on the Apps gallery button in
that case, like the chat button does for unread messages. Pinned apps
are left out because their own button already shows the badge, and an
app whose panel is open needs no reminder.

The indicator is derived inside the layout context selector, so the
button re-renders only when it flips rather than on every panel switch,
and it subscribes only to the set of badged ids, serialized, so updating
the content of an existing badge does not re-render it either.
The name a plugin gives to its sidekick panel button with
renameGenericContentMenu has the same problem the menu badge had: it
lives in the local state of the pinned app button and of the Apps
gallery entry, each listening to the SDK event on its own. Whenever
one of them remounts, e.g. when the gallery switches between list and
grid or an app is pinned or unpinned, the name falls back to the one
the app was registered with, and a rename sent while the gallery is
closed never reaches it.

Handle the rename event once in the sidekick area UI commands handler,
next to the badge events, and keep the names in a local state keyed by
the generic content id. Both components read their own entry through
useReactiveVarSelector and fall back to the registered name, so a
rename lasts and only re-renders the renamed item. A rename with an
empty name is ignored.

The extracted id is now a plain expression, since memoizing a string
replace costs more than computing it.
… panel as opened

The "is panel opened" checks treat the main sidebar content panel as
opened whenever sidebarContentPanel matches the panel id, regardless of
sidebarContent.isOpen. This relies on every close path resetting the
panel to PANELS.NONE, which does not hold: some places close the main
sidebar content without resetting its content (e.g. the layout observer
on initial setup and when bbb_hide_sidebar_navigation is set). In those
cases a closed panel is still reported as opened, so its navigation
button stays highlighted and the Apps gallery hides the badge of an app
that is not visible.

Check sidebarContent.isOpen alongside the panel id, mirroring what is
already done for the auxiliary sidebar, in useIsPanelOpened,
useIsSpecificPanelOpened and the hidden-badge check of the Apps gallery
button, so all of them agree on what "opened" means.
Plugin menu badges are free text, but the badge that renders them never
shrinks nor wraps, so a long one overflows wherever it is shown: in the
Apps gallery list view it runs over the NEW label and is clipped by the
clickable area, in the grid view it is clipped on both sides of the
tile, and on a pinned app it spreads far beyond the button.

Wrap the badge text in a label that ends a long one in an ellipsis,
since a flex container cannot truncate its own text, and bound the
badge width in each place it is shown: the pinned app button, half of
the gallery row, so the app name stays readable, and the gallery tile.
The badge itself keeps centering its content with flexbox: centering
the text with a line height instead rounds the font descent up and
leaves digits a pixel above the center. Core notification badges only
reuse the shared style fragments, which are left unchanged.
In the grid view the plugin badge is laid out below the app name, so a
tile grows by the badge height plus the item spacing as soon as its app
gets a badge, and shrinks back when the badge is removed. The tile's
bottom padding already has room for it.

Take the badge out of the tile flow and center it in the bottom
padding, bounded by the tile's inline padding so a long one still ends
in an ellipsis. The tile keeps its height whether or not its app has a
badge.
Range v4.0.1..v4.0.x-develop 70c6fcf. Most of it brought its own docs;
this fills what is still missing, checked against the code on develop.

new-features.md:
- Dedicated Audio settings tab: add Voice Isolation (#26095), the bbba
  backend at full intensity, and its fallbacks. Advanced Filtering now
  keeps a minimal ambience, as the client says.
- Client settings: add audioWasmProcessing.intensity, add voiceIsolation
  to processingMode, list the five keys removed by #26376, #26375 and
  #26379, and note that the client enforces uploadSizeMax since #26383.
  A server that raised only maxFileSizeUpload now refuses the files
  between the two limits, so this fix gets a line although fixes stay out.
- bbb-web properties: getJoinUrlUserdataBlocklist drops
  bbb_fullaudio_bridge (#26121).
- bbb-apps-akka settings: add whiteboard.allowedAnnotationTypes (#25787).
- Tag the shared notes equations and the whiteboard annotation types as
  4.0.2, since both sections read as 4.0.0.
- Recent releases: add 4.0.2. The link 404s until the tag exists.

development/api.md: the getJoinUrl blocklist no longer holds an audio
bridge parameter.

administration/customize.md: add Voice Isolation and intensity to the
Advanced Filtering section, which documented neither. The new text does
not name a release, as the page is versioned.

testing/release-testing.md: list Voice Isolation in the audio processing
steps. The file stays CRLF.

Not documented: the other fixes, CI and dependency changes, and
max_audio_length_mismatch (#26330), a new bigbluebutton.yml key.
…ms-with-parent

fix(bbb-web): end API-created breakout rooms when their parent ends
fix(whiteboard): keep the yellow fill colors in the palette override
fix(plugins): standardize sidekick menu badge and keep it across remounts
antobinary and others added 6 commits November 5, 2026 14:53
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
getJoinUrl drops every userdata- parameter, for viewers and for everyone
in a breakout room, when the blocklist contains "all". bbb-web has
accepted that value since #22943 (3.0.7), but the userdata section of
api.md only described the named entries.

The sentence is the one CodeRabbit suggested in the review of #26428.
docs: iteration doc sync for 4.0.2
…1824ce6330dcfb9b03097

[4.0 locales] Updates for file bigbluebutton-html5/public/locales/en.json
The raise-hand port (eefd37e) removed the raise-hand notifier, which
formatted app.statusNotifier.lowerHandDescOneUser with
{ userName: u.name }, added a lower-hand button to the user list that
formats the same message without values, and changed its English text
from "Lower {userName}'s hand" to "Lower hand".

Transifex keeps the translations of a key whose English text changes.
Of the 28 locales that had translated the old text, 16 still carry
{userName}: ca, cs_CZ, el_GR, es, es_ES, eu, fa_IR, fr, gl, hy, ko_KR,
nl, pl_PL, pt, tr_TR and uk_UA. Formatted without values, react-intl
returns a message unchanged, so the tooltip shows the raw placeholder,
for example "Опустити руку {userName}" in Ukrainian.

Pass the user's name again. The 16 locales then render the text they
were translated for, with the name filled in. English and the 12
locales re-translated to "Lower hand" since (ar, de, et, hu_HU, it_IT,
ja, nb_NO, pt_BR, ru, sv_SE, tr, zh_TW) ignore the unused value and
render as before.

Reported in #26426. The other strings that report shows in English are
missing uk_UA translations, which come from Transifex.
…username

fix(user-list): pass userName to the lower-hand tooltip again
…ontents-read

ci: let the tests comment job check out the repository
…-locale

test(learning-dashboard): match the breakout dashboard by its room name
test(api-conformance): Add a Conformance Suite for the HTTP API
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

✅ Automated tests have passed!

@antobinary antobinary changed the title WIP chore: BigBlueButton 4.0.2 iteration chore: BigBlueButton 4.0.2 iteration Nov 6, 2026
@antobinary
antobinary merged commit f31e684 into v4.0.x-release Nov 6, 2026
165 of 173 checks passed
germanocaumo pushed a commit to germanocaumo/bigbluebutton that referenced this pull request Nov 20, 2026
…x-develop

Brings the 4.0.3 release back into v4.0.x-develop. v4.0.x-release is at
f72d451, which is the v4.0.3 tag; the merge base is 28d54de, the
v4.0.x-develop commit that bigbluebutton#26324 took into the release for 4.0.2.

Commits that come in:

- build: run the Java services without the JVM Base64 intrinsics
  (bigbluebutton#26603)
- build(freeswitch): v1.11.4 (up from v1.11.3) (bigbluebutton#26625)
- chore: Update BigBlueButton release version to 4.0.3
- fix(recording): archive only this session's learning dashboard data
- fix(bbb-web): keep learning dashboard data until the recording is
  archived
- fix: validate learning dashboard locale
- fix: bound GraphQL query variables
- fix(bbb-web): improve caption track handling
- fix: improve presentation file handling
- chore: maintenance patch for the 4.0 release line (two commits)
- enforce breakoutRoomsRecord value, which changes nothing here:
  v4.0.x-develop already has the same change
- build(bbb-webrtc-recorder): v0.18.1 and "a manual nudge": not taken,
  see below

The bbb-build image tag in .gitlab-ci.yml moves to the release's,
v4.0.x-release--2026-11-19-140801.

Conflicts:

- bbb-webrtc-recorder.placeholder.sh: the release went from v0.18.0 to
  v0.18.1 and then added a blank line to trigger a rebuild, while
  develop went to v0.19.1 (b3cc87b). Kept develop's file as it is:
  v0.19.1 is the newer line and carries the same three recorder fixes
  as v0.18.1.
- bbb-common-message RedisStorageService.java, imports only. Develop
  added ArrayList and List for readResqueJobs (bigbluebutton#26562); the release
  replaced HashMap with SecureRandom for the caption tokens. Kept
  SecureRandom, ArrayList and List, and dropped HashMap: its only user
  was the caption-token code the release rewrote. Both method bodies
  merged without conflict.

This branch was previously deployed

1 inactive deployment
apt-repo — 28d54de9 Deployed Nov 6, 2026 by antobinary via push-debs-to-package-repo #21631
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.

9 participants