Commit Graph

39 Commits

Author SHA1 Message Date
Gustavo Trott
394f01bf9f resolve conflicts 2024-09-24 10:07:46 -03:00
João Victor Nunes
c380378088
fix(connection): tweak shouldRetry handler logging (#21070)
* fix(connection): tweak shouldRetry handler logging

* fix: Add extraInfo payloads
2024-09-23 19:26:49 -04: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
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
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
Tainan Felipe
d6ff19a6b8
Fix devtools in prod (#21043)
* Add: global env variable

* Fix: disable apollo dev tools in production
2024-08-28 14:47:57 -03:00
Gustavo Trott
8e70891083 Implements max of Graphql connections (global and per user) 2024-08-06 15:07:52 -03:00
João Victor
433a4a2e04 refactor(html5): centralize /bigbluebutton/api requests 2024-07-19 11:27:48 -03:00
João Victor Nunes
1b99e08da7
refactor: remove /clientStartupSettings request (#20700)
* Remove clientStartSettings request

* Remove StartupDataFetch component

* Fix client logger
2024-07-16 10:40:13 -03:00
André Möller
dd5974d069 Fix: Loading steps not being accurately represented 2024-07-12 14:45:30 -03:00
Gustavo Trott
2c2d595212 Big refactor on Graphql authentication 2024-07-10 18:30:01 -03:00
Tainan Felipe
0e7fe3c688
Change: improve client connection status (#20630) 2024-07-04 17:26:09 -03:00
Ramón Souza
7458eacaf3
Merge pull request #20530 from JoVictorNunes/remove-meteor-session-usage
refactor: remove Session usage
2024-06-24 09:36:25 -03:00
Tainan Felipe
cdbed56d21
Fix: cache notification and connection close (#20554) 2024-06-21 11:11:29 -03:00
Tainan Felipe
ac07c465b1
fix: improve connection status to work when network is down (#20519)
* fix: improve connection status to work when network is down
2024-06-20 13:04:33 -04:00
João Victor
1f6ae09ad9 refactor: remove Session usage 2024-06-18 15:59:12 -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
Tainan Felipe
c2364641d3
refactor: connection status for graphql connection (#20196)
* Add: connection status for graphql connection
2024-06-10 16:20:41 -04:00
João Victor Nunes
06500be757
refactor(storage): replace Tracker.Dependency with observer hook (#20322)
* refactor(storage): replace Tracker.Dependency with observer hook

* fix(storage): set initial value

* refactor(storage): stop using Meteor's Session singleton
2024-06-06 10:50:03 -03: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
Gustavo Trott
fd3071c28a
Refactor (gql-middleware): Introduces clientSessionUUID and validations (error handling) (#20353) 2024-05-29 17:43:17 -03:00
Gustavo Trott
d2cf4f0439
Temporary log to help debugging an error 2024-05-28 08:27:52 -03:00
Tainan Felipe
1aab2f5f29
Change: Change websocket lib to graphql-ws (#20282) 2024-05-22 15:51:12 -03:00
Gustavo Trott
ea82508b5d introduces a nginx cache for /api/rest/(clientStartupSettings|clientSettings) 2024-05-03 10:27:26 -03:00
Tainan Felipe
b6f893c3c3 Fix: audio still playing when user left the meeting 2024-05-01 12:15:11 -03:00
João Victor
1f8a95a3ff Remove video-streams subscription 2024-04-24 17:09:00 -03:00
Tainan Felipe
f5fdc915cf Remove: presentation upload token subscription 2024-04-23 16:51:08 -03:00
Ramón Souza
d8e4d17774
Merge pull request #19904 from Tainan404/fix-failed-settings
Fix: failed settings fetch
2024-04-03 09:47:45 -03:00
Tainan Felipe
a716d6e93e Remove redundancy 2024-04-03 09:00:41 -03:00
João Victor Nunes
0b1249b62e
fix: limit mutation payloads to 10MB by default (#19945) 2024-04-02 13:31:43 -03:00
Tainan Felipe
1afbc70804 Fix: failed settings fetch 2024-03-26 14:02:38 -03:00
Tainan Felipe
f3465827dd
Migrate meeting collection to graphql (#19853) 2024-03-26 08:57:28 -03:00
Ramón Souza
788cf799f7
refactor: make bbb client work without meteor service (partial) (#19869) 2024-03-21 16:41:32 -03:00
Anton Georgiev
2041d1c4d9
Merge pull request #19796 from Tainan404/fix-invalid-session
Fix: loading client with invalid session token
2024-03-19 11:33:03 -04:00
Gustavo Trott
a96715d31b Make client wait 30 seconds before retry to establish Graphql connection 2024-03-18 11:27:51 -03:00
Tainan Felipe
1b984d08c8 Change: error code 2024-03-14 10:38:56 -03:00
Tainan Felipe
3aab650556 Fix: lint errors 2024-03-14 10:20:45 -03:00
Tainan Felipe
16667ecf0c Fix: loading client with invalid session token 2024-03-14 10:07:58 -03:00
André Castro
58a0efe708
Migrate auth and settings to graphQL (#19507) 2024-03-06 14:28:18 -03:00