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
Jonathan Barrow
94c07680cd
Merge pull request #74 from DaniElectra/get-nex-data
...
Add GetNEXData GRPC method
2023-07-17 15:35:23 -04:00
Daniel López Guimaraes
5658be404e
Fix typos
2023-07-17 10:33:38 +01:00
Daniel López Guimaraes
3844531191
Add GetNEXData GRPC method
...
Returns all details of a NEX account.
2023-07-17 00:20:26 +01:00
Jonathan Barrow
06c9cc9c01
[NNID] - Update certificate middleware header checks. Closes #22
2023-07-13 14:52:41 -04:00
Jonathan Barrow
ee9c1f7821
[API] - Fix invalid characters error when registering. Closes #41
2023-07-13 14:17:21 -04:00
Jonathan Barrow
648e15c9e1
[NNID] /v1/api/miis - Return duplicate results for duplicate inputs
2023-07-13 14:00:16 -04:00
Jonathan Barrow
c704d9af55
[NNID] /v1/api/miis - Filter invalid PIDs
2023-07-13 13:25:16 -04:00
Jonathan Barrow
e42329cb73
[NNID] /v1/api/miis - Send 404 when no valid PIDs are given
2023-07-13 13:12:11 -04:00
Jonathan Barrow
f584a5b499
Make user data update endpoint do something
2023-07-12 18:17:15 -04:00
Jonathan Barrow
cf1f95cb33
Password reset token is hex, not base64
2023-07-08 11:39:23 -04:00
Jonathan Barrow
f3040d69e8
Update email error log
2023-07-05 16:42:32 -04:00
Jonathan Barrow
65beb3d78b
Send email when PNID is deleted
2023-07-05 16:38:59 -04:00