Commit Graph

800 Commits

Author SHA1 Message Date
Gustavo Trott
25857dc509 Remove endpoint /enter of bbb-web 2024-07-11 11:14:46 -03:00
Gustavo Trott
2c2d595212 Big refactor on Graphql authentication 2024-07-10 18:30:01 -03:00
Gustavo Trott
a65da0712b validate if session exists 2024-07-03 10:32:05 -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
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
Anton Georgiev
c5015aceaf
fix: only allow POST for insertDocument in UrlMappings.groovy (#20431) 2024-06-06 12:10:14 -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
abeb140874 Restrict supported HTTP method types on endpoints 2024-05-16 13:52:43 +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
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
Anton Georgiev
58cdb75c45 refactor: remove html5InstanceId 2024-05-01 12:53:11 -04:00
Gustavo Trott
ef4773e9e6 Introduces learningDashboard-AccessToken through Graphql 2024-02-20 14:55:54 -03:00
Gustavo Trott
3e72e2d082
Introducing Session Persistence Post-Meeting (#19534)
* Add Session Cleanup Delay Configuration After Meeting End

* Makes 60minutes as default sessionsCleanupDelayInMinutes
2024-02-05 11:31:31 -03:00
Anton Georgiev
7c10f49f4a fix(sec): filter tags in presentation name 2024-01-19 15:42:38 -05:00
Gustavo Trott
462a8702d4
refactor(graphql-server): makes Graphql provide authToken (making /api/enter unnecessary) 2024-01-18 13:01:16 -03:00
Gustavo Trott
5779bc0410
Add a new config graphqlWebsocketUrl in bbb-web.properties (#19433) 2024-01-15 14:12:06 -03:00
Gustavo Trott
c04e6d19e0
refactor (graphql-server): Optimize Hasura Queries with Session Variables (#19347) 2024-01-09 08:31:12 -03:00
Tiago Jacobs
8e1b9b1331 Add redirect and excludeFromDashboard as parameters that can be specified by moderators on getJoinUrl 2023-11-28 14:07:01 -03:00
Tiago Jacobs
c86cc1bad2 Add more options to getJoinUrl API, allowing moderators to create join URL's for other users, and also pass userdata parameters. 2023-11-28 12:55:56 -03:00
Gustavo Trott
b710a3386d Apply encodeString() on the param 2023-11-21 13:40:25 -03:00
Gustavo Trott
d3c02cb0fd Support param enforceLayout on Api /getJoinUrl 2023-11-21 11:53:53 -03:00
Gustavo Trott
9532d68bad Add new JOIN param enforceLayout 2023-11-20 11:53:53 -03:00
Paul Trudel
b38641ecb5 fix (bbb-web): Null pointer exception when parent meeting does not exist 2023-11-16 09:44:55 -03:00
Gustavo Trott
6dc3dbb1fe
Merge pull request #19104 from gustavotrott/graphql-user-join-action
graphql: New User Flow for Joining Meetings via GraphQL
2023-11-15 09:16:02 -03:00
Gustavo Trott
7c0a1649d7
Merge pull request #19129 from Scroody/fix_isbreakout_api
fix: check for presence of parentMeetingID if isBreakout is true
2023-11-15 08:34:22 -03:00
Gustavo Trott
57aab3d049 Fix hasPresentationUrlInParameter 2023-11-14 13:21:33 -03:00
Jan Kessler
bd7d956ec9 fix: check for presence of parentMeetingID if isBreakout is true 2023-11-14 13:12:29 -03:00
Guilherme Pereira Leme
6af3d4fae0 feature (api): Add preUploadedPresentation param to API's /create via GET 2023-11-13 13:16:02 -03:00
Gustavo Trott
5f0a1aa339 Let user join the meeting using Graphql actions 2023-11-10 17:36:10 -03:00
Gustavo Trott
8f0ecf2d63 Insert presentation on UploadTokenReq 2023-11-01 11:38:19 -03:00
Guilherme Pereira Leme
4ef078ccf5
feature: Override client settings through API /create call (#18782)
* akka-with-client-configs

* [akka-with-client-configs] -  inserted client configs in akka

* [issue-18588-create-override] - WIP

* [akka-with-client-configs] - Remove unnecessary code

* [issue-18588] - test some thesis

* [akka-with-client-configs] - refactor to add jackson and immutable.Map

* [issue-18588-create-override] - new architecture for overriding client configs]

* [issue-18588-create-override] - implemented settings

* Refactor on clientSettingsOverride module and add allowOverrideClientSettingsOnCreateCall conf

---------

Co-authored-by: Gustavo Trott <gustavo@trott.com.br>
2023-10-10 21:00:20 -03:00
Gustavo Trott
524443c4c3 graphql: Apply hideViewerCursor and hideViewersAnnotation 2023-10-03 11:53:47 -03:00
Gustavo Trott
0771bf7c29 Update Go and Hasura versions 2023-07-18 15:03:37 -03:00
Gustavo Trott
5681e88c60 Merge 2.7 into Develop 2023-06-26 17:21:01 -03:00
Gustavo Trott
74c81e080b Provide presentation data through graphql 2023-06-26 09:46:54 -03:00
Anton Georgiev
a962a44c74 Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into june14merge 2023-06-14 10:07:54 -04:00
Anton Georgiev
b699a46802
Merge pull request #17975 from paultrudel/breakout-room-exception-fix
fix: Added check for parentMeetingId if isBreakout is true
2023-06-06 09:35:04 -04:00
Anton Georgiev
70b3220f41 Merge branch 'v2.7.x-release' of github.com:bigbluebutton/bigbluebutton into june5-27 2023-06-05 17:09:35 -04:00
Anton Georgiev
748c7a4a0b Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into june227 2023-06-02 09:45:34 -04:00
prlanzarin
4d1aa87a88 feat: only record media while meeting is being actively recorded
Only record media (microphone, webcams and screens) while meeting is
being actively recorded (ie an user has enabled recording in the
conference). If the conference's recording is paused, media capture will
stop as well (with appropriate recording events).

A bigbluebutton.properties/API#create parameter called
`recordFullDurationMedia` is added to control this behavior. The default
is false (only capture while recording is active). Setting it to `true`
enables the current (legacy) behavior: always capture media if the
meeting's `recorded` prop is true.
2023-05-31 16:36:11 -03:00
Gustavo Trott
51bdcededc Merge 2.7 into develop 2023-05-26 10:50:39 -03:00
Anton Georgiev
25af259d2d Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into merge-may-24 2023-05-24 17:23:00 -04:00
Paul Trudel
9840e6630f Added check for parentMeetingId if isBreakout is true 2023-05-23 19:34:34 +00:00
Paul Trudel
de58b4ceec Added condition to check if no passwords are provided 2023-05-17 18:35:05 +00:00
GuiLeme
1b26302745 [issue-17531] - merge upstream/v2.7.x-release 2023-05-16 15:30:15 -03:00
Anton Georgiev
510c94cfa7 Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into may16-merge 2023-05-16 13:35:47 -04:00
Gustavo Trott
e5f31e2f0b Add user customParameters to graphql 2023-05-15 17:21:36 -03:00
Gustavo Trott
6b28de2c9c This part seems to be outdated and not necessary since 61d7b18345 2023-05-15 11:46:44 -03:00