Commit graph

20 commits

Author SHA1 Message Date
Jonathan Barrow
8432cfd6d5
feat: update to latest NEX libs 2025-02-15 23:31:32 -05:00
Jonathan Barrow
18e1a0fefa
chore: migrate ConnectedUser map to MutexMap 2024-04-09 12:21:50 -04:00
Jonathan Barrow
4d299a3612
rewrite: Migrate to v2 libraries and small bug fixes 2024-04-08 08:53:39 -04:00
Daniel López Guimaraes
b5d34d8db4
Update RMC method creation 2023-12-16 16:09:47 +00:00
Jonathan Barrow
de11455a1b
use new PID, DateTime and method returns 2023-11-14 22:47:52 -05:00
Jonathan Barrow
91b13c31a4
work with new nex-go 2023-11-12 06:48:13 -05:00
Daniel López Guimaraes
36b0b7f3fb
Add missing error handling on GRPC method 2023-08-13 23:30:12 +01:00
Daniel López Guimaraes
8d8a05a7e2
Add missing error handling
Now database getters do error handling aswell, and in case of any error,
the NEX or GRPC method throws a proper error about it.

There are still some doubts on how to handle errors when a list of data
is processed, so for now skip that element on the list and continue.

Also add some constant errors to do better error handling.
2023-08-13 23:19:34 +01:00
Daniel López Guimaraes
2f80336681
Rename friends-secure to friends and remove Mongo
Replace MongoDB usage with GRPC calls to the account server. Also
include documentation on the README and a Makefile.
2023-08-13 01:05:08 +01:00
Daniel López Guimaraes
3d5e78f532
Improve error handling
Now that we can return errors to nex-protocols-go and it will handle it,
we can improve how errors are being handled in friends.

There's probably room for improvement from this, since I haven't added
error handling on some database getters due to uncertainties on whether
the error should interrupt an action or not.
2023-08-12 23:53:21 +01:00
SuperMarioDaBom
4274963c20 Use sprintf for string concatenation 2023-07-17 18:37:58 -07:00
SuperMarioDaBom
a817a7ccd0 Merge authentication and secure servers 2023-07-16 21:20:04 -07:00
Daniel López Guimaraes
441e5c168f
Add 3DS friends to GetUserFriendPIDs gRPC method
Only add complete friendships to the friend list.
2023-06-28 18:35:50 +01:00
Jonathan Barrow
a1e82c92d3
Updated env var names 2023-05-01 15:16:39 -04:00
Jonathan Barrow
5d39218a86
Added DenyFriendRequest gRPC method 2023-04-18 11:49:18 -04:00
Jonathan Barrow
1a5edb7d3d
Added AcceptFriendRequest gRPC method 2023-04-11 22:55:43 -04:00
Jonathan Barrow
5cfa094633
Added GetUserFriendRequestsIncoming gRPC method 2023-04-11 22:50:18 -04:00
Jonathan Barrow
d9ab22204b
Added SendUserFriendRequest gRPC method 2023-04-11 22:36:46 -04:00
Jonathan Barrow
e14e5d4dc6
Added gRPC method to query friend PIDs 2023-04-10 22:00:48 -04:00
Jonathan Barrow
2cce4a7af4
Updated to latest NEX libs 2023-04-08 10:44:51 -04:00