William Oldham
1ecb7ad473
fix: make refresh token expire longer than access token, and centralise oauth generation
2025-01-31 23:05:11 +00:00
Jonathan Barrow
d28ccbdf95
chore: check if PID and device is valid in NNAS email routes
Build and Publish Docker Image / build-publish (push) Has been cancelled
2025-01-31 15:55:55 -05:00
Jonathan Barrow
2385caae55
chore: add missing device ID to 3DS consoles
2025-01-31 15:55:55 -05:00
Jonathan Barrow
43f240f864
chore: add early return to NNAS confirmation email resend if already verified
2025-01-31 15:55:54 -05:00
Jonathan Barrow
d5dcdcb7de
chore: add early return to NNAS email verification if already verified
2025-01-31 15:55:54 -05:00
Jonathan Barrow
5ab424d67d
chore: add warning against sharing request data to NNAS OAuth
2025-01-31 15:55:54 -05:00
Jonathan Barrow
4da4ef0a65
chore: timezone json spaces to tabs
2025-01-31 15:53:20 -05:00
Jonathan Barrow
4db3be92a0
fix: unescape timezone json
2025-01-31 15:53:19 -05:00
Jonathan Barrow
e6b9448d32
fix: remove unique constraint from 6 digit email code
2025-01-31 15:53:18 -05:00
Jonathan Barrow
302956d5f2
refactor: add explicit token handling functions
2025-01-31 15:53:18 -05:00
Jonathan Barrow
3e410ede7d
fix: validate padding in certificates
2025-01-31 15:53:17 -05:00
Jonathan Barrow
7f3b755b3a
fix: make NNAS middleware only allow Basic tokens on "devices" endpoints
2025-01-31 15:53:17 -05:00
Jonathan Barrow
8e557fc072
fix: make NNAS middleware only accept console tokens
2025-01-31 15:53:14 -05:00
William Oldham
1653b09988
Merge pull request #158 from AToska21/return-server
...
Build and Publish Docker Image / build-publish (push) Waiting to run
Return the server a tier below if it does not exist
2025-01-31 16:19:39 +00:00
Andrea Toska
8604d19993
fix(servers): missed a few semicolons, oops
2025-01-31 17:05:05 +01:00
Andrea Toska
c769cf3d23
fix(servers): use find query to lessen db load
2025-01-31 17:03:03 +01:00
Andrea Toska
ed780efb1e
feat(servers): use the server a tier below if it does not exist
...
If a server does not exist in a tier, use the tier below it.
For example, if a user is in the test access level, but a server for that game only exists on prod, use that server.
Same for the dev access level, but it goes dev --> test --> prod
2025-01-31 09:39:08 +01:00
William Oldham
6802d39bed
Merge pull request #153 from AToska21/forum-contact
...
Build and Publish Docker Image / build-publish (push) Waiting to run
Add forum as a support option to the account confirmation emails.
2025-01-30 12:38:25 +00:00
Andrea Toska
d81f3d39c4
feat(email): add forum as a support option
2025-01-30 13:30:16 +01:00
William Oldham
cafea2ffa9
Merge pull request #128 from PretendoNetwork/api-return-user-stripe-tier
...
Build and Publish Docker Image / build-publish (push) Waiting to run
Return the PNID's Stripe tier name and level from the PNID details API
2025-01-29 19:50:12 +00:00
William Oldham
d170450e4b
Merge pull request #143 from PretendoNetwork/bucket-config
...
Build and Publish Docker Image / build-publish (push) Has been cancelled
Mii uploads: use config for bucket name
2025-01-18 18:08:20 +00:00
Billy
6e724c2e60
nit: don't use an escaped string when a variable is fine.
2025-01-18 17:59:50 +00:00
Billy
6d821d6af5
Mii uploads: use config for bucket name
2025-01-18 17:52:58 +00:00
William Oldham
8c259c93a5
Merge pull request #60 from PretendoNetwork/dependabot/npm_and_yarn/http-cache-semantics-4.1.1
...
Bump http-cache-semantics from 4.1.0 to 4.1.1
2025-01-13 11:46:39 +00:00
William Oldham
04d206e3ed
Merge pull request #135 from AToska21/dev
...
Build and Publish Docker Image / build-publish (push) Has been cancelled
Fix up setup instructions
2025-01-13 11:44:16 +00:00
Andrea Toska
18bd158968
fix(setup): rename SES environment var
...
missed this, it needed to be SECRET_KEY, not ACCESS_SECRET.
2025-01-13 12:37:21 +01:00
Andrea Toska
d2ebb9f2ca
feat(setup): fix up setup instructions
...
they were pretty outdated, still referencing using SMTP, but the server migrated to amazon SES.
2025-01-13 11:41:46 +01:00
Jonathan Barrow
1e595e6518
Merge pull request #131 from AToska21/dev
Build and Publish Docker Image / build-publish (push) Waiting to run
2025-01-12 17:38:17 -05:00
Natsuki ツ
55dacc467b
feat(error): add the correct ban error codes
2025-01-12 21:30:26 +01:00
mrjvs
ef34e1e2fe
Add pnid scrubbing script
2024-12-18 14:37:15 +01:00
Matthew Lopez
3002980c81
chore: return the PNID's Stripe tier name and level from the PNID details API
2024-12-11 21:30:59 -05:00
Jonathan Barrow
374d468e2a
Merge pull request #123 from binaryoverload/dev
Build and Publish Docker Image / build-publish (push) Has been cancelled
2024-11-06 11:53:30 -05:00
William Oldham
54dfed9346
Fix missing semicolon
2024-10-16 15:20:19 +01:00
William Oldham
83dab9bb5d
Use appropriate error message and status code for register route
2024-10-16 15:20:19 +01:00
William Oldham
eb31c88f83
Add S3 config option for region and path-style
2024-10-16 15:20:19 +01:00
Jonathan Barrow
875e75f08f
Merge pull request #118 from binaryoverload/dev
2024-09-25 10:15:11 -04:00
William Oldham
0c03aa46ba
Fix middleware logic
2024-09-24 20:42:19 +01:00
Jonathan Barrow
988ce63cd9
Merge pull request #117 from binaryoverload/dev
2024-09-24 13:00:25 -04:00
William Oldham
4de42cf6b0
Some domains can be optional - rename cdn to local_cdn to be more clear
2024-09-24 17:52:36 +01:00
Jonathan Barrow
616493f6f6
Merge pull request #116 from binaryoverload/dev
2024-09-24 11:44:42 -04:00
William Oldham
17b37d84f1
Fix import order
2024-09-24 11:58:39 +01:00
William Oldham
0a8c6789f0
Remove newline
2024-09-24 11:57:17 +01:00
William Oldham
1768dc4654
Disable datastore if key not set
2024-09-24 11:57:11 +01:00
William Oldham
5c40042796
Removed unneeded filter - is-valid-hostname filters for empty values
2024-09-24 11:56:20 +01:00
William Oldham
8f9b17447b
Apply suggestions from code review
...
Co-authored-by: Jonathan Barrow <jonbarrow1998@gmail.com>
2024-09-24 11:47:07 +01:00
William Oldham
bf9041b7b8
Add other account domain to default
2024-09-23 22:11:14 +01:00
William Oldham
241c9116c3
Add domain middleware back to api route
2024-09-23 22:08:05 +01:00
William Oldham
94ce277beb
Actually set the config to the valid domains
2024-09-23 21:57:30 +01:00
William Oldham
4d577734d5
Add a unique check to domains in the config-manager
2024-09-23 21:52:15 +01:00
William Oldham
fc6ff262da
Upgrade to AWS SDK v3
2024-09-23 21:52:15 +01:00