Commit graph

14 commits

Author SHA1 Message Date
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
Jonathan Barrow
915b52c88d
chore: migrate to SQL manager 2024-04-27 16:22:30 -04: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
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
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
a817a7ccd0 Merge authentication and secure servers 2023-07-16 21:20:04 -07:00
Jonathan Barrow
5880ba8f4a
Updated to new token format 2023-05-01 15:17:12 -04:00
Jonathan Barrow
2cce4a7af4
Updated to latest NEX libs 2023-04-08 10:44:51 -04:00
light
7af3bdec01 Switch to platform globals from int 2023-02-24 01:15:10 -05:00
Jonathan Barrow
ca54e576d5
Move from Cassandra to Postgres 2022-09-11 02:22:37 -04:00
Jonathan Barrow
8b1f750825
Moved Wii U/3DS method handlers into packages 2022-09-10 09:39:07 -04:00
Jonathan Barrow
5b5d9db244
Split database.go into own functions, made database package, made globals package 2022-09-10 09:03:37 -04:00