Commit Graph

14400 Commits

Author SHA1 Message Date
Arthurk12
5f74d750e5 feat(layout): add new hidden layout MEDIA_ONLY
Introduces a new layout type called `MEDIA_ONLY`, which shows only media
elements(presentation area and cameras). This layout follows the same
heuristics used by the smart layout to arrange presentation and cameras
in the screen.
2024-10-09 20:10:14 -03:00
Arthurk12
28eb37a498 fix(layout): correct top and height calculation of camera dock bounds
Fixes an issue with the camera dock bounds calculation, where the banner
height was being accounted for twice, leading to incorrect dock height
and excessive spacing. The height is now correctly based on the media
are height, which already factors in the banner height.

Additionally, the top position of the camera dock is now calculated
using the media area's top position, correctly factoring in the margin of
the media area.
2024-10-09 19:44:51 -03:00
Arthurk12
a0f1039721 feat(layout): add optional parameter to calculateMediaAreaBounds
Adds an optional parameter to the `calculateMediaAreaBounds` function,
allowing a margin to be specified when determining the media area
bounds. Any usage of the function without the optional parameter will
default to the previous behavior(no margin).
2024-10-09 19:44:41 -03:00
Arthurk12
cf8a9b857c refactor(layout): propagate and replicate mapping
This commit introduces a mapping between each layout type and the structures
it should propagate or replicate. This change enhances the clarity of the
implemented behavior for each layout type and simplifies modifications to the
elements propagated for each layout.

Additionally, the push layout engine has been updated to utilize the new
mapping structure.
2024-10-09 19:44:34 -03:00
Arthurk12
c647e886bf fix(layout): focused camera propagation
The focused camera id is of type string and was set to boolean `false`
when a camera was unfocused, causing it to throw an error on apollo and
consequently not propagating the focused camera status. This commit fixes
this issue by setting the focused camera id to its initial string value `none`
when a camera is unfocused.
2024-10-09 19:44:27 -03:00
Arthurk12
2c8d39c471 fix(layout): sidebar content display check
Adds a check for unmounting the sidebar content when the display option
from layout context is `false`.
2024-10-09 19:44:18 -03:00
Ramón Souza
e80511144e
Merge pull request #21335 from JoVictorNunes/chat-replies-feat
feat(chat): message replies
2024-10-09 15:29:35 -03:00
Tainan Felipe
1efe1b1b0b
fix: Remove TlDraw from the DOM when the presentation is minimized (#21106)
* Remove TlDraw from the DOM when the presentation is minimized

* Fix: Restore presentation on annotation update
2024-10-09 14:23:12 -04:00
Ramón Souza
6741437a28
Merge pull request #21381 from ramonlsouza/issue-21297
fix: Unlocking specific user to see other viewers cursors not working
2024-10-09 14:34:30 -03:00
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
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
Ramón Souza
5f23ff3029 fix unlocked user cant see other users whiteboard cursor 2024-10-07 10:43:56 -03:00
João Victor
a46afa8cd0 fix(chat): Add support for disabledFeatures in chat message toolbar 2024-10-07 08:37:35 -03:00
André Castro
bc6bc53cbc
Fix: userdata-bbb_force_listen_only param applying to moderator (#21365) 2024-10-04 13:59:06 -03:00
Tainan Felipe
fce005da3e
fix(client): Add a new console class that allow us show extra info passed to log (#21170)
* Change: Add a new console class that allow us show extra info passed to log

* detailed logs: use env var + enable by default on development

* remove duplicated code

* Prevent negative array length when padding level name + Simplify condition using optional chaining

---------

Co-authored-by: Ramón Souza <contato@ramonsouza.com>
2024-10-04 11:09:41 -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