Commit Graph

21 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
1e32ee794e several refactors 2024-08-08 16:50:41 -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
3fadedda69
middleware: Better validation on check authorization (#20597) 2024-06-28 16:53:11 -03:00
Gustavo Trott
ede7a2dd25 Bunch of improvements for messages parsing 2024-06-25 10:27:44 -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
305628285a Fix an error while reading annotations 2024-03-27 12:52:26 -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
98ef42c32c
Freeze browser messages before closing Hasura connection (#19548) 2024-01-31 11:37:28 -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
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
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
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
Tiago Daniel Jacobs
61ccd2966e refactor: rename wsConnection to browserConnection 2023-04-26 22:45:19 -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