Skip to content

chore: BigBlueButton 4.0.0 iteration - #26005

Merged
antobinary merged 67 commits into
v4.0.x-releasefrom
v4.0.x-develop
Oct 14, 2026
Merged

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

Conversation

@antobinary

@antobinary antobinary commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Wishlist:

  • merge build: upgrade bbb-web stack to Grails 8.0.0 / Spring Boot 4.1.1 #25466
  • Administrative related to 4.0.0
    • docs cleanup pre-4.0.0
    • check all ready for v4.0.x-develop to become the new default branch
    • Update security.md to say we now support 4.0 and will maintain 3.0 until DATE
    • change default branch for bbb-install
    • change default branch for bbb-docker-build-packages
    • Announce maintenance schedule for BBB 3.0
    • push v4.0.x-release into main
    • switch the default branch for each of the plugins to v0.1.x to match BBB 4.0 being recommended

NodeJS 24 everywhere

  • bbb-transcription-controller

============== maybe ===========

antobinary and others added 30 commits July 20, 2026 11:23
…WIP)

- bigbluebutton-web: Grails 7.0.8 -> 8.0.0-M3, Spring Boot 3.5.14 -> 4.1.0,
  Groovy 4.0.21 -> 5.0.7, Gradle wrapper 8.14.3 -> 9.6.0
- drop tomcat-embed 10.1 pins (Boot 4.1 manages Tomcat 11.0.22); Jakarta EE 11
  validation stack (validation-api 3.1.1, hibernate-validator 9.1.0.Final, EL
  impl now via tomcat-embed-el); asset-pipeline plugin moved to its new
  cloud.wondrify coordinates (5.2.0-M1); Gradle 9 DSL fixes (url=/version=/
  group= assignments, layout.buildDirectory instead of project.buildDir)
- ApiController: replace Groovy-internal ListHashMap with LinkedHashMap
- bbb-common-web: spring-data-commons 4.1.0, jackson 2.21.5, hibernate-validator
  9.1.0.Final, jakarta.servlet-api 6.1.0 (provided), jakarta.annotation-api
  3.0.0; drop dead javax.servlet-api 4.0.1, org.glassfish:jakarta.el and the
  duplicate scala-xml 2.0.0 declaration
- bbb-common-message: use RedisURI.Builder.withPassword(char[]) - the String
  overload was removed in Lettuce 7 (Spring Boot 4.1 manages 7.5.2); the char[]
  overload also exists in Lettuce 6.1.5 used by the pekko apps

Verified in the bbb40 dev container: sbt publish of both common jars, gradle
clean assemble (war output name unchanged), bootRun startup on port 8091, and
getMeetings API round-trip including checksum validation.

Note: Grails 8 is still pre-release (8.0.0-M3 is the latest published;
v8.0.0-M4 is tagged but has no artifacts on Maven Central yet).

Refs #25449

Co-Authored-By: Claude Fable 5 <[email protected]>
- dev-guide: bump sdkman tool versions (gradle 9.6.0, grails 8.0.0-M3,
  sbt 1.10.7 matching project/build.properties)
- new-features: update the BBB 4.0 upgraded-components list (Grails 8.0.0-M3,
  Gradle 9.6.0, Groovy 5.0.7, Spring Framework 7.0.8, Spring Boot 4.1.0,
  embedded Tomcat 11.0.22)
- bigbluebutton-web/README: rewrite stale Grails 3-era instructions (gradle
  5.1.1/grails 3.3.9, grails CLI commands) around the Gradle wrapper and the
  current stack; fix dev port (8090) and packages-template path

Refs #25449

Co-Authored-By: Claude Fable 5 <[email protected]>
Gradle 9 removes the project-level sourceCompatibility/targetCompatibility
conventions, space-assignment syntax (version '0.0.1'), and the
BasePluginConvention archivesBaseName property. Building pres-checker with
Gradle 9.6.0 failed at configuration time on the first of these:

  Could not set unknown property 'sourceCompatibility' for root project
  'bbb-pres-check'

Replace them with the java {} extension block, `version =` assignment, and
base { archivesName }. All three replacements are equally valid on Gradle
8.14.3 (the version the current docker-bbb-build packaging image ships), so
this lands safely before the image moves to Gradle 9 - verified by building
with both 8.14.3 and 9.6.0.

The produced artifact keeps the exact name bbb-pres-check-0.0.1.jar that
build/packages-template/bbb-web/build.sh expects. Runtime behavior verified
against generated decks: valid .pptx accepted (exit 0), all-slides-hidden
.pptx rejected (exit 2), before and after.

Co-Authored-By: Claude Fable 5 <[email protected]>
The packaging script (build/packages-template/bbb-web/build.sh) and the dev
script (pres-checker/build.sh) invoked bare `gradle`, so the Gradle version
used for pres-checker was whatever the docker-bbb-build image happened to
ship - the only place in the bbb-web build that bypassed the wrapper, and the
reason a packaging-image Gradle bump could break this component independently
of the repo.

