Commit Graph

63 Commits

Author SHA1 Message Date
mrjvs
64b33cb25f feat: add pino logger 2025-09-03 12:17:29 +02:00
mrjvs
8ea0fe7c49 chore: remove types for express-subdomain 2025-09-03 12:00:16 +02:00
mrjvs
de8d6f86ac feat: make domains configuable + remove express-subdomain 2025-09-03 11:59:21 +02:00
mrjvs
ddde3ab04e chore: remove unused config fields + make use of type inference + make domains configurable 2025-09-03 11:58:44 +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
Jonathan Barrow
550e96c4e7
Merge pull request #19 from MiniBioOne/feature/disable-spr
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
feat(spr): Add server-side kill switch.
2025-03-29 17:36:04 -04: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
William Oldham
837cccd04f fix: add databases indexes so things aren't slow™️
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-03-24 20:16:57 +00: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
69609c37ff fix: Add properly padded timestamp to logger with date added 2025-01-07 14:55:30 +00:00
William Oldham
d77c15dac0 refactor: Use LOG_ERROR for error logging for timestamps 2025-01-07 14:26:42 +00:00
William Oldham
c3c1dd297e refactor: Update logger to use console.error for error logging 2025-01-07 14:26:26 +00:00
William Oldham
9971f8f4be fix: Only response if not sentHeaders and log error message 2025-01-07 14:10:50 +00:00
William Oldham
956852f6bb chore: Add lint:fix script and fix auto-fixable linting issues 2025-01-07 13:45:03 +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
William Oldham
96d2ccf8a8 chore: Add @smithy/types for correct type for s3 client 2025-01-07 13:42:26 +00:00
Matthew Lopez
7f626abd7b
chore: allow server to start without BOSS keys
These keys are not required for serving BOSS content, only for uploading and encrypting new files.
2024-07-02 14:45:53 -04:00
Matthew Lopez
e598224c6c
fix: exit server on SIGTERM 2024-07-02 14:39:40 -04: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
ac48dc3949
disable WiiU UA checks. Cemu does not send UA 2023-11-17 09:42:55 -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
c98fc03ccf
temp disable UA checks. Not needed for now 2023-08-26 14:28:22 -04: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