Commit Graph

42944 Commits

Author SHA1 Message Date
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
Calvin Walton
2bf55a0207 Recording: Do a test decode to detect video seek problems
I found a failed recording where a deskshare video file could not be
decoded when seeking was used (oddly enough, it could decode without
seeking). Turns out that remuxing the file was enough to make things
work.

In the video processing code, after checking for other known video file
problems that are fixed by remuxing, also try decoding one frame of the
video with a seek time applied.

Since more videos can end up being remuxed now, I moved the output of
the remux to a new subdirectory. Since more file types than just 'flv'
can be remuxed, I switched the output to the 'nut' container instead.
(This is ffmpeg's generic container format, and can hold any audio/video
which ffmpeg can process, so it works well for temporary files.)
2024-09-10 14:56:26 -04:00
Guilherme Pereira Leme
31a96c4703
update-plugin-sdk-0.0.58 (#21150) 2024-09-10 15:56:04 -03:00
Gustavo Trott
3e13ba7d36 netstat is old, not used anymore. ss is the natural replacement. Very similar syntax
Danimo recommendation
2024-09-10 15:24:32 -03: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
Gustavo Trott
520c76007a Move Hasura password path from /usr/share/bbb-graphql-server/admin-secret to /etc/default/bbb-graphql-server-admin-pass
It was recommended by Danimo because /etc is for mutable stuff

It also adds comments with context about this file

The owner is set to root:root and permission 600 to be only readable by root (also Danimo suggestion)
2024-09-10 15:01:57 -03: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
Gustavo Trott
b141ab40b0 fix: graphql flag breakoutRoom.hasJoined is not accurate 2024-09-10 09:44:58 -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
0a6dac83b5 adjusts backend so chat lock is ignored for moderators 2024-09-09 13:46:08 -03:00
transifex-integration[bot]
74d971cf50
Translate en.json in ja (#21131)
100% translated source file: 'en.json'
on 'ja'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-09-09 10:31:19 -04:00
Ramón Souza
eed8f183ae Merge remote-tracking branch 'upstream/v3.0.x-release' into ban-chat-client 2024-09-09 11:01:32 -03:00
Ramón Souza
323e8b73e6 lock public chat - frontend 2024-09-09 10:59:28 -03:00
Gustavo Trott
575c0315a9
Merge pull request #21117 from gustavotrott/isChatLocked30
feat (port from 2.7): Add `userLockSettings` to allow `disablePublicChat` for individual users (backend portion only)
2024-09-09 10:32:43 -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
André Castro
531859fd52
Client: Adding loading animation to mute/unmute and toggle animation (#20918)
* Client: Adding loading animation tu mute/unmute and toggle animation

* Update bigbluebutton-html5/imports/ui/components/audio/audio-graphql/audio-controls/input-stream-live-selector/buttons/muteToggle.tsx

Co-authored-by: Paulo Lanzarin <4529051+prlanzarin@users.noreply.github.com>

* TS lint

---------

Co-authored-by: Paulo Lanzarin <4529051+prlanzarin@users.noreply.github.com>
2024-09-09 08:49:10 -03:00
Arthur B. Grossi
064fd1d13c
feat(layout): Add propagate layout toggle (#21027)
* feat(layout): add propagation toggle

Transforms the 'update everyone' button in the layout modal into a
toggle, so that presenter get immediate visual feedback of the current
layout propagation setting when the modal is opened.

* fix: update propagation button locale to 'update to everyone'

* test: update layout test

---------

Co-authored-by: Anton B <antonbsa.bck@gmail.com>
2024-09-09 08:48:07 -03:00
Gustavo Trott
751f600e9e
Merge pull request #21091 from gustavotrott/hasuratimeout
build/tests: Attempt to fix a random error during the tests
2024-09-06 08:42:51 -03:00
Paulo Lanzarin
4b5317a093
build(bbb-webrtc-sfu): v2.15.0-beta.1
v2.15.0-beta.1
---
* refactor: rename ICE restart flag to `restartIce`, true by default
* build: mediasoup-client@3.7.16
* build: mediasoup@3.14.13
* build: SIP.js@v0.7.5.14
* build: pino@9.3.2
* build: config@3.3.12
* build: ws@8.18.0
* build: bufferutil@4.0.8
* build: mcs-js@0.0.20
* build: uuid@10.0.0
2024-09-05 22:08:27 -03:00
prlanzarin
9070a651ec fix(audio): local echo not tracking output device changes
Commit 325887e325 split the local echo audio
element from the main audio element to allow concurrent playback without the
risk of interfering with one another.

This introduced a regression where local echo doesn't track output device
changes. The main audio element (i.e. the meeting's audio) is not affected by
this regression.

This commit ensures local echo reacts to output device changes as needed.
2024-09-05 23:57:09 +00:00
Gustavo Trott
96f9325ef2 Add userLockSettings to allow disablePublicChat for individual users
This commit introduces `userLockSettings`, which includes an option to set `disablePublicChat` for specific users, rather than only for all locked viewers as before. This implementation covers the backend and GraphQL portions; the frontend changes will be addressed in a separate PR.

This is a port of #20585, originally implemented for version 2.7 using the old architecture with MongoDB.
2024-09-05 18:04:25 -03:00
Paulo Lanzarin
0e2ccda2a6
docs: clarify transparentListenOnly::true behavior (#21115)
The changes in [PR #20782](https://github.com/bigbluebutton/bigbluebutton/pull/20782)
do not mean that enabling `transparentListenOnly: true` sets `listenOnlyMode: false`.
I.e., the user prompt to choose between mic or listen-only still exists. Instead, it
allows users to seamlessly switch between modes without rejoining audio.

While the goal is for `transparentListenOnly: true` to eventually imply `listenOnlyMode:
false`, the default audio activation behavior is still under review by the UI team, and
the current default remains unchanged.

This commit updates the "What's New" documentation to reflect these points correctly.
2024-09-05 14:44:27 -04:00
Anton Georgiev
3165ef54e2
docs: various docs updates to include what is new (#21104)
* docs: various docs updates to include what is new

in BBB 3.0.0-beta.1
- api changes
- dropped functionality

* docs: info on infinite whiteboard and seen chat

Adding screenshots and descriptions about the infinite whiteboard and
seen private chat messages to the 3.0 what-is-new docs

* docs: Add description of 3.0 new audio features

- improved ux for transparent listen only
- push to talk
2024-09-05 11:43:11 -04:00
João Victor
3ee194145e fix: Rename variables, types, subscription identifier 2024-09-05 10:51:13 -03:00
João Victor
1a0656c8e0 fix(audio): Returning from breakout does not always rejoin you in main room audio 2024-09-05 08:35:52 -03:00
Guilherme Leme
22453dafd4 [fix-dom-element-manipulation] add userId and streamId to onclick callback arguments of userCameraHelperButton 2024-09-03 11:37:35 -03:00
prlanzarin
7dd0fb42ea fix(audio): detect and handle system device changes correctly
In BBB ≤ 2.7, a procedure monitored system audio device changes, updating
the device list and assigning a fallback device if the current one was removed.
This procedure was removed in 3.0 during the migration of the
input-stream-live-selector component to TypeScript (reasons unknown), causing
the device list to become outdated and leaving the user's client without audio
input if their current device is disconnected.

This commit restores the `devicechange` event handler in the input-stream-live-
selector, ensuring that the device list is updated properly and fallback devices
are assigned when necessary.
2024-09-02 21:51:40 +00:00
Gustavo Trott
88057f5bc8 add a messaged to confirm it finished after-install 2024-09-02 15:07:28 -03:00
Gustavo Trott
ac043b93a5 try to fix tests timeout error 2024-09-02 15:03:08 -03:00
Gustavo Trott
48c891450a
build: relax bbb-graphql-server dir permission (#21085)
* relax bbb-graphql-server dir permission

* move gql-server dir permission
2024-08-30 18:08:51 -04:00
Gustavo Trott
4f22dca3de
build: relax bbb-graphql-server dir permission (#21084) 2024-08-30 17:56:58 -04:00
Gustavo Trott
f96a400ca4
build: remove permission for /usr/share/bbb-graphql-server/ (#21083) 2024-08-30 17:27:56 -04:00
transifex-integration[bot]
41445f63e3
Translate en.json in gl (#21079)
100% translated source file: 'en.json'
on 'gl'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-08-30 13:20:28 -04:00
Anton Georgiev
ef21ed104d
docs: fix name for notifyRecordingIsOn create parameter (#21077) 2024-08-30 12:39:26 -04:00
Gustavo Trott
acff8ba0f8
refactor (build/gql-server): Introduce Hasura override config and a file to store Adm Password (#20993)
* Introduce Hasura override config and a password file

* Add message when set a password to Hasura

* add logs to inspect errors

* fix config file name

* test changing key file owner

* test without override file

* fix print status

* store password as env var

* changes suggested in PR
2024-08-30 10:49:58 -04:00
Anton Georgiev
664dc2d8f2
chore: upgrade FreeSWITCH to 1.10.12 (#21066) 2024-08-30 10:36:00 -04:00
Anton Georgiev
f189b4d139
chore: Bump bbb-pads to 1.5.3 (#21071) 2024-08-30 10:35:40 -04:00
Anton Georgiev
fe355778c1
chore: use newer image for building packages (#21063) 2024-08-30 10:35:06 -04:00