Commit graph

18 commits

Author SHA1 Message Date
Jonathan Barrow
8432cfd6d5
feat: update to latest NEX libs 2025-02-15 23:31:32 -05:00
Daniel López Guimaraes
120776e197
fix: Better initialization of NEX server accounts
Initializing the server accounts in their own thread (e.g. the
authentication and secure servers) can cause a race condition where the
secure account hasn't been set up yet when authentication configures
`ticket-granting`, causing sometimes crashes on startup.

This has happened on production causing unnecesary restarts. To fix
this, initialize the accounts on the `init` function to ensure they will
always be accessible when needed.
2024-10-29 23:01:59 +00: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
18e1a0fefa
chore: migrate ConnectedUser map to MutexMap 2024-04-09 12:21:50 -04:00
Jonathan Barrow
d6fdde6161
chore: add guest account 2024-04-08 16:23:06 -04:00
Jonathan Barrow
491b475a9c
chore: remove debug logging 2024-04-08 16:09:43 -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
e3da081f52
Update with latest changes 2023-12-14 23:25:28 +00:00
Daniel López Guimaraes
1a6b641543
Update with latest changes 2023-12-10 19:46:09 +00: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
Daniel López Guimaraes
06d89d8b77
Add missing error handling and update modules 2023-08-15 20:56:01 +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
SuperMarioDaBom
c5a6b31d68 Remove unnecessary function call, fix typo 2023-07-18 11:34:54 -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
4b7cbb3668
Update secure.go
Add version numbers
Fix Kerberos password thing that I just noticed
2023-07-17 12:16:20 -07:00
SuperMarioDaBom
a817a7ccd0 Merge authentication and secure servers 2023-07-16 21:20:04 -07:00
Renamed from nex/server.go (Browse further)