Invoke the parent project's ./gradlew instead (pres-checker has its own
settings.gradle, so it still builds as a standalone root project - same
semantics as before). The pinned wrapper version now applies to every Gradle
invocation in the bbb-web packaging path, and the system gradle installed in
the packaging image becomes irrelevant to bbb-web.

Verified: `../gradlew clean resolveDeps jar` from pres-checker/ builds
bbb-pres-check-0.0.1.jar with the wrapper-pinned Gradle 9.6.0.

Co-Authored-By: Claude Fable 5 <[email protected]>
The packaging script copied build/libs/bbb-pres-check-0.0.1.jar by its exact
name, so any version bump in pres-checker/build.gradle would abort packaging
at this cp (the script runs under set -e). Copy bbb-pres-check-*.jar instead;
the archives name is stable and clean is run first, so exactly one jar exists
in build/libs when this line executes.

Co-Authored-By: Claude Fable 5 <[email protected]>
…esolves

The declared pins were dead text: Gradle conflict resolution overrode
commons-io 2.11.0 -> 2.18.0, commons-lang3 3.9 -> 3.16.0, xmlbeans
5.1.1 -> 5.3.0 and commons-collections4 4.4 -> 4.5.0 via POI's own
transitive requirements, so the build file misrepresented the runtime
classpath.

- Bump POI 5.4.1 -> 5.5.1, aligning with the version bbb-common-web already
  uses for presentation processing.
- Pin commons-lang3 explicitly to 3.20.0, the same version bigbluebutton-web
  forces via its dependencySubstitution, instead of silently resolving to
  whatever POI drags in (3.18.0 for POI 5.5.1).
- Bump commons-collections4 (genuinely used: CollectionUtils/Predicate in
  Main.java) to the 4.5.0 that actually resolves.
- Drop the commons-io declaration and its unused FilenameUtils import in
  Main.java - nothing in pres-checker uses commons-io directly; POI still
  brings it transitively for its own needs (2.21.0).
- Drop the xmlbeans pin - it was below what poi-ooxml requires and lost the
  conflict resolution anyway (5.3.0 resolves either way).

Verified: wrapper build succeeds, runtimeClasspath shows the expected
versions, and the generated-deck checks still pass (valid=0, all-hidden=2).

Co-Authored-By: Claude Fable 5 <[email protected]>
POI 5.x logs through the log4j2 API, but no provider was on the prescheck
classpath, so every invocation printed

  main ERROR Log4j API could not find a logging provider.

and any POI warning or error while parsing a deck was dropped before
logging could happen. Add log4j-core as runtimeOnly at 2.24.3 - the exact
version POI 5.5.1's log4j-bom manages for its log4j-api - so resolveDeps
ships a matching provider.

Note the benefit is limited to manual runs of prescheck.sh (debugging a
rejected deck by hand): in the bbb-web upload path
ExternalProcessExecutor.exec() redirects the child's stdout and stderr to
DISCARD, so OfficeDocumentValidator2 only ever consumes the exit code.
Surfacing POI diagnostics in that path would require the executor to stop
discarding stderr - a separate change, out of scope here.

The exit-code contract is unchanged (generated decks: valid=0,
all-hidden=2, now with a clean stderr).

Co-Authored-By: Claude Fable 5 <[email protected]>
…n-Class

The jar manifest carried Java Web Start / applet-era attributes (Permissions,
Codebase, Application-Library-Allowable-Codebase, Caller-Allowable-Codebase,
Trusted-Only, Application-Name) that have been meaningless since JWS was
removed in Java 11 - pres-checker is executed via `java -cp` from
prescheck.sh, never deployed over JNLP. Replace them with the one attribute
a CLI jar should have: Main-Class. Also drop `jar.enabled = true`, which is
the java plugin's default.

prescheck.sh is unchanged and remains the entrypoint (it supplies the lib/
classpath); Main-Class is a convenience/documentation attribute.

Co-Authored-By: Claude Fable 5 <[email protected]>
…icate jars

The packaged bbb-web never came up on Grails 8.0.0-M3 (CI: 502 on /create
from nginx; service active but port never bound). Thread dump shows the main
thread hot-spinning (157s CPU / 159s wall) in Grails 8's new plugin
discovery: DefaultPluginDiscovery.loadDelayedPlugins ->
areDependenciesResolved -> GrailsVersionUtils.isValidVersion. The
re-queue branch for unsatisfied loadBefore relationships has no progress
detection, so it never exits (the unresolved-dependency branch does have an
escape to failedPlugins; the loadBefore branch does not).

