Commit Graph

14348 Commits

Author SHA1 Message Date
prlanzarin
c055caf915 fix(audio): ensure current I/O devices are flagged as selected
There's a regression in 3.0's I/O device selector where default output
devices are not marked as selected in the input-stream-live-selector
component unless the user explicitly selects them. This issue can also affect
input devices, although less commonly than output due to the system's ability
to infer the selected input device ID after the user joins audio.

When a device is the first in the list and no currentDeviceId is set in
the client, treat the first device returned by enumerateDevices as the
system default and hence selected, in accordance with the "Media Capture
and Streams API", Section 9.2, enumerateDevices algorithm.
2024-08-19 21:35:12 +00:00
Anton Barboza de Sá
c60ca2313b
test: Ask for feedback on logout test improvement + button display and action fixes (#20872)
* test: update and improve Ask for feedback on logout test - add more steps, check for different buttons, check POST request after sending feedback

* test: add missing data-test prop for sendFeendbackButton

* test: fix sendFeedbackButton data-test
2024-08-19 17:06:59 -03:00
Paulo Lanzarin
a2e2f28aba
Merge pull request #20963 from prlanzarin/u30/fix/tlo-f2
fix(audio): close dialog when "Cancel" is clicked with listenOnlyMode=false
2024-08-19 16:50:44 -03:00
Ramón Souza
91b5b7cb5f
Merge pull request #20937 from Tainan404/fix-connection-status
Fix: connection status issues
2024-08-19 16:24:05 -03:00
Ramón Souza
ddfba135a6
Merge pull request #20962 from Scroody/i-20817
Fix: Even number of emoji clicks hide who the sender was
2024-08-19 15:10:30 -03:00
Ramón Souza
af644be16b
Merge pull request #20953 from prlanzarin/u30/fix/plg-load-log
fix: use logger convention in plugin startup logs
2024-08-19 08:58:23 -03:00
Paulo Lanzarin
2e87bf2123
Merge pull request #20948 from prlanzarin/u30/fix/prescam-loadingstate
fix(screenshare): actions-bar loading state reacts to camera as content
2024-08-16 16:58:50 -03:00
André Castro
62fe6ed18c
Update component.jsx 2024-08-16 13:31:25 -03:00
prlanzarin
135350b6dc fix(audio): close dialog when "Cancel" is clicked with listenOnlyMode=false
When `listenOnlyMode` is `false` and the audio dialog's "Cancel" action is
clicked, the modal incorrectly re-renders instead of closing. Additionally,
the "Cancel" action is mislabeled as "Back."

This fix ensures the audio dialog closes properly when there are no options
to select (i.e., `listenOnlyMode=false`). The `skipAudioOptions` method is
revised to consider `listenOnlyMode` and ignore the "content" state.

Ignoring the "content" state allows options to be skipped even if a subscreen
is rendered (e.g., returning from the AudioSettings modal). The check for
`content == null` combined with `skipAudioOptions` is only necessary when
rendering the main modal. The `content == null` check has been moved to
the relevant section.
2024-08-16 15:48:47 +00:00
André Möller
6bbe3d4baa Fix: Even number of emoji clicks hide who the sender was 2024-08-16 11:52:40 -03:00
Ramón Souza
0a38236f94
Merge pull request #20873 from Arthurk12/presentation-last-state
fix(presentation): restore last state after sharing media
2024-08-16 10:48:11 -03:00
Ramón Souza
7c62352079
Merge pull request #20958 from JoVictorNunes/pure-voice-activity-hooks
fix: prevent the whole client from rerendering on voice activity
2024-08-16 09:47:57 -03:00
prlanzarin
9040cb86cb fix(audio): prevent spurious mute toggle due to AudioSettings remount
When listen only mode is deactivated and an user joins audio, an incorrect
remount of AudioSettings can trigger a spurious mute toggle. This happens
because AudioManager clears the `isConnecting` flag before setting the
`isConnected` flag. This creates a brief period where audio is flagged as
"disconnected," leading to a remount and unmount cycle that causes unwanted
mute/unmute actions due to AudioSettings' logic of muting/unmuting
active devices.

Ensure the `isConnected` flag is set before clearing the
`isConnecting` flag, preventing audio from being incorrectly flagged as
disconnected.
2024-08-16 01:51:10 +00:00
Ramón Souza
39d68e4156
Merge pull request #20782 from prlanzarin/u30/feat/tlo-ui-rebased250724
feat(audio): rework audio join UI for transparentListenOnly
2024-08-15 16:38:35 -03:00
Arthurk12
a9c8fd7051 fix(screenshare): removes redundant presentation restore
Removes redundant presentation restore code since the presentation restore
is executed by the layout context when updating the presentation pile.
2024-08-15 14:47:26 -03:00
Arthurk12
9c5a02c18b fix(presentation): update state only for presentation
Prevents changes in the presentation state while sharing media from
updating the presentation last state value. Additionally adds a missing
prop value of generic content state.
2024-08-15 14:47:26 -03:00
Arthurk12
160af41165 fix(layout): restore last presentation state
Restores the last presentation state after sharing media.
2024-08-15 14:47:26 -03:00
Arthurk12
6688866fbd fix(presentation): check for changes
Prevents `undefined` values for `presentationId` from causing false
positives that trigger the presentation restore routine.
2024-08-15 14:47:25 -03:00
Arthurk12
cd9e178161 fix(external-video): remove duplicate presentation pile dispatch
Removes the duplicate presentation pile dispatch for external video, as
an identical dispatch runs when the external video component is mounted.
This duplication did not cause any noticeable issues for the user but
resulted in the external video being added to the pile twice.
2024-08-15 14:47:25 -03:00
prlanzarin
abd6f7fea1 fix: use logger convention in plugin startup logs
The plugin loader startup logs aren't following the logger convention,
which makes them hard to work with when post-processing logs.
The appended error message is also not useful since we're logging a
Event variant raw (which either outputs {} or nonsense like { isTrusted:
etc }).

Make the plugin "loaded" and "error" logs adhere to logger conventions.
In the future, the error log could use some tuning - there's no useful
info about root cause here.
2024-08-15 15:54:06 +00:00
Ramón Souza
4227827165
fix feedback screen (#20949) 2024-08-15 11:58:19 -03:00
Ramón Souza
23e8e01871
fix: allowModsToUnmuteUsers param not working (#20888)
* fix unmute user feature
2024-08-15 11:10:08 -03:00
João Victor
2b6e4b584e fix(voice): reorganize askForConfirmationOnLeave code
- Move askForConfirmationOnLeave into AudioContainer
- Get rid of the unstable useMuteMicrophone hook, which returns a new reference every time the user gets muted/unmuted. Use the stable useToggleVoice hook instead.
2024-08-15 10:34:16 -03:00
prlanzarin
38b568b0c7 fix(screenshare): actions-bar loading state reacts to camera as content
The isSharing var is content type agnostic, so it's picking up camera as
content to flag the actions-bar button loading state.

Change the loading flag to track isScreenBroadcasting
(contentType=screen, local || global) and isScreenGloballyBroadcasting
(contentType=screen, global only). Fixes the camera as content false
positive as well as the loading state itself.
2024-08-15 13:09:40 +00:00
João Victor
b2adf9ad15 fix(voice): keep voice activity hooks pure by skipping state update when applicable 2024-08-15 09:13:12 -03:00
prlanzarin
381718a353 fix(audio): unmute when going from "no mic" -> mic via unmute trigger, +
When going from "no mic" -> mic via the unmute action, the client isn't
unmuting itself after confirming the change. This is caused by not
waiting the liveChangeInputDevice method (which is a Promise) to be
fully executed before unmounting the AudioSettings modal -- the one
responsible for triggering the unmute. Since it unmounts before the
device is changed, the unmute action will be ignored because the device
is still "listen-only" (no mic).

Properly unmute audio when transitioning from "no mic" -> "mic" via the
unmute trigger by waiting for liveChangeInputDevice to resolve.
Additionally, some general improvements to UI/UX:
  - Display the AudioSettings modal title when gUM is on prompt mode
  - Add specific subtitles to the AudioSettings modal to 1) warn that no
    mic is selected 2) Give a hint that the user can test their devices
  - Always honor settings.yml's "initialHearingState" state (whether
    local echo feedback should be played by default in AudioSettings)
