Repository navigation
Merge v4.0.x release into v4.1.x develop - #26011
antobinary merged 284 commits into
Conversation
Under 405px of presentation height the tldraw toolbar is laid out as a row and its height is pinned to 30px. The row is sized for a wide slide, so a portrait one leaves it wider than the canvas, where tl-container clips whatever sticks out: 7 of its 10 tools unreachable at 800x400, 4 of 10 at 1440x560. Cap the row at the canvas width and let it wrap, with the pinned height replaced by a minimum so every line past the first is visible. The column layout a tall canvas gets is untouched.
The postrm reloads nginx on remove and runs under set -e, so a reload that fails because the nginx configuration is invalid at that moment (for instance while other packages that own nginx snippets are being removed in the same run) aborted the script and left the package half-installed, blocking dpkg until the configuration was repaired by hand. Only reload when nginx -t passes, and never let the reload result abort the removal. Co-authored-by: Tainan Felipe <[email protected]>
Under "Hide user list" the server stops reporting hidden speakers rather than retracting the ones it already sent, so state the client gathered before the lock has to be dropped by the client itself. A new useHideUserList hook derives whether the lock currently applies to us. The voice-activity adapter clears both talking stores on either transition, and useTalkingUsersLiveKit withholds a name the server never vouched for instead of reconstructing it from the LiveKit participant. A speaker with no server metadata keeps their indicator under a placeholder rather than being dropped, so a moderator listening into a breakout stays visible to locked attendees. Adds playwright coverage for the mid-talk transition, both audio-state configurations, and the breakout listen-in case.
Mark user_voice, user_voice_activity, user_reaction and user_reaction_current as restricted by lock settings, following the convention already used for user, user_camera and user_presenceLog, and drop callerName from user_voice now that the bbb_client role no longer selects it. Also corrects two pre-existing drifts found while checking the field lists against the permissions: user_voice listed requestedUnmuteByMod, which the view has but no role selects, in the slot the column set gives to listenOnlyInputDevice; and user_voice_activity omitted meetingId. All four field lists now match their bbb_client column sets exactly.
Webcam carries no stream id, so a cam-stopped event closes whichever entry is last in the vector, and only if that one is still open. A user sharing two cameras therefore always strands one: the first stop closes the last entry, and every later stop finds it already closed and gives up. The stranded entry stays open until the user leaves, when it is clamped to their exit, inflating their webcam time. The same lookup made a stop for an unknown stream destructive — it closed whatever was last, which could be a camera still running. Record the stream on the webcam and close the entry matching the stream that stopped. The stream stays out of the published report: it is a correlation key no consumer reads, and it carries the publisher's session and device ids.
Co-Authored-By: GuiLeme <[email protected]>
…nfig react-scripts 5.0.1 is the last release of Create React App, from April 2022, and CRA was deprecated by the React team in February 2025. It has no upgrade path, which is why this component keeps accumulating dependency bumps and npm overrides that cannot be resolved upstream. This swaps it for a hand-written webpack config modelled on the one the HTML5 client already uses, so both front ends are built the same way: - webpack.config.js: single file, branching on webpack's own --mode. Output layout matches what CRA produced (build/, static/js, static/css, contenthash filenames), so deploy.sh and the deb packaging keep working untouched. - process.env is replaced as a whole object rather than key by key. The source reads REACT_APP_ names that are often unset, and a per-key define would leave those reads as a literal process.env.X in the bundle, throwing ReferenceError in the browser. All nine read-sites in src/ are unchanged. - devtool: source-map in both modes. The deb ships whatever lands in build/, and the deployed dashboard has always carried source maps; dropping them would be a silent regression. - Tailwind and autoprefixer keep working through the existing postcss.config.js, picked up by postcss-loader as-is. - CSS is minified explicitly: without css-minimizer the extracted stylesheet shipped about 35% larger gzipped than the react-scripts output. - Fast Refresh is preserved in development via react-refresh. - run-dev.sh drops CRA's WDS_SOCKET_PORT/WDS_SOCKET_PATH for HMR_CLIENT_PORT, and no longer pipes through cat, which was masking the exit status. - The three npm overrides whose targets no longer resolve without react-scripts are removed (nwsapi, @tootallnate/once, resolve-url-loader). The rest still resolve through the webpack toolchain and are kept. Output compared against the react-scripts build of the same source: CSS is byte-identical at 20098 bytes, JS is 1.0% smaller gzipped.
The bundler moved from dependencies to devDependencies, where it belongs, so the package build can no longer use --omit=dev. DISABLE_ESLINT_PLUGIN goes away with it: that variable only ever spoke to react-scripts, and the webpack config does not lint during builds. Nothing else in the packaging changes; the build still lands in build/ and is copied from there.
[4.0] fix(bbb-web): Fix directory paths in deploy_to_usr_share.sh
Failing the whole archive on a notes export error, as the previous commit does, does not save the notes. Nothing retries a failed archive - the job lands in resque's failed queue, and bbb-record --rebuild restarts at sanity - and bbb-shared-notes-server deletes the pad an hour after the meeting ends. Unless someone re-enqueues the recording by hand before that, the export then comes back as a successful empty document, logged as "Empty notes". The notes end up lost anyway, with a broken recording on top. So go back to try_download and keep the recording, but stop reporting the failure as notes that were never used. With the early return for a meeting that never had a pad, a missing export file now always means the export failed: warn about it the way the rest of archive.rb reports lost media, and leave an export_failed marker in raw/<id>/notes, so the recordings that lost their notes can be found without reading every log. A later segment of the same meeting that exports fine clears it. Also tighten the notes_formats comment: a format BlockNote cannot export is logged as an error, not silently skipped.
download probed the URL with a HEAD and then wrote whatever the GET returned. The GET's status was never checked, so a HEAD that passed followed by a GET that failed saved the error page as the file - for notes, as the recording's notes.html and notes.pdf. The probe also cost a full request: bbb-shared-notes-server is an Express app with no HEAD routes, and Express answers a HEAD by running the GET handler, so every notes format was exported twice, including the pdf's wkhtmltopdf conversion. Drop the HEAD and check the GET's own status before writing anything. The probe dates from replacing wget and curl with net/http - a pre-flight check, not a guard for anything the GET status does not cover.
…es.ts Co-authored-by: Tainan Felipe <[email protected]>
fix: Automated users (bot=true) trigger the grid's overflow tile
…hive-notes-silent-failure fix(rap): don't lose shared notes silently when the export fails
The listen-only bridge joins the conference as GLOBAL_AUDIO_<voiceConf>, but the prefix match skips every caller whose name starts with GLOBAL_AUDIO_, dropping them from the conference user list before they reach akka-apps. Match the exact bridge name derived from the conference so only that bridge is skipped and other callers are tracked normally.
The transparent listen-only bridge (GLOBAL_AUDIO_<voiceConf>) only extracts the conference mix to redistribute it and never needs to send audio into the conference. Mute GLOBAL_AUDIO_ channels on join so the extraction leg stays receive-only.
bbb_sfu.xml and bbb_sfu_muted.xml authorize a call on its User-Agent alone. The external profile also accepts plain SIP on 5060 for dial-in, so a call there with the SFU's User-Agent is authorized as the SFU. bbb-webrtc-sfu only signals over WebSocket. Require a ws/wss leg in both extensions.
Covers the v4.0.x-develop delta since the rc.3 doc sync (74e9fae), i.e. 4.0.0-rc.4 and the work merged after it, including bigbluebutton#25960 (Etherpad removal). Most of the range was documented by its own PRs; this fills the gaps. new-features.md - Removed Etherpad: notes_endpoint and the etherpad notes format are gone from the recording bigbluebutton.yml, and bn_notes_endpoint moved to /loopback/api/documents. An override of bn_notes_endpoint that still points at /api/documents now gets 403, so the archive step drops the notes and writes the export_failed marker. - Removed Etherpad: the sharedNotesEditor bullet now points at the resources.xml entry that has to go. - bbb-web properties: move sharedNotesEditor from "Value changed" to "Removed", with the same resources.xml warning as the other removed properties. The setter is gone from ParamsProcessorUtil, so an in-place resources.xml entry makes bbb-web fail with NotWritablePropertyException. - bbb-web properties: add filterTagThreshold (default 1, 0 = off), the soft-mask render comparison for bigbluebutton#23953. - Plugin SDK: html5PluginSdkVersion and the client now pin 1.0.0-beta.3 (5c98a2a). The ^1.0.0-beta.2 manifest example stays, since it accepts beta.3 and still loads on rc.4 servers. - Client settings: add public.app.breakouts.inheritLockSettingsByDefault, list 3007 under public.app.showConnectionErrors, and list public.pads.url as removed. The bbb-html5 postinst deletes the public.pads entry from bbb-html5.yml on upgrade (6e5d3e0), so no manual step is given. - Recent releases: add 4.0.0-rc.4 and 4.0.0-rc.5. administration/customize.md - New "Verify slides with soft masks" section for filterTagThreshold, next to the maskTagThreshold one. - The maskTagThreshold section called the raster fallback "BMP-based"; it renders a PNG with pdftoppm and embeds it in the slide. plugins.md - The pre-release example now names the 1.0.0-beta.3 server version. Not documented on purpose: the security fixes in the range (FreeSWITCH dialplans, annotation author, caption-locale XSS, breakout join URLs, graphql-middleware membership checks, hideUserList on voice views); they belong in the release notes. The dial-in samples in customize.md were checked against the FreeSWITCH dialplan fix and are unaffected (the PIN comes from play_and_get_digits with a \d+ filter). Also left out: the MALLOC_ARENA_MAX move into the units (same value as in 3.0), the YAML safe loader (no config change), the poll panel and recording indicator restyling, the html5 render optimisations, and the export-annotations settings.json keys (pdftocairo, blankSvg, rasterizeTimeoutSeconds; bbbPadsAPI removed), which have no documented override. akka-apps application.conf and join parameters are unchanged in the range.
…-rc3 docs: doc sync for 4.0 since 4.0.0-rc.3
Clarified plugin manifest requirements for pre-release SDK compatibility and updated versioning guidance.
Updated plugin manifest requirements for SDK 1.0 pre-release to ensure compatibility with BigBlueButton 4.0 and later versions.
…aceholder %%HTML5_PLUGIN_SDK_MAIN_VERSION%% was always replaced by major.minor, so SDK 1.0.0-beta.3 resolved to "1.0" and a 1.1 SDK would land in a different folder even though it is compatible. Under semver, from 1.0 on the major alone defines compatibility, while in 0.x every minor is a breaking line. The placeholder now resolves to the major only for 1.0 and later (1.0.0-beta.3 and 1.1.0 both give "1") and keeps "0.<minor>" for 0.x versions (0.1.26 gives "0.1"). %%BBB_MAIN_VERSION%% keeps major.minor, since server lines are not compatible across minors. Co-Authored-By: Guilherme Pereira Leme <[email protected]>
…n-version fix(common-web): use semver-compatible main version for plugin SDK placeholder
[v4.0.x-release port] fix(common-web): use semver-compatible main version for plugin SDK placeholder
Brings 4.0.0-rc.5 onto the 4.1 development line: 282 commits, 71 merged PRs and 457 files since the 23 Sep merge base b4307c5. The bulk of it is the Etherpad removal, the poll and polling panel rebuild on bbb-ui-components-react, the Node.js 24 move, the plugin SDK 1.0.0-beta.3 switch, the October security-audit dependency bumps and the rc.3..rc.5 fixes. 38 conflicts, resolved as follows. Version and build markers -> development line .gitlab-ci.yml 4.1's build image pin. It already ships Node 24.20.0, same as 4.0's. bigbluebutton-config/ bigbluebutton-release 4.1.0-alpha.1 Deleted on 4.0, modified on 4.1 -> deleted bigbluebutton-html5/imports/ui/components/pads/pads-graphql/ styles.ts, content/styles.ts 4.0 removed the whole Etherpad editor; 4.1 had only re-tokened its colours for the dark theme. Nothing in the merged tree imports the directory. Client code -> both sides kept poll/styles.ts, polling/styles.ts 4.0 rebuilt both panels on bbb-ui-components-react; 4.1 replaced DarkReader with a native dark theme that splits palette tokens by role. Took the rebuild and re-applied the role tokens where the rebuilt rules still paint a surface: colorWhite -> colorWhiteSurface (PollFooter, DndTextArea, the polling container), colorGrayLighter -> colorGrayLighterSurface (BarShade, DndTextArea), colorBorder -> colorBorderSurface (the typed-response input shadow). Text colours stay. The rebuilt panels also paint with colorBlueDark, colorGrayIcons and colorGrayUserListToolbar, which have no dark-theme override yet; that is a dark-theme pass for the UI team, not a merge matter. user-list-participants/list-item/component.tsx raised-hands/list-item/component.tsx 4.0 moved talking and mute state into a per-avatar TalkingAvatar and dropped the isMuted argument from generateActionsPermissions and createToolbarOptions; 4.1 added the camera-request feature (the hasMeetingCameraCapReached argument and the operations.userRequestCamera mutation) and the shared getFilteredAvatar helper. Took 4.0's structure and re-added 4.1's hook, argument, mutation and helper. The auto-merged list-item/service.ts already carries both signature changes. avatar-content/component.tsx, palette.js Different additions at the same line, both kept: useRemInPixels next to getFilteredAvatar; colorBlueDark next to colorInfoBannerBg. core/initial-values/meetingClientSettings.ts showConnectionErrors mirrors settings.yml, which auto-merged to [3002, 3004, 3007]: 4.1 had synced the stale literal down to the yml list and 4.0 added 3007 for the subscription-limit notice. Neither side's literal was right on its own. Lockfile -> regenerated and checked against both parents bigbluebutton-html5/package-lock.json Started from 4.1's lock, `npm install --package-lock-only` under Node 24, then `npm update` for the 25 packages where the result sat behind 4.0's lock (the audit bumps: proxy-addr 2.0.8, express 4.22.3, body-parser 1.20.8, qs 6.16.0, serialize-javascript 7.1.2 and friends). The merged lock is now behind neither parent and package.json is untouched by npm. The one remaining difference, @jsonjoy.com/buffers 1.2.1 at top level, is hoisting: the 17.x copy fs-snapshot needs sits nested under it on both sides. Locales -> Transifex owns the translated files 18 translated locales 4.1's pre-merge content. en.json 4.1's pre-flight keys kept; app.pads.hint dropped with the Etherpad editor, nothing reads it. Tests playwright/parameters/constants.ts 4.1's raw.githubusercontent URLs. Docs new-features.md 4.1's file, byte for byte: 4.0's additions describe 4.0 features. administration/configuration-files.md, customize.md, data/create.tsx, development/api.md, greenlight/v3/install.md, testing/release-testing.md Link retargets. 4.1's side of each conflicting hunk; 4.0's other hunks (Etherpad removal, /enter cleanup, remaining-time threshold, legacy players package) merged normally. administration/install.md 4.1's package listing minus the bbb-etherpad and bbb-pads rows that 4.0 removed. 42 files touched by both lines auto-merged. Checked rather than trusted: the CI files still target v4.1.x-release and noble-41-dev while carrying 4.0's Node 24 and Etherpad-removal changes; settings.yml, bigbluebutton.properties and bbb_schema.sql have no duplicate keys or definitions; webpack.config.js and record-and-playback/deploy.sh are identical to both parents, the same fix having landed on each line. Verified on the merged tree with Node 24.20.0: tsc clean in bigbluebutton-html5 and bigbluebutton-tests/playwright after npm ci; `playwright test --list` collects 565 tests in 49 files (542 in 48 at the pre-merge commit); the client builds; bbb-common-message, bbb-common-web, akka-bbb-apps (sbt) and bigbluebutton-web (gradle compileGroovy) all compile. No conflict markers remain. The duplicate-symbol scan over the 169 changed JS/TS files finds only a pre-existing double @apollo/client import in nav-bar/options-dropdown/container.jsx, present on both parents.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review: 4
Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
germanocaumo
left a comment
There was a problem hiding this comment.
About the locales, 4.1 still doesn't have transifex? other languages are getting way behind
Some small fixes to the dark theme issues in polls:
antobinary#29
The v4.0.x-release merge brings in the poll and polling panels rebuilt on bbb-ui-components-react. 4.0 still darkens through DarkReader, so the new code never had to follow 4.1's native dark theme, and three spots regress there: - The question textarea is the library's, painted with --color-neutral-white, which theme-dark.css leaves white on purpose. The panel sets the text to colorText, white in the dark theme, so the question is typed white on white. Give it colorWhiteSurface. - The delete-option and stop-poll buttons are BBButton tertiary, whose --color-background-blue and --color-hover-light had no dark value, so they stayed pale blue tiles. Emit both, blue-tinted like the light pair. - The vote option boxes and the poll/quiz tab selector are bordered with colorGray and colorGrayLight, which turn white in the dark theme because they are text colours. Use their border splits, colorGrayBorder and colorGrayLightBorder. The light theme is unchanged: every token used chains back to the previous value there.
I will create a transifex soon. It makes sense to first have people in the community migrate to BBB 4.0, get the 4.0 translations up to 100%, and only then fork into a BBB 4.1 Transifex project. Otherwise 4.1 people will have to translate the same things twice - once on 4.0 and then on 4.1. I'd say in 1 month it would be good time. In case there are other motivating factors I am not aware of, please say so.
Thanks! Merged! |
✅ Automated tests have passed! |
66b0bb0
into
bigbluebutton:v4.1.x-develop
Forward-merge of v4.0.x-develop at 112214e into v4.1.x-develop at 1635133. Merge base 28d54de (#26257, merged in #26442). Resolutions: - profile-settings/component.tsx: combined. 4.1's PreviewStatus replaced the inline containerStyle, so it stays out; 4.0's isCamLocked return and "Enable webcam" placeholder (#26213) go before 4.1's CameraPreview. - profile-settings/styles.ts: 4.1's palette imports plus colorOffWhite, which 4.0's placeholder uses. - recording/styles.js: 4.1's colorTextEmphasis with 4.0's confirmationButtonFloor (#26314). - request-unmute-modal/styles.js: stays deleted, as on 4.1. 4.1's shared media-consent-modal (f75c010) replaced the RequestModalContent row that 4.0's min-width and narrow-phone change (#26314) styles. - settings/container.jsx: combined. 4.0's pagination source and useIsPaginationToggleAllowed (#26468) in 4.1's useSettingsProps, and paginationToggleLocked in its returned props, so the pre-flight settings modal gets it too. - settings/submenus/application/styles.js: 4.0's. The language selector is now a BBBSelect (#26389), so the native select rule 4.1 recoloured has no target. - video-preview/hooks/types.ts, useVideoPreview.ts: combined. Both sides' options (skipPreview, deferInitialization; waitForCameraPermission). 4.0 moved the mount-time camera opening from the cameraDisabled effect into startPreview, called on mount, and the effect now reopens only a started preview. 4.1's deferInitialization check moves with it, from the effect into startPreview, so pre-flight still opens no camera until the user enables it. - palette.js: combined. 4.0's colorWarning #FFC845 and btnWarningColor #393C48 (#26312) and its new status tokens; 4.1's notice, scrim and *ColorSurface tokens. - locales de, eu, it_IT: 4.1's, as in #26011, #26198, #26346 and #26442. en.json: both sides' strings; a key-level three-way check matches. - playwright core/helpers.ts: 4.0's override-aware create defaults (#26359) with 4.1's encoded name and meetingID. - bigbluebutton.properties, docs/data/create.tsx: both disabledFeatures entries, layoutView (4.1) and lockSettings (4.0). - docs configuration-files.md, release-testing.md: still CRLF on 4.0 and LF on 4.1; merged with line endings normalised. 4.1's bbb-export-annotations override row stays (4.1 ships the override); 4.0's other override rows and nginx text, with the 4.1 source link; the new unmute case with its spec link on v4.1.x-develop. - docs customize.md: 4.0's locale override steps, downloading from v4.1.x-release. - docs new-features.md: 4.1's file, unchanged. - bbb-shared-notes-server/run-in-systemd.sh: kept, as on 4.1. 4.0 deleted it (#26464), but 4.1's image (bbb-shared-notes-server/Dockerfile) still copies it. The follow-up "build(docker): stop copying the removed run-in-systemd.sh into the shared-notes image" removes both. This merge does not pass the Playwright type check alone: bigbluebutton-tests/playwright/core/elements.ts merged without a conflict but declares layoutContainer twice, since both lines added it (4.1 in c5c2c71, 4.0 in ad12223). The next commit, "test(playwright): declare the layoutContainer selector once", drops 4.1's copy. The packages build, and Playwright's own transpiler runs the suite as is. # Conflicts: # bigbluebutton-html5/imports/ui/components/profile-settings/component.tsx # bigbluebutton-html5/imports/ui/components/profile-settings/styles.ts # bigbluebutton-html5/imports/ui/components/recording/styles.js # bigbluebutton-html5/imports/ui/components/request-unmute-modal/styles.js # bigbluebutton-html5/imports/ui/components/settings/container.jsx # bigbluebutton-html5/imports/ui/components/settings/submenus/application/styles.js # bigbluebutton-html5/imports/ui/components/video-preview/hooks/types.ts # bigbluebutton-html5/imports/ui/components/video-preview/hooks/useVideoPreview.ts # bigbluebutton-html5/imports/ui/stylesheets/styled-components/palette.js # bigbluebutton-html5/public/locales/de.json # bigbluebutton-html5/public/locales/en.json # bigbluebutton-html5/public/locales/eu.json # bigbluebutton-html5/public/locales/it_IT.json # bigbluebutton-tests/playwright/core/helpers.ts # bigbluebutton-web/grails-app/conf/bigbluebutton.properties # docs/docs/administration/configuration-files.md # docs/docs/administration/customize.md # docs/docs/data/create.tsx # docs/docs/new-features.md # docs/docs/testing/release-testing.md
Merge v4.0.x-release (4.0.0-rc.5) into v4.1.x-develop
Forward-merge of
v4.0.x-releaseat 0a2ccd4 (tagv4.0.0-rc.5) intov4.1.x-developat 1f354da. Merge base b4307c5 (23 Sep): 282 commits, 71 merged PRs, 457 files. Main content: the Etherpad removal, the poll/polling panel rebuild on bbb-ui-components-react, the Node.js 24 move, plugin SDK 1.0.0-beta.3, the October dependency-audit bumps and the rc.3..rc.5 fixes. One merge commit, no adaptation commits were needed.Note
bbb-install.shforv4.1.x-releasenow uses NodeJS 24 too: bigbluebutton/bbb-install#858Conflicts (38) and resolutions
42 files touched by both lines auto-merged and were checked: CI files still target v4.1.x-release/noble-41-dev with 4.0's Node 24 and Etherpad-removal changes; settings.yml, bigbluebutton.properties and bbb_schema.sql have no duplicate keys; webpack.config.js and record-and-playback/deploy.sh are identical to both parents.
Verification
Full stack deployed from source on a 4.1 dev server (client, akka-apps, bbb-web, graphql server/middleware/actions, shared-notes server plus its nginx snippet, export-annotations, learning dashboard, record-and-playback).
Playwright chromium
@ci(minus flaky/need-update/only-headed/setting-required): 471 passed, 10 failed, 21 skipped. All 10 attributed, none to the merge:@known-issue)Follow-ups (not part of this merge)