The trigger is our launch line: `-cp WEB-INF/lib/*:/:WEB-INF/classes/:.`
puts every application jar on the system classloader while WarLauncher
builds its own classloader over the same WEB-INF/lib and WEB-INF/classes -
every Grails plugin descriptor is visible twice, which feeds the discovery
loop a plugin graph it can never finish ordering. Grails 7's legacy plugin
manager tolerated the duplication; 8.0.0-M3 spins forever.

Launch the exploded war the way Boot documents it instead: `-cp .` from
/usr/share/bbb-web (the loader classes sit at the war root; WarLauncher
constructs the application classloader itself from WEB-INF/). The extra
classpath entries were redundant belt-and-braces - WarLauncher never needed
them.

Verified in the bbb40 container through the real systemd path (exploded war,
grails.env=prod): with the old line the JVM spins with zero app log output;
with `-cp .` the service starts, binds 8090, and answers a checksummed
getMeetings. Isolation tests: fat-war `java -jar` (prod) starts fine, and
exploded `-cp .` starts fine - only the duplicated classpath hangs.

The underlying livelock is a grails-core 8.0.0-M3 bug worth reporting
upstream (loadDelayedPlugins needs progress detection), but bbb-web should
use the minimal classpath regardless.

Co-Authored-By: Claude Fable 5 <[email protected]>
…-boot

Resolve conflicts against v4.0.x-develop (217 commits since the branch
point). Three files conflicted:

- bigbluebutton-web/gradle.properties: keep the Grails 8.0.0-M3 /
  Gradle 9.6.0 / Groovy 5.0.7 / Spring Boot 4.1.0 stack from this branch;
  develop only bumped the old 7.0.8 / 3.5.16 line.

- bigbluebutton-web/build.gradle: keep the Gradle 9 assignment syntax
  (version = / group =) and drop the develop-side ext[...] version pins
  (spring-framework 6.2.19, jackson-bom 2.22.1, tomcat 10.1.56, ...) and
  the transitive tomcat-embed 10.1.56 override. Those pin the Spring
  Boot 3.5 stack and would force downgrades under the Boot 4.1 BOM, which
  already manages newer, fixed versions (Spring Framework 7.0.8, Tomcat
  11.0.22, Jackson 2.21.x). The tomcat-embed override was explicitly a
  TODO to remove once the managed version was fixed.

- docs/docs/new-features.md: keep this branch's upgraded-components list
  while preserving the "Java 21 (OpenJDK)" line develop added.

ApiController.groovy and dev-guide.md auto-merged cleanly; verified the
Groovy 5 ListHashMap->LinkedHashMap fix and the M3/Gradle 9 SDKMAN docs
survived.
8.0.0-M4 is now published on both Maven Central and repo.grails.org
(grails-gradle-bom / grails-gradle-plugins / grails-bom all resolve).

Its BOM pins the same downstream stack as M3, so only the Grails version
moves: spring-boot 4.1.0, groovy 5.0.7, jackson2 2.21.5, jackson3 3.1.5
are unchanged. gradleWrapperVersion (9.6.0), groovyVersion (5.0.7) and
springVersion (4.1.0) therefore stay put.

Docs (dev-guide sdkman step, new-features upgraded-components list)
updated to match.
The Grails 8 / Spring Boot 4.1 upgrade moves bbb-common-web from Jackson
2.13.5 to 2.21.5. Jackson 2.15+ ships StreamReadConstraints with a
default 20 MB cap on the length of any single JSON string value; past
that, parsing throws and the message is dropped. Large payloads are
unlikely but possible (e.g. a big clientSettingsOverride passed to
/create), so raise the limit to 100 MB on the shared JsonUtil.mapper.

The reviewer suggested doing this in bbb-common-message/JsonUtil.scala,
but that module is still compiled against Jackson 2.13.5, where
com.fasterxml.jackson.core.StreamReadConstraints does not yet exist, so
the code would not compile there. bbb-common-web compiles against 2.21.5
and owns the bbb-web JVM whose Jackson this PR actually bumps, so the
shared mapper's factory is configured here, at gateway startup, before
any inbound message is parsed. Verified the API (JsonFactory.
setStreamReadConstraints, StreamReadConstraints.builder().maxStringLength)
is present in the resolved jackson-core 2.21.5.

Note: akka-bbb-apps already runs Jackson 2.18.9 and is likewise subject
to the 20 MB default via the same shared mapper; that is pre-existing and
out of scope here. Bumping bbb-common-message's own Jackson would be the
way to cover it, but that is a wider, separately-verifiable change.
…-boot

# Conflicts:
#	.gitlab-ci.yml
#	bbb-common-message/src/main/java/org/bigbluebutton/common2/redis/RedisStorageService.java
#	bbb-common-message/src/main/scala/org/bigbluebutton/common2/redis/RedisClientProvider.scala
#	bbb-common-web/build.sbt
#	bbb-common-web/project/Dependencies.scala
#	bigbluebutton-web/build.gradle
#	bigbluebutton-web/gradle.properties
#	bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/ApiController.groovy
#	bigbluebutton-web/pres-checker/build.gradle
#	docs/docs/development/dev-guide.md
#	docs/docs/new-features.md
…1.0)

