Commit Graph

86 Commits

Author SHA1 Message Date
Gustavo Trott
d7f92f918c Fix a bug when user get Presenter 2024-01-31 19:20:57 -03:00
Gustavo Trott
98ef42c32c
Freeze browser messages before closing Hasura connection (#19548) 2024-01-31 11:37:28 -03:00
Gustavo Trott
26f6c01678
refactor (graphql-middlware): Maintain Hasura Connection During Active Mutations (#19535) 2024-01-29 18:40:17 -03:00
Gustavo Trott
3be1f84e97
Revert "Prevent graphql-middlware from re-transmitting Mutations" 2024-01-26 14:42:35 -03:00
Gustavo Trott
05ddcb659d Prevent middlware from retransmiting Mutations 2024-01-25 18:50:21 -03:00
Gustavo Trott
fab48cc1b6
Fix Graphql error start received before the connection is initialised (#19497) 2024-01-23 20:20:16 -03:00
Gustavo Trott
6d12508f41
feature (graphql-middlware): Enhancing GraphQL Stream Subscriptions: Efficient Handling of Connection Resets and Cursor Management (#19481) 2024-01-23 15:28:32 -03:00
Gustavo Trott
095085310d
refactor: Graphql middleware enhancements (#19336)
* Convert all go chan to SafeChannel

* Remove unnecessary comments

* Refactor graphql message names

* Fix renamed function
2023-12-14 14:01:47 -03:00
Gustavo Trott
c7c5ab0449 Add nginx rules for Hasura REST api 2023-12-13 15:19:17 -03:00
Gustavo Trott
8ad5e738a4
Make middleware more configurable (#19250) 2023-11-30 08:58:37 -03:00
Daniel Schreiber
d2a28a6130 Fix: support cluster proxy setup for graphql API
The websocket connection to the graphql API needs to go directly to the
BBB server (bbb-html5) and it the middleware needs to accept requests
with a different origin.
2023-11-28 15:27:55 +01:00
Gustavo Trott
c2350774d7 Upgrade websocket lib in graphql-middleware 2023-11-06 15:33:01 -03:00
Gustavo Trott
de514dcb75
Add new shell scripts useful for development (#18905)
* Create run-dev.sh and deploy.sh for more applications

* Remove wrong line
2023-10-06 15:12:16 -03:00
Gustavo Trott
a2e2d0516c
fix (graphql-middleware): Client can't send new graphql queries after a while (#18895)
* fix: client errors with graphql

* Use NewSafeChannel to handle msgs from browser
2023-10-04 17:11:12 -03:00
Gustavo Trott
524443c4c3 graphql: Apply hideViewerCursor and hideViewersAnnotation 2023-10-03 11:53:47 -03:00
Gustavo Trott
4e2a00a64d
refactor (graphql-middlware): Improve logs of graphql-middleware (#18874) 2023-09-29 20:07:07 -03:00
Gustavo Trott
09f3e6fae4
graphql-server: Insert client graphql connections into the database (#18875) 2023-09-29 20:05:23 -03:00
Gustavo Trott
047eccdd92
Reduce graphql-middleware and graphql-server logs (#18738) 2023-09-07 11:54:27 -03:00
Anton Georgiev
0e3269ed18
Merge pull request #18333 from antobinary/graphql-build
build: Packaging for bbb-graphql-middleware and steps towards having BBB 2.8 run on Ubuntu 22.04
2023-07-21 14:47:10 -04:00
Gustavo Trott
0771bf7c29 Update Go and Hasura versions 2023-07-18 15:03:37 -03:00
Anton Georgiev
ee0fd0e6a2 Merge remote-tracking branch 'bbb/develop' into rename-interactions 2023-07-18 11:43:49 -04:00
Gustavo Trott
ecb9fa521f Upgrade graphql-middleware to run using Go 1.20.5 2023-07-18 09:16:31 -03:00
Anton Georgiev
e297e5caec local build.sh was taking precedence over packaging build.sh 2023-07-18 05:30:02 -04:00
Gustavo Trott
8fde225ade
refactor (graphql-middleware): Use RWMutex to improve performance (#18281)
* Migrate Mutex to RWMutex to increase performance
2023-07-06 09:34:48 -03:00
Gustavo Trott
f7663bc62d Fix to handle concurrency and throw error on invalid gql format 2023-05-25 17:08:04 -03:00
Gustavo Trott
b1cd7fca1d Improvement to handle with concurrence 2023-05-25 10:15:02 -03:00
Gustavo Trott
fd3845515d graphql-middleware support enable json-patch per subscription 2023-05-24 19:31:31 -03:00
Gustavo Trott
4c4e5c0852 Introduces json-patch to graphql-middleware 2023-05-10 19:08:24 -03:00
Tiago Jacobs
4644700dd9
fix: add nil check on hasura connection (#17757) 2023-04-27 18:30:36 -03:00
Gustavo Trott
2d4b85f245
Update .gitignore 2023-04-27 13:44:45 -03:00
Gustavo Trott
3d9f7f07b3 Script to install bbb-graphql-middleware 2023-04-27 13:38:44 -03:00
Gustavo Trott
512f1022a8
Delete LICENSE 2023-04-27 09:23:49 -03:00
Tiago Daniel Jacobs
61ccd2966e refactor: rename wsConnection to browserConnection 2023-04-26 22:45:19 -03:00
Tiago Daniel Jacobs
4a32e0a1d4 fix: ensure we don't parse unnecessary redis messages 2023-04-26 22:38:16 -03:00
Tiago Daniel Jacobs
fa5337c463 fix: wait before closing channels 2023-04-26 22:26:55 -03:00
Tiago Daniel Jacobs
1b9903b924 feat: graphql middleware 2023-04-26 22:03:40 -03:00