Commit Graph

12489 Commits

Author SHA1 Message Date
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
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