2024-08-15 03:30:18 +00:00
prlanzarin
120bef5cc1 refactor(audio): improve audio settings' UI
We are missing a way to select transcription languages in some
scenarios, e.g.: listenOnlyMode=false. The audio settings UI is also not
handling item disposition very well on smaller devices.

This commit does the following to improve those blind spots:
  - Add the transcription language selector to it whenever applicable
  - Add proper styling to the transcription selector
  - Handle small screens by changing the disposition of elements to
    portrait mode
  - Improve how elements are disposed to a more familiar view: Mic ->
    Activity Indicator; Speaker -> Speaker test. This is more in line
    with how other platforms do audio configuration/pre flight screens.
2024-08-15 00:43:37 +00:00
prlanzarin
325887e325 feat(audio): rework audio join without listen only
This is a rework of the audio join procedure whithout the explict listen
only separation in mind. It's supposed to be used in conjunction with
the transparent listen only feature so that the distinction between
modes is seamless with minimal server-side impact. An abridged list of
changes:
  - Let the user pick no input device when joining microphone while
    allowing them to set an input device on the fly later on
  - Give the user the option to join audio with no input device whenever
    we fail to obtain input devices, with the option to try re-enabling
    them on the fly later on
  - Add the option to open the audio settings modal (echo test et al)
    via the in-call device selection chevron
  - Rework the SFU audio bridge and its services to support
    adding/removing tracks on the fly without renegotiation
  - Rework the SFU audio bridge and its services to support a new peer
    role called "passive-sendrecv". That role is used by dupled peers
    that have no active input source on start, but might have one later
    on.
  - Remove stale PermissionsOverlay component from the audio modal
  - Rework how permission errors are detected using the Permissions API
  - Rework the local echo test so that it uses a separate media tag
    rather than the remote
  - Add new, separate dialplans that mute/hold FreeSWITCH channels on
    hold based on UA strings. This is orchestrated server-side via
    webrtc-sfu and akka-apps. The basic difference here is that channels
    now join in their desired state rather than waiting for client side
    observers to sync the state up. It also mitigates transparent listen
    only performance edge cases on multiple audio channels joining at
    the same time.

The old, decoupled listen only mode is still present in code while we
validate this new approach. To test this, transparentListenOnly
must be enabled and listen only mode must be disable on audio join so
that the user skips straight through microphone join.
2024-08-15 00:43:28 +00:00
Tainan Felipe
415d4ad5e1 Remove: rtt precision 2024-08-14 16:52:11 -03:00
Tainan Felipe
6789b69f62 Fix: error undefined in the cosole error 2024-08-14 16:37:37 -03:00
prlanzarin
7a95258621 refactor: remove server logger from bbb-html5's settings
Support for bbb-html5's server logger (Winston) was removed in
50d445f026, but configuration for it
remained.

Remove the Winston-based server logger configuration from bbb-html5's
settings.yml. There's no direct alternative since this package hasn't got a
server side component to it - replaced by bbb-graphql-middleware,
bbb-graphql-server and bbb-graphql-actions.
2024-08-14 18:48:45 +00:00
prlanzarin
814204d5fd refactor: remove "server" target from bbb-html5's clientLog
Support for clientLog's "server" target (Meteor) was removed in
50d445f026, but configuration and docs
entries for it remained.

