Commit Graph

58 Commits

Author SHA1 Message Date
mrjvs
8e12aac2eb feat: make GRPC server compatible with non-user callers 2025-09-04 00:48:49 +02:00
mrjvs
afd43177d6 fix: fix mistakes by assuming boss_app_id was a title_id 2025-09-03 20:33:20 +02:00
mrjvs
6998b64164 chore: remove usused code 2025-09-03 20:28:18 +02:00
mrjvs
49b45e7df8 fix: fix compile error 2025-09-03 20:09:34 +02:00
mrjvs
ba154c2d94 fix: implement full file xml entry 2025-09-03 20:08:03 +02:00
mrjvs
e41e2a9656 feat: implement specific file gathering 2025-09-03 20:01:29 +02:00
mrjvs
ff085aadf5 feat: use file hashes and title_id hashes for data retrieval 2025-09-03 19:57:38 +02:00
mrjvs
fa2b048015 feat: make SPR use the CDN for data 2025-09-03 19:37:35 +02:00
mrjvs
297ececced feat: make all boss services use database + cdn for datasource 2025-09-03 19:37:04 +02:00
mrjvs
64b33cb25f feat: add pino logger 2025-09-03 12:17:29 +02:00
mrjvs
de8d6f86ac feat: make domains configuable + remove express-subdomain 2025-09-03 11:59:21 +02:00
William Oldham
de5036f80a chore: update eslint-config
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-08-16 19:42:53 +01:00
Daniel López Guimaraes
bba6982748
fix(spr): Improve log comment for user not being a 3DS 2025-07-22 12:31:12 +01:00
Sorunome
f1a529e067
feat: Add better HTTP responses for SPR transactions and add logging 2025-07-20 22:29:24 +02:00
William Oldham
284948c1c4 fix: add better dicer error handling
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-11 23:36:21 +01:00
William Oldham
159297edc2 fix: handle dicer error 2025-06-11 23:22:38 +01:00
William Oldham
b7b9dd6cbd chore: upgrade to express 5 2025-06-11 23:09:39 +01:00
MiniBioOne
78e87da468 fix(spr): remove redundant if/else block
we can just use the STOPPED value for the PL
2025-03-25 08:57:07 +01:00
MiniBioOne
6489084385 feat(spr): Add server-side kill switch. 2025-03-19 15:26:21 +01:00
William Oldham
80111df09f fix: fix npdi for real - missed a slash!
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-01-09 21:14:25 +00:00
William Oldham
d56b9498ea fix: add __appRoot to fix bundler messing up __dirname for nested files 2025-01-09 21:06:21 +00:00
William Oldham
eb2585d33b Revert "refactor: remove authentication middleware - unneeded and caused eslint to complain"
This reverts commit ab0a6cc151.
2025-01-08 19:05:47 +00:00
William Oldham
9bebbe6e05 style: run new eslint config on EVERYTHING ELSE
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-01-08 16:30:37 +00:00
William Oldham
45d2be809c style: run new eslint on PR affected files 2025-01-08 16:30:27 +00:00
William Oldham
065f57cc26 fix: add getNEXDataByPID import to spr 2025-01-08 14:14:33 +00:00
William Oldham
ab0a6cc151 refactor: remove authentication middleware - unneeded and caused eslint to complain 2025-01-08 12:55:54 +00:00
William Oldham
aae243519d
Apply suggestions from code review
Co-authored-by: Jonathan Barrow <jonbarrow1998@gmail.com>
2025-01-08 09:11:38 +00:00
William Oldham
6f292b6321 Revert "fix: Correct typo in Content-Type header value" and add comment
This reverts commit 9fff2a4bf7.
2025-01-07 15:08:20 +00:00
William Oldham
9fff2a4bf7 fix: Correct typo in Content-Type header value 2025-01-07 14:56:55 +00:00
William Oldham
d77c15dac0 refactor: Use LOG_ERROR for error logging for timestamps 2025-01-07 14:26:42 +00:00
William Oldham
068a6358bd perf: Remove sync IO from npdi and npts 2025-01-07 13:44:27 +00:00
William Oldham
1fd43ce0f7 fix: Use Stream.pipeline for response stream to properly close s3 stream 2025-01-07 13:43:10 +00:00
Daniel López Guimaraes
5d2f11858e
fix(npdl): Add Last-Modified header on response
This allows Express to return `304 Not Modified` when the console
already has cached the requested BOSS file.
2024-05-04 20:46:31 +01:00
Daniel López Guimaraes
c74abb7ca3
bug-fix(spr): Address PR issues 2024-05-01 19:00:13 +01:00
Daniel López Guimaraes
5f83d7a655
feat: Introduce StreetPass Relays
StreetPass Relay allows 3DS users to exchange StreetPass data over the
Internet. This is handled through SpotPass, and no user interaction is
required.

Also reenable the user agent checks as it's needed to identify the user
using the PID present on it.
2024-04-27 00:03:32 +01:00
Jonathan Barrow
16a762b972
change standalone to headless in policylist generation 2023-11-17 17:31:48 -05:00
Jonathan Barrow
21e20396b6
remove XML declaration from policylist. Thanks 3DS, I hate you 2023-11-17 17:24:12 -05:00
Jonathan Barrow
ba6e89b87f
change 3DS policylist Level to HIGH 2023-11-17 17:20:00 -05:00
Jonathan Barrow
8f3b04a235
nppl: added 3DS policylist support 2023-11-17 11:06:54 -05:00
Jonathan Barrow
689ddaa1f1
added 3DS npdl service 2023-11-17 09:39:38 -05:00
Jonathan Barrow
f9c71e300d
added 3DS npfl service 2023-11-15 23:15:21 -05:00
Jonathan Barrow
8443380db3
grpc ListFiles now uses isValidCountryCode and isValidLanguage 2023-08-26 02:07:25 -04:00
Jonathan Barrow
4ecb833d35
Separate task ID and in-game ID 2023-08-26 02:05:31 -04:00
Jonathan Barrow
3583e3deac
Added several more BOSS apps to known list 2023-08-26 01:36:32 -04:00
Jonathan Barrow
bed0c87263
Wrong task ID length check 2023-08-25 22:37:43 -04:00
Jonathan Barrow
0c14391df8
Task IDs can be 8 characters, not 7 2023-08-25 22:35:33 -04:00
Jonathan Barrow
042ed74385
Forgot to remove local imports, oops 2023-08-25 21:27:14 -04:00
Jonathan Barrow
335439db7d
BOSS 2.0 - Full TS and microservice rewrite. Still pulls from local until admin panel updates 2023-08-25 21:11:44 -04:00
Jonathan Barrow
38739fef7e
Convert to TypeScript 2023-08-17 22:32:40 -04:00
Jonathan Barrow
830cc5d99e
file version is actually data ID 2022-09-03 18:56:11 -04:00