Commit Graph

919 Commits

Author SHA1 Message Date
Guilherme Pereira Leme
a9e0e872b1
feat(akka): Plugin Js relative entrypoint and refactor of pluginManifests parameter (#21485)
* [js-relative-endpoint-refactors] - Added relative js entrypoint - just the name and extension

* [js-relative-endpoint-refactors] - Changes name and references of  to  and adapt all the rest.

* [js-relative-endpoint-refactors] changes in review
2024-10-21 11:27:31 -04:00
Guilherme Pereira Leme
338b199009
Update bbb-common-web/src/main/java/org/bigbluebutton/api/MeetingService.java
escape characters to clarify that they are not special characters.

Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
2024-10-15 17:33:15 -03:00
Guilherme Leme
14fdfad7be [regex-meta-param-plugin] - changed regex in meta-parameter in plugins to handle case of '-' caracter 2024-10-15 17:09:50 -03:00
Gustavo Trott
a52586f217
refactor (bbb-web): Add more info for Removed User Session. (#21436)
* bbb-web: Add more info for Removed User Session.
Includes fullname, userExtId and meetingExtId, that will be useful for integrations.

* fix userId prop name when fetching from removedUserSession
2024-10-15 09:07:21 -03:00
Gustavo Trott
1eeff8d142
Merge pull request #21368 from GuiLeme/new-server-side-architecture
refactor (plugins): Read plugins configs from a manifest file instead of client settings
2024-10-14 17:20:52 -03:00
Gustavo Trott
5852a870af
Merge branch 'new-server-side-architecture' into pr-21368 2024-10-14 14:50:52 -03:00
Gustavo Trott
40c00f8739 Introduces a config pluginsManifests to bigbluebutton.properties.
e.g pluginsManifests=[{url: "https://plugin_manifest.json"}]
it will be merged with the parameters received through /create?pluginsManifests=
2024-10-14 14:37:32 -03:00
Guilherme Leme
1c3c11afde [new-server-side-architecture] - sonar cloud feedback implementation - removed a possible bug 2024-10-14 10:42:34 -03:00
Guilherme Leme
72adc94a9b [new-server-side-architecture] - code rabbit suggestions 2024-10-10 17:22:27 -03:00
Guilherme Leme
a590d15f7c [new-server-side-architecture] - replace checksum algorithm of manifest.json to be sha256 and renamed javascriptEntrypointChecksum to javascriptEntrypointIntegrity 2024-10-10 15:49:16 -03:00
Guilherme Leme
f375d4d3aa [plugin-sdk-issue-121] - change naming for jsEntrypointchecksum 2024-10-09 17:40:41 -03:00
Guilherme Leme
04a5a9da9f [plugin-sdk-issue-121] - Added checksum logic to both the manifest and the js bundled plugin 2024-10-09 16:36:32 -03:00
Guilherme Leme
b77a6ae483 [new-server-side-architecture] - Changes in review 2024-10-08 14:32:01 -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
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
Gustavo Trott
02bdd3c703 Renames the param Revoke to Replace, once it will better explain the reason the previous session is being invalidated
Starts supporting the param enforceLayout, a subsequent PR will finish and document it
Starts supporting user-session-metadata, a subsequent PR will finish and document it
2024-09-24 09:40:00 -03:00
Gustavo Trott
4ea48b3333 This update allows duplicating a user session via the getJoinUrl endpoint. The generated link will create a new sessionToken while retaining the same userId. This setup enables two devices be represented as a single user on the user list, making it particularly useful for scenarios like transferring a session from a computer to a mobile device.
Additionally, the mobile app can use this feature to render the whiteboard inside an iframe with the same `userId`.

By setting the parameter `revokePreviousSession=true`, a new `sessionToken` will be generated, and the previous session will be revoked when the new device connects. This is useful for transferring a session to another device and automatically closing the previous session.
2024-09-04 21:22:49 -03:00
João Victor Nunes
fe67566334
[3.0] feat: Accept custom webcamBackgroundURL (#20920)
* [3.0] feat: Accept custom webcamBackgroundURL

* docs: webcamBackgroundURL

* test: Update virtual background thumbnail image

* fix: tweak error logs for the webcamBackgroundURL fetching procedure

* test: Update virtual background thumbnail image

* fix(logging): do not specify null extraInfo object

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

* fix(logging): extract fields from error object for building extraInfo object

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

---------

Co-authored-by: Paulo Lanzarin <4529051+prlanzarin@users.noreply.github.com>
2024-08-23 09:04:56 -03:00
Átila
c48e93e00c
feat(darklogo): port customDarkLogo (#20922) 2024-08-21 14:58:32 -03:00
Daniel Petri Rocha
254b1fab6d Initial implementation to let slides be passed in the backend 2024-08-05 09:30:53 -03:00
Guilherme Pereira Leme
6fcb1995e9
docs: enhance readability and information availability for presentation files supported (#20741) 2024-07-19 15:32:21 -04:00
Guilherme Pereira Leme
a3e56171d7
fix(bbb-web and html5): removed .odi and .odc file-type supports (#20729)
* [issue-20346] - removed .odi and .odc not supported anymore by soffice files.

* [issue-20346] - changes in review

* [issue-20346] --
2024-07-19 09:21:55 -04:00
Gustavo Trott
c6b9ab35ae
refactor: Remove old userStatus Emoji (#20717)
* Remove old userStatus Emoji

* tweak docs

* fix bkroom errors
2024-07-18 08:58:38 -04:00
Gustavo Trott
1683f4c3fe
refactor: Rename all customParameters references to userMetadata or userdata (#20692)
* Rename all customParameters references to userMetadata

* fix linter error

* Update docs/docs/development/api.md

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>

* Update bigbluebutton-html5/imports/ui/components/settings-loader/component.tsx

---------

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2024-07-16 13:40:49 -04:00
Gustavo Trott
25857dc509 Remove endpoint /enter of bbb-web 2024-07-11 11:14:46 -03:00
Gustavo Trott
a21dcb5818 Introduces /api/feedback endpoint (to replace Meteor /feedback) 2024-07-03 10:12:28 -03:00
schrd
64e43e4331
fix(core): 3.0 cluster setup (#20439)
* Add graphql API endpoint to BBB API

This parameter will be required for the HTML5 client to discover the API
endpoint of the GraphQL API so it can fetch its settings.

* Fix: ensure API calls are headed towards the BBB Server

In a cluster setup the URL that is visible in the browser is different
from the URL of the BBB Server.

The clients needs to contact the BBB server to retrieve information
about the graphQL websocket and the graphql API.

This patch adds the GraphQL API endpoint to the BBB API and changes the
Client to use it.

* Make GraphQL API endpoint configurable

The default value should work for single node and cluster setups

* Update docs to reflect changes required by cluster setup

* fix eslint and typescript errors

* Fix cluster setup docs

- add missing parts for hasura
- use consistent domain example.com

* rename variable

Co-authored-by: Gustavo Trott <gustavo@trott.com.br>

* rename variable

Co-authored-by: Gustavo Trott <gustavo@trott.com.br>

* rename variable

Co-authored-by: Gustavo Trott <gustavo@trott.com.br>

* Update bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/ApiController.groovy

Co-authored-by: Gustavo Trott <gustavo@trott.com.br>

* Update bigbluebutton-web/grails-app/conf/bigbluebutton.properties

Co-authored-by: Gustavo Trott <gustavo@trott.com.br>

---------

Co-authored-by: Daniel Schreiber <daniel.schreiber@hrz.tu-chemnitz.de>
Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
2024-06-17 14:26:13 -04:00
Gustavo Trott
31e9ca861c revert unused prop 2024-06-17 10:54:37 -03:00
Dennis Benz
c8e2d8b239 Resolve conflicts 2024-06-17 10:47:41 -03:00
Gustavo Trott
81d30480bd
feature: Introduces API /sendChatMessage endpoint (#20323)
* feature: Introduces API /sendChatMessage endpoint

* only allow GET requests for sendChatMessage

---------

Co-authored-by: Anton Georgiev <antobinary@users.noreply.github.com>
2024-06-06 15:49:52 -04:00
João Victor Nunes
5d3178f15d
refactor(guest-wait): turn guest wait page into a React component (#20344)
* refactor(guest-wait): turn guest wait page into a React component

* Fix rendering when the meeting is ended

* refactor(guest-wait): Backend portion for migration of `guest-wait` to Graphql

* Add message timeout

* Remove static guest wait page

---------

Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
2024-06-05 17:41:23 -03:00
Paul Trudel
e4708412a3 Remove unused imports and catch exceptions when parsing content type 2024-06-04 14:11:40 +00:00
Paul Trudel
f489198551 Use library for parsing content type string 2024-06-04 14:11:32 +00:00
Paul Trudel
f9a831aef1 Ingore case when comparing content type strings 2024-06-04 14:11:24 +00:00
Paul Trudel
bbae434a81 Allow additional values in content type header 2024-06-04 14:11:15 +00:00
Paul Trudel
d4eadabe7d Removed unused POST checksum validation code 2024-05-16 13:56:39 +00:00
Paul Trudel
7d2dcb0434 Remove support for join POST requests and fix checksum calculation for POST requests 2024-05-16 13:52:24 +00:00
Paul Trudel
e9f04ab263 Add support for text/xml to create and insertDocument 2024-05-16 13:42:42 +00:00
Paul Trudel
8e74e13930 Removed unused set of supported content types from validator 2024-05-16 13:42:21 +00:00
Paul Trudel
e8b4524744 Added servlet request back to the checksums 2024-05-16 13:42:09 +00:00
Paul Trudel
57b6f77632 Allow each request to define its own supported content types 2024-05-16 13:41:57 +00:00
Paul Trudel
1530067257 Changed content type validation error key and message 2024-05-16 13:33:41 +00:00
Paul Trudel
cb6653a227 Reject requests with a body but no Content-Type header 2024-05-16 13:33:27 +00:00
Paul
dd07deaff2 Removed support for application/json content 2024-05-16 13:33:10 +00:00
Paul
babdb5dd9a Added request content type validation 2024-05-16 13:32:46 +00:00
Paul
e329dbec1a Check for pressence of query and body 2024-05-16 13:28:49 +00:00
Gustavo Trott
23e8c110b2 Revert wrong removal 2024-05-14 22:25:22 -03:00
Gustavo Trott
429065b245 convet html tags to html entities for guest lobby messages 2024-05-14 11:25:10 -03:00
Gustavo Trott
ba5b44986f remove unsafe tags and add blank target to Welcome msgs 2024-05-14 10:19:30 -03:00
Gustavo Trott
7872712138 rename modOnlyMessage to welcomeMsgForModerators and delete welcomeMsgTemplate 2024-05-14 09:57:58 -03:00