There's no alternative for it, so I'm removing the leftover
configuration and doc entries.
2024-08-14 18:42:05 +00:00
André Castro
39dba53dec
Fix: Emoji picker not closing when clicking outside (#20910)
* Fix: Emoji picker not closing when clicking outside
2024-08-14 13:54:41 -04:00
Guilherme Leme
cd8b6861a7 [data-channel-quick-fix] quick-fix for use-data-channel subscribe events 2024-08-14 13:54:22 -03:00
Tainan Felipe
78608dfb51 fix: decrease precision of the rtt 2024-08-14 11:54:46 -03:00
Ramón Souza
68121436b6
Merge pull request #20923 from AtilaU19/task_1927
fix(darkmode): fix avatar username color when dark mode is enabled
2024-08-14 10:14:57 -03:00
João Victor Nunes
2139817595
fix(external-video): player unsynced when switching presenter (#20883) 2024-08-13 19:11:55 -04:00
Ramón Souza
9cb0123717
fix(client): undefined variable in emoji rain (#20926) 2024-08-13 16:00:10 -04:00
AtilaU19
0f646c4c7f fix(darkmode): fix avatar username color when dark mode is enabled 2024-08-13 16:26:37 +00:00
Paulo Lanzarin
79df213a46
Merge pull request #20898 from prlanzarin/u30/fix/remove-spurious-gum
fix: remove spurious getUserMedia in ErrorScreen
2024-08-13 11:26:10 -03:00
Ramón Souza
32f42163fa
fix(client): add doctype + remove extra styles (#20911) 2024-08-12 17:36:41 -04:00
Ramón Souza
865032895a
Merge pull request #20886 from ramonlsouza/away-audio-flag
add config flag to mute audio output on away mode
2024-08-12 10:05:13 -03:00
prlanzarin
4dcc77968b fix: remove spurious getUserMedia in ErrorScreen
There's a very odd getUserMedia call tucked into the base ErrorScreen.
There's no rationale in either the commit or PR that added them, but the
intention seems to be stopping audio on client crash.
Using getUserMedia like that will have no effect other than an odd
permission prompt on iframe-based environments or a webcam activation
flash after the client crashes.

Remove ErrorScreen's getUserMedia call as well as the HTMLMedia pause
call - both should be handled gracefully by AudioManager's forceExitAudio
triggered by the StopAudioTracks event (also ErrorScreen). If there's an
edge case where it isn't properly stopped, we'll have to tackle it
there.
2024-08-09 19:24:33 +00:00
Tainan Felipe
4d6f4b3ded
Refactor: Make bundle using webpack (#20811)
* Refactor: Make bundle using webpack

* Fix: restore after install codes and a few settings

* Fix: build script folder permission

* Refactor: Remove support to async import on audio bridges

* Upgrade npm using nvm

* Avoid questions on npm ci execution

* Let npm ci install dev dependencies (as we need the build tools here)

* Fix: enconding

* Fix: old lock files

* Remove: bbb-config dependency to bbb-html5 service, bbb-html5 isn't a service anymore

* Fix: TS errors

* Fix: eslint

* Fix: chat styles

* npm install with "lockfileVersion": 3 (newer npm)

* build: allow nodejs 22

* node 22; drop meteor from CI and bbb-conf

* TEMP: use bbb-install without mongo but with node 22 and newer image

* build: relax nodejs condition to not trip 22.6

* build: ensure dir /usr/share/bigbluebutton/nginx exists

* init sites-available/bbb; drop disable-transparent-

* nginx complaining of missing file and ;

* TMP: print status of services

* WIP: tweak nginx location to debug

* Fix: webcam widgets alignments

* akka-apps -- update location of settings.yml

* build: add locales path for nginx

* docs and config changes for removal of meteor

* Fix: build encoding and locales enpoint folder path

* build: set wss url for media

* Add: Enable minimizer and modify to Terser

* Fix: TS errors

---------

Co-authored-by: Tiago Jacobs <tiago.jacobs@gmail.com>
Co-authored-by: Anton Georgiev <anto.georgiev@gmail.com>
Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2024-08-09 13:58:44 -04:00
Anton Georgiev
46de3f7efd
Merge pull request #20806 from JoVictorNunes/webcam-patch-0724
fix(webcam): fixes related to graphql subscriptions, et al.
2024-08-09 10:53:31 -04:00
Ramón Souza
f150d92bde rename param 2024-08-09 11:20:58 -03:00
Ramón Souza
3907293692 add muteSpeakerIfAway config 2024-08-09 09:54:34 -03:00
Arthur B. Grossi
d2132484b4
feat(plugins): server command send chat message (#20781)
* feat(plugins): add chat server command and chat message type `plugin`

This commit adds the required code for the plugins SDK's chat server
command `CHAT_SEND_MESSAGE`, which allows plugins to send chat
messages. Messages sent by plugins are identified by the message
type `plugin` and belong to the user (senderID) of the client that
sent it. Plugin messages are not displayed by the client itself because
these messages are meant to be custom-rendered by plugins, typically by
the plugin that sent them.

* feat(plugins): add message metadata

Plugin name and plugin custom metadata are stored in message's metadata,
so plugins need it to identify messages when applying custom render.

* feat(chat): removes specific code for plugin messages

Removes specific akka messages, handlers and routes for plugin messages
and adds metadata parameter in `GroupChatMsgFromUser`.

* feat(chat): adds option parameter to mutation

Adds optional parameter `metadata` to the already existing mutation
`chatSendMessage` and use this mutation for plugin chat server command.

* feat(chat): rendering of plugin messages

This commit implements the correct rendering of plugin messages, which
is:
- Plugin messages with metadata attribute `custom` set to true are not
  rendered by the client, and are meant to be custom-rendered by
  plugins.
- Plugin messages with metadata attribute `custom` set to false are
  rendered by the client as being sent by the user that triggered it.

* Update sdk version to v0.0.56

* update sdk version to v0.0.57
2024-08-07 15:59:30 -04:00
Tiago Jacobs
24d91214a9
Merge pull request #20820 from GuiLeme/video-control-plugin-sdk
feat(plugin): userCameraDropdown enhancements, user-camera dom-element and screenshareHelper
2024-08-07 15:21:31 -03:00
Tiago Jacobs
6ba910080b
Merge pull request #20867 from gustavotrott/gql-limit-conn
gql-middlware: Control max of Graphql connections (global and per user)
2024-08-07 14:14:13 -03:00
Ramón Souza
dd58b9fa27
Merge pull request #20803 from Scroody/adding-loading-state-to-buttons
Client: Adding loading status to buttons
2024-08-07 13:26:42 -03:00
Ramón Souza
acd02d7c1c
Update bigbluebutton-html5/imports/ui/components/common/button/component.jsx 2024-08-07 13:26:20 -03:00
Ramón Souza
be0312e97c
fix: "send feedback" button styles (#20869) 2024-08-07 10:43:49 -04:00
Ramón Souza
d38a8f3c2b
Merge pull request #20866 from ramonlsouza/fix-logger-instances
fix: duplicated log messages
2024-08-07 11:23:15 -03:00
André Möller
9d26c41655 Additional changes 2024-08-07 11:01:02 -03:00
KDSBrowne
4f4c6ef70e
fix(whiteboard): increase camera update delay to allow for bbb layout to position itself (#20864) 2024-08-07 10:00:41 -04:00
Anton Georgiev
20f1ce2441
Merge pull request #20860 from ramonlsouza/port-breakout-changes
Port breakouts enhancements from 2.7.10 to 3.0
2024-08-06 16:46:34 -04:00
Gustavo Trott
8e70891083 Implements max of Graphql connections (global and per user) 2024-08-06 15:07:52 -03:00
germanocaumo
54c65a8238
fix(plugin): current locale not being sent when client reloads (#20454)
If the user change the language and then refreshes the page, the plugins were still receving the original language locale.
2024-08-06 13:53:46 -04:00
Ramón Souza
a9e0e1e2fa fix duplicated log messages 2024-08-06 14:40:34 -03:00
Ramón Souza
174b875221
Merge pull request #20859 from JoVictorNunes/userdata-bbb_ask_for_feedback_on_logout
fix: `userdata-bbb_ask_for_feedback_on_logout`
2024-08-06 09:28:06 -03:00
Ramón Souza
c8c3f24f82
Merge pull request #20835 from KDSBrowne/bbb-port-20621
fix: Improve screen reader accessibility for polling modal
2024-08-05 15:46:39 -03:00
André Möller
faa83eb890 Merge remote-tracking branch 'upstream/v3.0.x-release' into adding-loading-state-to-buttons 2024-08-05 14:55:58 -03:00
Ramón Souza
1b0e84ebc0 fix ts errors 2024-08-05 14:21:23 -03:00
André Möller
cdfbc5a276 Additional changes 2024-08-05 14:19:34 -03:00
André Möller
5e1434b188 Additional changes 2024-08-05 14:12:22 -03:00
André Möller
31cc71e2d4 Change of approach 2024-08-05 14:05:04 -03:00
João Victor
e3f08019df Merge branch 'v3.0.x-release' into webcam-patch-0724 2024-08-05 11:12:58 -03:00
João Victor
9072bbada6 fix: userdata-bbb_ask_for_feedback_on_logout 2024-08-05 11:02:55 -03:00
Ramón Souza
8689a0d961 introduce allowUploadNewDocsInBreakouts in settings.yml 2024-08-05 10:56:10 -03:00
Ramón Souza
d6250cbe4d do not allow slide/presentation change on breakout update 2024-08-05 10:34:17 -03:00
Ramón Souza
59a2efd8f0 pass presentation to breakout - frontend 2024-08-05 10:29:42 -03:00
Gustavo Trott
45c144d435
Merge pull request #20851 from JoVictorNunes/fix-ext-video-starting-advanced
fix(external-video): player starting at an advanced point
2024-08-02 17:46:14 -03:00
Ramón Souza
ed43524da1
Merge pull request #20834 from lfzawacki/shared-notes-button
fix(sharedNotes): Fix pinned shared notes button border
2024-08-02 16:43:41 -03:00
Ramón Souza
d3406a2e93
refactor: remove instanceId from client (#20850) 2024-08-02 14:10:39 -04:00
João Victor
6e23e055ef fix(external-video): player starting at an advanced point 2024-08-02 15:03:33 -03:00
Ramón Souza
b7f8b994c5
fix: Label of quick poll items up to 'I' (#20833)
Co-authored-by: hiroshisuga <45039819+hiroshisuga@users.noreply.github.com>
2024-08-02 09:38:32 -04:00
Ramón Souza
1f87bfb2a8
Merge pull request #20830 from JoVictorNunes/fix-slide-snapshot-overflowing
fix(presentation): presentation snapshot overflowing the slide
2024-08-02 10:24:41 -03:00
João Victor
a660672ff8 Merge branch 'v3.0.x-release' into webcam-patch-0724 2024-08-01 16:21:19 -03:00
KDSBrowne
ebdc66d357 update poll vote modal with header 2024-08-01 19:16:13 +00:00
Lucas Zawacki
31608b48eb fix(sharedNotes): Fix shared notes button border 2024-08-01 16:13:55 -03:00
Ramón Souza
835e53da77
Merge pull request #20816 from Scroody/fix-double-click-chat-select
Fix: Unable to focus chat when double clicking it
2024-08-01 15:25:00 -03:00
João Victor
1303420157 fix(webcam): ignore connecting streams when sorting 2024-08-01 15:22:45 -03:00
André Möller
d77e44ee27 merge 2024-08-01 13:10:21 -03:00
João Victor
fb9ecba8e1 fix(presentation): presentation snapshot overflowing the slide 2024-08-01 12:12:19 -03:00
André Möller
174b09e86a later changes 2024-08-01 11:59:27 -03:00
Guilherme Leme
6f35d4d366 [video-control-plugin-sdk] created extensible-are screenshare helper and refactored buttons rendering for screenshare 2024-07-31 14:47:54 -03:00
Guilherme Leme
da62c1068e [video-control-plugin-sdk] created useUserCameraDomElement as a dom element manipulation hook 2024-07-31 14:44:55 -03:00
Guilherme Leme
3b3b0dfc51 [video-control-plugin-sdk] added display function and onclick arguments to user-camera dropdown option 2024-07-31 14:40:24 -03:00
André Möller
c6b1ac6c6b Fix: Unable to focus chat when double clicking it 2024-07-31 14:02:43 -03:00
Paulo Lanzarin
aa8f6d80f8
Merge pull request #20805 from prlanzarin/u30/refactor/remove-connstatus-jitter
fix(connection-status): jitter causes false positive critical alerts
2024-07-31 11:11:21 -03:00
Ramón Souza
eab40d5793
Merge pull request #20801 from ramonlsouza/fix-chat-alerts-jul30
fix: chat alerts
2024-07-31 11:10:43 -03:00
Ramón Souza
89c8144c67
Merge pull request #20795 from ramonlsouza/fix-locale-issues
fix: locales issues
2024-07-31 10:07:15 -03:00
prlanzarin
24ae746a88 fix(connection-status): jitter causes false positive critical alerts
Jitter evaluation, as an alert trigger, was changed in 3.0 to get the internal
average jitter used in the conn-status component data (which is total jitter
delay divided by jitterbuffer emit events). This was done accidentally and that
metric is _very_ different from the one used in 2.7 (point-in-time jitter from
remote-inbound-rtp/inbound-rtp, highest on the interval, gathered on
/utils/stats.js).  The alert thresholds were preserved, which makes it overly
sensitive in regards to jitter (and thus causes it to be critical whenever the
user is in audio).

Remove jitter as a connection status alert trigger, which fixes the
false positive. The implementation on <= 2.7 is also not ideal - if
anything, it generates false negatives. That's why I'm removing jitter for
the time being since it's ill-suited (at least in the way it's used)
for what we want to achieve.
2024-07-30 18:59:49 +00:00
André Möller
f18d201de2 Client: Adding loading status to buttons 2024-07-30 15:53:49 -03:00
Ramón Souza
d6b5467e43 fix chat alerts 2024-07-30 15:27:16 -03:00
Lucas Zawacki
9a53be26b1 fix(emoji-picker): Fix emoji picker width 2024-07-30 14:29:38 -03:00
João Victor
8b4a2f39e0 fix(webcam): turn useGetStats hook into a service method to avoid function re-instantiation 2024-07-30 10:20:18 -03:00
João Victor
62662ee415 refactor(webcam): remove adapter; turn it into a hook 2024-07-30 09:35:47 -03:00
Ramón Souza
ffea7765c3 filter invalid locale 2024-07-29 16:21:52 -03:00
Ramón Souza
9f815badab fix settings saved notification 2024-07-29 16:17:35 -03:00
João Victor
00e5cd5909 fix(webcam): sort connecting streams first 2024-07-29 11:08:35 -03:00
João Victor
d24c63db2b fix(webcam): store grid items in a ref to avoid a quick blink when the subscription is loading 2024-07-29 10:42:00 -03:00
João Victor
30a955cd2d fix(webcam): use aggregate filter to filter grid items instead of proxying which items not to bring 2024-07-29 10:37:38 -03:00
Ramón Souza
394d9f9236
fix: whiteboard settings (#20785) 2024-07-26 17:12:45 -04:00
Ramón Souza
06f832e1fe
Merge pull request #20770 from JoVictorNunes/fix-connection-status-0724
fix(html5): connection status picking wrong status
2024-07-26 15:12:48 -03:00
João Victor Nunes
5a00a85f07
fix(html5): a couple of fixes for the recording button (#20758) 2024-07-26 12:45:48 -04:00
germanocaumo
675f628f9b fix(webcam): wrong VirtualBackground storage info
Use StorageSingleton to correct save and restore webcam background.
Remove unused storage set.
2024-07-25 15:05:13 -03:00
Ramón Souza
0459e98776
Merge pull request #20737 from JoVictorNunes/bbb-web-api-singleton
refactor(html5): centralize `/bigbluebutton/api` requests
2024-07-25 09:30:31 -03:00
Ramón Souza
3fc9ff0eeb
Merge pull request #20757 from Scroody/port30-i-19644
Fix: [3.0] Breakout room invitation option missing from user dropdown
2024-07-24 15:38:54 -03:00
João Victor
8e265de443 fix(html5): connection status picking wrong status 2024-07-24 13:36:01 -03:00
germanocaumo
124bbe401e
fix: askForConfirmationOnLeave not working if user joined audio (#20739)
Fix missing isMuted in Audio Service
Fix muteMicrophone function not working on leave
2024-07-24 11:49:43 -04:00
Ramón Souza
b14e5034eb
fix: Client crash if speech synthesis is not enabled (#20756) 2024-07-24 10:39:11 -04:00
André Möller
dc74ecfa65 Fix: [3.0] Breakout room invitation option missing from user dropdown 2024-07-23 15:21:26 -03:00
Ramón Souza
c57623172f
Merge pull request #20730 from KDSBrowne/bbb-20726
fix(whiteboard): Remove active cursors in tldraw when access is revoked
2024-07-22 16:39:48 -03:00
Arthur B. Grossi
291809bff0
feat(private-chat): message read confirmation feedback (#20722)
* feat(graphql-server): add new view `v_chat_private_read_feedback`

Adds a view called `v_chat_private_read_feedback` to retrieve the last seen time
of the recipient of a private chat.

* refactor(chat): removes unused prop `lastSeenAt`

* feat(private-chat): message read confirmation feedback

Adds message read confirmation feedback feature to private chats.
This feature uses the private chat recipient's `lastSeenAt' attribute to
check which messages were read. Messages read are show in the chat with
a check icon next to it.
Feature behind a flag in settings.yml, which is disabled by default:
- `public.chat.privateMessageReadFeedback.enabled`

* fix(chat): poll chart message

Fixes poll chart message which was not using the full chat width due to
previous changes in chat messages `flex-direction`.

* fix: adds missing initial value for `privateMessageReadFeedback`

* fix: linter errors

* fix(chat): add `recipientHasSeen` property to existing view

This commit changes the way the messages read by the recipient are
tracked. The previous strategy required the client to calculate the read
messages and as a consequence all messages of the given chat
were re-rendered every time the recipient `lastSeenAt` time
changed. The current strategy consists of calculating the read messages
on the server(based on recipient `lastSeenAt`) and just expose to the
client a boolean(`recipientHasSeen`) for each message that indicates whether
it has already been read or not.

* fix: typo in message description

* fix: typo in settings flag

* fix: vertically align icon
2024-07-22 12:01:24 -04:00
Ramón Souza
b8faf496ce fix empty media area 2024-07-19 16:06:09 -03:00
Gustavo Trott
cf0b32efff
Merge pull request #20682 from germanocaumo/skip-ecoTest-if-previous
Microphone: add option to skip echo test if session has valid input/output devices stored
2024-07-19 13:16:11 -03:00
João Victor
003e3832ac Merge branch 'v3.0.x-release' into bbb-web-api-singleton 2024-07-19 11:59:50 -03:00
germanocaumo
6502cfe646 refactor: rename skipCheckIfPreviousDevice to skipEchoTestIfPreviousDevice
changed userData from bbb_skip_check_if_previous_device to bbb_skip_echotest_if_previous_device
2024-07-19 11:29:38 -03:00
João Victor
433a4a2e04 refactor(html5): centralize /bigbluebutton/api requests 2024-07-19 11:27:48 -03:00
João Victor Nunes
b0498d29b2
fix(webcam): a couple of pagination fixes, improvements, et al. (#20720) 2024-07-19 08:52:55 -04:00
germanocaumo
b885b5790f
feat(plugins): add open and close presentation area command support (#20635) 2024-07-19 08:52:23 -04:00
Ramón Souza
539caec578
fix external video blank space (#20733) 2024-07-18 16:28:30 -04:00
germanocaumo
cbe0b4f6ae
feat(webcams): skip video preview if valid input devices stored (#20696)
* feat(webcams): skip video preview if valid input devices stored

Additionally:

- refactor: re-use the existing VirtualBackground_* storage info instead
  of creating a new one
- fix: store background choices per deviceId instead of globally
- fix: guarantee background restore attempts are *critical* when
  video-preview is supposed to be skipped. We want the preview to be
  shown if the previous background could not be restored to preserver
  the user's privacy choice
- fix: cameras could not be shared if no previous device info was in
  the user's session
- fix: uploaded background images were not correctly restored
- fix: do not spin up virtual bg workers for brightness if it has not
  been altered by the user
- refactor: remove old video-provider background restore routine,
  centralize it in video-preview

* fix(skip-video-preview): correct storage check and add playwright test and docs

---------

Co-authored-by: prlanzarin <4529051+prlanzarin@users.noreply.github.com>
2024-07-18 16:24:10 -04:00
KDSBrowne
1a887ba6ac remove active cursors when access is revoked 2024-07-18 17:00:28 +00:00
Gustavo Trott
c6b9ab35ae
refactor: Remove old userStatus Emoji (#20717)
* Remove old userStatus Emoji

* tweak docs

* fix bkroom errors
2024-07-18 08:58:38 -04:00
Ramón Souza
5defa2687a
fix presenter cannot change slide after ext. video (#20716) 2024-07-17 15:55:37 -03:00
João Victor Nunes
f505f11f5a
fix(connection-status): stop RTT calculation on meeting end (#20708) 2024-07-17 11:37:04 -03:00
João Victor Nunes
1d737fbada
refactor(html5): recording start/stop modal (#20679)
* refactor(html5): recording start/stop modal

* Add suport for errors
2024-07-16 15:29:29 -03:00
Gustavo Trott
1683f4c3fe
refactor: Rename all customParameters references to userMetadata or userdata (#20692)
* Rename all customParameters references to userMetadata

* fix linter error

* Update docs/docs/development/api.md

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>

* Update bigbluebutton-html5/imports/ui/components/settings-loader/component.tsx

---------

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2024-07-16 13:40:49 -04:00
João Victor Nunes
1b99e08da7
refactor: remove /clientStartupSettings request (#20700)
* Remove clientStartSettings request

* Remove StartupDataFetch component

* Fix client logger
2024-07-16 10:40:13 -03:00
Lucas
bdfde2befd
feat(plugin): Verify plugin integrity with 'checksum' option (#20693)
* feat(plugin): Verify plugin integrity with 'checksum' option

* fix(types): Add optional checksum type definition in PluginConfig
2024-07-15 16:34:14 -04:00
Ramón Souza
8299c38305
Merge branch 'v3.0.x-release' into bbb-20650 2024-07-15 15:29:44 -03:00
Ramón Souza
c1c2910b24
Merge pull request #20659 from JoVictorNunes/issue-20651
feat(whiteboard): add option to `disabledFeatures` for infinite whiteboard
2024-07-15 15:27:56 -03:00
Ramón Souza
4987391ab6
Merge pull request #20701 from Scroody/loading-steps-fix
Fix: Loading steps not being accurately represented
2024-07-15 13:07:04 -03:00
Ramón Souza
2018b6884e
Merge pull request #20702 from ramonlsouza/check-memo
refactor: reduce useMemo use
2024-07-15 11:13:08 -03:00
Ramón Souza
8a0c3187f9 fix ts error 2024-07-12 16:44:40 -03:00
Ramón Souza
e72d6d3f19 remove useStreamUsers useMemo 2024-07-12 14:47:17 -03:00
André Möller
dd5974d069 Fix: Loading steps not being accurately represented 2024-07-12 14:45:30 -03:00
Ramón Souza
47ee93eb91 remove unique data from talking indicator useMemo 2024-07-12 13:36:01 -03:00
Gustavo Trott
fda1b5b107 Remove unnecessary user voice props 2024-07-12 13:26:26 -03:00
Ramón Souza
1c516ee0c2 remove recording indicator useMemo with time as a dependency 2024-07-12 11:18:36 -03:00
Ramón Souza
ab28888bc4
Merge pull request #20681 from JoVictorNunes/fix-connection-status-sorting
fix(connection-status): user report sorting
2024-07-11 10:56:37 -03:00
Ramón Souza
556806cc90
Merge pull request #20683 from JoVictorNunes/port-20669-30
fix: external video can be seen through sidebar on mobile
2024-07-11 10:08:41 -03:00
Gustavo Trott
7a03136d02
Merge pull request #20686 from gustavotrott/gql-server-auth-session
refactor (graphql): Big refactor on Graphql authentication
2024-07-10 20:17:23 -03:00
Gustavo Trott
2c2d595212 Big refactor on Graphql authentication 2024-07-10 18:30:01 -03:00
Ramón Souza
e8a796379d
Merge pull request #20633 from JoVictorNunes/issue-20611
fix: inconsistencies in presentation upload toast
2024-07-10 17:38:08 -03:00
KDSBrowne
54479d9017
fix(whiteboard) Delete key removing text shape while editing (#20668)
* fix delete key removing shapes while editing

* remove backspace
2024-07-10 15:42:08 -04:00
João Victor
e2528ff8cd fix: external video can be seen through sidebar on mobile 2024-07-10 16:39:21 -03:00
prlanzarin
cd65f880a3 fix(audio): disable skipCheckIfPreviousDevice in mobile
Mobile users have significant trouble figuring out correct audio I/O
devices according to feedbacks. The potential absence of echo test after
having set an initial device in the first join cycle might complicate
things even further if they got it wrong.

Ignore the skipCheckIfPreviousDevice flag in mobile endpoints. They'll
always go through the echo test if no other skip flag is set, even if
they had a previously configured device.
2024-07-10 15:12:10 -03:00
germanocaumo
eeafc22259 feat(echo-test): add skipCheckIfPreviousDevice option 2024-07-10 14:54:17 -03:00
João Victor
fbe8310d23 fix(connection-status): add initial variables for audio and video 2024-07-10 13:46:44 -03:00
João Victor
054bab8a3e fix(connection-status): user report sorting 2024-07-10 12:25:05 -03:00
Ramón Souza
1420d4a03a
Merge pull request #20645 from JoVictorNunes/hide-virtual-background-controls
fix: hide virtual background controls in unsupported browsers
2024-07-10 10:01:36 -03:00
KDSBrowne
df51cdabf2
fix(wb): increase duplicated shape distance from origional (#20677) 2024-07-09 14:37:06 -04:00
KDSBrowne
7e7fd3e0ac
fix(wb): handle preloading next slide camera position (#20674) 2024-07-09 14:36:06 -04:00
Ramón Souza
2220340037
refactor: port layout button changes to v3.0.x (#20672) 2024-07-09 14:20:46 -04:00
KDSBrowne
d947e13bfd
fix(whiteboard): increase wheel zoom speed (#20675) 2024-07-09 10:52:10 -04:00
Ramón Souza
0197db1953
Merge pull request #20663 from ramonlsouza/fix-sidebar-integ-layout
fix: sidebar in integration layouts
2024-07-08 17:11:30 -03:00
Gustavo Trott
cdac0aba32
Merge pull request #20664 from Tainan404/add-base-url-util
Add: base url util for api
2024-07-08 16:10:31 -03:00
KDSBrowne
49456f6ad3
fix(wb): Draw line dropping segment for person drawing (#20660) 2024-07-08 14:35:34 -04:00
KDSBrowne
71b4e484d8
fix(wb): make wheel zoom focus toward mouse pointer (#20661) 2024-07-08 14:14:24 -04:00
KDSBrowne
6b6c4e0566
fix(wb): update shortcut handling to support mac keys (#20662) 2024-07-08 14:06:23 -04:00
Tainan Felipe
5f0995b80f Remove: cluster support in util 2024-07-08 14:56:42 -03:00
Tainan Felipe
284fed2137 Add: base url util for api 2024-07-08 14:14:30 -03:00
Ramón Souza
b51c7692ad remove console log 2024-07-08 14:06:55 -03:00
Ramón Souza
64d17e2633 fix sidebar in integration layouts 2024-07-08 13:58:07 -03:00
Ramón Souza
b47dcf58bd
Merge pull request #20642 from JoVictorNunes/fix-stuck-talking-indicator-0705
fix: talking indicator getting stuck on audio exit
2024-07-08 10:54:33 -03:00
Ramón Souza
31385c2fa7
Merge pull request #20646 from JoVictorNunes/recording-label-margin
style: recording button label margin
2024-07-08 10:19:50 -03:00
João Victor
e26b408d42 feat(whiteboard): add option in disabledFeatures for infinite whiteboard 2024-07-08 10:18:26 -03:00
Ramón Souza
df7184d731
Update bigbluebutton-html5/imports/ui/components/nav-bar/nav-bar-graphql/recording-indicator/component.tsx 2024-07-08 09:13:36 -03:00
João Victor
aac75437c4 Merge branch 'v3.0.x-release' into hide-virtual-background-controls 2024-07-08 08:14:30 -03:00
KDSBrowne
a6f3d02f18 add configuration to disable infinite wb in breakouts 2024-07-06 17:36:21 +00:00
Anton Georgiev
abeb12146b
Merge pull request #20480 from KDSBrowne/v30-enable-whiteboard-infinite-canvas
feat(whiteboard): Add infinite whiteboard for presentation slides
2024-07-05 17:54:55 -04:00
Tiago Jacobs
5d6728525f
Merge pull request #20625 from JoVictorNunes/remove-meteor-stuff-0702
Remove Meteor backend
2024-07-05 17:57:30 -03:00
João Victor
9f9f857bdc style: recording button label margin 2024-07-05 17:21:49 -03:00
KDSBrowne
c341ea44f8 update canvas names to whiteboard 2024-07-05 20:13:30 +00:00
Guilherme Pereira Leme
ccb2e74bc1
feat(plugin): Added sendGenericDataForLearningAnalyticsDashboard for plugins (#20628)
* [data-channel-analytics-options]  - Added data-channel analytics and record options and added a parameter options for the useDataChannel function

* Update bigbluebutton-html5/public/locales/en.json

Co-authored-by: Gustavo Trott <gustavo@trott.com.br>

* [data-channel-analytics-options] -created new sendDataAnalytics for plugin and change presentation toolbar button

* [data-channel-analytics-options]  - QUICK FIX

* [update-data-channel-function] - fix action metadata

* [data-channel-analytics-options] - changes in review

* [data-channel-analytics-options]  - changes in review

* [captionLocale] - Changes in review

* [data-channel-analytics-options]  - update SDK

* [data-channel-analytics-options]  Changes in review

* [data-channel-analytics-options] - changes in review

* [data-channel-analytics-options] - changes in review

* [data-channel-analytics-options] - changes in review

* Refactor learning dashboard json structure with genericData

* fix typo

* [data-channel-analytics-options] - changes according to new json structure

* changes in review

---------

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
2024-07-05 16:49:45 -03:00
João Victor
f3de5d3bd2 fix: hide virtual background controls in unsupported browsers 2024-07-05 16:44:21 -03:00
Tainan Felipe
fb38ae0baa
Fix: showing two message at same time (#20638) 2024-07-05 13:13:27 -03:00
João Victor
41746ca67e Merge branch 'v3.0.x-release' into remove-meteor-stuff-0702 2024-07-05 12:24:31 -03:00
João Victor
8f232656fa fix: talking indicator getting stuck on audio exit 2024-07-05 12:15:02 -03:00
KDSBrowne
5958ef0646 prevent needing to reload to enable iwb on other slides 2024-07-05 15:03:37 +00:00
KDSBrowne
7680b9086c fix undo action showing shapes by other users 2024-07-05 14:14:36 +00:00
KDSBrowne
a6e4d151ad allow wheel zoom outside slide during infinite wb 2024-07-05 02:17:48 +00:00
KDSBrowne
9e00a1fa9d handle canvas position for late joiners to infinite whiteboard mode 2024-07-05 00:55:47 +00:00
Tainan Felipe
0e7fe3c688
Change: improve client connection status (#20630) 2024-07-04 17:26:09 -03:00
Gustavo Trott
134b207f94
refactor: Remove Hasura database-updates and move them to Gql-Actions (#20634) 2024-07-04 17:00:06 -03:00
João Victor
52cda64bf1 fix: inconsistencies in presentation upload toast 2024-07-04 13:41:33 -03:00
Ramón Souza
3ab336c6e2
refactor: fix sonarcloud alerts (#20629)
* fix incorrect prop type

* remove duplicated code

* fix Unexpected constant truthiness on the left-hand side of a `&&` expression.

* fix Correct one of the identical sub-expressions on both sides of operator
2024-07-04 08:35:01 -03:00
André Castro
ecb08592f2
Fix: Message to all style not matching 2.7 (#20631)
* Fix: Message to all style not matching 2.7

* Update component.tsx
2024-07-03 19:34:58 -04:00
KDSBrowne
57137aceca allow toolbar zoom when infinite wb enabled 2024-07-03 21:16:13 +00:00
KDSBrowne
f024995f98 Restore default slide position after disabling infinite wb 2024-07-03 17:15:39 +00:00
KDSBrowne
687ee36d29 add functionality to enable infinite whiteboard 2024-07-03 17:14:47 +00:00
João Victor
59de4e31a5 Merge branch 'v3.0.x-release' into remove-meteor-stuff-0702 2024-07-03 13:51:36 -03:00
Gustavo Trott
5cc9604a54
Merge pull request #20627 from gustavotrott/bbb-web-feedback-endpoint
refactor (bbb-web): Introduces `/api/feedback` endpoint (to replace Meteor `/html5client/feedback`)
2024-07-03 13:46:05 -03:00
Gustavo Trott
a21dcb5818 Introduces /api/feedback endpoint (to replace Meteor /feedback) 2024-07-03 10:12:28 -03:00
João Victor
9402402e0f Merge branch 'v3.0.x-release' into remove-meteor-stuff-0702 2024-07-02 17:13:28 -03:00
João Victor
12f39c7cf7 Fix typings 2024-07-02 17:11:16 -03:00