Jonathan Barrow
b44feb2ae0
Merge pull request #31 from PretendoNetwork/dev
...
Merge dev to master
2025-02-16 19:42:32 -05:00
Jonathan Barrow
af5c5f15c8
Merge pull request #10 from PretendoNetwork/nex-go-rewrite
...
Update to v2 libraries and small bug fixes and refactors
2025-02-16 19:17:11 -05:00
Jonathan Barrow
3561c89748
chore: update to latest protocol lib
2025-02-16 13:06:06 -05:00
Jonathan Barrow
887ec971b5
chore: update Dockerfile build image
2025-02-16 11:47:09 -05:00
Jonathan Barrow
95b3843bee
feat: randomize kerberos password at boot
2025-02-15 23:39:06 -05:00
Jonathan Barrow
8432cfd6d5
feat: update to latest NEX libs
2025-02-15 23:31:32 -05:00
Jonathan Barrow
3377ef25ea
Merge pull request #29 from DaniElectra/nex-accounts
2024-11-06 12:23:39 -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
87db0af44b
Merge pull request #26 from mrjvs/patch-2
2024-07-28 16:55:28 -04:00
mrjvs
00a5919e36
Update docker.yml
2024-07-28 22:46:56 +02:00
mrjvs
0378121795
Update docker.yml
2024-07-28 22:37:50 +02:00
Jonathan Barrow
60a6675c62
Merge pull request #25 from mrjvs/patch-1
2024-07-28 16:30:18 -04:00
mrjvs
87de44f30a
Update docker.yml
2024-07-28 21:19:10 +02:00
Jonathan Barrow
5541ed09fb
chore: bump module versions
2024-07-07 16:24:34 -04:00
Jonathan Barrow
8285002fd8
chore: bump nex-go version
2024-07-05 13:12:37 -04:00
Jonathan Barrow
b31ca89f9c
chore: update modules
2024-07-02 13:02:29 -04:00
Jonathan Barrow
6644f994e4
Merge pull request #22 from wolfendale/fix-queries
2024-07-02 12:26:44 -04:00
Jonathan Barrow
a383676954
Merge pull request #23 from MatthewL246/docker-updates
2024-07-01 16:42:23 -04:00
Matthew Lopez
4f0c4e74c9
chore: mkdir and chown on one layer
2024-07-01 15:32:47 -04:00
Matthew Lopez
d5395eb9d1
chore: separate app_dir and build_string arguments for readability
2024-07-01 15:32:24 -04:00
Matthew Lopez
dd3c236880
feat: create Docker build and publish action
2024-06-27 11:00:49 -04:00
Matthew Lopez
531d9f8ed5
chore: update Docker setup
2024-06-24 21:39:34 -04:00
Michael Wolfendale
71f47f9ffc
fix: remove n+1 queries
2024-06-24 18:30:25 +01:00
Jonathan Barrow
ee46ec47e5
Merge pull request #20 from DaniElectra/update-mii-fix
2024-05-21 11:34:20 -04:00
Daniel López Guimaraes
b77dd1b392
fix(database/3ds): Fix INSERT query for UpdateUserMii
...
Although the UPDATE section of the query was updated properly, the
INSERT ection was unmodified, which causes type conflicts when trying to
update the user's Mii. Update the INSERT query properly.
2024-05-21 15:44:35 +01:00
Jonathan Barrow
7b6224e80e
fix: initialize ConnectedUser presence data
2024-05-20 17:16:12 -04:00
Jonathan Barrow
d5f7bb67b4
Merge pull request #19 from DaniElectra/mii-character-set
2024-05-20 17:12:39 -04:00
Jonathan Barrow
0b57926bba
Merge pull request #18 from DaniElectra/friendship-3ds
2024-05-20 17:10:24 -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
Daniel López Guimaraes
ab80949173
fix(3ds): Send friendship notification to proper target
...
The sender PID of the notification was being set to the target PID,
instead of the sender PID. Use correct PID and remove redundant target
PID argument.
Also fix minor accuracy issues.
2024-05-20 21:48:10 +01:00
Jonathan Barrow
7bc3dbf4f1
fix: use Copy() on presence data to get around race condition
2024-05-16 07:43:26 -04:00
Jonathan Barrow
c1e06be4d5
Merge pull request #17 from DaniElectra/norows-fix
2024-05-15 18:42:29 -04:00
Daniel López Guimaraes
116b5c7df5
fix(database): Proper checks on QueryRow for sql.ErrNoRows
2024-05-15 23:02:28 +01:00
Jonathan Barrow
9855dea445
refactor(wiiu): dont track NNAInfo in user state, use the DB
2024-05-12 15:56:24 -04:00
Jonathan Barrow
915b52c88d
chore: migrate to SQL manager
2024-04-27 16:22:30 -04:00
Jonathan Barrow
e54e6b92b1
Merge pull request #15 from DaniElectra/database-defaults
2024-04-22 16:38:44 -04:00
Daniel López Guimaraes
a662ca1961
database/3ds: Remove old comment
2024-04-20 13:51:00 +01:00
Daniel López Guimaraes
f4a4b2830b
database: Update database defaults and add country
...
This prevents errors when scanning the fields on the database
2024-04-20 13:44:44 +01:00
Daniel López Guimaraes
7aef2f1750
notifications/3ds: Send events to the target user
2024-04-20 13:43:13 +01:00
Jonathan Barrow
e2a630d1a7
wiiu: add nil check in SendPresenceUpdate
2024-04-09 14:30:47 -04:00
Jonathan Barrow
af603f2295
fix: close rows when existing database functions
2024-04-09 14:28:04 -04:00
Jonathan Barrow
9e5a02d286
wiiu: fix nil connectedUser not being updated
2024-04-09 12:45:11 -04:00
Jonathan Barrow
f2cc882fb2
chore: update Go modules
2024-04-09 12:22:29 -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
491b475a9c
chore: remove debug logging
2024-04-08 16:09:43 -04:00
Jonathan Barrow
50325cf7c2
3ds: temp revert error check in GetFriendPersistentInfos
2024-04-08 15:55:00 -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
b5d34d8db4
Update RMC method creation
2023-12-16 16:09:47 +00:00
Daniel López Guimaraes
e3da081f52
Update with latest changes
2023-12-14 23:25:28 +00:00