Commit Graph

93 Commits

Author SHA1 Message Date
Gustavo Trott
b14c643def
build(gql): Upgrade Hasura and refactor sh scripts (#20699) 2024-07-12 13:32:20 -04:00
Gustavo Trott
25bc81ea1b remove comments 2024-07-10 18:53:14 -03:00
Gustavo Trott
2c2d595212 Big refactor on Graphql authentication 2024-07-10 18:30:01 -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
134b207f94
refactor: Remove Hasura database-updates and move them to Gql-Actions (#20634) 2024-07-04 17:00:06 -03:00
Gustavo Trott
fb7f0b45be
fix middleware logging bytes (#20624) 2024-07-02 15:35:15 -03:00
Gustavo Trott
ccbbfa91d1
fix wrong trace log (#20615) 2024-06-30 21:26:02 -03:00
Gustavo Trott
f5c9650f24
refactor: Add TRACE logs for graphql-actions (#20614) 2024-06-30 15:34:22 -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
6fdf95bda9 Avoid msg GraphqlConnectionClosed when unnecessary 2024-06-19 16:41:15 -03:00
snyk-bot
c979c0387b
fix: bbb-graphql-middleware/demo/client/package.json & bbb-graphql-middleware/demo/client/package-lock.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-WS-7266574
2024-06-18 04:47:11 +00:00
Gustavo Trott
656e29e7eb
Refactor middleware to get user info from akka-apps api (#20491) 2024-06-14 13:43:05 -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
a70aab091f
Fix wait group once now only two routines are created 2024-06-03 16:02:28 -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
b88854835c
Handling Validations and Error Reporting in bbb-graphql-actions (was in Hasura) (#20308) 2024-05-21 16:11:17 -03:00
Gustavo Trott
a0dc3d7bd1 fix: send msg along with the return of mutations 2024-05-07 08:32:26 -03:00
Gustavo Trott
d3d12c7bf1 Move building files to /build/... directory 2024-05-03 15:56:37 -03:00
Gustavo Trott
1d808f9c7b Set cache endpoint to graphql-middleware nginx file 2024-05-03 14:42:54 -03:00
Gustavo Trott
afccd6af32 improve code 2024-05-02 11:06:37 -03:00
Gustavo Trott
4fc3b2419c Graphql-middleware itself will handle mutations and forward to Graphql-actions 2024-05-02 10:45:32 -03:00
Gustavo Trott
e505978017
refactor (graphql-middleware): Significantly reduces the size of the Json Patch (#19974) 2024-04-09 14:37:57 -03:00
Gustavo Trott
43ca140b89
Add option for graphql-middleware to restrict subscriptions (for tests purpose) (#19969) 2024-04-08 14:15:15 -03:00
Gustavo Trott
551e452a49
graphql-middleware: Implements a cache-system for JsonPatch (#19964) 2024-04-06 11:43:36 -03:00
Gustavo Trott
0d0778c82c Fix wrongs logs in middleware activities overview 2024-04-03 12:26:16 -03:00
Gustavo Trott
1df56b6331 Add condition ActivitiesOverviewEnabled 2024-04-02 10:07:44 -03:00
Gustavo Trott
2e06573cb4 Remove unused code 2024-04-02 10:05:30 -03:00
Gustavo Trott
c072d39c0f Disable activities overview logs by default 2024-04-02 10:04:38 -03:00
Gustavo Trott
552fc312b0 Track data received for each subscription 2024-03-31 21:00:28 -03:00
Gustavo Trott
775ff31882 Improve logs and add BBB_GRAPHQL_MIDDLEWARE_JSON_PATCH_DISABLED env var 2024-03-28 17:17:13 -03:00
Gustavo Trott
9432f339bc Remove fatal error 2024-03-28 11:46:07 -03:00
Gustavo Trott
f41e54946f Remove test log 2024-03-28 11:30:03 -03:00
Gustavo Trott
612b40234b Add periodic activities overview log for Middleware 2024-03-28 11:26:56 -03:00
Gustavo Trott
6fca6c26eb Increase read size to 10mb 2024-03-27 15:29:38 -03:00
Gustavo Trott
305628285a Fix an error while reading annotations 2024-03-27 12:52:26 -03:00
Gustavo Trott
3ff04e3dc2 General improvements to Middleware to avoid Panic error 2024-03-18 11:28:11 -03:00
Gustavo Trott
18c6341e0e Implement enhanced Custom Rate Limiter 2024-03-18 11:26:44 -03:00
Anton Georgiev
ef300cf28e
chore: Fix typo (found by typos) (port) #19834
Co-authored-by: Stefan Weil <sw@weilnetz.de>
2024-03-18 09:58:53 -04:00
Gustavo Trott
d1e2df74f0
Improve recconection flow (#19788) 2024-03-13 10:35:51 -03:00
Gustavo Trott
1d93a1258e
refactor (graphql-middleware): Improve performance when browser finish graphql connection (#19784)
* Improve script run-dev.sh

* Improve performance when browser finish ws connection
2024-03-12 20:12:55 -03:00
Gustavo Trott
5518dff623
Introduces Rate Limit for graphql connections (#19749) 2024-03-06 14:16:09 -03:00
Gustavo Trott
270c1deaa3 Remove limit for the number of open files for graphql-middleware 2024-02-22 16:42:43 -03:00
Gustavo Trott
e4320e9f56
Introduces a ping-pong mechanism designed to verify the availability of a middleware service (#19623)
* Implements a ping-pong system to check gql-middleware-activity

* Improve clean code
2024-02-14 13:28:19 -03:00
Gustavo Trott
5d8dffe1e8
graphql-middleware: Set listen Ip configurable and default 127.0.0.1 (#19619) 2024-02-13 14:12:11 -03:00