5940 Commits
Author SHA1 Message Date
Hristo Terezov cc7058813b fix(avatar): apply the same announcement rule to native avatars
VoiceOver and TalkBack read every native avatar on their own, even where
the name is shown right next to it, and the web change left native out.
Give the native StatelessAvatar the same behaviour: decorative by
default, and announced with the person's name only where a caller sets
accessibilityAnnounceName, so both platforms follow one rule.
2026-11-06 21:23:46 -06:00
Hristo Terezov 8f4bee04dd fix(avatar): announce the participant's name on the pre-join avatar
The pre-join preview shows the participant's avatar with alt="avatar"
when the camera is off, so screen reader users hear a generic word
instead of who the picture shows. An external WCAG 2.2 AA audit of a
JaaS embed flagged this (1.1.1 Non-text Content).

Avatars stay decorative by default, because nearly every other place
renders the name right next to them and would otherwise read it twice.
The pre-join preview opts in with accessibilityAnnounceName, and the
same name is used for the picture, the initials and the icon fallback,
so what is announced does not depend on whether the picture loaded.
2026-11-06 21:23:46 -06:00
Дамян Минков ab58977caf fix(recording): preselect a storage service that is actually offered (#17877)
* fix(recording): preselect a storage service that is actually offered

The record & transcribe dialog computed its default storage service
without the constraints the storage selector applies: while a live
stream runs, or without the recording JWT feature, the file recordings
service and Dropbox are not offered. With the recording service enabled
the default stayed recording-service while the selector showed local
recording (the first option), so pressing Start started a Jibri file
recording instead of the local one the user saw.

Compute the offered services in one helper used by both the dialog and
its content, pick the default among them, and recompute it whenever the
selection stops being offered while no recording runs (e.g. a live
stream starts while the dialog is open).

Starting transcription on its own no longer depends on the storage
selection: it always goes through setRequestingSubtitles. Previously it
only did so when the recording service was selected, which is what kept
transcription working during a live stream; with local recording now
preselected there it would have only written the room metadata.

Follow-up to #17732.

* fix(recording): only request recording in metadata for a file recording

Starting transcription on its own passed isRecordingRequested=true
whenever any recording ran, including a local one. A local recording is
never announced through the room metadata, so remote participants saw
isRecordingRequested flip to true, waited for a file recording session
that never came, and never showed the transcription start notification.

Set it only when a file recording is started or already active.

* feat(recording): disable starting transcription while subtitles are transcribed

When a transcriber is in the meeting only for the subtitles, a recorder
transcription cannot be started on top of it: the dialog still offered
Start transcription, but nothing happened. Disable it, and the start
both button, in that case, with a tooltip on web saying transcription is
already on, and do not start transcription along with the recording when
auto transcribe on record is on.

* fix(recording): announce recording started from the suggestion notification

With autoTranscribeOnRecord, starting the recording from the suggestion
notification requested the subtitles without forcing the metadata
update, so the room metadata was only written with async transcription
on. Without it, and whenever a transcriber was already in the meeting,
remote participants got no recording start notification.

Force the metadata update like the dialog and the external API do, only
auto transcribe when no transcriber is in the meeting yet, and keep a
running transcription in the metadata when only recording is announced.

* test(recording): cover the dialog during a live stream and with a subtitles transcriber

- local recording is preselected while a live stream runs, including
  when the live stream starts while the dialog is open;
- Start transcription and Start both are disabled, with a tooltip,
  while a transcriber is in the meeting only for the subtitles;
- starting transcription during a local recording does not set
  isRecordingRequested in the room metadata a remote participant sees.

* test(recording): wait for the tooltip text, not just the tooltip element

The tooltip fades in: it is in the DOM before it is visible, and
getText() returns an empty string for it until then.

* fix(recording): clear the transcription flag when inviting the transcriber fails

When starting transcription, the recording room metadata gets
isTranscribingEnabled before the transcriber is invited. If inviting it
failed the flag stayed set, so remote participants kept waiting for the
transcription and never got the notification about a recording started
along with it.

Clear the flag on failure, keeping the rest of the recording metadata.
On the receiving side, the flag cleared with no transcriber in the
meeting is a failed start rather than a stop: stop waiting for the
transcription, so the recording start is still notified, and do not
notify a transcription stop.

* test(recording): cover a failed transcriber invite when starting recording and transcription

The transcription flag is cleared while the recording stays requested,
and the remote participant stops waiting for the transcription and gets
the recording-only start notification once the file recording is on.

* test(recording): wait for Start both to be enabled

The dialog keeps it disabled while validating the Dropbox token, on
deployments with Dropbox enabled.

* fix(subtitles): clear the transcription flag without waiting for the metadata echo

When inviting the transcriber fails before the server has echoed back
the metadata update requesting it, the local copy of the metadata does
not have isTranscribingEnabled set yet, so the flag was not cleared.
Re-apply what the request wrote instead: isRecordingRequested when a
recording was requested along with it, and isTranscribingEnabled off.

* fix(recording): do not validate an empty Dropbox token

mapStateToProps maps a missing Dropbox token to '', so the dialog
validated it against the Dropbox API on every open, which fails, and
kept the start buttons disabled until the request came back.

* fix(recording): notify a transcription stop when the transcriber left first

The recording metadata listener treated the transcription flag cleared
with no transcriber in the meeting as a failed start. A normal stop can
also look like that, when TRANSCRIBER_LEFT arrives before the metadata
update, and its stop notification was then suppressed.

Only treat it as a failed start while a start is still waiting for the
transcription, or after inviting the transcriber failed on this client.

* fix(subtitles): clear the transcription flag from the latest metadata

After a failed transcriber invite, the error handler re-applied the
recording request it was made with, so a recording stopped while the
invite was pending was requested again.

Build the update from the latest metadata instead, only turning
isTranscribingEnabled off. When the metadata update requesting the
transcription has not been echoed back yet, wait for that echo first.

* test(recording): cover a cancelled recording and a stop after the transcriber left

- a failed transcriber invite does not restore a recording request
  cancelled while the invite was pending;
- a transcription stop is notified when the transcriber left before the
  transcription flag was cleared.

* fix(recording): stop waiting for a recording cancelled before it started

When the recording request was withdrawn before any file recording
session existed, e.g. stopped while the transcriber invite was pending,
remote participants kept a start intent waiting for that recording, and
a later start would not be announced correctly. They also notified a
stop for a recording that never started.

Treat it like a failed transcription start: drop the recording from the
pending start, and do not notify a recording stop.

* test(recording): check a cancelled recording leaves nothing pending

The remote participant stops waiting for the recording and notifies no
recording stop.

* test(recording): wait for the previous test's recording stopped notification to go away

The previous test's cleanup stops its fake recording, which the remote
participant notifies. That notification was still shown when the check
that a cancelled recording notifies no stop ran.

* test(recording): skip the transcriber invite failure tests with async transcription

With async transcription the client does not invite the transcriber
itself, so there is no invite that can fail.

* refactor(recording): decide auto transcription on record in one place

shouldAutoTranscribeOnRecord() now also answers no while a transcriber is in
the meeting, for the subtitles or for a running transcription, since it cannot
be started again. The suggestion notification and the dialog no longer repeat
that check with their own formulas.

* refactor(recording): decide the dialog state in a single model

getRecordingDialogModel() in dialogModel.ts now computes everything the
recording & transcription dialog decides, from the redux facts and the
dialog's own state: the services offered and the one selected, whether each
section and the footer are shown, what is running, whether each start button
is enabled and why not (a blocker, which the web content turns into a
tooltip when there is an explanation for the user).

The dialog builds the model and applies it in its handlers, the content
renders it. The content no longer derives any of those decisions from redux
on its own, so the dialog and its content cannot disagree, and the web and
native contents no longer repeat the start-both and start-transcription
rules.

* fix(recording): invite the transcriber when starting it with a local or Dropbox recording

Starting transcription along with a local or a Dropbox recording only wrote
isTranscribingEnabled to the room metadata: nothing requested the
transcriber, so remote participants waited for a transcription that never
came. Requesting the subtitles now invites it whatever recording starts with
it, and writes the metadata the same way for every storage service.

A local recording also no longer seeds the start intent: it is not a file
recording session, the coordinator could never resolve it, and the local
recording middleware notifies about it on its own.

* fix(recording): sign out of Dropbox only when the user picks another service

The content signed out whenever the selected service moved away from Dropbox,
including when the dialog re-picked it on its own because the services offered
changed (a live stream started, another moderator started a session). A signed
in user lost the stored token without touching anything. The sign-out now
happens in the service change handler, with the user's choice.

* fix(recording): do not block Start both on a running transcription's reason

With a recorder transcription running and end-to-end encryption turned on
meanwhile, Start both only starts the recording, yet it was disabled with the
E2EE reason. A transcription blocker now only counts while no transcription
runs, as the recording one already did.

* fix(subtitles): clear the transcription flag reliably after a failed invite

Waiting for the echo of the metadata update compared the local copy by
identity, so any other metadata update arriving first ended the wait on a copy
without the flag, and the echo then left it set. The wait now ends when the
flag shows up in the local copy, whatever arrives before it, and when nothing
sets it in time the flag is cleared anyway instead of staying set for the
remote participants.

* fix(recording): do not take a stop for a cancelled start after the session was on

A recording request withdrawn with a start intent still pending and no active
file session counted as a start cancelled before it began, which silenced the
stop notification. A start intent can stay pending after the session was on,
e.g. while waiting for an initiator jicofo never delivers, and the session's
off update can arrive before the metadata update: a real stop then went
unnoticed. The intent now records that its session was seen on, and only a
start without that counts as cancelled.

* docs(recording): describe the service kept while a recording runs accurately

The selection kept while a recording runs is the service whose options are
shown, not necessarily the one recording: the dialog opens on the default
service whatever runs, as it did before.

* refactor(recording): take the auto transcription decision from the selector alone

The model repeated the conditions shouldAutoTranscribeOnRecord() already
folds in, so a change to the selector would have silently diverged from the
dialog.

* refactor(recording): validate the Dropbox token unconditionally on mount

mapStateToProps maps a missing token to '', and _onTokenUpdated() handles
that itself, so the undefined check on mount was dead and read as if an
undefined token were a real state.

* test(recording): join once per live stream describe and scope the tooltip lookup

Every test of the live stream describe rejoined the conference its setup had
already joined; the fake live stream is now ended after each test instead,
with no side effect. The tooltip lookup matched any popover on the page; it
now looks for the one repeating the button's description.

* docs(recording): describe the live stream spec's config and support flag

The inner functions of the subtitles middleware got theirs along with the
rewrite of the metadata echo wait.

* fix(subtitles): clear the transcription flag from what the participant asked for

After a failed transcriber invite the flag was cleared from the local copy of
the room metadata, which only reflects a write once the server echoed it back.
Depending on the timing of that echo the clear either waited for the flag to
show up, and then cleared the next transcription started within ten seconds,
or restored a recording request the participant had withdrawn meanwhile.

The clear now happens at once, with isRecordingRequested taken from the redux
state: a file recording on or requested and not stopped since. The server
applies the updates in order, so it lands after the request whether or not
the echo arrived.

* fix(recording): keep recordingStarted when a failed transcription rewrites the intent

Rewriting the start intent after a failed transcriber invite dropped the
recordingStarted flag, so a recording whose session was already on looked
like one that never started: a later stop whose off update arrived before the
metadata echo was then taken for a cancelled start and went unnoticed.

* refactor(recording): move the dialog model into functions.ts

The dialog model, its facts and blockers now live with the other recording
selectors instead of in a file of their own next to the dialog components.
2026-11-06 16:28:12 -06:00
Puneet Yadavanddamencho ee8d41c11e fix(visitors): deduplicate promotion requests by visitor JID (#18221)
* fix(visitors): deduplicate promotion requests by visitor JID

* fix(visitors): keep a visitor's place when its promotion request is updated

---------

Co-authored-by: damencho <[email protected]>
2026-11-06 16:27:39 -06:00
Raphael Fakhri 65091533a1 fix(i18n): map region language codes to their day.js locales (#18124)
* fix(i18n): map region language codes to their day.js locales

* fix(i18n): match day.js locales case-insensitively

* fix(transcribing): map region language codes to their BCP-47 tags
2026-11-06 16:27:05 -06:00
Hristo Terezov 72b8c2ac89 fix(prejoin): give the join options dialog an accessible name
The popup with the extra join buttons renders as a modal dialog that
receives focus when it opens, but nothing labelled it, so screen readers
announced an anonymous "dialog". Reuse the arrow's "Join options" label
so users hear where they landed.
2026-11-06 16:19:32 -06:00
Hristo Terezov 312a0f696d fix(prejoin): name the join options arrow after what it does
The arrow next to "Join meeting" was labelled "Join without audio", the
caption of one item inside the popup it opens. Screen reader users heard
an action that pressing the arrow does not perform, and with
hideExtraJoinButtons set to hide that item the label named an option that
was not even shown. Call it "Join options", which is what it opens.
2026-11-06 16:19:32 -06:00
Hristo Terezov f17ea3e5f9 fix(prejoin): expose the join options arrow's open state
The arrow next to "Join meeting" opens a popup with the extra join
buttons, but it exposed aria-pressed, so screen readers announced it as
a toggle button and never said whether the popup was open. Expose
aria-expanded following the popup state instead, with aria-haspopup set
to "dialog", which is what the Popover renders (WCAG 4.1.2 Name, Role,
Value; reported by a JaaS customer's accessibility audit).
2026-11-06 16:19:32 -06:00
Hristo Terezov da8ad1c7ca fix(prejoin): take the disabled join button out of the tab order
While the "Join meeting" button is disabled (empty name, joining in
progress, or no unsafe-room consent yet) it kept tabindex="0", so
keyboard users stopped on a control that did nothing. A WCAG 2.2 AA
audit of a JaaS embed rated this High (2.4.3 Focus Order). Give the
button and its options arrow tabindex="-1" while disabled.
2026-11-06 16:11:54 -06:00
Navya 85a3736a99 fix(filmstrip): don't mutate participantsVolume on participant left
Also pass next(action)'s result through on CONFERENCE_JOINED in the
polls-history middleware when there is no saved history.
2026-11-06 14:56:01 -06:00
MANI fda859b9c2 fix(google-api): wait for the Google Identity script and reject when loading fails (#18179)
* fix(google-api): wait for the Google Identity script and reject when loading fails

* fix(google-api): track each library load and surface failures to callers

* fix(google-api): retry explicitly and only flag real load failures
2026-11-06 12:09:57 -06:00
Arsh Goyal e1c1694828 fix(google-api): ignore the second token result and handle popup errors 2026-11-06 18:55:34 +02:00
Arsh Goyal 0fa2a8107b fix(google-api): don't hang when the Google sign-in popup fails 2026-11-06 18:55:34 +02:00
Hristo Terezov 210db85621 fix(settings): complete the mobile DOM-order comment
The sentence was finished by the line that moved the desktop Close
button, which the previous commit removed. Make it a complete sentence
about the mobile heading so the remaining comment stands on its own.
2026-11-05 19:56:53 -06:00
Hristo Terezov e11da934f1 fix(settings): move the desktop Close button to the end of the focus order
In the Settings dialog on desktop the Close (X) button is shown at the
top-right but rendered right after the tab panels, so keyboard users
reach it between the tab content and Cancel/OK. An external WCAG 2.2 AA
audit of a JaaS embed flagged this as a focus-order issue (2.4.3): the
button is expected after the footer buttons, not in the middle.

Render the button after the footer instead. CSS still places it at the
top-right, and Tab from a selected tab still leads straight into its
panel, which is what the original placement was meant to preserve.
2026-11-05 19:56:53 -06:00
Hristo Terezov 44a037b2e4 fix(settings): stop the tab list container from taking keyboard focus
The sidebar of DialogWithTabs had tabindex="0" (added in #15869 so a
screen reader would read the dialog title before the tabs), which made
the whole tab list an extra focus stop before the selected tab (WCAG
2.4.3 Focus Order; reported by a JaaS customer's accessibility audit).
Only the selected tab needs to be in the tab order: the tabs already
move focus between themselves with the arrow keys, and screen readers
announce the tab list's label when focus lands on a tab, so the title
is still read out.
2026-11-05 17:58:44 -06:00
moataz hjaiji 1380ca3f0b feat(polls): let the creator or a moderator close a poll (#17994)
* feat(polls): let the creator or a moderator close a poll

The End poll button is behind showEndPollButton in config.js, off by default,
since it needs the updated mod_polls_component. Visitor nodes learn about a
close from the main prosody and converge on its results.

* fix(polls): confirm ending a poll, test the visitor node paths

- Ending a poll asks for confirmation first, from one useClosePoll hook used
  by the voting form and the results on web and native.
- A refused close or vote shows a notification (lib-jitsi-meet rejects
  closePoll/answerPoll on the polls component's error reply).
- closePoll guards a missing getPolls().
- The native End poll button sits in the Skip/Submit row.
- The main prosody's close broadcast leaves out the answers, the occupants
  have them; only a visitor node sends the main prosody's answers, and the
  reducer keeps the local names of their voters.
- A visitor node replies not-allowed to a close, and handles every poll an
  update closed before going on to a new poll or vote in the same update.
- The prosody tests run a polls component as a visitor node, and check that
  a close fires poll-closed for mod_visitors.
- createPollEvent documents poll.closed.

* fix(polls): close the native end poll dialog and tell refused votes apart

The native dialog stayed open after confirming, because AbstractDialog takes
an undefined onSubmit result as a failed submit.

A refused vote said the poll had ended for any error. Only not-allowed means
that, other errors get a generic message. A late vote or a refused close also
doesn't need a sticky error, so both use the long timeout.
2026-11-05 16:25:31 -06:00
Calinteodor d6ac41553f feat(config): tackle disableInitialGUM when prejoin is disabled
Mute audio/video tracks by default if disableInitialGUM config is set and tackle case when prejoin is disabled.
2026-11-05 18:33:31 +02:00
puneetnith28 b19c95679a refactor(keyboard-shortcuts): address PR feedback and keep only the PersistenceRegistry defaultState change 2026-11-05 17:52:25 +02:00
puneetnith28 e11c8f30d8 fix(keyboard-shortcuts): prevent crash when opening settings 2026-11-05 17:52:25 +02:00
Muskan Kumari 80b8e7441f fix(base/ui): fall back to labelKey for native Button accessibility label
The native Button defaulted accessibilityLabel to t(accessibilityLabel ?? ''), so callers that omitted the prop got an empty label. Fall back to labelKey (and undefined when neither is set) so every button is announced by screen readers without per-call props.
2026-11-05 13:57:00 +02:00
puneetnith28 da6a376c8c refactor(native): prevent redundant state update in PageReloadDialog countdown 2026-11-05 13:56:45 +02:00
puneetnith28 0ab2a92b57 fix(visitors): reset demote actor state on conference leave 2026-11-05 12:53:47 +02:00
Muskan Kumari 363962b31d fix(native): add accessibility labels to filmstrip indicators 2026-11-05 12:11:20 +02:00
Muskan Kumari 813577e2cd fix(ui): add accessibility label support to switch component 2026-11-05 12:10:46 +02:00
Muskan Kumari 4aeefa0759 fix(dialog): add accessibility label support to native input dialog 2026-11-05 11:18:38 +02:00
Дамян Минков 4107ce6c9e fix(shared-video): handle only commands for the shared video participant (#18139)
* fix(shared-video): handle only commands for the shared video participant

The shared-video command adds the shared video participant on start and
removes the participant named by its value on stop. The value is the
video, but nothing checked that it names the shared video participant,
so a command with the id of a participant replaced that participant with
the shared video participant on start, or removed it on stop. This also
applied to the local participant and to participants who join later,
which receive the command with the stored presence.

Ignore shared-video commands whose value is the id of a participant other
than the shared video participant, and remove a participant on stop only
when it is the shared video participant.

Add a test for sharing and stopping a video and for commands with the id
of a participant.

* fix(prosody): remove shared-video commands for an occupant

The value of a shared-video command is the URL or the YouTube id of the
video, and the client adds or removes the participant whose id is that
value. Remove a shared-video element whose value is the nick of an
occupant of the room, the sender included, from the presence, whether or
not the room restricts video sharing. The MUC stores the presence
afterwards, so participants who join later do not receive it either.
Other shared-video elements in the presence pass.

* fix(shared-video): remove only the shared video participant when its owner leaves

When the owner of the shared video leaves, the participant with the id of
the video is removed. A participant who joins later can receive the stored
presence of the owner before the presence of the participant whose id is
that value. Then the shared video participant is created with that id and
is replaced when the participant joins, and the participant was removed
when the owner left.

Remove the participant only when it is the shared video participant.
2026-11-04 13:48:08 -06:00
Calinteodor 700a2a6977 feat(participants-pane): add the live visitors list to native (#18156) 2026-11-04 16:14:44 +02:00
Calinteodor 5ef21c4739 feat(participants-pane): add screen-share moderation to the native moderator menu (#18155)
Screen-share moderation to the native moderator menu and also added native MuteEveryonesDesktopDialog.
2026-11-04 10:39:08 +02:00
Navya c1365f2580 fix(external-api): handle the toggleNoiseSuppression command (#18110)
* fix(external-api): handle the toggleNoiseSuppression command

* fix: updatess as per feedback

* fix(noise-suppression): bound queued changes with a timeout

* fix(tests): enable audio processing in the noise suppression iframe test
2026-11-03 21:16:51 -06:00
bgrozev 1e528af256 feat(recording): Show a specific error when the request is invalid (#18166)
* feat(recording): Show a specific error when the request is invalid.

Jicofo answers a start request with bad-request when the Jibri refuses it as
invalid, e.g. because the recording parameters of the meeting are not
supported, or because the RTMP URL is invalid. The generic error asked the user
to try again, which fails in the same way.

* squash: Fix the spacing in lang/main.json (npm run lang-sort).
2026-11-03 19:12:59 -06:00
Calin-Teodor e17f286e89 fix(av-moderation): block native screen share when moderation is on 2026-11-03 15:03:22 +02:00
Muskan Kumari 8fffb14b7b fix(native): add accessibility labels to SpeakerStatsItem and TimeElapsed
Add accessibility labels to SpeakerStatsItem and TimeElapsed components.
2026-11-03 14:14:12 +02:00
Muskan Kumari 6f138d435c fix(native): add accessibility labels to language selector items 2026-11-03 13:34:51 +02:00
Muskan Kumari 46dbb23f4f fix(conference): add accessibility roles and labels to indicator buttons 2026-11-03 12:11:06 +02:00
Muskan Kumari d056560395 fix(native): add accessibility role and state to participant list items 2026-11-03 12:10:56 +02:00
Muskan Kumari f1b845a043 fix(native): add accessibility label to volume slider 2026-11-02 12:12:16 -06:00
moataz hjaiji 90de37b1a9 fix(settings): hide the chat permission settings on native like on web (#18013)
* fix(settings): hide the chat permission settings on native like on web

The web moderator tab shows the chat permission settings only when
showChatPermissionsModeratorSetting is enabled and the room isn't
allowners. The native moderator section always showed them.

* fix(settings): recompute the native moderator settings when moderation or follow-me changes

* fix(settings): hide the native moderator settings with a hidden field on each entry

* fix(settings): re-render the native moderator settings only when their values change
2026-10-31 14:07:44 -05:00
Muneebanddamencho adf0f93fb2 fix(polls-history): correct poll ID extraction and persist deletions (#18145)
* fix(polls-history) correct poll ID extraction and persist deletions

* fix(polls-history): address review comments

Drop the unused action.pollId fallback, tighten the last-poll check and
move the poll close/create-form waits into ChatPanel helpers.

---------

Co-authored-by: damencho <[email protected]>
2026-10-31 14:07:28 -05:00
moataz hjaiji d0c30ef6f5 fix(settings): save the reaction sounds and follow me toggles like they show (#18152)
* fix(settings): save the native reaction sounds and follow me toggles like web

* fix(settings): turn on follow me on web while the recorder mode is on

With the recorder mode on both flags are already set, so checking Follow me
dispatched nothing for it and then turning off the recorder mode cleared both.
Apply the recorder mode first and compare follow me with the result.

* fix(settings): send off before the recorder-only follow me command

Switching from Follow me to Follow me (recorder only) dispatched only
setFollowMeRecorder(true), so followMeEnabled stayed true, the subscriber sent
nothing, and followers kept following as before. Use
setFollowMeRecorderExclusive on web and native, which turns off follow me first
like the recording dialog does.
2026-10-31 14:06:50 -05:00
Puneet Yadav 9a4d3aa72b fix(keyboard-shortcuts): clean up stale keyboard shortcut help entries (#18053)
* fix: clean up stale keyboard shortcut help entries

* refactor(keyboard-shortcuts): derive help entries dynamically, preserve numeric shortcut help, and deduplicate key handling
2026-10-31 14:06:35 -05:00
Navyaanddamencho ff04fd09c1 fix(a11y): make web controls keyboard accessible (#18112)
* fix(a11y): make web controls keyboard accessible

* fix(a11y): address review feedback

* fix(participants-pane): keep lobby drawer button styling

Give the drawer buttons their own class so they don't pick up the first-child margin of the list items and keep the drawer typography.

---------

Co-authored-by: damencho <[email protected]>
2026-10-30 17:11:17 -05:00
MANIanddamencho dd1a828963 fix(calendar-sync): don't prompt Google sign-in until the user asks (#18098)
* fix(calendar-sync): don't prompt Google sign-in until the user asks

* fix(calendar-sync): offer sign in again and disconnect for a signed out calendar

* fix(calendar-sync): handle sign in again errors and drop redundant prop

---------

Co-authored-by: damencho <[email protected]>
2026-10-30 14:24:16 -05:00
Fabiananddamencho 26550af7e1 fix: getCurrentDevices call from external api (#17410)
* fix: getCurrentDevices call from external api


refs: #7356 #10829

* style(device-selection): fix lint in getCurrentDevices

---------

Co-authored-by: damencho <[email protected]>
2026-10-30 13:31:13 -05:00
Muskan Kumari 7b4f3f5e8c feat(recording): make live-streaming dialog service-agnostic (#8955) (#17870)
* feat(recording): make live-streaming dialog service-agnostic (#8955)

* fix(recording): address review feedback on service-agnostic live streaming

* fix(recording): polish regex and label selection for live-streaming dialog
2026-10-30 13:30:44 -05:00
moataz hjaiji d9a7e2cf19 feat(polls): add single answer polls (#17993)
* feat(polls): add single answer polls

A voter can always choose any number of answers of a poll. For a question
with one right answer, e.g. in an online class, each participant should
choose exactly one. Add an "Allow only one answer" option to new polls.

* mod_polls_component validates singleAnswer (a boolean when present),
  stores it with the poll, relays it with new-poll and sends it with
  old-polls to late joiners. It rejects an answer-poll that chooses more
  than one answer of such a poll with bad-request. mod_visitors sends it to
  the visitor nodes, which relay it with the new poll.
* The create form, on web and native, gets an "Allow only one answer"
  toggle, off by default. The creator sends it through createPoll of
  lib-jitsi-meet.
* A single answer poll shows a "Choose one answer" hint. Choosing an answer
  clears the others. On web the answers are radio inputs: the Checkbox
  component takes an optional type, and a radio input has the same look
  with a round box.

Fixes #17001.

* feat(polls): hide the single answer option unless enabled in config

The option is sent with lib-jitsi-meet's createPoll and enforced by
mod_polls_component. Without both, a creator could pick it and get a poll that
still takes several answers. Add showPollSingleAnswerSetting, off by default.

* test(polls): cover a vote with more than one answer on a single answer poll

* fix(polls): keep showPollSingleAnswerSetting out of the config whitelist

Being in the whitelist lets anyone turn the option on from the URL
(#config.showPollSingleAnswerSetting=true) on any deployment, also one whose
mod_polls_component does not support single answer polls. It stays a
deployment setting in config.js.

* fix(polls): keep the first answer of a single answer vote instead of dropping it

Nothing on the client handles the bad-request reply: lib-jitsi-meet passes
message errors on only when they come from the room JID, and the voter has
already registered the vote locally. The voter saw a vote the server did not
count.

Keep the first chosen answer, store it and broadcast it like any other vote,
so every client, also the voter's and one that does not know about
singleAnswer, shows the vote the server counted.

* fix(polls): list everything sendPoll uses in its dependencies

The callback also uses dispatch, poll and pollId.

* fix(polls): address review comments

Log trimmed single answer votes at debug, they are normal traffic from
old clients. List dispatch in the submitAnswer and skipAnswer
dependencies. Rename the non-boolean singleAnswer test to say the poll
is rejected. Note in config.js that visitor prosodies need single answer
support too.
2026-10-30 08:17:09 -05:00
moataz hjaiji bcad5613c3 feat(breakout-rooms): let moderators restrict joining breakout rooms to the rooms they assign (#17985)
* feat(breakout-rooms): let moderators restrict joining breakout rooms to the rooms they assign

Any participant can choose a breakout room and join it. A moderator who
wants to decide the groups cannot prevent it. Add
permissions.breakoutRoomJoinRestricted to the main room metadata.

* mod_muc_breakout_rooms enforces it. When a moderator requests a move, the
  module remembers the target room for the real JID of the participant for
  30 seconds. While the restriction is set, it rejects a join to a breakout
  room with <not-allowed/>, unless the occupant is a moderator of the main
  room or a moderator just moved them to that room. A move to one breakout
  room does not open another one. Returning to the main room is not checked.
* The occupants of the breakout rooms do not receive the metadata of the main
  room, thus the breakout rooms update carries the restriction as
  joinRestricted, and the module sends the update again when the permissions
  of the main room change.

On the client the moderator gets a "Disable choosing a breakout room for
non-moderators" checkbox in the moderator settings, on web and native. It is
shown when breakout rooms are supported and the join button is not hidden by
config. While the restriction is set, a participant who is not a moderator
does not get the join action for breakout rooms, in the room list, the room
context menu or the native sheet. The join action for the main room stays.

On web the moderator tab saves all the permissions in one metadata update.
The metadata changes only when the server confirms it, thus a second update
would not see the first one and would undo it.

Part of #17613.

* feat(breakout-rooms): hide the join restriction setting unless enabled in config

The restriction is enforced by mod_muc_breakout_rooms, so showing the setting
with a server that runs an older version of the module would offer a toggle
that does nothing. Add showBreakoutRoomJoinPermissionsModeratorSetting, off by
default, the same way showChatPermissionsModeratorSetting gates the chat
permission settings.

* fix(breakout-rooms): address issues found in review

- A move is used up once the occupant joined the room it targets, not in
  muc-occupant-pre-join, so a join that another handler rejects can be
  retried, and moves to the main room no longer stay in the cache.
- The native moderator section keeps the permissions that the server has not
  confirmed yet, so a second toggle doesn't revert the first one.
- The setting is hidden in a breakout room, whose metadata the server does
  not read for it, and when allowners makes everyone an owner.
- The join-breakout-room iframe API command follows the restriction.

* fix(breakout-rooms): remember only the moves to a breakout room

Returning to the main room is never restricted, and a move to the main room was
never used up for a tenant room, thus it only took space in the shared cache,
e.g. for every participant when a moderator closes a breakout room.

* fix(breakout-rooms): do not keep the join restriction from an update without it

Only the update the client sends to itself for a changed display name keeps the
previous value. An update from a server that does not send joinRestricted, e.g.
in the next meeting on mobile, no longer keeps the restriction of the previous
one. The native moderator settings also drop the permissions pending for the
previous conference.

* fix(breakout-rooms): keep the moves per main room instead of a shared cache

The moves were kept in one cache of 1000 entries for every conference on the
Prosody instance, so a busy shard could evict a move before the participant
joined, and an unused move stayed until it was evicted. They are now kept on
the main room object, outside _data so they are not saved, with the same key
and expiry. Expired moves are dropped when a new one is added, and all of them
when the main room is destroyed.

* fix(breakout-rooms): do not open an empty breakout room menu

With the join restriction, Join is the only action a participant who is not a
moderator has for a breakout room, so a long-press on it opened an empty
drawer on mobile web and an empty sheet on native. The menu is no longer
opened then.

* refactor(breakout-rooms): check the main room in isBreakoutRoomJoinAllowed

Pass the room to the selector so the web, native and iframe API callers stop repeating the main room check.

* test(breakout-rooms): cover moves across conferences, expired moves and room destroy

* docs(config): note how older clients behave with the breakout room join restriction
2026-10-29 16:52:09 -05:00
damencho 73cd8aed5c fix(popover): lock only the focus, not pointer events and scrolling
Since the popover focus lock got enabled, react-focus-on isolates the
popover: it disables the pointer events on the rest of the page and
locks scrolling. The element under the mouse then gets a mouseleave, so
popovers rendered only while their parent is hovered close right after
opening, e.g. the chat message options and reactions menus. Clicks
outside an open popover, like on another toolbar button, are blocked
too.

Keep the focus lock and the focus return, but disable the isolation and
the scroll lock, the same way ContextMenu uses FocusOn.
2026-10-29 18:51:33 +02:00
puneetnith28 0e891bf18c fix(base/ui): add aria-invalid to Select component 2026-10-29 12:27:33 +02:00
Jonathan Lennox a1744cc188 feat(audio-translation): make the offered target languages configurable (#18142)
The audio-translation picker offered a fixed list of 13 languages, the set
OpenAI's speech-to-speech model accepts. The translation service can now run
on a provider that accepts any BCP-47 tag, and the client learns nothing
about the server's list (the language is chosen before the translator socket
exists), so a deployment had no way to offer more, or fewer.

config.audioTranslation.translationLanguages replaces the offered list with
the codes the deployment's provider accepts, sent to the bridge verbatim.
Unset, or null (how a configOverwrite resets a key), keeps the 13 defaults.
config.audioTranslation.translationLanguagesHead pins some of them to the
top. The keys match transcription.translationLanguages{,Head}; unlike that
head this one only reorders: an entry is matched case-insensitively, takes
the list's spelling, and one not in the list is ignored, so it can neither
add a language the provider may reject nor change the code sent.

A code must be 1-20 ASCII letters, exactly what prosody's
mod_audio_translation_component accepts (is_valid_language). A code it
refuses fails the whole request with bad-request, and a meeting-wide request
covers every speaker, so one bad configured code would break translation for
all of them; such codes are dropped from the list with one logged warning,
and bad-request now maps to a notification that points at the configuration
instead of the generic "try again". A list that is set but unusable (not an
array, empty, or every entry dropped) is logged once and offers nothing
rather than 13 languages the deployer did not choose. Codes are kept as
spelled but deduplicated case-insensitively; the selected language stays in
the picker by exact string so the active row still highlights.

Labels: the 13 defaults keep their hand-written native-script labels on every
platform. A configured extra is labelled with the language's own name from
Intl.DisplayNames where the platform has the API and locale data for that
language (every supported browser; Hermes implements no Intl.DisplayNames,
so the mobile apps fall through), first letter upper-cased since CLDR gives
Latin-script names in lower case; else the English name from
lang/translation-languages.json; else the code. The supportedLocalesOf check
matters: without it the API resolves to the viewer's locale and returns the
viewer-language name ("Klingon" for tlh on an English browser). The defaults
stay hand-written because CLDR matches twelve of them and has only
"Indonesia" for the thirteenth, where we keep "Bahasa Indonesia".

Both dialogs select only the audioTranslation config block and derive the
ordered list in a useMemo. SUPPORTED_TRANSLATION_LANGUAGES is renamed
DEFAULT_TRANSLATION_LANGUAGES, since it is no longer the supported set.

Bumps lib-jitsi-meet to v2236.0.0+51058e35 for jitsi/lib-jitsi-meet#3159,
which fixed the source-name parsers for a translated source whose language
suffix contains a hyphen. Region- and script-tagged targets still need
prosody's is_valid_language relaxed; that is a separate change.
2026-10-28 20:26:09 -04:00