Commit Graph

27 Commits

Author SHA1 Message Date
Jonathan Barrow
01ee8a37d7
chore: update to account v2 grpc properly 2026-01-21 17:24:30 -05:00
Jonathan Barrow
634be56091
chore: use grpc.NewClient instead of deprecated grpc.Dial 2026-01-20 20:35:03 -05:00
Jonathan Barrow
597430b2dd
fix: set correct requiresTokenAuth values for NewAccount 2026-01-20 20:34:14 -05:00
Jonathan Barrow
5b380a7f2d
chore: AccountGRPCAPIKEY -> AccountGRPCAPIKey 2026-01-20 20:33:45 -05:00
Jonathan Barrow
2c79a1228d
feat: update config parsing and env var names 2026-01-16 17:09:20 -05:00
Jonathan Barrow
803ccf46b5
feat: update to latest libs 2026-01-16 16:24:28 -05:00
Jonathan Barrow
95b3843bee
feat: randomize kerberos password at boot
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run
2025-02-15 23:39:06 -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
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
4d299a3612
rewrite: Migrate to v2 libraries and small bug fixes 2024-04-08 08:53:39 -04: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
69cddb088d Add error info to log 2023-07-17 18:36:01 -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
179a8221ba Add missing gRPC initialization 2023-07-16 23:41:05 -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
Jonathan Barrow
ca54e576d5
Move from Cassandra to Postgres 2022-09-11 02:22:37 -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
Jonathan Barrow
06ec0f9b71
Added better logging 2022-09-07 20:00:07 -04:00
Jonathan Barrow
bf3e38ec49 new token format 2021-11-28 11:02:22 -05:00
Jonathan Barrow
d7b42d8b02 Added AcceptFriendRequest 2021-10-30 17:59:26 -04:00
Jonathan Barrow
ee3466c822 Started added presence tracking 2021-10-30 17:09:33 -04:00
Jonathan Barrow
5bbf1653ba Added AddFriendRequest method 2021-10-30 00:08:24 -04:00
Jonathan Barrow
51f1032c41 Added GetBasicInfo 2021-10-24 21:09:22 -04:00
Jonathan Barrow
1a21b18c44 Friends app (WiiU) boots 2021-08-22 18:40:49 -04:00
Jonathan Barrow
a63330c6e3 WIP First commit
Server is still very much a WIP. At the moment it uses hard-coded data for the friends list and comment message. Users are pulled from a mongo server and are created with the new account server
2020-02-16 20:40:20 -05:00