Commit Graph

12548 Commits

Author SHA1 Message Date
Ramón Souza
dc655dc8a6
Merge pull request #21391 from Scroody/i-21332-2
Fix(webcam): do not display fullscreen button on iPhone
2024-10-09 10:35:41 -03:00
Ramón Souza
4fc037235a
Merge pull request #21390 from ramonlsouza/issue-21342
style: Update outline buttons to full colour
2024-10-09 09:24:20 -03:00
KDSBrowne
74bab5a76e
fix(whiteboard): Disable tldraw right-click options (#21383)
* disable tldraw right-click options

* hide menu options for background image
2024-10-09 09:12:17 -03:00
KDSBrowne
37facb3c1a
fix(whiteboard): Restrict pan keyboard shortcut to presenter only (#21384)
* restrict pan keyboard shortcut to only presenter

* dont run tldraw simple key shortcuts when mods pressed
2024-10-09 09:05:59 -03:00
germanocaumo
3525e0e9d6 fix(whiteboard): increase timeout on camera updates
Reintroduce the CAMERA_UPDATE_DELAY to help camera update zoom after resizing.
2024-10-09 08:52:52 -03:00
André Möller
bcbb265993 Fix: [3.0 Beta2] Pinning shared notes onto whiteboard crashes whiteboard 2024-10-09 08:40:48 -03:00
Tainan Felipe
b068b24e69
Fix: Restore keyboard navigation on userlist (#21246)
* Fix: Restore keyboard navigation on userlist

* Add: restore function

* Fix: Add support to arrow down and space to enter navigation area

* Fix: Wrong page size calculation
2024-10-09 08:29:07 -03:00
André Möller
829c75dba1 Fix: [3.0] Can't exit webcam in fullscreen mode on the mobile 2024-10-08 14:21:26 -03:00
Ramón Souza
d888ac5b6b adjust reactions icon color 2024-10-08 13:42:09 -03:00
Ramón Souza
ac38d3c9a8 update actions bar buttons background 2024-10-08 13:41:41 -03:00
Ramón Souza
def7bfd442 remove actions bar separator 2024-10-08 13:40:04 -03:00
germanocaumo
aab6e7b9d4 fix(whiteboard): more zoom fixes
Reorder where adjustCamerOnMout is called and fixes viewer zoom when it loses presenter.
2024-10-08 10:59:18 -03:00
germanocaumo
9e214c6d72 fix(whiteboard): zoom not updating when tldraw remounts
Missing editor in dependency array so the zoom can apply when it remounts
e.g. changing Animations in settings
2024-10-07 11:03:22 -03:00
Ramón Souza
5f23ff3029 fix unlocked user cant see other users whiteboard cursor 2024-10-07 10:43:56 -03:00
João Victor
7e33f86cdd Merge branch 'v3.0.x-release' into chat-message-edit-and-delete 2024-10-07 08:51:39 -03:00
João Victor
4d64ef45a8 Merge branch 'chat-replies-feat' into chat-message-edit-and-delete 2024-10-07 08:39:06 -03:00
João Victor
a46afa8cd0 fix(chat): Add support for disabledFeatures in chat message toolbar 2024-10-07 08:37:35 -03:00
Joao
a9ab4a3dcd fix(chat): Tweak the memoization functions for chat messages 2024-10-04 15:27:50 -03:00
André Castro
bc6bc53cbc
Fix: userdata-bbb_force_listen_only param applying to moderator (#21365) 2024-10-04 13:59:06 -03:00
Joao
f979bc55bd fix(chat): Add missing graphql fields for chat messages subscription 2024-10-04 13:51:13 -03:00
germanocaumo
dca54654c3 fix(whiteboard): fit to width and zoom misc fixes
- Ensure presenter & viewer camera are the same whten using Fit To Width
- Some zoom issues when resizing/reloading
- Fix Viewer still sable to zoom white mouse wheel after someone takes presenter
- Do not apply shortcuts when using "Edit Link" shape dialog is open
- Hide Tldraw native reset zoom button as it does not to what expected
2024-10-04 13:28:06 -03:00
Joao
bc1da9b7db Merge branch 'v3.0.x-release' into chat-message-edit-and-delete 2024-10-04 11:25:39 -03:00
Guilherme Leme
1ea964223b [new-server-side-architecture-plugins] - Created all the data flow of plugins from a URL parameter of manifest.json until the pluginLoader component of the client. 2024-10-04 11:16:25 -03:00
Joao
0f6aec4cd5 fix(chat): Message toolbar fixes
- Keep message toolbar open while toolbar menu is open.
- Hide edit and delete controls for users without permissions.
2024-10-04 11:13:07 -03:00
Joao
c47f88e3b4 fix(chat): some localization labels 2024-10-03 19:02:37 -03:00
Joao
f49e0c3a33 feat(chat): edit and delete messages 2024-10-03 18:46:59 -03:00
Paul Trudel
62e2f396cb
feat(API): Add file scanning to presentation upload (#21217)
* Add ClamAV file scanning

* Add file uploade virus message and event

* Add file virus message to front end

* Delete bigbluebutton-html5/.meteor/local/build/programs/web.browser/app/app.js

* Add error message to locale

* Fix typo in frontend error message

* Remove malicious file after detection

* Add property to enable/disable file scanning

* Create and send new message when file scanning fails

* Readd space in prop file

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

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

---------

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2024-10-03 16:30:38 -04:00
Joao
c87c590f82 fix(chat): Hide message toolbar if user is locked 2024-10-03 16:36:08 -03:00
Joao
a5a3a0a391 fix(chat): a lot of reply UI fixes
- Fixed reply container height
- Positioning of the reply element
- Stacking of elements
- chatEmphasizedText in replies
- Support for markdown
2024-10-03 16:24:32 -03:00
André Castro
16444dd4ce
style/enhancement: Adapting poll results to various screen types. (#21329) 2024-10-03 15:07:08 -04:00
André Castro
22454e84b1
fix: [3.0] Can't access user list when in landscape mode on mobile and with a few features opened (#21334) 2024-10-03 14:34:12 -04:00
Tiago Jacobs
c6c606bdc6
Merge pull request #21270 from Arthurk12/plugins-extensible-areas-async
fix(plugins): race condition setting extensible areas
2024-10-03 15:04:47 -03:00
Arthurk12
3b460d8ee8 fix(plugins): unmount extensible areas
Explicitly unmounts extensible areas that use `contentFunction` to
inject components. This is necessary because plugins, as a separate
ReactJS application, use a different instance of ReactDOM.
2024-10-03 11:12:07 -03:00
João Victor Nunes
b3403ffdf5
refactor(notes): Retire pads session manager (#21269) 2024-10-03 10:41:13 -03:00
André Castro
2ff6e7dfb6
style(layout/modal): Removing custom layout (visually) from layouts modal (#21324) 2024-10-03 10:23:21 -03:00
KDSBrowne
0dd2bb9446
remove duplicate undo and redo handlers (#21327) 2024-10-03 10:20:15 -03:00
Arthur B. Grossi
1dbc773aee
feat(chat): improve messages rendering (#21323)
* feat(chat): improve messages rendering

This commit adds memoization and comparsion functions to the chat pages
and chat messages to prevent whole chat re-renders and unnecessary
message re-renders caused by React's default shallow comparsion mechanism.
The comparsion functions ensure that only the pertinent message attributes
trigger a component's re-render.

Messages sent by a user are not updated (re-rendered) when their role
change. In other words, the chat messages reflect the user's role at the
time the message was sent. Altering the message to reflect the user's
current role could confuse participants, as it would modify the context
of the past conversation. This behavior has been validated by the UI/UX
team and brings benefits such as performance improvements and consistent
behavior with how playback handles such messages.

* fix linter errors
2024-10-03 10:10:52 -03:00
André Castro
09fcb3ad42
refactor(config/settings): Remove unused toolbar configs from settings.yml. (#21272)
* refactor(config/settings): Remove unused toolbar configs from `settings.yml`.

* refactor(meetingClientSettings): Remove unused properties from `Toolbar` interface and initial values.

* feat(toolbar): Add multiUserPenOnly property to Toolbar settings

* refactor(toolbar): Remove unused whiteboard 'tools' properties from settings

---------

Co-authored-by: Ramón Souza <contato@ramonsouza.com>
2024-10-03 09:35:32 -03:00
Tiago Jacobs
eecd48ae30
Merge pull request #21278 from GuiLeme/lms-plugin-adaptation 2024-10-02 21:12:33 -03:00
André Castro
834d64aaed
Fix wrong away toggle initial state (#21337) 2024-10-02 21:10:26 -03:00
Joao
8b879a2b09 fix: Hide message toolbar for system messages 2024-10-02 20:57:18 -03:00
João Victor Nunes
e60184c40e
fix: Tweak config for chat replies
- Use singular form.
- Disable it by default.

Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
2024-10-02 20:45:05 -03:00
Joao
a4798695b4 feat(chat): message replies 2024-10-02 19:28:02 -03:00
Guilherme Leme
74dbf029bf [lms-plugin-adaptation] - Code review 2024-10-02 19:09:07 -03:00
Guilherme Leme
c8d1cfcb72 [lms-plugin-adaptation] resolve conflicts 2024-10-02 18:38:40 -03:00
Ramón Souza
8d9febdef3
restore intl prop in activity check component (#21331) 2024-10-02 16:10:47 -04:00
Tainan Felipe
929a9bd5c0
Fix: close event emitting a terminal error (#21299) 2024-10-02 16:05:03 -03:00
Ramón Souza
f19a231b43
fix: pre selected item in reactions button - mobile (#21325) 2024-10-02 15:36:13 -03:00
André Castro
a1a4b66155
fix(meeting-ended/rating): Update star rating icon to improve visual representation. (#21319) 2024-10-02 11:04:37 -04:00
Ramón Souza
3630f92261
fix: raise hand remains selected on mobile devices (#21315) 2024-10-02 10:48:42 -03:00
André Castro
a6990fe368
style(reactions-button): Enhance mobile responsiveness and styling for toggle buttons and menu items. (#21300)
* style(reactions-button): Enhance mobile responsiveness and styling for toggle buttons and menu items.

* Update styles.js
2024-10-02 10:20:03 -03:00
Ramón Souza
d8817e8316
fix: respect animations setting in user avatar (#21307) 2024-10-02 09:37:12 -03:00
André Castro
26a0d00bdf
style(connection-status): Enhance mobile responsiveness for connection status and recording indicator components. (#21305) 2024-10-02 08:39:44 -03:00
André Castro
a198509c99
style(modal): Update modal styles for better positioning on small screens (#21289) 2024-10-01 15:43:02 -03:00
Gustavo Trott
3fb6dd71d2 Edit graphql type UserCamera to suport either camera or screenshare
Add fields:
	contentType: to identify whether is camera or screenshare
	hasAudio: useful for screenshare
	focused: indicates if this screenshare will be shown in presentation area
2024-10-01 14:39:48 -03:00
Guilherme Leme
fd5dcb804b [lms-plugin-adaptation] enhanced css style 2024-09-30 20:15:02 -03:00
André Castro
87964cabde
refactor/fix(settings): Refactor animation settings retrieval to fix problem with refreshing. (#21284) 2024-09-30 13:33:53 -03:00
Anton Georgiev
f283f11274
Merge pull request #21279 from ramonlsouza/fix-custom-locale
fix(audio-captions): label generation for audio captions with custom locales
2024-09-30 10:18:25 -04:00
André Castro
4b0cd2b522
feat(layout/observer): Add user preference for dark theme in LayoutObserver component. (#21255)
* feat(layout/observer): Add user preference for dark theme in `LayoutObserver` component.

* feat(docs/administration): Add support for default dark theme preference parameter

* refactor(settings): Remove dark theme setting from LayoutObserver and move it to Settings class.
2024-09-30 10:33:41 -03:00
Ramón Souza
f74a0657ba
refactor(styles): Update DtfInvert background color (#21277)
Refactor styles to update the background color of connection status bars in dark mode. The #connectionBars > div now has a background color of var(--darkreader-neutral-text)
2024-09-30 09:58:49 -03:00
João Victor Nunes
8e83d93eb0
feat(audio): track mute state by meeting (#21095) 2024-09-27 19:13:08 -04:00
Ramón Souza
365a5e2274 fix(audio-captions): label generation for audio captions with custom locales
This commit refactors the label generation for audio captions in the audio-captions button and captions components. Instead of directly using the intl formatMessage function, the label is now generated using the intlMessages object and the getLocaleName function from the audio-captions service. This change prevents an issue with custom locales.
2024-09-27 16:44:25 -03:00
Guilherme Leme
7cc90c1734 [lms-plugin-adaptation] Added new genericContentInformation along with refactor of fixedContentInformation for userListDropodownItem. 2024-09-27 14:48:05 -03:00
Gustavo Trott
a6ffe1350f
Merge pull request #21102 from gustavotrott/clone-user-session
feat (bbb-web): Implements session duplication with `getJoinUrl` endpoint
2024-09-27 11:33:47 -03:00
Átila
b62199683f
fix(video-preview): blur behavior correction (#21112)
* fix(video-preview): blur behavior correction

* fix(video-preview): blur behavior correction

* Update bigbluebutton-html5/imports/ui/components/video-preview/component.jsx

---------

Co-authored-by: Ramón Souza <contato@ramonsouza.com>
2024-09-27 10:29:46 -04:00
João Victor Nunes
9f18221fc9
fix: Custom styles not applying to loading screen (#21263)
* fix: Custom styles not applying to loading screen

* fix: Apply custom styles before rendering children

* fix: Use Object.assign instead of spread syntax

* fix: Add cleanup function to clear the timeout and abort the fetch

* fix: Clear the timeout if the fetch completes successfully

* refactor: Remove unused queries file
2024-09-27 10:28:26 -04:00
André Castro
ece4ab7ec2
refactor(settings/service): Refactor to remove unnecessary for notification. (#21235) 2024-09-27 10:27:19 -04:00
Arthurk12
9f9625f7c6 fix(plugins): race condition setting extensible areas
Fixes race condition happening when multiple plugins that add extensible
area elements are loaded by the client. The issue is caused by the state
update of the extensible area items set by plugins, based on previous
state without using a callback. Replaced direct state updates with the
appropriate callback pattern to ensure consistent state changes.
2024-09-26 17:59:33 -03:00
Guilherme Leme
beca90965e [lms-plugin-adaptation] added title actions and refactored some logic related to extensible-area setters 2024-09-26 15:01:18 -03:00
Gustavo Trott
e70f18be6b
Merge branch 'v3.0.x-release' into clone-user-session 2024-09-26 13:32:22 -03:00
Anton Georgiev
35c29836b2
Merge pull request #21069 from KDSBrowne/bbb-21035
fix(whiteboard): Clear non-current page shapes from the tldraw store
2024-09-25 16:18:32 -04:00
João Victor Nunes
e43b1e454b
fix(timer): beep failing to play intermittently (#21222)
* fix(timer): beep failing to play intermittently

* fix(typescript): omit elapsed field from timer panel props
2024-09-25 15:42:16 -04:00
KDSBrowne
694dc2d4d9
fix(whiteboard): Correct tldraw camera after full screen exits (#21232)
* fix presenter resize error

* fix current tldraw camera position when exiting fullscreen
2024-09-25 14:54:21 -04:00
João Victor Nunes
8a106b7887
style(presentation-toast): apply toast styles (#21239)
* style(presentation-toast): apply toast styles

* Update bigbluebutton-html5/imports/ui/components/presentation/component.jsx

---------

Co-authored-by: Ramón Souza <contato@ramonsouza.com>
2024-09-25 12:16:43 -04:00
Anton Georgiev
6f5482dae3
Merge pull request #21139 from danielpetri1/show-poll-result-in-bbb-playback
refactor(bbb-html5): Remove custom poll shape
2024-09-25 10:39:56 -04:00
KDSBrowne
e54fb07423 add boundry check for creating tl-cameras | updates 2024-09-24 21:24:40 +00:00
KDSBrowne
7bfb485623 Merge branch 'v3.0.x-release' of https://github.com/bigbluebutton/bigbluebutton into bbb-21035 2024-09-24 18:45:26 +00:00
Anton Georgiev
229a4a0b92
Merge pull request #21187 from JoVictorNunes/app-component-cleanup-0912
refactor: App component cleanup, part 2
2024-09-24 14:42:53 -04:00
Anton Georgiev
575091b4b9
Merge pull request #21245 from ramonlsouza/sonarcloud-set24
refactor: sonarcloud alerts
2024-09-24 13:52:50 -04:00
Ramón Souza
8721b4b537
adjust confirmation modal props (#21238) 2024-09-24 09:48:40 -04:00
Gustavo Trott
394f01bf9f resolve conflicts 2024-09-24 10:07:46 -03:00
Ramón Souza
e76b323567 remove unused import 2024-09-24 09:02:35 -03:00
Ramón Souza
128e568531 remove unused prop 2024-09-24 08:55:28 -03:00
Ramón Souza
cf09d183ea remove empty object 2024-09-24 08:52:28 -03:00
Ramón Souza
946ec031fd remove extra argument in function call 2024-09-24 08:49:53 -03:00
João Victor Nunes
c380378088
fix(connection): tweak shouldRetry handler logging (#21070)
* fix(connection): tweak shouldRetry handler logging

* fix: Add extraInfo payloads
2024-09-23 19:26:49 -04:00
Anton Georgiev
919ae4cb00
Merge branch 'v3.0.x-release' into show-poll-result-in-bbb-playback 2024-09-23 16:06:42 -04:00
Anton Georgiev
0847134701
Merge pull request #21224 from germanocaumo/fix-whiteboard-partialupdates
fix(whiteboard): partial updates + some fixes
2024-09-23 15:39:14 -04:00
germanocaumo
0a984347a0 fix(tldraw): restore shapesVersion + customParam 2024-09-23 14:24:22 -03:00
André Castro
3053ddac20
fix(audio/muteToggle): Fix mute loading state on push to talk (#21199) 2024-09-23 11:23:41 -04:00
Ramón Souza
f2054e4df7
fix issue with recording icon not appearing in mobile devices (#21206) 2024-09-23 10:50:44 -04:00
Lucas
af2a24eef4
feat(screenshare): Option to show disabled screenshare button for non presenters (#21082)
* feat(screenshare): Option to show disabled screenshare button for non presenters

* Update bigbluebutton-html5/imports/ui/components/screenshare/service.js

---------

Co-authored-by: Ramón Souza <contato@ramonsouza.com>
2024-09-23 09:51:18 -03:00
danielpetri1
6fa4595b2d Merge branch 'v3.0.x-release' into show-poll-result-in-bbb-playback 2024-09-20 21:26:41 +00:00
Paulo Lanzarin
5760fb5648
fix(audio): restore "add more data to audio_joined/failure logs" (#21215)
Commit 26815f4679 was seemingly lost
during a merge in the 3.0.x-release branch. Nothing breaks, but we're
missing the log info originally added via that commit.

Restore the changes in 26815f4679:
  - Add secondsToActivateAudio, inputDeviceId, outputDeviceId and isListenOnly
to audio_joined.extraInfo
  - Add inputDeviceId, outputDeviceId and isListenOnly to
audio_failure.extraInfo
  - Add a try-catch to the device enforcement procedure triggered by
onAudioJoin - it may throw and block the modal.
2024-09-20 06:37:51 -04:00
Paulo Lanzarin
14c92a3843
feat: add experimental support for ICE restart (#21208)
We currently use full renegotiation for audio, video, and screen sharing
reconnections, which involves re-creating transports and signaling channels
from scratch. While effective in some scenarios, this approach is slow and,
especially with outbound cameras and screen sharing, prone to failures.

To counter that, WebRTC provides a mechanism to restart ICE without needing
to re-create the peer connection. This allows us to avoid full renegotiation
and bypass some server-side signaling limitations. Implementing ICE restart
should make outbound camera/screen sharing reconnections more reliable and
faster.

This commit implements the ICE restart procedure for all WebRTC components'
*outbound* peers. It is based on bbb-webrtc-sfu >= v2.15.0-beta.0, which
added support for ICE restart requests. This feature is *off by default*.
To enable it, adjust the following flags:
- `/etc/bigbluebutton/bbb-webrtc-sfu/production.yml`: `allowIceRestart: true`
- `/etc/bigbluebutton/bbb-html5.yml`: `public.kurento.restartIce`
  * Refer to the inline documentation; this can be enabled on the client side
    per media type.
  * Note: The default max retries for audio is lower than for cameras/screen
    sharing (1 vs 3). This is because the full renegotiation process for audio
    is more reliable, so ICE restart is attempted first, followed by full
    renegotiation if necessary. This approach is less suitable for cameras/
    screen sharing, where longer retry periods for ICE restart make sense
    since full renegotation there is... iffy.

Endpoints that are inbound/`recvonly` only (client's perspective) do *not*
support ICE restart yet. There are two main reasons:
  - Server-side changes are required to support `recvonly` endpoints,
    particularly the proper handling of the server’s `setup` role in the
    its SDPs during an ICE restart. These changes are too broad for now,
    so they are deferred to future releases (SFU@v2.16).
  - Full reconnections for `recvonly` endpoints are currently reliable,
    unlike for `send*` endpoints. ICE restarts could still provide benefits
    for `recvonly` endpoints, but we need the server updates first.
2024-09-20 06:35:32 -04:00
João Victor Nunes
c0caa45b67
fix(webcam): do not skip video preview if initial device is already shared (#21209) 2024-09-19 16:30:52 -03:00
germanocaumo
845ccc5ce7 fix(tldraw): group remove updates + fix shape max limit
- We were sending one websocket message for each removed shape, send only one with all IDs.
- The shape limit verification was not always working with rapid updates and if somehow the db got more shapes,
the users couldn't update or delete any shape anymore
- Unnecessary remove shape messages were being sent to the server when going over limit
2024-09-19 16:17:11 -03:00
Ramón Souza
4c1bc432a8
fix: client logger streams being created at export time (#21219)
* fix: logger streams being created at export time

* fix typescript warnings

* fix: default logger is only returned in the second call
2024-09-19 15:57:27 -03:00
André Castro
9809037790
fix/style(button): Add responsive styles for button on small screens (#21213)
* Fix: [3.0] Distorted microphone loading animation on smaller screens (mobile)

* Fix distorted loading anim

* style(button): Add responsive styles for button on small screens

* Update styles.js
2024-09-19 15:26:37 -03:00
Ramón Souza
1a36f24445
fix chat popup notification for user away (#21212) 2024-09-19 13:35:39 -04:00
germanocaumo
f7468b6fc2 fix(tldraw): only send diffs updates to server
When a shape is changed, the full shape objcect was being transmitted to the server again.
Do a diff to only send what changed (similarly  as it was in tldraw v1) to save upload bw.

TODO:
Draw segments diffs (array) is still not working, so all the segments are still being sent every time.
2024-09-19 12:38:57 -03:00
Ramón Souza
6c85c42338
fix: video preview - add safeguard when checking for video srcObject (#21221) 2024-09-19 10:42:34 -04:00
Ramón Souza
df868e6048
Log whether the user chose to Continue or Leave (#21198)
Co-authored-by: Anton Georgiev <anto.georgiev@gmail.com>
2024-09-19 09:21:10 -03:00
germanocaumo
eef565ec81 refactor(whiteboard): lint file and remove unused code
Clean all warning and errors from linter.
2024-09-18 12:21:16 -03:00
Gustavo Trott
e92293993a Merge remote-tracking branch 'upstream/v3.0.x-release' into clone-user-session 2024-09-18 10:05:04 -03:00
João Victor
7d805d60c3 fix(screenshare): pass missing prop in 2024-09-17 18:50:32 -03:00
João Victor
da02d9f1fd fix(screenshare): do not render the component if current user data is unavailable
- This avoids considering some default values erroneously.
2024-09-17 18:04:00 -03:00
João Victor
41c4d93b2f Merge branch 'v3.0.x-release' into app-component-cleanup-0912 2024-09-17 17:04:35 -03:00
KDSBrowne
a868eccd4f
fix(whiteboard): Batch shape updates and persist on idle or editing states (#21186)
* Batch shapes and persist on idle or editing states

* add highlight.idle to condition

Co-authored-by: germanocaumo <germanocaumo@gmail.com>

---------

Co-authored-by: germanocaumo <germanocaumo@gmail.com>
2024-09-17 15:57:25 -04:00
André Castro
208720f794
fix(modal/confirmation): Ensure focus is triggered on cancel button after modal update. (#21179) 2024-09-17 09:12:12 -03:00
germanocaumo
dea3929a2a
fix(whiteboard): background white borders (#21136)
Background shape can show white borders due to rounding erros in the tldraw canvas, change size and position of background shape to avoid it.
Also disable tl container outline showing when in focus.
2024-09-16 14:19:41 -03:00
Arthur B. Grossi
d4565593d2
fix(dark-theme): adjust Dark Reader CSS selectors (#21074)
* fix(dark-theme): adjust Dark Reader CSS selectors

Clean up inverted css selectors passed to Dark Reader and add new ones
for elements not correctly transformed to dark theme. These include the
tldraw color picker, text shape color, selected color indicator, tool
opacity slider, and camera dock background.

* Suggestions from review

Co-authored-by: germanocaumo <germanocaumo@gmail.com>

* Suggestions from review

Co-authored-by: germanocaumo <germanocaumo@gmail.com>

* Suggestions from review

Co-authored-by: germanocaumo <germanocaumo@gmail.com>

* changes requested in review

* changes requested in review

---------

Co-authored-by: germanocaumo <germanocaumo@gmail.com>
2024-09-16 08:49:02 -04:00
Tainan Felipe
838565d52d
Add: Flag to enable apollo devtools in production (#21094)
* Add: Flag to enable apollo devtools in production

* Fix: missing field
2024-09-13 17:14:09 -03:00
João Victor
bd8779d72c fix: undefined value access 2024-09-13 15:33:12 -03:00
João Victor
7c39525cb5 refactor: App component cleanup, part 2 2024-09-13 14:53:14 -03:00
Paulo Lanzarin
327c2c4624
fix: run full RTC stats collection only when necessary (#21073)
In BBB 3.0, a change was made to collect full WebRTC stats continuously.
This method gathers stats from *all* peers and *all* senders and receivers
every 2 seconds. Originally, it was intended to run only when the user opened
the connection status dialog, providing in-depth info in the UI and making it
available for copying.

This new behavior is not ideal. Running full stats collection every 2 seconds
in meetings with 20+ peers/transceivers wastes client resources since the
collected data is unused 99% of the time.

This commit reverts to the pre-3.0 behavior (≤2.7), where full stats collection
(`startNetworkMonitoring`) runs only when the connection status modal is open.
As a bonus, it fixes the packet loss status transition log to use the packet
loss percentage, which is the actual trigger metric.
2024-09-13 09:15:35 -04:00
Paulo Lanzarin
8b3ea9a1ee
Merge pull request #21167 from prlanzarin/u30/fix/audio-unmute-audiosettings-close
fix(audio): ensure initial local mute state when muteOnStart=true
2024-09-13 09:58:42 -03:00
Paulo Lanzarin
6b118bb03c
Merge pull request #21153 from prlanzarin/u30/fix/error-boundary-critical
fix: not all error boundaries should close audio/Apollo
2024-09-13 09:57:28 -03:00
Paulo Lanzarin
aa0b9fbcb2
Merge pull request #21121 from prlanzarin/u30/fix/localecho-output-change
fix(audio): local echo not tracking output device changes
2024-09-13 09:56:38 -03:00
Paulo Lanzarin
66e0d5ca09
Merge pull request #21092 from prlanzarin/u30/fix/audio-device-removal
fix(audio): detect and handle system device changes correctly
2024-09-13 09:55:52 -03:00
André Castro
1ae9a916a9
Ease in loading anim (#21135)
* Enhancement: Easing loading animation on buttons
2024-09-12 15:38:00 -03:00
Ramón Souza
776215ec58
restore react 18 createRoot render method (#21041)
* restores react18 createRoot

* fix slideChange issue - new slide not loading

* fix skip video preview

* test: update screenshare function checks + close notifications

---------

Co-authored-by: Anton B <antonbsa.bck@gmail.com>
2024-09-12 14:34:36 -03:00
Ramón Souza
c53de1e621
Merge pull request #21171 from Scroody/fix-offline-indicator
Style: Adjust font size and add margin to offline user indicator (chat/message-header)
2024-09-12 13:36:31 -03:00
André Möller
a43b9d4ec9 style(chat/message-header): Adjust font size and add margin to offline user indicator 2024-09-12 10:34:57 -03:00
João Victor
9018dde6c0 fix: Remove duplicated effect 2024-09-12 09:59:52 -03:00
André Möller
abe0b961f6 Fix: Conference PIN (phone dial-in) doesn't show the needed pound sign in popup (port to 30) 2024-09-12 09:42:12 -03:00
prlanzarin
47018e5a65 fix(audio): ensure initial local mute state when muteOnStart=true
When `muteOnStart=true`, the initial local mute state in AudioManager is
desynced from the server. This issue stems from two recent changes:
  - Decoupling voice activity updates from the main user_voice subscription,
    which introduced an implicit muted state placeholder value
    of true instead of false. See user_voice_activity's DB schema
    propagation rules.
  - Introduction of dialplan-level muteOnStart, muting channels on creation
    rather than after.

Without properly updating AudioManager's `isMuted` placeholder, no
user_voice_activity update triggers *when joining audio* with
muteOnStart=true, causing two issues:
  - Sender tracks are not locally muted on audio join.
  - Opening the audio settings modal while muted will cause the
    microphone to be incorrectly *unmuted* once it's closed (first try only).

This fix sets AudioManager's `isMuted` placeholder to true, matching the
server. Additionally:
  - Enforce the local mute state before joining audio to ensure the desired
    sender track state. Should make this a bit more future proof.
  - Track `user_voice_activity` before joining audio (rather than after)
    to avoid race conditions.
  - Clean up `AudioManager.init` (loadBridges no longer returns a promise etc).
2024-09-11 19:16:57 +00:00
Anton Georgiev
764d9c0f31
Merge pull request #21144 from ramonlsouza/i-21138
fix: No layout selected in modal for users other than presenter
2024-09-11 14:41:05 -04:00
Ramón Souza
376a1bdbc0 fix hide presentation on join 2024-09-11 14:43:45 -03:00
Gustavo Trott
3460e869a6
Merge pull request #21107 from JoVictorNunes/fix-restoring-audio-on-breakout-exit
fix(audio): Returning from breakout does not always rejoin you in main room audio
2024-09-11 14:42:13 -03:00
André Castro
638d4c9948
Enhancement: Sort the list of names in breakout dialog similar to the Users list (#21056)
* Enhancement: Sort the list of names in breakout dialog similar to the Users list
2024-09-11 12:48:58 -04:00
André Castro
b8f3a090bd
Fix: Errors and warnings (#20975)
* bad set state (actionsBarContainer)

* bad set state (appContainer)

* isMobile should be ismobile warning

* bad setState (notes)

* bad setState (user-notes)

* bad setState (user-participants-title)

* bad setState (webCamContainer)

* bad setState (PresentationMenuContainer)

* fix webCams not working issue

* fix userList user counter not working issue

* fix TS lint

* fix TS lint

* fix TS lint

* Later changes
2024-09-10 16:10:28 -04:00
prlanzarin
b6a962ff73 fix: not all error boundaries should close audio/Apollo
Currently, all error boundaries close audio and Apollo connections once
an error is caught. This is not the correct behavior as not all error
boundaries are critical, e.g.: the presentation crashing should _not_
break the whole client. It also deviates from how error boundaries
worked in 2.7

Add a new prop to the ErrorBoundary/LocatedErrorBoundary components
called isCritical that flags an error boundary instance as critical. If
true, it'll close Apollo/audio. The default behavior is
isCritical=false, and the only critical error boundaries are the ones
located in the app's root (/client/main.tsx).
2024-09-10 19:00:47 +00:00
Anton Georgiev
f16eefade2
Merge pull request #21004 from GuiLeme/fix-dom-element-manipulation
fix(plugins): fix useUserCameraDomElement behavior and did some refactor
2024-09-10 14:18:47 -04:00
KDSBrowne
23a9f089fa
fix(whiteboard): First wheel zoom always going to top left corner (#21011)
* fix first wheel zoom always going to top left corner

* focus button zoom on center of page after wheel zoom

* test: update zoom test to avoid snapshot miscomparisons when zooming in and out

* test: fix usage of hasText function params

---------

Co-authored-by: Anton B <antonbsa.bck@gmail.com>
2024-09-10 14:38:55 -03:00
Ramón Souza
2b9870bea8
Merge pull request #21133 from ramonlsouza/ban-chat-client
feat (port from 2.7): Add userLockSettings to allow disablePublicChat for individual users (frontend portion)
2024-09-10 13:01:34 -03:00
Anton Georgiev
a56ebfb2c8
Merge pull request #20934 from GuiLeme/data-channel-quick-fix
fix: fix useDataChannel subscribe events
2024-09-10 11:26:10 -04:00
Ramón Souza
d2164ebf97 fix chat form whitespace when chat is locked 2024-09-10 10:54:34 -03:00
Ramón Souza
1ef0bb547a delay push layout component render until settings are available 2024-09-10 09:44:49 -03:00
Guilherme Leme
09f280f4d3 [fix-dom-element-manipulation] Changes in review 2024-09-10 08:46:27 -03:00
Ramón Souza
2aa3f8453a
Merge pull request #21060 from JoVictorNunes/app-component-cleanup
refactor: App component cleanup
2024-09-10 08:33:24 -03:00
André Castro
458f8db0b6
Fix: Border radius on system messages (#21093)
* Fix: Border radious on system messages

* Update bigbluebutton-html5/imports/ui/components/chat/chat-graphql/chat-message-list/page/chat-message/message-content/text-content/styles.ts

---------

Co-authored-by: Ramón Souza <contato@ramonsouza.com>
2024-09-09 15:27:25 -03:00
André Castro
67fcadf9a8
Usability: Changing push to talk cooldown (#21109) 2024-09-09 14:53:23 -03:00
Ramón Souza
323e8b73e6 lock public chat - frontend 2024-09-09 10:59:28 -03:00
Ramón Souza
ff21ae1792
refactor: move remaining inline SVG to reusable component (#21108)
* move recording icon to icon-svg component

* move whiteboard options icon to icon-svg component
2024-09-09 08:57:26 -03:00
Ramón Souza
7eba98f809
improve long username display in userlist and breakout creation (#21101) 2024-09-09 08:56:41 -03:00
André Castro
97bf86604c
Fix: When in Grid Layout, presentation does not become visible on Restore presentation unless chat column is open (#21090) 2024-09-09 08:54:46 -03:00
Arthur B. Grossi
4626b4d7a4
feat(screenshare): add support for troubleshooting links (#21051)
* feat(screenshare): add support for troubleshooting links

Adds setting option to specify troubleshooting links to each error code
of screenshare. When a troubleshooting link for the given error exists,
the toast notification about the error is displayed with a 'Learn more'
button that when clicked leads the user to the external link. When there
is no link set for the specific error code, the button is not displayed.

* fix(screenshare): change toast type for error code 1136

Changed toast type from 'error' to 'warning' for error code 1136 when
sharing screen. This adjustment was made because error code 1136 is also
returned when the user cancels screen sharing during the tab selection
process. Displaying an error toast in this situation could cause
unnecessary alarm for users, as they were simply canceling an operation.

* fix(notification): help link button element

Uses the button element instead of a div to display the 'Learn more'
help link button.

---------

Co-authored-by: Carlos Henrique <carloshsc1998@gmail.com>
2024-09-09 08:51:34 -03:00
Átila
976ad79ee4
fix(captions): fix avatar username color (#21088) 2024-09-09 08:50:52 -03:00
João Victor Nunes
e5599e7414
fix: setAway mutation being sent several times (#21089) 2024-09-09 08:50:14 -03:00