Commit Graph

432 Commits

Author SHA1 Message Date
Matthew Lopez
0e68fff5e5
chore: add .env to .dockerignore 2024-06-24 17:51:43 -04:00
Matthew Lopez
78a9ebc345
chore: uninstall unused packages 2024-06-24 17:31:49 -04:00
Matthew Lopez
9712c4d95b
fix: imported redis is undefined 2024-06-24 17:09:39 -04:00
Matthew Lopez
8292c6248f
chore: fix Docker environment variable format 2024-06-24 16:46:57 -04:00
Matthew Lopez
bd2b7de369
chore: fix eslint error 2024-06-24 16:46:21 -04:00
Matthew Lopez
ac80a9f60f
chore: delete old and unused key generation script 2024-06-24 16:43:24 -04:00
Matthew Lopez
697eca73fb
chore: load datastore secret key from environment variable 2024-06-24 16:07:36 -04:00
Matthew Lopez
bdd8a91610
fix: exit process on SIGTERM 2024-06-24 15:32:48 -04:00
Matthew Lopez
41977cf7af
chore: update Dockerfile for production use
This uses a standard Node.js Dockerfile template and removes the old, unused entrypoint script.
2024-06-24 15:07:11 -04:00
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