242 Commits

Author SHA1 Message Date
mrjvs
d079c77ff0 Merge pull request #38 from PretendoNetwork/dev
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
Release
2026-01-27 22:26:28 +01:00
mrjvs
f994194681 Merge pull request #37 from PretendoNetwork/feat/basic-health-check
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
Update libraries and add basic health check
2026-01-27 22:24:51 +01:00
Jonathan Barrow
6b70800444 fix: check initialisms list in capitalizeWord before checking if word ends with "S" 2026-01-26 14:27:50 -05:00
Jonathan Barrow
0ee8d52fe1 fix: initialize globals.Config 2026-01-26 13:52:50 -05:00
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
f22ec1bfe0 chore: bump Dockerfile image versions
took these values from the Splatoon server
2026-01-16 17:24:07 -05:00
Jonathan Barrow
2c79a1228d feat: update config parsing and env var names 2026-01-16 17:09:20 -05:00
Jonathan Barrow
6fee83c989 feat: add basic health check server 2026-01-16 16:42:53 -05:00
Jonathan Barrow
803ccf46b5 feat: update to latest libs 2026-01-16 16:24:28 -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
b44feb2ae0 Merge pull request #31 from PretendoNetwork/dev
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
Merge dev to master
2025-02-16 19:42:32 -05: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