Commit Graph

20 Commits

Author SHA1 Message Date
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
Gustavo Trott
30d24651c6
Merge pull request #21033 from gustavotrott/middleware-handle-userLeave
fix (gql-middleware): Prevents resending all subscriptions when a user leaves a meeting
2024-08-30 10:03:24 -03:00
Gustavo Trott
e1407149b9
refactor (build/gql-middleware): Introduce config as a yml file (#20992)
* Introduce Gql-Middleware config as a yml file

* use path /usr/share/bbb-graphql-middleware/ instead of /usr/local/bigbluebutton/bbb-graphql-middleware

* remove /etc/default/bbb-graphql-middleware file
2024-08-29 17:40:52 -04:00
Gustavo Trott
5f2b45c0e4 remove unnecessary logs 2024-08-28 16:34:28 -03:00
Gustavo Trott
24603b24bd avoid retransmitting subscriptions when user lost permission 2024-08-27 11:28:08 -03:00
Gustavo Trott
09cc37feef
refactor (gql-middleware): Code improvements and new Prometheus metrics (#20896) 2024-08-19 10:58:14 -03:00
Gustavo Trott
1e32ee794e several refactors 2024-08-08 16:50:41 -03:00
Gustavo Trott
d445713f5d Introduce Prometheus metrics to bbb-gql-middleware 2024-08-08 11:28:46 -03:00
Gustavo Trott
872cb7ceff fix bug when retransmitting streaming subscription 2024-07-08 14:17:08 -03:00
Gustavo Trott
3c71aab4bc
refactor (gql-middlware): Refactored code to simplify channel handling and remove unnecessary routines (#20640)
* Refactor gql-middleware channels and remove dedicated channel to establish init connection

* remove unnecessary routin to wait mutations to complete before invalidate Hasura connection
2024-07-05 13:35:08 -03:00
Gustavo Trott
fb7f0b45be
fix middleware logging bytes (#20624) 2024-07-02 15:35:15 -03:00
Gustavo Trott
3fadedda69
middleware: Better validation on check authorization (#20597) 2024-06-28 16:53:11 -03:00
Gustavo Trott
7350947839 fix wrong merging of uint32 2024-06-25 12:55:41 -03:00
Gustavo Trott
630ed89b48 remove comments 2024-06-25 10:31:10 -03:00
Gustavo Trott
ede7a2dd25 Bunch of improvements for messages parsing 2024-06-25 10:27:44 -03:00
Gustavo Trott
5fe51380e3
Introduces env var BBB_GRAPHQL_MIDDLEWARE_RAW_DATA_CACHE_STORAGE_MODE (#20429) 2024-06-06 13:54:40 -03:00
Gustavo Trott
1a33adaca4
Add env var BBB_GRAPHQL_MIDDLEWARE_DENIED_SUBSCRIPTIONS (#20428) 2024-06-06 13:49:58 -03:00
Gustavo Trott
fd3071c28a
Refactor (gql-middleware): Introduces clientSessionUUID and validations (error handling) (#20353) 2024-05-29 17:43:17 -03:00
Tainan Felipe
1aab2f5f29
Change: Change websocket lib to graphql-ws (#20282) 2024-05-22 15:51:12 -03:00
Gustavo Trott
4fc3b2419c Graphql-middleware itself will handle mutations and forward to Graphql-actions 2024-05-02 10:45:32 -03:00