Grails 8.0.0-M6 aligns on Spring Boot 4.1.1 and Groovy 5.1.0, and its
BOMs move asset-pipeline (cloud.wondrify) to 5.2.0-M3.
hibernate-validator follows Spring Boot 4.1.1 dependency management to
9.1.3.Final; spring-data-commons moves to the matching 4.1.1 on the
bbb-common-web sbt side.

The M6 artifacts are not on Maven Central yet: the ASF release vote
(attempt 3, opened 2026-08-26) is still in progress, so the build
temporarily also resolves from the Apache staging repository. Drop the
staging repo entries once M6 is promoted to Central - the coordinates
do not change.

The Jackson comment in BbbWebApiGWApp is reworded: v4.0.x-develop has
since moved bbb-common-message to Jackson 2.22.1, so the old rationale
(StreamReadConstraints unavailable there) no longer holds; the
constraint intentionally stays in bbb-web to keep the raised limit
scoped to this JVM.
Rebuilt bbb-build image carrying the Grails 8 toolchain, replacing the
grails-8--2026-07-20-153952 tag. To be replaced by a regular
v4.0.x-release image once the Grails 8 toolchain lands in the official
build image.
The dev guide stops installing a Grails CLI via SDKMAN: the build is
fully driven by the Gradle wrapper, and 8.0.0-M6 is not published to
SDKMAN while its ASF release vote is open.
…-boot

Brings in the 245 commits that landed on v4.0.x-develop since the
2026-08-28 merge. The only conflict was the CI build image line in
.gitlab-ci.yml (upstream moved to v4.0.x-release--2026-08-28-153010);
this branch keeps its TEMP grails-8 image, which is what can resolve the
Grails 8 toolchain. Everything else merged cleanly, including upstream's
new useJUnitPlatform()/test-count guard in bigbluebutton-web/build.gradle.
Apache Grails published 8.0.0-RC1 on 2026-09-23. Like M6 before it, the
artifacts are in the ASF staging group only while the release vote runs,
so the TEMP staging-repository entries in build.gradle stay for now and
the comments are retargeted at RC1. Spring Boot stays at 4.1.1 (RC1's BOM
manages the same version); Groovy follows the BOM to 5.1.3 and the
cloud.wondrify asset-pipeline plugin to its 5.2.0-RC1 release, which is
already on Maven Central.

The RC1 Grails Gradle plugin is built against Gradle 9.7
(apache/grails-core#16114): on the 9.6.0 wrapper `gradlew assemble` dies
with NoSuchMethodError on
GroovyCompileOptions.getConfigurationScriptFile() returning a
RegularFileProperty. Move the wrapper to 9.7.1, the current release.

RC1 hands multipart handling to Spring Boot's auto-configuration
(apache/grails-core#16040): the grails.controllers.upload.maxFileSize /
maxRequestSize keys are gone, and an application that still sets them
aborts at startup with a migration message. Move bbb-web's limits to
spring.servlet.multipart.max-file-size / max-request-size with the same
values. Without an explicit setting, Boot's defaults (1 MB per file,
10 MB per request) would silently cap presentation and caption uploads;
BigBlueButton's own per-presentation cap (maxFileSizeUpload, enforced by
ParamsProcessorUtil) is unchanged.

