Daniel López Guimaraes
1a6b641543
Update with latest changes
2023-12-10 19:46:09 +00:00
Jonathan Barrow
1596eeea45
updated StationURL handling
2023-11-24 17:41:31 -05:00
Jonathan Barrow
90a71d2ca2
updated to new stream functions
2023-11-18 15:25:50 -05:00
Daniel López Guimaraes
7281dd5a52
Replace slices.Contains to Equals check
...
We can't use slices.Contains anymore since now we are comparing
pointers, and the check would always return false. Replace with using
the Equals function.
2023-11-17 19:22:08 +00:00
Jonathan Barrow
7acf46affe
Merge pull request #11 from imora7024/nex-go-rewrite
...
fixed comment typo in set_user_blocked.go
2023-11-16 16:29:15 -05:00
Jonathan Barrow
abb19ddf43
make 3DS friends display as online again
2023-11-16 16:24:06 -05:00
Imora
f123393866
fixed comment typo in set_user_blocked.go
2023-11-16 15:19:27 -06:00
Jonathan Barrow
6916dbb1c1
fixed database usage of new DateTime API
2023-11-16 00:01:37 -05:00
Jonathan Barrow
de11455a1b
use new PID, DateTime and method returns
2023-11-14 22:47:52 -05:00
Jonathan Barrow
cb82df0e20
use new PID type
2023-11-13 01:22:34 -05: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
Jonathan Barrow
1654f0b458
Merge pull request #9 from PretendoNetwork/dev
...
Merge dev to master
2023-10-13 16:21:14 -04:00
Jonathan Barrow
cc9b839d45
Merge pull request #8 from DaniElectra/friends-mii
...
Update FriendPersistentInfo on 3DS
2023-10-08 19:14:12 -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
Jonathan Barrow
73871a4537
remove database.PIDArrayToString in favor of pq.Array
2023-10-06 19:13:19 -04:00
Jonathan Barrow
b3feb8c7d6
Merge pull request #7 from DaniElectra/errors
...
Improve error handling and rename go project
2023-08-15 17:19:59 -04:00
Daniel López Guimaraes
502035dc74
Replace return empty lists with nil
2023-08-15 21:35:33 +01:00
Daniel López Guimaraes
77a1cc11aa
Add missing error handling (part 2)
2023-08-15 20:59:12 +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
84566dd6a8
Move GetUserDataByPID to utility
2023-08-14 13:17:48 +01: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
2d1e087fac
Replace stubs with NotImplemented
2023-08-13 23:28:44 +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
Jonathan Barrow
2c1cdba561
Merge pull request #6 from PretendoNetwork/new-style
...
Merge authentication server to make a singular codebase
2023-07-19 16:42:20 -04:00
SuperMarioDaBom
5a62bb2aa2
Fix typo (v1->v0)
2023-07-18 11:41:18 -07:00
SuperMarioDaBom
4108f4baad
Convert to modern result code handling
2023-07-18 11:41:01 -07:00
SuperMarioDaBom
1779a4c727
Add RegisterEx override, remove unneeded Register function
2023-07-18 11:40:36 -07:00
SuperMarioDaBom
c5a6b31d68
Remove unnecessary function call, fix typo
2023-07-18 11:34:54 -07:00
SuperMarioDaBom
2583592ab3
Enable insecure login
2023-07-18 11:33:18 -07:00
SuperMarioDaBom
4274963c20
Use sprintf for string concatenation
2023-07-17 18:37:58 -07:00
SuperMarioDaBom
7d80142f0f
Switch to new organization convention
2023-07-17 18:37:41 -07:00
SuperMarioDaBom
84db1463eb
Switch to newer function
2023-07-17 18:36:19 -07:00
SuperMarioDaBom
69cddb088d
Add error info to log
2023-07-17 18:36:01 -07:00
SuperMarioDaBom
db972eacc6
Adjust import names for consistency
2023-07-17 18:35:33 -07:00
SuperMarioDaBom
3d45d4b32e
Update init.go
...
Fix Kerberos password thing that I just noticed part 2
2023-07-17 12:32:48 -07:00
SuperMarioDaBom
4b7cbb3668
Update secure.go
...
Add version numbers
Fix Kerberos password thing that I just noticed
2023-07-17 12:16:20 -07:00
SuperMarioDaBom
ca71cb56f6
Update authentication.go
...
Set NEX version
2023-07-17 12:11:50 -07:00
Jonathan Barrow
6eedca01d5
Merge pull request #5 from PretendoNetwork/docker
2023-07-17 06:00:46 -04:00
SuperMarioDaBom
179a8221ba
Add missing gRPC initialization
2023-07-16 23:41:05 -07:00
SuperMarioDaBom
91816691de
Prevent execution from stopping when no .env file is present
2023-07-16 22:11:42 -07:00
SuperMarioDaBom
56f4381eb9
Dockerize
2023-07-16 21:25:43 -07:00
SuperMarioDaBom
a817a7ccd0
Merge authentication and secure servers
2023-07-16 21:20:04 -07:00
SuperMarioDaBom
1b43935ea6
Update to latest version of libraries
2023-07-16 21:19:30 -07:00
Jonathan Barrow
348f43de1c
Merge pull request #4 from PretendoNetwork/dev
...
Merge dev into master
2023-07-16 23:02:34 -04:00
Jonathan Barrow
9cd0783a99
Merge pull request #3 from DaniElectra/grpc-friends-3ds
2023-06-30 00:10:28 -04: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
4587a217f9
Added missing nil checks to ConnectedUsers and add missing users
2023-06-12 21:01:57 -04:00