Commit Graph

41 Commits

Author SHA1 Message Date
Jonathan Barrow
803ccf46b5
feat: update to latest libs 2026-01-16 16:24:28 -05:00
Daniel López Guimaraes
66c6e6028a
feat: Implement token validation from common protocols
We have to do special handling for guest accounts, so the insecure
method is enabled on both TicketGranting and SecureConnection. Alongside
that, we override the RegisterEx function to do the additional
processing required by friends.
2025-04-17 20:44:56 +01:00
Jonathan Barrow
5560c1d7f2
chore: bump nex-go version
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-04-13 15:07:39 -04:00
Jonathan Barrow
3561c89748
chore: update to latest protocol lib
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-02-16 13:06:06 -05:00
Jonathan Barrow
8432cfd6d5
feat: update to latest NEX libs 2025-02-15 23:31:32 -05:00
Jonathan Barrow
5541ed09fb
chore: bump module versions 2024-07-07 16:24:34 -04:00
Jonathan Barrow
b31ca89f9c
chore: update modules 2024-07-02 13:02:29 -04:00
Daniel López Guimaraes
f9071cbed3
feat: Update modules and new Mii database fields
Add Mii profanity flag and character set to the 3DS friends database.
This in theory allows better support of Mii names that use characters
exclusive to the following regions: CHN, KOR or TWN.

Also get the Mii changed timestamp from the database, and not use the
current time for it.

Update the go modules to get the latest stability updates and use the
new fields on the Mii structure.
2024-05-20 21:55:56 +01:00
Jonathan Barrow
915b52c88d
chore: migrate to SQL manager 2024-04-27 16:22:30 -04:00
Jonathan Barrow
f2cc882fb2
chore: update Go modules 2024-04-09 12:22:29 -04:00
Jonathan Barrow
4d299a3612
rewrite: Migrate to v2 libraries and small bug fixes 2024-04-08 08:53:39 -04:00
Jonathan Barrow
91b13c31a4
work with new nex-go 2023-11-12 06:48:13 -05:00
Jonathan Barrow
efe121a7a9
update Go modules 2023-10-13 18:26:06 -04:00
Daniel López Guimaraes
3f48ae8306
Update FriendPersistentInfo on 3DS
One of the DateTimes doesn't represent the date of the friendship, but
when the friend has updated their Mii.

I noticed this when playing with the friend servers researching
information about the data stored on the FRD sysmodule.

The friendship date is still stored internally, but it's not provided to
the user anymore.
2023-10-08 19:24:58 +01:00
Daniel López Guimaraes
06d89d8b77
Add missing error handling and update modules 2023-08-15 20:56:01 +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
1b43935ea6 Update to latest version of libraries 2023-07-16 21:19:30 -07:00
Jonathan Barrow
520c3a4f3a
Updated library versions 2023-06-12 15:17:21 -04:00
Jonathan Barrow
2b66b5c21a
Compiles on latest library versions 2023-06-10 20:14:19 -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
842d6f369a
Updated NEX library versions 2023-04-11 22:36:32 -04:00
Jonathan Barrow
c4fe5b5b47
Updated NEX library versions 2023-04-10 22:33:21 -04:00
Jonathan Barrow
5268390e35
Updated NEX library versions 2023-04-10 22:27:27 -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
light
e8c940e616 Update libraries 2023-04-06 22:10:40 -04:00
light
159fc4487c Update dependencies 2023-03-26 17:40:24 -04:00
Jonathan Barrow
7724b130ee
Updated to nex-protocols-go v1.0.13 2023-02-26 22:23:22 -05:00
light
8403c4bdc5 Update libraries and README 2023-02-23 21:02:20 -05:00
Jonathan Barrow
57a6607cd4
Updated go modules 2022-09-11 15:03:58 -04:00
Jonathan Barrow
ca54e576d5
Move from Cassandra to Postgres 2022-09-11 02:22:37 -04:00
Jonathan Barrow
bb5476ac0d
Updated go modules 2022-09-10 09:07:10 -04:00
Jonathan Barrow
1ce5efaea2
Updated go modules 2022-09-07 19:59:20 -04:00
Jonathan Barrow
42c757d7f4
Updated go modules 2022-09-04 23:03:31 -04:00
Jonathan Barrow
8ad33060c2
Updated dependencies 2022-08-30 19:44:31 -04:00
Jonathan Barrow
09ad6a9af5
Added base gRPC server 2022-08-28 01:17:32 -04:00
Jonathan Barrow
e5294155b3 Go module 2022-08-28 00:31:05 -04:00