Commit Graph

43042 Commits

Author SHA1 Message Date
Gustavo Trott
a6fc59ba46 Allow to edit and delete chat messages through graphql
It introduces the mutations:
chatEditMessage
chatDeleteMessage

The type chat_message receive two new fields:
updatedAt
deletedAt

A new table chat_message_history was introduced to store the previous version of an edited or deleted message.

When removed the message is not deleted, but the content become null and deletedAt populated. So the idea is to show "This message was removed" in the client.
2024-10-02 15:18:21 -03:00
Gustavo Trott
91cf45106b
Merge pull request #21303 from gustavotrott/gql-user-screenshare-as-camera
gql-server: Allow all users to share screens (not only presenter) (backend portion)
2024-10-01 15:37:33 -03:00
Gustavo Trott
0e7c7828ce
Update akka-bbb-apps/src/main/scala/org/bigbluebutton/core/apps/webcam/UserBroadcastCamStartMsgHdlr.scala
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-10-01 15:36:56 -03:00
Gustavo Trott
837089e6c3
Merge pull request #21296 from gustavotrott/gql-chat-reply
gql-server: Add props to enable a user to Reply a chat message (backend portion)
2024-10-01 15:12:06 -03:00
Gustavo Trott
9e8b1ffc4e new index 2024-10-01 15:04:21 -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
Gustavo Trott
900bc9e476 Add replyToMessageId and messageSequence to chat_message
replyToMessageId will be useful for the feature that enables to reply a message of the chat
messageSequence will be useful to identify the page of that message and scroll the user to the correct page when they click to see the original message
2024-10-01 11:32:58 -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
Anton Georgiev
580b80d3c7
docs: adjust parameter name in api.md
Follow up from #21255
2024-09-30 09:45:55 -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
transifex-integration[bot]
1b2ca32034
Updates for project BigBlueButton v3.0 HTML5 client and language ja (#21281)
* Translate en.json in ja

100% translated source file: 'en.json'
on 'ja'.

* Translate en.json in ja

100% translated source file: 'en.json'
on 'ja'.

---------

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-09-30 08:30:54 -04:00
Paulo Lanzarin
333033acbb
build(bbb-webrtc-sfu): v2.16.0 (#21275)
v2.16.0
---
* feat(mediasoup): pipe mediasoup logs to the application logger
* refactor(mediasoup): review log levels and metadata
2024-09-27 19:15:52 -04: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
dependabot[bot]
a52a364dbb
chore(deps): bump the npm_and_yarn group across 2 directories with 1 update (#21273)
Bumps the npm_and_yarn group with 1 update in the /bbb-graphql-client-test directory: [rollup](https://github.com/rollup/rollup).
Bumps the npm_and_yarn group with 1 update in the /bbb-learning-dashboard directory: [rollup](https://github.com/rollup/rollup).


Updates `rollup` from 2.79.1 to 2.79.2
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v2.79.2)

Updates `rollup` from 2.75.6 to 2.79.2
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v2.79.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: rollup
  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-27 11:33:49 -04: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
Ramón Souza
b8a84b6276
fix: poll results always on first page (#21268) 2024-09-26 16:59:24 -03:00
Gustavo Trott
e70f18be6b
Merge branch 'v3.0.x-release' into clone-user-session 2024-09-26 13:32:22 -03:00
Anton Barboza de Sá
04b86c12a9
test: Update test steps that frequently fail in CI (#21267)
- Share camera: removes unnecessary check for "connecting" element;
- Send presentation with annotation: Removes check for toast notification after sending the file - doesn't show anymore
- Zoom: bug spotted. test flagged as flaky and issue opened + linked
2024-09-26 10:51:00 -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
Gustavo Trott
0721bfac75
Merge pull request #21259 from antobinary/move-html5
build: move bbb-html5 files from /var/bigbluebutton
2024-09-25 16:58:29 -03: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
Anton Georgiev
e20eedb39b
build: Bump bbb-playback to 5.1.3 (#21261)
https://github.com/bigbluebutton/bbb-playback/releases/tag/v5.1.3
2024-09-25 14:00:36 -04:00
schrd
5a8217caa9
3.0beta1 clusterfixes (#21132)
* Fix: allow CORS requests to graphql API

In cluster setups the Graphql API endpoints are fetched as a CORS
request. We need to allow that.

* Fix: Allow CORS requests to ping endpoint

In cluster setups the ping is sent directly to the BBB server. So it
needs to allow CORS requests for cluster setups.

* Fix: construct relative API path for cluster setups

* Fix: adjust docs for cluster setup

As bbb-html5 client is static, setup instructions for cluster setup have
to be changed accordingly.

* Fix docs: remove superfluous  ```yaml

This must have been introduced by accident.

---------

Co-authored-by: Daniel Schreiber <daniel.schreiber@hrz.tu-chemnitz.de>
2024-09-25 13:48:17 -04:00
Gustavo Trott
cce7ef8ec2
Merge pull request #21256 from gustavotrott/fix-akka-apps-failing
fix (akka-apps): Improve user joining flow and others
2024-09-25 13:51:56 -03:00
Anton Georgiev
488d78742d build: move bbb-html5 files from /var/bigbluebutton
Closes https://github.com/bigbluebutton/bigbluebutton/issues/21161
As suggested by @danimo the client files for bbb-html5
are not variable/dynamic content and are a better fit for /usr/share
than for /var/bigbluebutton (where they'd also be in the way of
recording files)
2024-09-25 12:39:04 -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
Gustavo Trott
f70e5a094e
Merge pull request #21258 from gustavotrott/gql-endpoint-userMetadata
gql-server: Introduce an endpoint `/api/rest/userMetadata`
2024-09-25 12:51:07 -03:00
Gustavo Trott
439f0486f7 Introduce an endpoint /api/rest/clientSettings that will be used by the client to fetch userdata info before creating a graphql connection.
It is necessary to fetch props bbb_custom_style and bbb_custom_style_url.
2024-09-25 11:53:02 -03: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
Gustavo Trott
df1cb7d7a0 Improve presentation insertion to prevent duplicates.
Previously, we checked if a presentation existed before inserting it into the database. However, concurrent checks sometimes led to race conditions where the same presentation was inserted twice, causing errors and blocking subsequent page additions. This update removes the existence check and directly attempts to insert the presentation using an "IF NOT EXISTS" clause. This streamlines the process, enhances performance, and prevents ID duplication errors.
2024-09-25 10:10:50 -03:00
Gustavo Trott
eda341aab5 Increase Pekko message timeout for the /userInfo endpoint to prevent timeouts when fetching user information. During high load or cold starts, establishing connections between actors can exceed 2 seconds. This change avoids such issues by extending the timeout.
Also added more details to middleware logs to clarify reasons for user authorization failures, making debugging easier.
2024-09-25 10:05:29 -03:00
Gustavo Trott
e5fcdce396 Refactor user join handler (in akka-apps) to refresh Hasura role before setting joined=true in the database.
Ensure that the GraphQL reconnection—and thus the user's Hasura role update from `bbb_client_not_in_meeting` to `bbb_client`—occurs before the client is informed they've joined (`joined=true`). This prevents a race condition where the client might send GraphQL queries before having the necessary permissions, as only `bbb_client` can perform most queries. By updating the role first, we guarantee the client can successfully execute queries after joining.
2024-09-25 09:56:37 -03:00
transifex-integration[bot]
98c6931602
Translate en.json in gl (#21252)
100% translated source file: 'en.json'
on 'gl'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-09-25 08:16:49 -04:00
transifex-integration[bot]
6cfc8219e2
Translate en.json in ja (#21253)
100% translated source file: 'en.json'
on 'ja'.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-09-25 08:16:22 -04:00
dependabot[bot]
77ab3607da
chore(deps-dev): bump postcss (#21250)
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.46 to 8.4.47
- [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.46...8.4.47)

---
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-24 21:08:22 -04:00
Anton Georgiev
647573cf2d
Merge pull request #21251 from danielpetri1/pdf-export-improvement
fix(bbb-export-annotation): wrong slide orientation with rotated text
2024-09-24 21:05:39 -04:00
danielpetri1
415ad5c0fe Force GhostScript orientation
GhostScript is incorrectly inferring the orientation of a slide by looking at the rotation of SVG elements such as whiteboard text. This PR forces GhostScript to retain the orientation of each page.
2024-09-24 22:10:50 +00:00
KDSBrowne
e54fb07423 add boundry check for creating tl-cameras | updates 2024-09-24 21:24:40 +00:00
dependabot[bot]
ab42d50cdf
chore(deps): bump the npm_and_yarn group across 2 directories with 1 update (#21249)
Bumps the npm_and_yarn group with 1 update in the /bbb-learning-dashboard directory: [postcss](https://github.com/postcss/postcss).
Bumps the npm_and_yarn group with 1 update in the /docs directory: [postcss](https://github.com/postcss/postcss).


Updates `postcss` from 8.4.45 to 8.4.46
- [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.45...8.4.46)

Updates `postcss` from 8.4.45 to 8.4.47
- [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.45...8.4.46)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: postcss
  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-24 14:51:31 -04:00
Anton Georgiev
ed93f3ec60
Merge pull request #21247 from danielpetri1/pdf-export-improvement
refactor: Speed improvement for the presentation export
2024-09-24 14:48:08 -04: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