Commit Graph

110 Commits

Author SHA1 Message Date
Jonathan Barrow
081061c88d
Merge pull request #16 from PretendoNetwork/new-eslint
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-01-21 12:14:53 -05:00
William Oldham
15488e2ea5 chore: update common eslint to include global ignores
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-01-19 23:39:05 +00:00
William Oldham
b354f8c350 chore: remove unneeded dependencies
Some checks failed
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-01-17 18:08:05 +00:00
William Oldham
5bbbe03150 chore: add common eslint config 2025-01-17 18:05:47 +00:00
William Oldham
d45835b1bd chore: use new eslint config 2025-01-17 18:04:37 +00: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
fec123d838 chore; use tsup for building
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run
2025-01-09 17:35:49 +00:00
William Oldham
20e2a4a3d4 style: use tabs in package.json 2025-01-09 17:31:23 +00:00
William Oldham
dd509f01c8 Merge remote-tracking branch 'origin/master' into dev
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run
2025-01-08 19:35:41 +00:00
William Oldham
d99f876fbf chore: remove old eslint config (oops) 2025-01-08 19:32:38 +00:00
Jonathan Barrow
644081e615
Merge pull request #15 from PretendoNetwork/memory-fixes 2025-01-08 14:25:41 -05:00
William Oldham
546ae0413b chore: update eslint to disable atomic-updates checks 2025-01-08 19:07:05 +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
60df36abd3 chore: update eslint + deps, add new rules, update tsconfig 2025-01-08 16:27:54 +00:00
William Oldham
065f57cc26 fix: add getNEXDataByPID import to spr 2025-01-08 14:14:33 +00:00
William Oldham
868998840e feat: Add linting GitHub actions workflow 2025-01-08 13:08:08 +00:00
William Oldham
a5dbb27961 chore: add JSON and YML exceptions to editorconfig 2025-01-08 13:04:00 +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
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
8d2bed98a3
Merge pull request #11 from mrjvs/patch-2 2024-07-28 16:55:39 -04:00
mrjvs
0f1ef6ba57
Update docker.yml 2024-07-28 22:47:25 +02:00
mrjvs
e0c21b4afd
Update docker.yml 2024-07-28 22:39:37 +02:00
Jonathan Barrow
0cf53411b6
Merge pull request #10 from mrjvs/patch-1 2024-07-28 16:30:44 -04:00
mrjvs
fe0dca8978
Update docker.yml 2024-07-28 21:22:12 +02: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