Repository navigation
Merge v3.0.x-develop into v4.0.x-develop - #25455
Conversation
…o links In the BlockNote shared notes editor, y-prosemirror renders the remote collaboration cursor as a ProseMirror widget decoration with `side: 10` and no `marks`, so ProseMirror wraps the widget in the marks of the node that follows the caret. When a remote user's caret sits inside a link, that node carries the `link` mark, so the cursor — including the user's name and the U+2060 word-joiner separators around it — was rendered inside the <a>, leaking the name into the link's visible text (issue bigbluebutton#25225). Render the cursor through BlockNote's supported `renderCursor` hook so the element carries no document text: the collaborator's name is held in a `data-cursor-name` attribute and shown as CSS `::after` pseudo-content (never part of `textContent`/`href`), and the U+2060 separators are dropped. Presence rendering (caret + name label, including the activity/hover label) is preserved. Adds a two-user Playwright regression test that places one user's cursor inside a link and asserts the other user's view of that link contains no collaborator name and no word-joiner separators in its text or href. Co-authored-by: Tainan Felipe <[email protected]>
The reply intention preview and the quote inside sent replies extract the first visible line of the original message with getFirstVisibleLineHtml. The function treated the inline tags <a> and <code> as block-level, walked the root children in reverse order and removed every node that precedes the last "block" found - so a message like "Hello https://example.com" was previewed as just the link. Rewrite the extraction to walk the DOM in document order and truncate at the first visual line break (newline in a non-whitespace-only text node, <br>, or the end of the first nested block element), keeping inline content of the first line intact. Lists now preview their first item instead of the last one. Add an e2e scenario covering both previews when replying to a message with text followed by a link. Co-authored-by: Tainan Felipe <[email protected]>
…view - Assert the remote cursor is positioned inside the link (the precondition that proves the bug condition is actually exercised — guards against a false pass on a clean-but-cursorless link). - Poll for the remote cursor instead of a fixed sleep (robust; still reads via page.evaluate so the cursor owner's editor keeps focus and keeps broadcasting its cursor). - Count only `.bn-collaboration-cursor__base` (one per cursor) and drop the unused `hasAnchor` field. - Add a TODO pointing at the upstream y-prosemirror `marks: []` fix. Co-authored-by: Tainan Felipe <[email protected]>
…ministic The click-based caret positioning was flaky: clicking the link opens BlockNote's link toolbar, which steals editor focus and stops y-prosemirror from broadcasting the moderator's cursor — so the attendee sometimes saw the cursor at the link's end (outside the <a>) and the test failed on the precondition instead of reaching the bug assertion. Place the caret inside the link by keyboard only, and fold the presence guard + inside-link precondition + sync wait into a single expect.poll(cursorWidgetInsideLink).toBe(true). Verified: RED on an unpatched 3.0 server (fails on the U+2060 assertion, reproducing bigbluebutton#25225) and GREEN on the patched build. Co-authored-by: Tainan Felipe <[email protected]>
The raised hand indicator was only computed for GRID and STREAM tile types, so audio-only tiles never displayed it even though the user data (raiseHand) and the render path were already in place. Include the AUDIO_ONLY tile type in the raiseHand condition. Add a data-test hook to the indicator and an end-to-end test covering an audio-only tile raising its hand. Closes bigbluebutton#25169
Address review feedback (Arthurk12): the audio-only tile only appears when public.kurento.cameraSortingModes.showAudioOnlyOnFirstPage is enabled. Expose that setting in the playwright settings helper and skip the test (instead of failing with an opaque "tile never appeared" error) when it is disabled, mirroring the existing pattern already used for other client-setting-dependent tests (e.g. emojiRainTest). Ref: bigbluebutton#25169
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 14.1.1 to 14.2.0. - [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md) - [Commits](markdown-it/markdown-it@14.1.1...14.2.0) --- updated-dependencies: - dependency-name: markdown-it dependency-version: 14.2.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
fix(video-provider): show raised hand indicator on audio-only tiles
fix(chat): preserve text before links in reply message preview
Add client setting to not display guest lobby position
…test Define WORD_JOINER once in util.ts and import it in blocknote.ts instead of declaring the same value in both files. The util.ts copy lived inside a page.evaluate (browser scope), so it is now passed into the evaluate as an argument. Addresses review feedback on PR bigbluebutton#25285.
chore: BigBlueButton 3.0.31 iteration
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.5 to 4.0.6. - [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md) - [Commits](form-data/form-data@v4.0.5...v4.0.6) --- updated-dependencies: - dependency-name: form-data dependency-version: 4.0.6 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
fix: SVG support for notifications
Ship MALLOC_ARENA_MAX=2 as a systemd drop-in via bbb-config for the two JVM services (bbb-web, bbb-apps-akka). glibc's default arena pool (8 x vCPU) causes 500-600MB+ of unnecessary off-heap RSS on bbb-web; clamping to 2 arenas reduces RSS p95 by 37% with zero regressions measured over 36h with three-host A/B controls. Non-JVM services (graphql-server, graphql-middleware, html5, pads, livekit) use their own allocators and are not affected. Operators can override with a higher-priority drop-in in /etc/systemd/system/<service>.service.d/. Co-Authored-By: Tiago Jacobs <[email protected]>
…a-max-jvm Set MALLOC_ARENA_MAX=2 for bbb-web and bbb-apps-akka
…memory growth The BigBlueButton source in bbb-graphql-server metadata keeps each Postgres connection alive for 1 hour (connection_lifetime: 3600). While a connection stays open, Postgres holds onto the memory it used and never returns it to the system, so a 1-hour lifetime with up to 100 connections lets several GB pile up across a workday and pushes hosts into swap. Lowering it to 300 (the value validated in the investigation) recycles connections while still under load, so per-connection memory stays bounded. The cost is one reconnect per connection every 5 minutes, negligible next to the graphql server's constant query polling. Co-Authored-By: Tiago Jacobs <[email protected]>
…-connection-lifetime fix(bbb-graphql-server): lower connection_lifetime to limit Postgres memory growth
100% translated source file: 'en.json' on 'fr'.
100% translated source file: 'en.json' on 'fr'.
… one to prevent ODF export cropping (bigbluebutton#25303) Exported ODF slides with an image rendered cropped into the top-left corner. The background slide is loaded as an <image> sized to the slide, but CairoSVG only rescales the referenced SVG to that box when the file carries a viewBox. Slides converted without one keep their intrinsic size and render cropped. When the slide SVG lacks a viewBox, derive one from its own width and height so the background scales to fill the slide. This is a no-op for slides that already carry a viewBox, so current decks are unaffected.
|
| - Can be overridden on JOIN with Custom Parameter: `userdata-bbb_skip_echotest_if_previous_device=` | ||
|
|
||
| #### Recording event TranscriptUpdatedRecordEvent blocked | ||
|
|
There was a problem hiding this comment.
these 3.0 specific lines can be dropped
There was a problem hiding this comment.
Actionable comments posted: 18
🧹 Nitpick comments (3)
bigbluebutton-html5/imports/ui/components/external-video-player/custom-players/panopto.jsx (1)
50-55: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueRemove unnecessary
this.render()andnew Promisewrapper.Calling
this.render()directly does not trigger a React render or update the DOM; it merely returns a JSX object that is immediately discarded. Since this component is already mounted whenload()is called, the container exists in the DOM. You can simplify this method by returning thegetSDKpromise directly.♻️ Proposed refactor
load() { - new Promise((resolve, reject) => { - this.render(); - resolve(); - }) - .then(() => { return getSDK(SDK_URL, SDK_GLOBAL) }) + getSDK(SDK_URL, SDK_GLOBAL) .then(() => { const m = this.props.url.match(MATCH_URL);🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@bigbluebutton-html5/imports/ui/components/external-video-player/custom-players/panopto.jsx` around lines 50 - 55, Update the Panopto player’s load() method to remove the discarded this.render() call and unnecessary Promise wrapper, returning the getSDK(SDK_URL, SDK_GLOBAL) promise directly while preserving the existing SDK-loading behavior.record-and-playback/core/scripts/sanity/sanity.rb (1)
53-53: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueUse idiomatic Ruby constructs.
Raising
Exceptiondirectly can interrupt standard exception handling flows (like catchingInterrupt). It is considered a best practice to useStandardErrorinstead. Additionally, you can useunlessinstead ofif notfor better readability.♻️ Proposed refactor
- raise Exception, "Events file doesn't exist." if not File.exist?(filepath) + raise StandardError, "Events file doesn't exist." unless File.exist?(filepath)🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@record-and-playback/core/scripts/sanity/sanity.rb` at line 53, Update the file-existence guard in the sanity script to use an idiomatic unless condition and raise StandardError instead of Exception, preserving the existing error message and behavior when the events file is missing.Source: Linters/SAST tools
docs/docs/new-features.md (1)
323-323: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueFix grammar.
Consider adding a hyphen to "user-facing" for better readability.
📝 Proposed fix
-#### Replaced all user facing instances of "meeting" with the word "session" +#### Replaced all user-facing instances of "meeting" with the word "session"🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@docs/docs/new-features.md` at line 323, Update the heading text to hyphenate “user-facing” while preserving the existing statement about replacing “meeting” with “session.”Source: Linters/SAST tools
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/presentationpod/PresentationConversionCompletedSysPubMsgHdlr.scala`:
- Around line 11-12: Update the URI construction in
PresentationConversionCompletedSysPubMsgHdlr to percent-encode the
originalFilename value before inserting it into the filename query parameter.
Preserve the existing presFilename derivation and ensure encoding handles
characters such as &, =, and + correctly when building originalFileURI.
In `@bbb-export-annotations/lib/utils/slide-background.js`:
- Around line 35-52: Update largestEmbeddedRasterWidth to inspect each embedded
image resource and return its intrinsic bitmap pixel width rather than the SVG
layout width attribute. Decode or otherwise read the referenced PNG/JPEG data,
preserve the existing 0 fallback for unreadable or vector-only slides, and add a
fixture covering a bitmap whose intrinsic width exceeds its rendered SVG width.
In `@bbb-export-annotations/workers/process.js`:
- Around line 420-453: Update the rasterization error handling in the
backgroundSlide flow to publish the failure and terminate the export immediately
when rasterizeSlideBackground throws. After logger.error and
statusUpdate.setError(), return or otherwise stop processing before canvas.image
is called, ensuring the failed `${bgImagePath}-bg.png` is never passed into the
PDF pipeline.
In `@bigbluebutton-html5/imports/startup/client/intlLoader.tsx`:
- Around line 355-357: Update the hasError && !hasMessages branch in the intl
loader to provide ErrorScreen with its required callback, using a safe no-op or
appropriate startup recovery handler so componentDidMount cannot throw;
alternatively, replace it with a startup-specific error component that does not
require the callback.
- Around line 359-367: Initialize the fetching state in IntlLoader to true so
the initial render shows LoadingScreen while locale messages load; preserve the
existing fetch completion logic that allows IntlProvider to render once fetching
finishes or messages are available.
In `@bigbluebutton-html5/imports/ui/components/app/component.tsx`:
- Line 150: Ensure DocumentTitleManager is rendered for presentation-only mode
as well as the existing layout branch. Update the App component’s conditional
rendering so direct entry initializes the meeting title and switching modes
refreshes it without duplicating the manager unnecessarily.
In
`@bigbluebutton-html5/imports/ui/components/app/document-title-manager/component.tsx`:
- Line 113: Update DocumentTitleManager’s title subscription effect so it
re-reads getActiveDocumentTitleView() immediately after attaching the listener,
synchronizing registeredViewTitle with registrations that occurred before
subscription; preserve the existing cleanup and subsequent registry updates.
In
`@bigbluebutton-html5/imports/ui/components/breakout-join-confirmation/breakout-join-confirmation-graphql/styles.ts`:
- Line 2: Remove the leftover merge-conflict marker from the styles module,
including any other conflict markers in the same file, so the TypeScript source
parses successfully. Resolve the surrounding conflict by retaining the intended
valid styles content and ensure no marker lines remain.
In `@bigbluebutton-html5/imports/ui/components/nav-bar/component.jsx`:
- Around line 175-190: Fix the destructuring declaration in componentDidMount by
declaring shortcuts with a valid const { ... } assignment and restoring the
closing brace for the preceding if block. Preserve the existing
TOGGLE_USERLIST_AK handling and Firefox/macOS keyup listener behavior.
In `@bigbluebutton-html5/imports/ui/components/nav-bar/container.jsx`:
- Line 2: In the nav-bar container, remove the stale useIntl/defineMessages code
and any remaining references to it, then consolidate the duplicate
`@apollo/client` useReactiveVar imports into one import declaration. Preserve the
component’s existing behavior and other imports.
In `@bigbluebutton-html5/imports/ui/components/notes/component.tsx`:
- Around line 231-233: Wire the computed shouldShowSharedNotesOnPresentationArea
value from the component into NotesGraphql as a prop, and define or obtain
currentMeeting in NotesContainerGraphql before deriving that value. Ensure both
components use the same current meeting context so the render path has a valid
flag and no out-of-scope identifier.
In
`@bigbluebutton-html5/imports/ui/components/notes/notes-dropdown/component.tsx`:
- Line 70: Remove the unused NOTES_IS_PINNABLE constant assignment from the
notes dropdown component, while preserving the existing NOTES_ARE_PINNABLE()
usage for the pin action.
In `@bigbluebutton-html5/imports/ui/components/pads/pads-graphql/styles.ts`:
- Line 9: In the styles definition, replace the remaining colorGrayLightest
reference in the border declaration with the imported colorBorder token, while
preserving the existing border styling.
In
`@bigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/styles.js`:
- Around line 27-33: Fix the presentation toolbar styled component by removing
the undefined colorBlueLightest reference in its border-top declaration. Either
restore its palette import or replace it with the valid shared border token
already used by this styling module, ensuring the generated styles no longer
throw a ReferenceError.
In `@bigbluebutton-tests/playwright/accessibility/document-title.spec.ts`:
- Around line 81-88: Update the breakout-room flow around createBreakoutRooms so
it is guarded by the relevant feature setting rather than a momentary
isVisible() check. When enabled, wait for the create-breakout-rooms button to
become available, click it, retain the document-title assertion and modal
dismissal, and do not silently skip the assertion.
In `@bigbluebutton-tests/playwright/accessibility/nonTextContrast.ts`:
- Around line 364-374: Update the isVisible helper to inspect the element and
every ancestor, rejecting the element when any ancestor has hidden visibility or
effectively zero opacity; retain the existing display, opacity, and minimum-size
checks for the visible element.
In `@bigbluebutton-tests/playwright/sharednotes/blocknote/blocknote.ts`:
- Around line 22-27: Update the sharedNotesEnabled guard in the BlockNote
regression test setup so disabled shared notes mark the test as skipped via the
Playwright spec’s test.skip mechanism instead of returning successfully.
Preserve the existing enabled-feature assertions and remove the current
untested-success path.
In `@record-and-playback/core/Gemfile`:
- Line 26: Update the jwt dependency declaration in Gemfile to use the ~> 2.10.3
constraint, ensuring version 2.10.3 or newer within the 2.10 series is selected.
---
Nitpick comments:
In
`@bigbluebutton-html5/imports/ui/components/external-video-player/custom-players/panopto.jsx`:
- Around line 50-55: Update the Panopto player’s load() method to remove the
discarded this.render() call and unnecessary Promise wrapper, returning the
getSDK(SDK_URL, SDK_GLOBAL) promise directly while preserving the existing
SDK-loading behavior.
In `@docs/docs/new-features.md`:
- Line 323: Update the heading text to hyphenate “user-facing” while preserving
the existing statement about replacing “meeting” with “session.”
In `@record-and-playback/core/scripts/sanity/sanity.rb`:
- Line 53: Update the file-existence guard in the sanity script to use an
idiomatic unless condition and raise StandardError instead of Exception,
preserving the existing error message and behavior when the events file is
missing.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 8dc2f199-6ba7-4daa-a531-f37d6c1071fd
⛔ Files ignored due to path filters (2)
bigbluebutton-tests/playwright/core/media/smart-slides-bug-repro-1.pdfis excluded by!**/*.pdfrecord-and-playback/core/Gemfile.lockis excluded by!**/*.lock
📒 Files selected for processing (118)
akka-bbb-apps/deploy.shakka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/pads/PadslHdlrHelpers.scalaakka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/polls/PollHdlrHelpers.scalaakka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/polls/RespondToPollReqMsgHdlr.scalaakka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/presentationpod/PresentationConversionCompletedSysPubMsgHdlr.scalaakka-bbb-apps/src/main/scala/org/bigbluebutton/core/running/MeetingActor.scalaakka-bbb-apps/src/main/scala/org/bigbluebutton/core2/AnalyticsActor.scalaakka-bbb-apps/src/test/scala/org/bigbluebutton/core/apps/polls/PollHdlrHelpersSpec.scalabbb-common-message/src/main/scala/org/bigbluebutton/common2/domain/Meeting2x.scalabbb-common-message/src/main/scala/org/bigbluebutton/common2/msgs/PadsMsgs.scalabbb-common-web/src/main/java/org/bigbluebutton/api/ApiParams.javabbb-common-web/src/main/java/org/bigbluebutton/api/MeetingService.javabbb-common-web/src/main/java/org/bigbluebutton/api/ParamsProcessorUtil.javabbb-common-web/src/main/java/org/bigbluebutton/api/domain/Meeting.javabbb-common-web/src/main/java/org/bigbluebutton/api/model/request/MeetingRunning.javabbb-common-web/src/main/java/org/bigbluebutton/api/service/RedirectFollowerService.javabbb-common-web/src/main/java/org/bigbluebutton/api/service/ServiceUtils.javabbb-common-web/src/main/java/org/bigbluebutton/api/service/impl/SharedNotesRedirectValidatorService.javabbb-common-web/src/main/java/org/bigbluebutton/api2/IBbbWebApiGWApp.javabbb-common-web/src/main/scala/org/bigbluebutton/api2/BbbWebApiGWApp.scalabbb-export-annotations/lib/utils/slide-background.jsbbb-export-annotations/workers/process.jsbbb-graphql-actions/src/actions/pollSubmitUserVote.tsbbb-graphql-server/metadata/databases/databases.yamlbbb-graphql-server/metadata/query_collections.yamlbbb-shared-notes-server/src/redis/handler.tsbbb-shared-notes-server/src/redis/service/pushInitialContent.tsbigbluebutton-html5/imports/startup/client/intlLoader.tsxbigbluebutton-html5/imports/ui/Types/meetingClientSettings.tsbigbluebutton-html5/imports/ui/components/actions-bar/component.jsxbigbluebutton-html5/imports/ui/components/actions-bar/quick-poll-dropdown/component.jsxbigbluebutton-html5/imports/ui/components/actions-bar/reactions-button/styles.jsbigbluebutton-html5/imports/ui/components/app/component.tsxbigbluebutton-html5/imports/ui/components/app/document-title-manager/component.tsxbigbluebutton-html5/imports/ui/components/app/document-title-manager/service.tsbigbluebutton-html5/imports/ui/components/audio/audio-graphql/audio-captions/captions/styles.tsbigbluebutton-html5/imports/ui/components/audio/audio-modal/styles.jsbigbluebutton-html5/imports/ui/components/audio/device-selector/styles.jsbigbluebutton-html5/imports/ui/components/bn-shared-notes/component.tsxbigbluebutton-html5/imports/ui/components/bn-shared-notes/import-context.tsxbigbluebutton-html5/imports/ui/components/bn-shared-notes/markdown-import-modal/component.tsxbigbluebutton-html5/imports/ui/components/bn-shared-notes/markdown-import-modal/styles.tsbigbluebutton-html5/imports/ui/components/breakout-join-confirmation/breakout-join-confirmation-graphql/styles.tsbigbluebutton-html5/imports/ui/components/breakout-room/breakout-room/styles.tsbigbluebutton-html5/imports/ui/components/breakout-room/create-breakout-room/breakout-room-user-assignment/room-user-list/styles.tsbigbluebutton-html5/imports/ui/components/breakout-room/create-breakout-room/styles.tsbigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-editing-warning/styles.tsbigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-form/styles.tsbigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/page/chat-message/message-content/text-content/styles.tsbigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/page/chat-message/message-reactions/reaction-item/styles.tsxbigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/page/chat-message/message-replied/styles.tsxbigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/page/chat-message/message-toolbar/styles.tsbigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/page/chat-message/styles.tsbigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-reply-intention/styles.tsxbigbluebutton-html5/imports/ui/components/common/modal/fullscreen/component.jsxbigbluebutton-html5/imports/ui/components/common/modal/fullscreen/styles.jsbigbluebutton-html5/imports/ui/components/common/modal/header/styles.jsbigbluebutton-html5/imports/ui/components/common/modal/simple/component.jsxbigbluebutton-html5/imports/ui/components/common/toast/component.jsxbigbluebutton-html5/imports/ui/components/common/toast/styles.jsbigbluebutton-html5/imports/ui/components/connection-status/component.jsxbigbluebutton-html5/imports/ui/components/connection-status/modal/styles.jsbigbluebutton-html5/imports/ui/components/external-video-player/custom-players/arc-player.jsxbigbluebutton-html5/imports/ui/components/external-video-player/custom-players/get-sdk.jsbigbluebutton-html5/imports/ui/components/external-video-player/custom-players/panopto.jsxbigbluebutton-html5/imports/ui/components/external-video-player/custom-players/peertube.jsxbigbluebutton-html5/imports/ui/components/external-video-player/external-video-player-graphql/component.tsxbigbluebutton-html5/imports/ui/components/external-video-player/service.tsbigbluebutton-html5/imports/ui/components/join-handler/guest-wait/component.tsxbigbluebutton-html5/imports/ui/components/nav-bar/component.jsxbigbluebutton-html5/imports/ui/components/nav-bar/container.jsxbigbluebutton-html5/imports/ui/components/notes/component.tsxbigbluebutton-html5/imports/ui/components/notes/notes-dropdown/component.tsxbigbluebutton-html5/imports/ui/components/pads/pads-graphql/styles.tsbigbluebutton-html5/imports/ui/components/poll/styles.tsbigbluebutton-html5/imports/ui/components/polling/styles.tsbigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/component.jsxbigbluebutton-html5/imports/ui/components/presentation/presentation-toolbar/styles.jsbigbluebutton-html5/imports/ui/components/settings/component.jsxbigbluebutton-html5/imports/ui/components/settings/submenus/application/styles.jsbigbluebutton-html5/imports/ui/components/settings/submenus/styles.jsbigbluebutton-html5/imports/ui/components/text-input/styles.jsbigbluebutton-html5/imports/ui/components/timer/panel/styles.tsbigbluebutton-html5/imports/ui/components/video-preview/styles.tsbigbluebutton-html5/imports/ui/components/video-preview/virtual-background/styles.jsbigbluebutton-html5/imports/ui/components/whiteboard/component.jsxbigbluebutton-html5/imports/ui/core/initial-values/meetingClientSettings.tsbigbluebutton-html5/imports/ui/stylesheets/styled-components/palette.jsbigbluebutton-html5/private/config/settings.ymlbigbluebutton-html5/public/locales/en.jsonbigbluebutton-tests/playwright/accessibility/document-title.spec.tsbigbluebutton-tests/playwright/accessibility/nonTextContrast.spec.tsbigbluebutton-tests/playwright/accessibility/nonTextContrast.tsbigbluebutton-tests/playwright/core/elements.tsbigbluebutton-tests/playwright/core/helpers.tsbigbluebutton-tests/playwright/core/page.tsbigbluebutton-tests/playwright/polling/poll.tsbigbluebutton-tests/playwright/polling/polling.spec.tsbigbluebutton-tests/playwright/recording/recordingTimerClockSkew.spec.tsbigbluebutton-tests/playwright/sharednotes/blocknote/blocknote.spec.tsbigbluebutton-tests/playwright/sharednotes/blocknote/blocknote.tsbigbluebutton-tests/playwright/sharednotes/blocknote/markdown.spec.tsbigbluebutton-tests/playwright/sharednotes/blocknote/markdown.tsbigbluebutton-tests/playwright/whiteboard/slideChangeWhileEditing.tsbigbluebutton-tests/playwright/whiteboard/whiteboard.spec.tsbigbluebutton-web/grails-app/conf/bigbluebutton.propertiesbigbluebutton-web/grails-app/conf/spring/resources.xmlbigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/ApiController.groovybuild/packages-template/bbb-config/build.shbuild/packages-template/bbb-config/malloc-arena.confbuild/packages-template/bbb-graphql-server/build.shdocs/docs/administration/customize.mddocs/docs/data/create.tsxdocs/docs/development/api.mddocs/docs/development/dev-guide.mddocs/docs/new-features.mdrecord-and-playback/core/Gemfilerecord-and-playback/core/scripts/sanity/sanity.rb
💤 Files with no reviewable changes (1)
- bbb-common-web/src/main/java/org/bigbluebutton/api/service/RedirectFollowerService.java
| import java.io.File | ||
| import java.net.URI |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
rg -n -C3 'presFilename|updateDownloadUri|URLEncoder' \
akka-bbb-apps bbb-common-web bigbluebutton-webRepository: bigbluebutton/bigbluebutton
Length of output: 50383
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo '--- file context ---'
sed -n '1,120p' akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/presentationpod/PresentationConversionCompletedSysPubMsgHdlr.scala
echo
echo '--- downstream validation ---'
sed -n '1,140p' bbb-common-web/src/main/java/org/bigbluebutton/api/service/impl/RecordingServiceFileImpl.java
sed -n '1,80p' bigbluebutton-web/bbb-web.nginx
echo
echo '--- URI semantics probe ---'
cat >/tmp/uri_probe.java <<'JAVA'
import java.net.URI;
public class uri_probe {
public static void main(String[] args) throws Exception {
String[] inputs = {
"simple.pdf",
"a b.pdf",
"a&b=c.pdf",
"a?b#c.pdf",
"a+b.pdf",
"a%b.pdf"
};
for (String s : inputs) {
URI u = new URI(null, null, s, null);
System.out.println(s + " -> rawPath=" + u.getRawPath() + " toString=" + u.toString());
}
}
}
JAVA
javac /tmp/uri_probe.java && java -cp /tmp uri_probeRepository: bigbluebutton/bigbluebutton
Length of output: 13289
Encode the filename query value — presFilename is already derived from the id and extension, but filename=$originalFilename is still unsafe: getRawPath leaves &, =, and + intact, so the download request can arrive with a truncated or wrong name. Encode that parameter before building originalFileURI.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In
`@akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/presentationpod/PresentationConversionCompletedSysPubMsgHdlr.scala`
around lines 11 - 12, Update the URI construction in
PresentationConversionCompletedSysPubMsgHdlr to percent-encode the
originalFilename value before inserting it into the filename query parameter.
Preserve the existing presFilename derivation and ensure encoding handles
characters such as &, =, and + correctly when building originalFileURI.
| /** | ||
| * Find the native width, in pixels, of the largest raster `<image>` embedded in | ||
| * a slide SVG. Returns 0 when the slide has no embedded raster (pure vector) or | ||
| * cannot be read. | ||
| * @param {string} file Path of the slide SVG. | ||
| * @return {number} Largest embedded raster width, or 0. | ||
| */ | ||
| export function largestEmbeddedRasterWidth(file) { | ||
| try { | ||
| const svg = fs.readFileSync(file, {encoding: 'utf-8'}); | ||
| let maxWidth = 0; | ||
| const imageTag = /<image\b[^>]*>/gi; | ||
| const widthAttr = /(?<![\w-])width\s*=\s*['"]([\d.]+)/i; | ||
| for (const [tag] of svg.matchAll(imageTag)) { | ||
| const width = parseFloat(tag.match(widthAttr)?.[1]); | ||
| if (width > maxWidth) maxWidth = width; | ||
| } | ||
| return maxWidth; |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift
Measure the embedded bitmap’s intrinsic pixel width.
The <image width> attribute is its SVG layout width, not the referenced PNG/JPEG’s native resolution. For example, a 2048px image rendered at width="720" returns 720 here, so the CairoSVG downscaling workaround does not activate.
Decode or inspect each embedded image resource’s actual dimensions, and add a fixture where intrinsic width exceeds the SVG width.
Also applies to: 94-102
🧰 Tools
🪛 ast-grep (0.44.1)
[warning] 43-43: Filesystem path is not a string literal; a request-/variable-derived path can enable path traversal. Validate and normalize the path before use.
Context: fs.readFileSync(file, {encoding: 'utf-8'})
Note: [CWE-22] Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
(detect-non-literal-fs-filename)
[warning] Importing child_process exposes a command-execution surface; ensure any command/argument built from input is validated, and prefer execFile/spawn with an argument array over exec.
Context: import cp from 'child_process';
Note: [CWE-78] Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
(detect-child-process)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@bbb-export-annotations/lib/utils/slide-background.js` around lines 35 - 52,
Update largestEmbeddedRasterWidth to inspect each embedded image resource and
return its intrinsic bitmap pixel width rather than the SVG layout width
attribute. Decode or otherwise read the referenced PNG/JPEG data, preserve the
existing 0 fallback for unreadable or vector-only slides, and add a fixture
covering a bitmap whose intrinsic width exceeds its rendered SVG width.
| // The background slide is composited into the annotated SVG as an <image> | ||
| // sized to the canvas. When the background is itself an SVG, CairoSVG only | ||
| // rescales it to that box if it is resolution-independent; slides carrying | ||
| // absolute units (e.g. width="720pt") keep their intrinsic size and render | ||
| // cropped into the top-left corner (issue #25303). Rasterizing the slide to | ||
| // a PNG first sidesteps this: a raster image always scales to the <image> | ||
| // box. The helper ensures the slide has a viewBox (so slides missing one | ||
| // still fill the raster) and renders at the same resolution as the final | ||
| // SVG->PDF pass (toPx of the slide dims) so the background stays sharp. | ||
| let backgroundSlide = `${bgImagePath}.${backgroundFormat}`; | ||
|
|
||
| if (backgroundFormat === 'svg') { | ||
| try { | ||
| // Rasterize the same SVG we validated above (svgBackgroundSlide), not | ||
| // the dropbox copy, so it is clear which file feeds the raster. | ||
| backgroundSlide = rasterizeSlideBackground( | ||
| svgBackgroundSlide, | ||
| `${bgImagePath}-bg.png`, | ||
| { | ||
| width: toPx(slideWidth), | ||
| height: toPx(slideHeight), | ||
| cairosvg: config.shared.cairosvg, | ||
| unsafe: config.process.cairoSVGUnsafeFlag, | ||
| }); | ||
| } catch (error) { | ||
| logger.error(`Rasterizing slide ${currentSlide.page} ` + | ||
| `failed for job ${jobId}: ${error.message}`); | ||
| statusUpdate.setError(); | ||
| } | ||
| } | ||
|
|
||
| // Add the image element | ||
| canvas | ||
| .image(backgroundDataURI) | ||
| .image(`file://${backgroundSlide}`) |
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
Abort the export when background rasterization fails.
Lines 444-448 continue with ${bgImagePath}-bg.png after rasterization failed. That path may be absent or partially written, allowing a broken slide into the PDF pipeline. Publish the failure and terminate the job instead.
Proposed fix
} catch (error) {
logger.error(`Rasterizing slide ${currentSlide.page} ` +
`failed for job ${jobId}: ${error.message}`);
statusUpdate.setError();
+ await client.publish(
+ config.redis.channels.publish,
+ statusUpdate.build(currentSlide.page),
+ );
+ await client.disconnect();
+ return;
}📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| // The background slide is composited into the annotated SVG as an <image> | |
| // sized to the canvas. When the background is itself an SVG, CairoSVG only | |
| // rescales it to that box if it is resolution-independent; slides carrying | |
| // absolute units (e.g. width="720pt") keep their intrinsic size and render | |
| // cropped into the top-left corner (issue #25303). Rasterizing the slide to | |
| // a PNG first sidesteps this: a raster image always scales to the <image> | |
| // box. The helper ensures the slide has a viewBox (so slides missing one | |
| // still fill the raster) and renders at the same resolution as the final | |
| // SVG->PDF pass (toPx of the slide dims) so the background stays sharp. | |
| let backgroundSlide = `${bgImagePath}.${backgroundFormat}`; | |
| if (backgroundFormat === 'svg') { | |
| try { | |
| // Rasterize the same SVG we validated above (svgBackgroundSlide), not | |
| // the dropbox copy, so it is clear which file feeds the raster. | |
| backgroundSlide = rasterizeSlideBackground( | |
| svgBackgroundSlide, | |
| `${bgImagePath}-bg.png`, | |
| { | |
| width: toPx(slideWidth), | |
| height: toPx(slideHeight), | |
| cairosvg: config.shared.cairosvg, | |
| unsafe: config.process.cairoSVGUnsafeFlag, | |
| }); | |
| } catch (error) { | |
| logger.error(`Rasterizing slide ${currentSlide.page} ` + | |
| `failed for job ${jobId}: ${error.message}`); | |
| statusUpdate.setError(); | |
| } | |
| } | |
| // Add the image element | |
| canvas | |
| .image(backgroundDataURI) | |
| .image(`file://${backgroundSlide}`) | |
| // The background slide is composited into the annotated SVG as an <image> | |
| // sized to the canvas. When the background is itself an SVG, CairoSVG only | |
| // rescales it to that box if it is resolution-independent; slides carrying | |
| // absolute units (e.g. width="720pt") keep their intrinsic size and render | |
| // cropped into the top-left corner (issue `#25303`). Rasterizing the slide to | |
| // a PNG first sidesteps this: a raster image always scales to the <image> | |
| // box. The helper ensures the slide has a viewBox (so slides missing one | |
| // still fill the raster) and renders at the same resolution as the final | |
| // SVG->PDF pass (toPx of the slide dims) so the background stays sharp. | |
| let backgroundSlide = `${bgImagePath}.${backgroundFormat}`; | |
| if (backgroundFormat === 'svg') { | |
| try { | |
| // Rasterize the same SVG we validated above (svgBackgroundSlide), not | |
| // the dropbox copy, so it is clear which file feeds the raster. | |
| backgroundSlide = rasterizeSlideBackground( | |
| svgBackgroundSlide, | |
| `${bgImagePath}-bg.png`, | |
| { | |
| width: toPx(slideWidth), | |
| height: toPx(slideHeight), | |
| cairosvg: config.shared.cairosvg, | |
| unsafe: config.process.cairoSVGUnsafeFlag, | |
| }); | |
| } catch (error) { | |
| logger.error(`Rasterizing slide ${currentSlide.page} ` + | |
| `failed for job ${jobId}: ${error.message}`); | |
| statusUpdate.setError(); | |
| await client.publish( | |
| config.redis.channels.publish, | |
| statusUpdate.build(currentSlide.page), | |
| ); | |
| await client.disconnect(); | |
| return; | |
| } | |
| } | |
| // Add the image element | |
| canvas | |
| .image(`file://${backgroundSlide}`) |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@bbb-export-annotations/workers/process.js` around lines 420 - 453, Update the
rasterization error handling in the backgroundSlide flow to publish the failure
and terminate the export immediately when rasterizeSlideBackground throws. After
logger.error and statusUpdate.setError(), return or otherwise stop processing
before canvas.image is called, ensuring the failed `${bgImagePath}-bg.png` is
never passed into the PDF pipeline.
| if (hasError && !hasMessages) { | ||
| return <ErrorScreen />; | ||
| } |
There was a problem hiding this comment.
🩺 Stability & Availability | 🔴 Critical | ⚡ Quick win
Do not render ErrorScreen without its required callback.
ErrorScreen.componentDidMount() unconditionally calls callback, so <ErrorScreen /> throws on the exact failure path this change is intended to recover. Pass a safe callback or use a startup-specific error component.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@bigbluebutton-html5/imports/startup/client/intlLoader.tsx` around lines 355 -
357, Update the hasError && !hasMessages branch in the intl loader to provide
ErrorScreen with its required callback, using a safe no-op or appropriate
startup recovery handler so componentDidMount cannot throw; alternatively,
replace it with a startup-specific error component that does not require the
callback.
| return !fetching || hasMessages ? ( | ||
| <IntlProvider | ||
| fallbackOnEmptyString={fallbackOnEmptyLocaleString} | ||
| locale={normalizedLocale.replace('_', '-').replace('@', '-')} | ||
| messages={messages} | ||
| > | ||
| {children} | ||
| </IntlProvider> | ||
| ) : null; | ||
| ) : <LoadingScreen />; |
There was a problem hiding this comment.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
file='bigbluebutton-html5/imports/startup/client/intlLoader.tsx'
wc -l "$file"
echo '--- outline ---'
ast-grep outline "$file" --view expanded || true
echo '--- relevant lines ---'
sed -n '300,390p' "$file" | cat -nRepository: bigbluebutton/bigbluebutton
Length of output: 4371
🏁 Script executed:
#!/bin/bash
set -euo pipefail
file='bigbluebutton-html5/imports/startup/client/intlLoader.tsx'
sed -n '213,320p' "$file" | cat -nRepository: bigbluebutton/bigbluebutton
Length of output: 5378
Initialize fetching to true
IntlLoader renders children on the first pass because fetching starts as false, then flips to true inside the mount effect and replaces them with LoadingScreen. That mounts the app twice during initial locale loading and can trigger duplicate startup side effects.
Proposed fix
- const [fetching, setFetching] = React.useState(false);
+ const [fetching, setFetching] = React.useState(true);🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@bigbluebutton-html5/imports/startup/client/intlLoader.tsx` around lines 359 -
367, Initialize the fetching state in IntlLoader to true so the initial render
shows LoadingScreen while locale messages load; preserve the existing fetch
completion logic that allows IntlProvider to render once fetching finishes or
messages are available.
| await modPage.waitAndClick(e.manageUsers); | ||
| if (await modPage.page.locator(e.createBreakoutRooms).isVisible()) { | ||
| await modPage.waitAndClick(e.createBreakoutRooms); | ||
| await expect(modPage.page, 'breakout room creation modal should be reflected in the document title').toHaveTitle( | ||
| / - Breakout Rooms$/, | ||
| ); | ||
| await modPage.waitAndClick(e.modalDismissButton); | ||
| } |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Do not silently skip the breakout-room title assertion.
isVisible() checks only the current instant. If the button is still rendering after opening user management, this test passes without exercising the modal. Guard using the relevant feature setting, then wait for the button before clicking it.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@bigbluebutton-tests/playwright/accessibility/document-title.spec.ts` around
lines 81 - 88, Update the breakout-room flow around createBreakoutRooms so it is
guarded by the relevant feature setting rather than a momentary isVisible()
check. When enabled, wait for the create-breakout-rooms button to become
available, click it, retain the document-title assertion and modal dismissal,
and do not silently skip the assertion.
| const isVisible = (element: Element) => { | ||
| const style = window.getComputedStyle(element); | ||
| const rect = element.getBoundingClientRect(); | ||
| return ( | ||
| style.display !== 'none' && | ||
| style.visibility !== 'hidden' && | ||
| parseFloat(style.opacity) > 0 && | ||
| rect.width >= MIN_VISIBLE_SIZE && | ||
| rect.height >= MIN_VISIBLE_SIZE | ||
| ); | ||
| }; |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Account for invisible ancestors.
A child under an opacity: 0 ancestor can have opacity 1 and a non-zero rectangle, so this reports contrast failures for visually hidden UI. Walk the ancestor chain and reject elements when any ancestor has hidden visibility or effectively zero opacity.
Proposed fix
const isVisible = (element: Element) => {
- const style = window.getComputedStyle(element);
const rect = element.getBoundingClientRect();
- return (
- style.display !== 'none' &&
- style.visibility !== 'hidden' &&
- parseFloat(style.opacity) > 0 &&
- rect.width >= MIN_VISIBLE_SIZE &&
- rect.height >= MIN_VISIBLE_SIZE
- );
+ if (rect.width < MIN_VISIBLE_SIZE || rect.height < MIN_VISIBLE_SIZE) return false;
+
+ let current: Element | null = element;
+ while (current) {
+ const style = window.getComputedStyle(current);
+ if (
+ style.display === 'none' ||
+ style.visibility === 'hidden' ||
+ style.visibility === 'collapse' ||
+ parseFloat(style.opacity) <= TRANSPARENT_ALPHA_THRESHOLD
+ ) return false;
+ current = current.parentElement;
+ }
+
+ return true;
};📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| const isVisible = (element: Element) => { | |
| const style = window.getComputedStyle(element); | |
| const rect = element.getBoundingClientRect(); | |
| return ( | |
| style.display !== 'none' && | |
| style.visibility !== 'hidden' && | |
| parseFloat(style.opacity) > 0 && | |
| rect.width >= MIN_VISIBLE_SIZE && | |
| rect.height >= MIN_VISIBLE_SIZE | |
| ); | |
| }; | |
| const isVisible = (element: Element) => { | |
| const rect = element.getBoundingClientRect(); | |
| if (rect.width < MIN_VISIBLE_SIZE || rect.height < MIN_VISIBLE_SIZE) return false; | |
| let current: Element | null = element; | |
| while (current) { | |
| const style = window.getComputedStyle(current); | |
| if ( | |
| style.display === 'none' || | |
| style.visibility === 'hidden' || | |
| style.visibility === 'collapse' || | |
| parseFloat(style.opacity) <= TRANSPARENT_ALPHA_THRESHOLD | |
| ) return false; | |
| current = current.parentElement; | |
| } | |
| return true; | |
| }; |
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@bigbluebutton-tests/playwright/accessibility/nonTextContrast.ts` around lines
364 - 374, Update the isVisible helper to inspect the element and every
ancestor, rejecting the element when any ancestor has hidden visibility or
effectively zero opacity; retain the existing display, opacity, and minimum-size
checks for the visible element.
| const { sharedNotesEnabled } = this.modPage.settings || {}; | ||
| if (!sharedNotesEnabled) { | ||
| await this.modPage.hasElement(e.chatButton, 'should display the public chat button'); | ||
| await this.modPage.wasRemoved(e.sharedNotes, 'should not display the shared notes button'); | ||
| return; | ||
| } |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Mark the regression test skipped instead of passing it untested.
When shared notes are disabled, this returns normally and reports a successful BlockNote regression test. Move the feature check into the spec with test.skip(...), or fail setup if this CI configuration is expected to enable shared notes.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@bigbluebutton-tests/playwright/sharednotes/blocknote/blocknote.ts` around
lines 22 - 27, Update the sharedNotesEnabled guard in the BlockNote regression
test setup so disabled shared notes mark the test as skipped via the Playwright
spec’s test.skip mechanism instead of returning successfully. Preserve the
existing enabled-feature assertions and remove the current untested-success
path.
| gem 'java_properties' | ||
| gem 'journald-logger', '~> 3.0' | ||
| gem 'jwt', '~> 2.2' | ||
| gem 'jwt', '~> 2.10' |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Description: Check if 2.10.x versions exist for the `jwt` gem.
# Test: Fetch versions from RubyGems API. Expect: At least one matching version.
curl -s https://rubygems.org/api/v1/versions/jwt.json | jq -r '.[].number' | grep -E '^2\.10'Repository: bigbluebutton/bigbluebutton
Length of output: 193
🌐 Web query:
jwt gem 2.10.3 RubyGems security advisory vulnerability
💡 Result:
The Ruby gem 'jwt' version 2.10.3 is not vulnerable to the identified security issue; in fact, it is the fixed version [1][2]. The vulnerability in question is tracked as CVE-2026-45363 (also documented as GHSA-c32j-vqhx-rx3x) [3][2]. It is an authentication bypass vulnerability involving an empty-key HMAC signature check [4][3]. Prior to versions 2.10.3 and 3.2.0, the 'jwt' library would incorrectly accept an attacker-forged token when an empty string, nil, or an array containing nil was provided as the HMAC key during the verification process [3][2]. This behavior allowed for the bypass of signature verification for tokens using HS256, HS384, or HS512 algorithms [4][2]. To remediate this, you should ensure your application is using 'jwt' version 2.10.3 or 3.2.0 or newer [1][2]. Version 2.10.3 was specifically released on May 22, 2026, to backport the fix for this security flaw [5].
Citations:
- 1: https://mondoo.com/vulnerability-intelligence/vulnerability/CVE-2026-45363
- 2: https://nvd.nist.gov/vuln/detail/cve-2026-45363
- 3: GHSA-c32j-vqhx-rx3x
- 4: https://advisories.gitlab.com/gem/jwt/CVE-2026-45363/
- 5: https://github.com/jwt/ruby-jwt/releases
Require jwt 2.10.3 or newer in record-and-playback/core/Gemfile:26. 2.10.x exists, but 2.10.0-2.10.2 are affected by the empty-key HMAC bypass; use ~> 2.10.3 to stay on the fixed release.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@record-and-playback/core/Gemfile` at line 26, Update the jwt dependency
declaration in Gemfile to use the ~> 2.10.3 constraint, ensuring version 2.10.3
or newer within the 2.10 series is selected.
|
This pull request has conflicts ☹ |
e471980 to
058c644
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
bigbluebutton-html5/imports/ui/components/notes/component.tsx (1)
158-159: 🎯 Functional Correctness | 🔴 CriticalWire the presentation-area flag into
NotesGraphql.
shouldShowSharedNotesOnPresentationAreais referenced at Line [158], but is neither local nor part ofNotesGraphqlProps/the destructured props. This leaves an unresolved identifier and prevents compilation. Pass the computed value intoNotesGraphql, or compute it inside this component. This repeats the unresolved wiring issue from the previous review.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@bigbluebutton-html5/imports/ui/components/notes/component.tsx` around lines 158 - 159, Resolve the undefined shouldShowSharedNotesOnPresentationArea used in the render condition by wiring the computed value into NotesGraphql through NotesGraphqlProps and its destructured props, or compute it locally in the component. Ensure NotesGraphql receives and uses the same presentation-area flag so the existing conditional renders and compilation succeeds.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@bigbluebutton-html5/imports/ui/components/notes/component.tsx`:
- Line 196: Update the BlockNoteContainer invocation in the render branch to
pass the actual rendered visibility, using the combined presentation-area
visibility or a dedicated rendered-visibility flag rather than the raw isVisible
prop. Ensure the value reflects when notes are displayed so BlockNoteContainer’s
markNotesAsRead effect runs correctly.
---
Outside diff comments:
In `@bigbluebutton-html5/imports/ui/components/notes/component.tsx`:
- Around line 158-159: Resolve the undefined
shouldShowSharedNotesOnPresentationArea used in the render condition by wiring
the computed value into NotesGraphql through NotesGraphqlProps and its
destructured props, or compute it locally in the component. Ensure NotesGraphql
receives and uses the same presentation-area flag so the existing conditional
renders and compilation succeeds.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 2fd2c6fd-24dd-48b1-9b1d-ac5d3ab88edc
📒 Files selected for processing (3)
bigbluebutton-html5/imports/ui/components/bn-shared-notes/component.tsxbigbluebutton-html5/imports/ui/components/notes/component.tsxbigbluebutton-tests/playwright/core/elements.ts
🚧 Files skipped from review as they are similar to previous changes (2)
- bigbluebutton-html5/imports/ui/components/bn-shared-notes/component.tsx
- bigbluebutton-tests/playwright/core/elements.ts
| @@ -183,7 +194,8 @@ const NotesGraphql: React.FC<NotesGraphqlProps> = (props) => { | |||
| isVisible={isVisible} | |||
| /> | |||
| ) : <BlockNoteContainer isVisible={isVisible} />} | |||
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Pass the actual rendered visibility to BlockNoteContainer.
The new render gate can display notes in the presentation area while isVisible is false. Line [196] then causes BlockNoteContainer to skip markNotesAsRead(), because its effect uses that prop as the on-screen visibility signal. Pass the combined presentation-area visibility or a dedicated rendered-visibility flag.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@bigbluebutton-html5/imports/ui/components/notes/component.tsx` at line 196,
Update the BlockNoteContainer invocation in the render branch to pass the actual
rendered visibility, using the combined presentation-area visibility or a
dedicated rendered-visibility flag rather than the raw isVisible prop. Ensure
the value reflects when notes are displayed so BlockNoteContainer’s
markNotesAsRead effect runs correctly.
… merge The v3.0.x -> v4.0.x merge resolved bigbluebutton-tests/playwright/sharednotes/blocknote/util.ts to the 4.0 side wholesale, dropping the 3.0-added helpers that the merged-in markdown.spec.ts / blocknote.spec.ts still import (startBlockNoteSharedNotes, enableMarkdownNotesOptions, WORD_JOINER, getBlockNoteLinkLocator, readLinkAndCursorState). Every blocknote/markdown test threw "... is not a function" at runtime (Playwright transpiles the specs without type-checking, so this slipped past the post-merge tsc pass). Restore them, adapted to 4.0 selectors: the shared-notes sidebar button is sharedNotesSidebarButton (3.0's e.sharedNotes no longer exists) and the editor root is e.blockNoteEditor (#bn-notes-scroll-container .bn-editor), not 3.0's [data-test="notes"] .bn-editor. Fixes the 8 markdown import/export, 1 collaboration-cursor and 4 markdown-seed Playwright tests. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
4.0 renamed the participant-bearing chat locale key: app.chat.titlePrivate
became the plain "Private Chat", and the "Private Chat with {participantName}"
variant moved to app.chat.titlePrivateToUser. The document-title manager
(merged from 3.0) still formatted app.chat.titlePrivate with a participantName
argument, so the document title for an open private chat silently dropped the
participant name.
Point the manager at app.chat.titlePrivateToUser.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…e 4.0 UI WIP. The new-from-3.0 document-title.spec.ts drives UI interactions that 4.0 restructured. Adapt the unambiguous ones so the specs get past them: - shared notes: e.sharedNotes -> e.sharedNotesSidebarButton - poll: open via e.pollSidebarButton (not the actions menu) and assert e.minimizePolling (3.0's e.hidePollDesc no longer exists) - settings modal: dismiss via e.saveSettingsButton (3.0's modalDismissButton only exists on the fullscreen modal) - breakout: e.createBreakoutRooms -> e.createBreakoutRoomsButton The three tests still fail on further 4.0 differences not yet handled (the presentation actions button after the poll panel, the manageUsers flow, and a wait for the attendee to appear before openPrivateChat). The document-title feature itself works; this is purely test-harness adaptation. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…esentation title works The 3.0 document-title feature reads the in-memory 'showUploadPresentationView' key to surface the "Upload Presentation" view name, but the 3.0 setter lived in the actions-dropdown, which the 4.0 merge replaced with the media-area menu. The key was therefore read but never written, so the title never updated in 4.0. Set the key from the media-sharing menu whenever its presentation-upload sub-view is open (and clear it otherwise), mirroring the 3.0 behaviour. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
…nd route-modals Adapt the remaining 3.0-era interactions to the 4.0 client so the specs drive the real UI: - presentation upload opens from the media-area button (e.mediaAreaButton), not the 3.0 actions "+" menu - the poll panel opens from e.pollSidebarButton and is confirmed by e.minimizePolling - breakout creation opens from e.breakoutRoomSidebarButton (4.0 has no manageUsers -> createBreakoutRooms menu path) "active client views" and "route-like modals" now pass. The private-chat case is left on the shared openPrivateChat helper: it is blocked by a pre-existing 4.0 issue (the standard chat.spec "Send private message" test fails identically on this client), not by the merge. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Fix/25455 merge leftovers
Fix/25455 merge 2
There was a problem hiding this comment.
🧹 Nitpick comments (1)
bigbluebutton-tests/playwright/sharednotes/blocknote/util.ts (1)
52-61: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winConsolidate duplicate test helpers.
startBlockNoteSharedNotesis functionally identical tostartSharedNotesBlockNotedefined at the top of this file (lines 7-11). Having two functions with anagram names that do the exact same thing in the same file can be confusing for test authors.Consider removing this duplicate implementation and aliasing the function instead so that the backported specs can continue to import it without maintaining two versions.
♻️ Proposed fix to alias the function
-// Helpers backported from the 3.0 Markdown / collaboration-cursor specs (`#25373`, -// `#25225`). Those specs import startBlockNoteSharedNotes; on 4.0 the shared-notes -// sidebar button is data-test="sharedNotesSidebarButton" (renamed from 3.0's -// "sharedNotes") and the editor root is `#bn-notes-scroll-container`, so this opens -// the panel with the 4.0 selectors rather than 3.0's e.sharedNotes / [data-test="notes"]. -export async function startBlockNoteSharedNotes(testPage: Page) { - await testPage.waitAndClick(e.sharedNotesSidebarButton); - await testPage.waitForSelector(e.hideNotesLabel, ELEMENT_WAIT_LONGER_TIME); - await testPage.waitForSelector(e.blockNoteEditor, ELEMENT_WAIT_LONGER_TIME); -} +export const startBlockNoteSharedNotes = startSharedNotesBlockNote;🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@bigbluebutton-tests/playwright/sharednotes/blocknote/util.ts` around lines 52 - 61, Remove the duplicate implementation of startBlockNoteSharedNotes and alias it to the existing startSharedNotesBlockNote helper at the top of the file, preserving the backported specs’ import name without maintaining two implementations.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@bigbluebutton-tests/playwright/sharednotes/blocknote/util.ts`:
- Around line 52-61: Remove the duplicate implementation of
startBlockNoteSharedNotes and alias it to the existing startSharedNotesBlockNote
helper at the top of the file, preserving the backported specs’ import name
without maintaining two implementations.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 8465071b-0c6c-41c7-992a-0f779357acc0
📒 Files selected for processing (4)
bigbluebutton-html5/imports/ui/components/actions-bar/media-area/media-sharing/component.tsxbigbluebutton-html5/imports/ui/components/app/document-title-manager/component.tsxbigbluebutton-tests/playwright/accessibility/document-title.spec.tsbigbluebutton-tests/playwright/sharednotes/blocknote/util.ts
🚧 Files skipped from review as they are similar to previous changes (2)
- bigbluebutton-tests/playwright/accessibility/document-title.spec.ts
- bigbluebutton-html5/imports/ui/components/app/document-title-manager/component.tsx
Restore whiteboard slide backgrounds after the annotation exporter rasterizes SVG input. Track the resulting PNG format and embed the background as a data URI so CairoSVG can load it without unsafe external resource access. Adapt Playwright coverage ported from 3.0 to v4.0: - use the recording confirmation toast and current active-recording color - expect the current breakout moderator-message border color - quarantine the non-text contrast check with @need-update until v4.0 border colors receive an accessibility pass Update lock-skew test to v4.0 interactions.
fix: resolve v3.0 merge regressions in v4.0 CI
✅ Automated tests have passed! |



No description provided.