Also in RC1 (apache/grails-core#16149) the _method override moved from a
servlet filter into the dispatcher and is off by default, so the disabled
hiddenHttpMethodFilter registration in resources.groovy is now redundant.
It still compiles and stays inert, so it is left alone here.

Verified with a package build in the grails-8 build image, deployed to a
4.0 dev container: startup in 4.4 s without warnings, checksummed
create/getMeetingInfo/end round-trip, a 5.3 MB presentation upload
through the client (above Boot's default per-file limit), and the api,
learningdashboard, presentation and parameters Playwright suites. Every
remaining failure in those suites reproduces with the same signature on
the pre-upgrade Grails 7.0.12 package (screenshot drift, the @flaky
external-video tests, a test needing maskTagThreshold > 0, and the
predefined breakout groups tests).
…ails-core-and-spring-boot

Brings in the 123 commits that landed on v4.0.x-develop since the
2026-09-23 merge, including the 4.0.0-rc.4 forward-port and the
2026-10-01 dependency audit.

The only conflict was bigbluebutton-web/build.gradle, where the audit
refreshed the ext['*.version'] overrides and the tomcat-embed 10.1.59
pins. Those target the Spring Boot 3.5 line (Tomcat 10.1, Spring
Framework 6.2, Spring Data 2025.0) and cannot be applied to this
branch's Boot 4.1.1 stack, so the Grails 8 side is kept there. The parts
of the audit that are independent of the Boot line merged cleanly and
are kept: freemarker 2.3.35, the strict junrar 7.6.1 constraint, the
ivy 2.6.0 force and the ant 1.10.18 force on the build classpath, plus
the jackson/freemarker/jsoup bumps in bbb-common-web.

Checked against the resolved dependency graph of the merged tree: every
artifact the audit pinned resolves at or above its pin here (netty
4.2.17.Final, lettuce 7.7.0.RELEASE, jackson 2.22.3, logback 1.6.3,
httpclient5 5.6.4, httpcore5 5.4.3, ant 1.10.18, selenium 4.45.0,
opentelemetry 1.63.0), with one exception: Boot 4.1.1 manages Tomcat
11.0.24, which predates the fixes upstream takes via 10.1.59. That is
addressed in a follow-up commit.
Apache Grails tagged 8.0.0-RC2 on 2026-09-29. RC1 has since been
promoted to Maven Central, but RC2 is again in the ASF staging group
only while its release vote runs, so the TEMP staging-repository entries
in build.gradle stay and their comments are retargeted at RC2. RC2's BOM
keeps Spring Boot 4.1.1 and Groovy 5.1.3; the cloud.wondrify
asset-pipeline plugin follows the BOM to 5.2.0-RC3 (on Maven Central).

RC2 itself is built on Gradle 9.8.0, the current release, so the wrapper
moves from 9.7.1 to 9.8.0 to stay on the combination Grails tests. This
is alignment rather than a requirement: RC2 still assembles on 9.7.1.

.gitlab-ci.yml moves to bbb-build:grails-8--2026-10-02-140644, rebuilt
today with the Grails 8.0.0-RC2 CLI. It also picks up the toolchain the
current v4.0.x-release image has (Go 1.27.0, Node 22.23.2), which the
previous grails-8 image predated.

Behavior change that comes with RC2 (apache/grails-core#15967): Grails
now sends browser-hardening headers on every response by default, so
every bbb-web response gains
  X-Content-Type-Options: nosniff
  X-Frame-Options: SAMEORIGIN
  Referrer-Policy: strict-origin-when-cross-origin
  X-XSS-Protection: 0
The defaults are left in place. Joining through a cross-origin iframe
keeps working: the join call answers with a redirect, and the framed
document is the client served by nginx, which carries no such header.
What changes is that a document rendered by bbb-web itself (for example
the XML of /bigbluebutton/api) is no longer displayed inside a
cross-origin frame. A deployment that needs that can opt out per header
in /etc/bigbluebutton/bbb-web.properties, e.g.
grails.security.headers.frame-options.enabled=false.

Checked, nothing to do: the RC2 JSON date/time rendering change
(apache/grails-core#16411) concerns grails.converters.JSON and JSON
views, while bbb-web builds its JSON with groovy.json.JsonBuilder and
ships no gson views; the link-resolution change
(apache/grails-core#16272) has nothing to act on, bbb-web's only
generated link is one redirect(action:).

Verified together with the Tomcat pin in the next commit.
v4.0.x-develop pins the embedded Tomcat to 10.1.59 for the security
fixes of the August 2026 Tomcat releases. This branch dropped those pins
with the move to Spring Boot 4.1.1, but 4.1.1 manages Tomcat 11.0.24,
which is the 11.0 counterpart of 10.1.57 and so lacks them (they are in
11.0.25). There is no newer Spring Boot 4.1 release to pick them up
from.

Override tomcat.version to 11.0.26, the current 11.0 release. It
contains the 11.0.25 fixes and those of the 2026-09-15 release, among
them CVE-2026-86350, a request header mix-up regression that affects
11.0.22 through 11.0.25, which is why the override does not stop at
11.0.25. The override is picked up through the Grails BOM property
override ("BOM version override via project property" in
dependencyInsight) and moves tomcat-embed-core, -el and -websocket
together.

Verified at this commit with a package build in the
grails-8--2026-10-02-140644 image, installed on a 4.0 dev container:
the WAR carries grails-*-8.0.0-RC2, spring-boot 4.1.1 and
tomcat-embed-*-11.0.26; bbb-web starts in about 6 s without warnings or
errors; a 5.3 MB presentation upload through the client is converted
(117 pages); the cross-origin iframe join works; and the api and
presentation Playwright suites give 31 passed, 8 failed, 3 skipped,
with per-test results and failure messages identical to a run against
the RC1 build made on the same container the same day (screenshot
drift, the @flaky external-video tests, a test needing
maskTagThreshold > 0, camera-as-content).
Apache Grails tagged 8.0.0 on 2026-10-04 and opened its release vote the
same day. Until the vote closes the artifacts are in the ASF staging
group only, so the TEMP staging-repository entries in build.gradle stay
and their comments are retargeted at 8.0.0; they come out once 8.0.0 is
on Maven Central.

Against RC2 the 8.0.0 BOM changes two things: asset-pipeline goes from
5.2.0-RC3 to 5.2.0 and SiteMesh from 3.3.0-RC3 to 3.3.0. Spring Boot
(4.1.1), Groovy (5.1.3) and the Gradle version Grails builds with
(9.8.0) are unchanged, so gradle.properties only moves grailsVersion and
the cloud.wondrify asset-pipeline plugin follows the BOM to 5.2.0. The
Tomcat 11.0.26 override stays: there is still no Spring Boot 4.1 release
newer than 4.1.1.

.gitlab-ci.yml moves to bbb-build:grails-8--2026-10-04-230216, which has
the same toolchain as the previous grails-8 image (JDK 21.0.12.1,
Go 1.27.0, Node 22.23.2) with the Grails 8.0.0 CLI.

Checked, nothing to do for what went into 8.0.0 after RC2: the default
dataSource bean (apache/grails-core#16458) is registered only with GORM
for Hibernate, which bbb-web does not ship; the XML-safe GSP html codec
default (apache/grails-core#16460) is what bbb-web already configures
explicitly, and it has no GSPs; the messageSource basename ordering
(apache/grails-core#14753) has nothing to act on, bbb-web looks up no
messages through it.

Verified with a package build in the new image, installed on a 4.0 dev
container: the WAR has the same 248 jars as the RC2 build, with the 44
grails-* jars at 8.0.0 and Spring Boot 4.1.1, Tomcat 11.0.26 and Groovy
5.1.3 unchanged. bbb-web started in 7.4 s with a clean log (no ERROR,
only the logback layout/encoder WARNs the stock build prints too) and
/bigbluebutton/api returned SUCCESS. A 5.3 MB PDF uploaded through the
client became the current presentation (bbb-web counted 117 pages),
and a join inside a cross-origin iframe still rendered the client. The
api + presentation Playwright suites gave 32 passed, 7 failed and 3
skipped on the 8.0.0 build, the same counts as the stock Grails 7.0.12
build on the same container, and the per-test results were identical:
no test differed, the same 7 tests fail on both builds.
With privateMessageReadFeedback enabled, the time label shown on hover
for consecutive messages is absolutely positioned in the bubble's
bottom corner, where the read check already sits. On single-line
messages the label (and its inherited background) was painted over the
lower part of the check.

When the message carries the read check, move the hover footer past it
(message padding + 1rem check glyph + gap), mirrored for RTL. Messages
without the check keep the current position.

Adds an e2e test that measures the check against the footer time and
the "Edited" label, and samples the check's lower half with
elementFromPoint.

Closes #25936

Co-authored-by: Tainan Felipe <[email protected]>
…olls and quizzes

Polls and quizzes without a question are labelled "Poll N"/"Quiz N" in
the dashboard tables and in the session data CSV. Add e2e coverage
asserting that N is the order in which they were asked, that the tables
keep showing the newest first, that existing numbers do not shift when a
new poll is added, and that the CSV lists six polls in creation order.

The header-to-cell lookup used by the existing Polls test is moved to a
private helper so the new tests reuse it.

Refs #25818

Co-authored-by: Tainan Felipe <[email protected]>
…er they were asked

The Polls and Quizzes tables list the newest item first, but labelled
items without a question by their position in that list, so "Poll 1"
was the last poll asked and every new poll renumbered the existing
columns. Number them from their chronological position instead, keeping
the newest-first display.

The session data CSV took its columns from the order of the polls map
in the dashboard data, which is only insertion-ordered up to four
polls. Sort them by creation time so "Poll N" is the N-th poll asked
there too.

Closes #25818

Co-authored-by: Tainan Felipe <[email protected]>
…eader hover

Hovering a column header in the Polls and Quizzes tables now shows the
date and time the poll or quiz was created in the meeting, so "Poll N"
can be matched to the moment it was asked. Headers that show the
question keep the full question text in the tooltip, followed by the
date and time. Items without a creation time keep the previous behavior.

Refs #25818

Co-authored-by: Tainan Felipe <[email protected]>
0.9.0 adds BBButton's fullWidth prop and className forwarding, and keeps
a disabled button's 1px border so enabling it no longer shifts layout.

It raises the @mui/material and @mui/icons-material peer floor to 6.4.9,
since BBBToggle now passes its accessibility props through
slotProps.input, which Switch only forwards from that release on. Bump
both to 6.5.0, the latest 6.x.

BBBToggle also dropped inputProps, so the poll toggles' data-test hooks
move to slotProps.input. Without this, the E2E selectors for the
anonymous poll and custom input toggles would no longer match.
The BBButton migration dropped the full width the old ConfirmationButton
carried, since BBButton sizes itself to its label. The take/request
presenter button and the Share/Stop sharing footers changed width with
the language and the label, and the popover's three states rendered at
three heights (37, 51 and 45px).

Span the popover and the modal with the shared full-width wrapper, give
the take/request presenter states the same `sm` size and match the
waiting state's box to it. Let long translations wrap instead of
overflowing the popover.
antobinary and others added 3 commits October 8, 2026 12:09
joinInsideCrossOriginFrame failed in CI on both attempts: neither frame
loaded, and the trace shows both subframe navigations (the join URL and
/api) failing with net::ERR_BLOCKED_BY_PRIVATE_NETWORK_ACCESS_CHECKS.
Chromium 141 (Playwright 1.56) applies its local network access checks
to subframe navigations. The LMS page answered by route.fulfill() has no
network address of its own, so the browser treats it as public, while
bbb-ci.test resolves to the CI runner's own, private address, and a
public page may not frame a server on a private address. On a server
with a public address the check does not apply, which is why the test
passed when it was written. This is browser policy, independent of
bbb-web and of the Grails version.

The route now continues the LMS URL to the server's front page and the
test then writes the two frames with page.setContent(). The document
keeps the made-up LMS origin, but it was fetched from the server, so it
shares the server's address space and the frames load wherever the test
runs. The commit message of be50b4a still says the page is answered
by page.route without a server; that is no longer the case.

The /api check is stronger as well (CodeRabbit pointed out that the old
"does not contain SUCCESS" check would pass for any document): the test
now asserts that bbb-web answers the framed /api request with 200 and
that the browser refuses to display it (net::ERR_BLOCKED_BY_RESPONSE).
bbbWebSecurityHeaders also checks that GET /api returns bbb-web's
answer before looking at its headers.

Checked against a stand-in HTTPS server on a private address (join
redirect with X-Frame-Options, a page with the audio modal, an XML /api
with X-Frame-Options): the old shape is refused exactly as in CI, the
new one loads the meeting frame and reports the /api frame as blocked,
and without X-Frame-Options (Grails 7) the /api assertion fails as it
should. tsc, eslint and prettier pass. Not run end to end against BBB
yet; the next CI run is the first.
The development steps changed into bigbluebutton/bbb-common-message,
bigbluebutton/bbb-common-web and bigbluebutton/bigbluebutton-web, paths
relative to the directory above the checkout (the first one used to be
absolute), so none of them worked from the repository root, where a
reader starts. They now run from the root; the two sbt deploy steps run
in a subshell so the next step still starts from the root. Raised by
CodeRabbit on #25466.
…rlap

[4.0] fix(chat): keep the read check clear of the message time on hover
Spring Boot 4.1 lowered the default of server.tomcat.max-parameter-count
from 10000 (Boot 3.5) to 1000. Tomcat 11 does not drop the extra
parameters the way Tomcat 10.1 did: a request with more than 1000
parameters (query string plus form body) fails with InvalidParameterException
and Tomcat's own HTML 500 page. After the Grails 8 upgrade an API call such
as a create with many meta_ parameters, or a join with many userdata-
parameters, would fail that way. Set the limit back to the value bbb-web
ran with on Spring Boot 3.5.

Measured with the same Spring Boot 4.1.1 / Tomcat 11.0.26 stack (3.0 port
of this upgrade on a 3.0.39 container; POST of N form parameters plus a
wrong checksum to /bigbluebutton/api/getMeetings): with the default, 990
parameters answer checksumError and 1200 answer HTTP 500; with this
setting, 1200 and 9900 answer checksumError again.
build: Update bbb-transcription-controller to v0.4.0
antobinary and others added 6 commits October 13, 2026 13:39
The script replaces /usr/share/bbb-web with a fresh build and restarts the
service, but leaves the systemd unit alone. A server that still has the unit
of a Grails 7 package launches the exploded war with
-cp WEB-INF/lib/*:/:WEB-INF/classes/:., and with that classpath a Grails 8
bbb-web never finishes starting (b8e3c94): the main thread spins in the
plugin discovery, port 8090 is never bound and nginx answers 502, with no
error anywhere.

Install the unit from build/packages-template/bbb-web when the installed one
differs from it, as the package does, and refuse to start when the active
unit still launches with the old classpath (an override under
/etc/systemd/system that replaces ExecStart), telling the developer what to
change.

Checked on a 4.0 server with the Grails 8 package installed: the unit matches
the template and the check passes; with a temporary drop-in that puts the old
classpath back, the check reports the override and stops. Launching the
Grails 8 build by hand with the old classpath reproduces the hang: after 90 s
the port is unbound, the main thread is RUNNABLE in
GrailsVersionUtils.isValidVersion under DefaultPluginDiscovery.loadDelayedPlugins
and has used 89 s of CPU.
The test serves the LMS page through route.continue() pointed at the
server's front page, so that the document keeps the LMS origin while
Chromium's private network access check lets it frame a server on a
private address. In Firefox, route.continue() with another URL navigates
the page to that URL instead, so the first assertion ("the LMS page should
stay on its own origin") fails, and the X-Frame-Options check that follows
would compare same-origin frames. The refusal is also asserted through
Chromium's net::ERR_BLOCKED_BY_RESPONSE. Skip the test outside Chromium;
CI runs the Firefox project only with the "test Firefox" label.

Measured on a 4.0 server with Playwright 1.56 and Firefox 142: the test
fails at the origin assertion against the Grails 7 and Grails 8 builds
alike; with the skip, the other api tests pass in Firefox.
Spring Boot 4.1 lowered Tomcat's default limit on request parameters (query
string plus form body) from 10000 to 1000, and Tomcat 11 answers a request
over the limit with its own HTML 500 page, where Tomcat 10.1 dropped the
extra parameters. d989c77 keeps the limit at 10000 in
application.properties; this test pins it: a POST of 1200 form parameters
to a checksummed getMeetings must be answered with SUCCESS.

Measured on a 4.0 server with this branch: 990, 1200 and 9900 parameters
are processed and 10100 get Tomcat's 500 page; the stock Grails 7 build
processes 10100 too and ignores the extras.
20ff3e9 raised Jackson's maxStringLength on the shared JsonUtil.mapper
from 20 MB to 100 MB so that a large clientSettingsOverride would still
deserialize. No input of that size can reach the mapper in the bbb-web JVM:
its only readers there are the messages akka-apps publishes on Redis; nginx
rejects request bodies to /bigbluebutton above 1 MB with 413, Tomcat limits
form posts to 2 MB, and bbb-web caps a clientSettingsOverrideJsonUrl
response at maxClientSettingsOverrideJsonUrlPayloadSize (1024 KiB). The
commit's reason, bbb-common-web moving off Jackson 2.13.5, no longer holds
either: v4.0.x-develop ships Jackson 2.22.3 with the same 20 MB default,
which this PR does not change.

BbbWebApiGWApp.scala is back to its v4.0.x-develop content. Review
follow-up on #25466.
new-features.md names the four security headers but not the other
differences an API client or an administrator can notice after the move to
Grails 8 / Spring Boot 4.1. Add them under the headers section: the 404
body for a URL no API call handles is JSON instead of XML; without a CORS
configuration a cross-origin preflight gets 200 without Access-Control-*
headers instead of 403, and responses carry no Vary: Origin; more than
10000 parameters get Tomcat's 500 page where Tomcat 10.1 ignored the
extras; a form POST above 2 MB sent directly to port 8090 gets a 500 page
instead of an API error; and a systemd override that replaces ExecStart
must launch with -cp ., because the old classpath makes a Grails 8 bbb-web
hang at startup.

Each measured on a 4.0 server against its stock Grails 7 build. Review
follow-up on #25466.
fix(html5): keep media-sharing and confirmation buttons at a consistent size
transifex-integration Bot and others added 2 commits October 13, 2026 14:51
- install.md: drop the "BigBlueButton 4.0 is under development. This
  documentation section is a DRAFT." heading.
- install.md: drop the sentence saying a 3.0 server could be upgraded
  with the 4.0 version of bbb-install.sh. That script stops unless the
  server runs Ubuntu 24.04 (check_ubuntu 24.04), while 3.0 runs on 22.04;
  the sentence after it and "Upgrading from BigBlueButton 3.0" already
  say an in-place upgrade from 3.0 is not supported.
- new-features.md: list 4.0.0 first under Recent releases. The v4.0.0
  tag does not exist yet, so the link 404s until the release is
  published.
- docusaurus.config.js: the GitHub navbar link still pointed at the old
  v3.1.x-release/docs; point it at v4.0.x-release/docs. This config is
  only used for single-version local builds; the deployed site uses the
  one on develop.
Found by the Docusaurus build once 4.0 is built as the default version:

- customize.md linked "manual upgrade steps" to
  /administration/install#upgrading-from-bigbluebutton-26-or-27, a 3.0
  section that the 4.0 install page does not have. Point it at
  #upgrading-bigbluebutton-40.
- new-features.md linked public.stats.logMediaStats to
  #client-side-webrtc-stats-logging, a section that was never written.
  The setting is listed under "Client settings (settings.yml) changes",
  so link there.
The sentence naming the properties of the other three headers had ended up
below the new "Other bbb-web response changes" list; it belongs right after
the frame-options example it continues. Review follow-up on #25466.

(cherry picked from commit 944c632)
Updated supported versions and end-of-life information for BigBlueButton.
chore: Revise security support details in SECURITY.md
@github-actions

Copy link
Copy Markdown

🚨 Automated tests failed

@antobinary
antobinary marked this pull request as ready for review October 14, 2026 18:11
@antobinary antobinary changed the title WIP: chore: BigBlueButton 4.0.0 iteration chore: BigBlueButton 4.0.0 iteration Oct 14, 2026
@antobinary
antobinary merged commit 9dfa6c0 into v4.0.x-release Oct 14, 2026
32 of 35 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.

5 participants