Commit Graph

423 Commits

Author SHA1 Message Date
Matthew Lopez
7e2b47ce75 chore: delete old and broken test user script 2024-06-24 14:46:59 -04:00
Jonathan Barrow
0074645960 Merge pull request #91 from CaramelKat/user-information-app 2024-06-09 15:47:42 -04:00
Jemma Poffinbarger
14e60a6bb1 fix: typo in server selection svg for dev
Co-authored-by: Daniel López Guimaraes <112760654+DaniElectra@users.noreply.github.com>
2024-06-06 18:45:26 -05:00
Jemma
bafb22ce8b Revert "chore: add newline to end of files"
This reverts commit 68bcd1f8a6.
2024-06-06 18:37:52 -05:00
Jemma
97b594cfee chore: warn that server default environment is prod 2024-06-04 21:14:30 -05:00
Jemma
f7a71d7b6d fix: check that access level is valid before allowing updates to server selection 2024-06-04 21:12:06 -05:00
Jemma
410f8c1421 chore: update links to match new error code format 2024-06-02 18:42:24 -05:00
Jemma
c5658dc6b3 feat: allow updating birthday in user account settings 2024-06-01 21:35:25 -05:00
Jemma
68bcd1f8a6 chore: add newline to end of files 2024-06-01 17:08:32 -05:00
Jemma
94904be12d chore: fix indents and address nitpicks 2024-06-01 16:29:36 -05:00
Jonathan Barrow
af54670fbc fix: add some missing deleted checks 2024-05-07 18:10:52 -04:00
Jonathan Barrow
d4df120601 Merge pull request #92 from PretendoNetwork/nasc-error-codes 2024-04-28 09:53:11 -04:00
Jonathan Barrow
96d220cb39 chore: remove reuse of ban error code in NASC 2024-04-27 09:16:08 -04:00
Jemma
f8bb78fd51 Added missing fields in the /v1/api/people/@me/ endpoint. Added PN_ACT_CONFIG_SERVER_ENVIRONMENT to example.env and the setup guide. 2024-04-22 19:27:40 -05:00
Jemma
ccfc0589b8 Added support for changing the PNID country on Wii U 2024-04-21 20:32:56 -05:00
Jemma
37fa5abd83 Added support for user information app on Wii U (from #77) 2024-04-21 18:28:18 -05:00
Jonathan Barrow
d4b975cbf7 Merge pull request #90 from PretendoNetwork/nasc-datetime 2024-04-19 11:54:32 -04:00
Jonathan Barrow
1a27c36f9c nasc: fix datetime field being set incorrectly 2024-04-19 11:36:40 -04:00
Jonathan Barrow
6ddfb5789a Merge pull request #87 from PretendoNetwork/nnas-updates 2024-04-16 13:05:47 -04:00
Jonathan Barrow
ca5ea2e302 nasc: remove MAC check. MAC is allowed to be changed 2024-04-16 12:22:12 -04:00
Jonathan Barrow
eb0b4aba00 nnas: update console status middleware 2024-04-14 21:17:12 -04:00
Jonathan Barrow
7ff47d8e26 nnas: link 3ds device certificate to document from NASC 2024-04-14 20:56:33 -04:00
Jonathan Barrow
82d353357b chore: updated comments to use Better Comments syntax 2024-04-14 19:41:47 -04:00
Jonathan Barrow
6d3f516612 chore: update Id -> ID 2024-04-14 19:19:37 -04:00
Jonathan Barrow
cb10a16668 chore: removed unnecessary type declarations 2024-04-14 19:16:25 -04:00
Jonathan Barrow
2bc1d9cf8e nnas: renamed nnid service to nnas 2024-04-14 18:02:01 -04:00
Jonathan Barrow
da96d5a64b Merge pull request #78 from DaniElectra/system-transfer 2024-04-13 17:59:27 -04:00
Daniel López Guimaraes
603b209cb5 nasc: Add more integrity checks 2024-04-13 22:37:29 +01:00
Daniel López Guimaraes
20eed7fc96 Fix NASC registration path 2024-04-13 22:10:42 +01:00
Daniel López Guimaraes
dc7d44baf0 Remove redundant transactions
We can update the data directly without a transaction.
2024-04-13 22:10:42 +01:00
Daniel López Guimaraes
aa480673d2 Better handling of system transfered devices
If a user performs a system transfer, we can't guarantee the validity of
the linked PIDs to a device, not this device's existance on the
database. Add them to the database if necessary.
2024-04-13 22:10:42 +01:00
Jonathan Barrow
0242fa7450 Merge pull request #84 from MatthewL246/fix-3ds-profile-updates
Fix 3DS profile updates causing an unhandledRejection
2024-02-26 14:40:17 -05:00
Matthew Lopez
93139a121e Update comment syntax and add todo
Co-authored-by: Jonathan Barrow <jonbarrow1998@gmail.com>
2024-02-26 14:39:01 -05:00
Matthew Lopez
426a9574f6 Fix 3DS profile updates causing an unhandledRejection
For example, when attempting to change the email address. The 3DS sends an empty person.tz_name, which is interpreted as an empty object. This additional error handling is necessary in this case because empty objects are truthy.
2024-02-25 20:09:46 -05:00
Jonathan Barrow
88a9c2e04d Merge pull request #83 from PretendoNetwork/ses
Migrate to AWS SES
2024-02-22 12:21:39 -05:00
Jonathan Barrow
ec99749753 chore: move email sending to AWS SES 2024-02-20 13:51:10 -05:00
Jonathan Barrow
27ddfc3c67 Merge pull request #80 from DaniElectra/cbvc
services: Add CBVC endpoint
2024-01-03 21:40:55 -05:00
Daniel López Guimaraes
6779e84782 services: Add CBVC endpoint
This allows any version of the 3DS internet browser to connect using
Pretendo.

The `:unknown` section seems to represent an incrementing "version"
number, but I wasn't able to relate this number with the version shown
in the browser info.
2024-01-03 23:54:51 +00:00
Jonathan Barrow
6db67698e2 updated PNID scrubbing for number values 2023-11-17 10:27:16 -05:00
Jonathan Barrow
80f457c2f7 grpc: updated account details responses 2023-11-17 10:19:55 -05:00
Jonathan Barrow
7d3b7bbd9c updated some packages 2023-11-17 10:09:26 -05:00
Jonathan Barrow
a6c1bd09ee grpc: updated updatePNIDPermissions to latest permissions 2023-11-17 10:08:21 -05:00
Jonathan Barrow
6a880e8908 added UPDATE_PNID_PERMISSIONS PNID permission 2023-11-17 09:59:18 -05:00
Jonathan Barrow
a7ac9c63cb Merge pull request #75 from DaniElectra/undefined-bigint
Check for undefined on latest_webhook_timestamp
2023-08-28 13:46:11 -04:00
Daniel López Guimaraes
5e49ea8666 Check for undefined on latest_webhook_timestamp
Not all accounts are guaranteed to have this field, so we have to check
if it exists. If it doesn't, just set the value to 0.
2023-08-28 17:58:32 +01:00
Jonathan Barrow
e0cae4667e Fix BigInt and Number conflicts in grpc API 2023-08-25 21:06:23 -04:00
Jonathan Barrow
b998f754a8 Added support for BOSS permissions 2023-08-25 20:55:37 -04:00
Jonathan Barrow
7624263d46 Removed old gRPC package from package.json 2023-08-19 09:48:37 -04:00
Jonathan Barrow
93ab251176 Move gRPC to new NPM package and begin migration to new permissions system 2023-08-19 09:46:10 -04:00
Jonathan Barrow
cb097072c8 Actually handle refresh tokens 2023-08-10 20:28:55 -04:00