Commit Graph

48 Commits

Author SHA1 Message Date
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
Jonathan Barrow
799c2f5b78 Added many more countries and languages 2023-08-25 22:34:15 -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
Jonathan Barrow
4f9b65c5d4 npdi is cdn not app 2021-12-05 11:18:35 -05:00
Jonathan Barrow
ae9b6f5ec0 Added npdi service 2021-12-05 11:04:27 -05:00
Jonathan Barrow
e02fd12ecb Dirty subfolder hack 2021-10-17 18:45:12 -04:00
Jonathan Barrow
290bbfcc04 force XML content type 2021-10-17 13:08:36 -04:00
Jonathan Barrow
43a55cae43 fixed again 2021-10-17 13:07:04 -04:00
Jonathan Barrow
911f4c69a7 fixed task sheets 2021-10-17 12:29:04 -04:00
Jonathan Barrow
90a4ee9c74 nppl 2021-10-04 17:14:28 -04:00
Jonathan Barrow
3d9a93385c Added basic CDN file serving 2021-08-22 18:24:32 -04:00