Commit Graph

84 Commits

Author SHA1 Message Date
William Oldham
7e37300884 chore: add .editorconfig and move scripts into folder, remove logger as unused 2025-01-08 12:51:55 +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
f4b8f44f07 chore: Update dependencies in package.json 2025-01-07 13:49:58 +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
Jonathan Barrow
23bf64c2c5 Merge pull request #9 from MatthewL246/dockerize 2024-07-22 13:01:14 -04: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
Matthew Lopez
0b376788bc fix: make fs-extra a production dependency 2024-07-02 14:39:28 -04:00
Matthew Lopez
31c3323d52 feat: create Docker build and publish action 2024-07-02 14:35:08 -04:00
Matthew Lopez
bd3ffa3d30 feat: Dockerize server 2024-07-02 14:34:35 -04:00
Jonathan Barrow
61f8611cf3 Merge pull request #7 from DaniElectra/npdl-cache 2024-05-04 20:17:14 -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
Jonathan Barrow
c7fc1bbcdc Merge pull request #6 from DaniElectra/spr 2024-05-04 09:58:33 -04: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
680063af49 updated BOSS contents 2023-11-15 23:15:41 -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
8daf7ef041 Updated local CDN files 2023-08-25 21:09:39 -04:00
Jonathan Barrow
102530a665 Remove old Docker stuff, unused 2023-08-17 22:33:10 -04:00
Jonathan Barrow
38739fef7e Convert to TypeScript 2023-08-17 22:32:40 -04:00
Jonathan Barrow
3b5aeb222c Created tasksheets 8MNOVprfNVAJjfCM and WJDaV6ePVgrS0TRa 2023-06-15 13:20:49 -04:00
Jonathan Barrow
6eac4ea763 Updated BOSS contents 2023-06-09 20:39:28 -04:00
Jonathan Barrow
910507006a Updated fest files 2022-11-14 23:05:58 -05:00
Jonathan Barrow
91fee578bf Updated fest files 2022-11-13 13:06:45 -05:00
Jonathan Barrow
0ca5570381 Updated BOSS files 2022-11-13 12:37:53 -05:00
Jonathan Barrow
1bec9e43d4 Updated CDN content 2022-09-05 13:51:32 -04:00