Commit Graph

43217 Commits

Author SHA1 Message Date
Anton Georgiev
f0d808d71b
chore: Bump release to 3.0.0-beta.2 2024-09-20 06:25:36 -04:00
Paulo Lanzarin
3f4eaf899e
build(bbb-webhooks): v3.2.2 (#21225)
v3.2.2
---
* fix: handle missing checksum in API requests
* fix: cleanup corrupted Redis mappings
* fix: stale meeting mappings due to incorrect inactivity report
* build: express@4.21.0
* build: sinon@19.0.2
2024-09-20 06:11:26 -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
Anton Barboza de Sá
2ea0c926b2
test: add flaky flag on presentation tests (#21218) 2024-09-19 11:55:13 -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
Gustavo Trott
cccd2d78c7
Refactor the logger to add more context like meetingId, userId and sessionToken. (#21188)
For DEBUG logs it also includes the file/line and function of the caller.
2024-09-18 08:48:36 -04: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
Tainan Felipe
5dbefe373c
config(client): Cache limit time (#21075) 2024-09-16 14:30:10 -04: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
Paulo Lanzarin
5f2b1b574d
build(bbb-webrtc-sfu): v2.15.0 (#21177)
v2.15.0
---
* feat: add restartIce support for video/screenshare modules
* refactor: rename ICE restart flag to `restartIce`, true by default
* 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
* build: mediasoup-client@3.7.16
* build: mediasoup@3.14.14
* build: SIP.js@v0.7.5.14
2024-09-13 16:06:20 -04: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
Anton Georgiev
50a733c96a
docs: drop obsolete items from troubleshooting.md (#20874) 2024-09-13 10:29:03 -04:00
Anton Georgiev
f52bd7cf54
docs: update instructions for enabling sipjsHackViaWs in dev env (#21146) 2024-09-13 10:08:10 -04: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
Paulo Lanzarin
8d932122a1
Merge pull request #21122 from bigbluebutton/sfu2150b1
build(bbb-webrtc-sfu): v2.15.0-beta.1
2024-09-13 09:55:17 -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
Gabriel Luiz Porfirio
7a67c54e25
test: Updates whiteboard tests (#20414)
* fixing whiteboard tests

* fix undo whiteboard test

* finished updating whiteboard tests

* updated two tests

* updated all whiteboard screenshots, pan test is flaky

* changing whiteboard checks

* whiteboard tests updated

* rm screenshots from failing tests

* changed repeat code to be in a function

* change data-shape-type

* changed selector

* skip check for screenshot on ci

* changes on function name

* adding @ci to all test specs

* removed tag on unecessary test
2024-09-12 13:51:26 -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
dependabot[bot]
efd095465f
chore(deps): bump the npm_and_yarn group across 4 directories with 2 updates (#21172)
Bumps the npm_and_yarn group with 2 updates in the /bbb-graphql-client-test directory: [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express).
Bumps the npm_and_yarn group with 2 updates in the /bbb-learning-dashboard directory: [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express).
Bumps the npm_and_yarn group with 2 updates in the /bigbluebutton-html5 directory: [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express).
Bumps the npm_and_yarn group with 2 updates in the /docs directory: [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express).


Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `express` from 4.20.0 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.0)

Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `express` from 4.20.0 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.0)

Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `express` from 4.20.0 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.0)

Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `express` from 4.20.0 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.20.0...4.21.0)

---
updated-dependencies:
- dependency-name: send
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: send
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: send
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: send
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: express
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-12 10:54:48 -04: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
Ramón Souza
b761dac458
Merge pull request #21169 from Scroody/30-fix-trailing-sign-dial
Fix: Conference PIN (phone dial-in) doesn't show the needed pound sign in popup (port to 30)
2024-09-12 10:13:02 -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
dependabot[bot]
9d5cacc2c8
chore(deps-dev): bump postcss (#21166)
Bumps the npm_and_yarn group with 1 update in the /bbb-learning-dashboard directory: [postcss](https://github.com/postcss/postcss).


Updates `postcss` from 8.4.44 to 8.4.45
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.44...8.4.45)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-11 14:24:51 -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
Calvin Walton
4a3050eb30
Fix incorrect merge in recording audio processing (#21149)
The merge of 2.7 code into 3.0 dropped a change which was part of a fix
to prevent a recording processing hang when processing deskshare streams
which contain audio. Re-apply that change.
2024-09-11 11:55:59 -04:00