Repository navigation
[fix] Add two parameters to meetingEndedCallbackURL to show record-processing banner in GL - #25929
hiroshisuga wants to merge 1 commit into
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review. WalkthroughFor non-breakout meetings with a configured meeting-ended callback URL, Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Low Suggested reviewers: Merge Risk: ⚪ Minimal · up to Eligible meeting-ended callbacks now include recording status and meeting identity, helping integrations track recording processing. They continue through existing URL validation and dispatch; no concrete merge-blocking failure is established. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The change remains behind existing outbound-request protections and does not introduce a new destination or privilege. Compatibility with external callback receivers, especially URLs containing the same parameter names, remains unconfirmed. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
Hardening Proposals
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Out of Scope Changes checkExplanation The diff includes formatting-only line-ending changes in unrelated shared-notes methods, imports, fields, and setters. These changes do not implement or support the ✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
38e99a8 to
30a6615
Compare
✅ Automated tests have passed! |
#25764 documented recordingmarks on the meetingEndedURL callback, which 4.0 did not send until the port of #25929. The request now carries meetingID as well, as the meta_endCallbackUrl callback has since 2.2, and Greenlight 3.9 needs both. Also say where the parameters go: after the query the application put on the URL, without replacing a parameter of the same name, so an application that already uses one of these names gets both values.
…etingID The test checks the request bbb-web really sends for meetingEndedURL without a callback receiver, which the URL validator would refuse in CI anyway (https only, no private hosts). The callback is bbb-web's own create, signed for the query bbb-web reads once recordingmarks and meetingID are appended after the checksum, so the call validates only when both parameters are there, in that order. A validated create re-creates the meeting that just ended, which getMeetingInfo then reports under a new internal meeting ID. A control through meta_endCallbackUrl, which has carried both parameters since 2.2, tells a server that cannot call itself back from a missing parameter; such servers skip the test. CI needs fetchUrlAllowedLocalHosts=bbb-ci.test for the test to run there. The install action maps bbb-ci.test to the runner's first `hostname -I` address, a private one, and the callback validator refuses a host that resolves to a private address unless the property lists it; it is empty by default and bbb-install does not set it. The @ci "Override default presentation on CREATE" test, whose download from https://bbb-ci.test/default.pdf works in CI today, does not show otherwise: PresRedirectValidator skips the address check for exactly the defaultUploadedPresentation URL, and CallbackRedirectValidatorService has no such bypass. What that download does show is that the JVM trusts the CI certificate, which the callback needs as well. Fails on v4.0.x-develop before the port of #25929 (the callback carried no parameters, so the checksum does not match and the meeting stays ended), passes with it.
…llback-params-40 fix(core): Add two parameters to meetingEndedCallbackURL to show record-processing banner in GL- #25929
|
Fixed on BBB 4.0.1 via #26243 (a few more lines changed). |
What does this PR do?
Add two parameters to the meetingEndedCallbackURL. There parameters are necessary to notify Greenlight that a recording is being processed.
Many other changes fixing CR - LF inconsistency have been included automatically by github. But the important change is only at line 1212- .
Closes Issue(s)
Closes bigbluebutton/greenlight#6339
Motivation
bigbluebutton/greenlight#6328 switched from meta_endCallbackUrl to meetingEndedURL and added JWT validation to the callback handler.
However, BigBlueButton currently invokes meetingEndedURL without adding meetingID or recordingmarks. Greenlight rejects the request because meetingID is missing. Consequently, its processing-recording count is not incremented, and the “Processing recordings” indicator does not appear.
How to test
More
Compatibility with other frontends has not yet been verified.
The meetingEndedURL is a general callback used by other frontends than Greenlight. This change adds new parameters to all such callbacks.