Commit Graph

232 Commits

Author SHA1 Message Date
William Oldham
7455c84512 chore: move go files to copy so readonly fs isn't errored
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
2026-02-06 21:40:45 +00:00
William Oldham
e251b1ad2c fix: run go mod tidy 2026-02-06 21:34:04 +00:00
William Oldham
ee4139c515 fix: run go mod download to update go.sum 2026-02-06 21:30:00 +00:00
Jonathan Barrow
0fbebebed9
chore: bump Dockerfile 2026-02-04 13:24:56 -05:00
Jonathan Barrow
4931d548da
chore: update nex-go and grpc libraries 2026-02-04 13:21:58 -05:00
William Oldham
bba53eb3ef
Merge pull request #33 from PretendoNetwork/token-validation
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
feat: Implement token validation from common protocols
2025-07-03 00:15:22 +01:00
William Oldham
9af53b5a27 Merge remote-tracking branch 'origin/dev' into token-validation 2025-07-03 00:10:51 +01:00
mrjvs
405b944a9b
Update docker.yml
Some checks failed
Build and Publish Docker Image / Build and Publish Docker Image (amd64) (push) Has been cancelled
Build and Publish Docker Image / Build and Publish Docker Image (arm64) (push) Has been cancelled
2025-06-07 13:03:08 +02:00
Ash Logan
bfa8592627 fix(crypto): Disallow short tokens 2025-06-07 20:59:28 +10:00
Daniel López Guimaraes
66c6e6028a
feat: Implement token validation from common protocols
We have to do special handling for guest accounts, so the insecure
method is enabled on both TicketGranting and SecureConnection. Alongside
that, we override the RegisterEx function to do the additional
processing required by friends.
2025-04-17 20:44:56 +01:00
Jonathan Barrow
5560c1d7f2
chore: bump nex-go version
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-04-13 15:07:39 -04:00
Jonathan Barrow
af5c5f15c8
Merge pull request #10 from PretendoNetwork/nex-go-rewrite
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
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
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
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
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run
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
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
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