Commit Graph

373 Commits

Author SHA1 Message Date
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
Jonathan Barrow
664562f344 Update Stripe checks in PNID scrub method 2023-07-05 16:30:26 -04:00
Jonathan Barrow
70a00bb139 Removed useless unique fields on PNID model 2023-06-15 14:55:13 -04:00
Jonathan Barrow
e408189f77 Fixed NASC import name change 2023-06-14 13:12:12 -04:00
Jonathan Barrow
ca20208041 Fixed PNID scrubbing not saving default Mii data 2023-06-14 13:02:42 -04:00
Jonathan Barrow
976c1bf21f NNID service tokens now check client_id for generation 2023-06-14 12:58:09 -04:00
Jonathan Barrow
08e0d9c436 Invalid password error is wrapped in errors tag 2023-06-14 11:54:57 -04:00
Jonathan Barrow
cb89fb925b Removed is_emulator field from device document schema 2023-06-13 23:21:01 -04:00
Jonathan Barrow
4051a3107f Implemented https://account.nintendo.net/v1/api/admin/time 2023-06-13 19:01:23 -04:00
Jonathan Barrow
dbaa154d47 Added getNEXPassword gRPC method 2023-06-13 18:41:35 -04:00
Jonathan Barrow
b69349f248 v1/api/people/@me/deletion is POST not PUT 2023-06-12 21:19:45 -04:00
Jonathan Barrow
9c3a80be4a Added support for comma separated headers 2023-06-11 21:07:39 -04:00
Jonathan Barrow
26e87b133c Improved PID tracking 2023-06-11 09:51:13 -04:00
Jonathan Barrow
b36c63a0b3 Added better console tracking 2023-06-11 07:46:27 -04:00
Jonathan Barrow
c1d39a4b13 Token access level is now a signed int to allow negative numbers 2023-06-10 20:08:31 -04:00
Jonathan Barrow
15b6f1f4a3 Renamed getPNIDByBearerAuth to getPNIDByTokenAuth (not all tokens are bearer) 2023-05-31 21:31:48 -04:00
Jonathan Barrow
dee432b4a0 Added gRPC service for the API (for future use) 2023-05-31 21:29:41 -04:00
Jonathan Barrow
9c16196435 Fixed missing crc on website tokens 2023-05-31 20:55:41 -04:00
Jonathan Barrow
11984e12a4 Added missing fields to API tokens 2023-05-03 19:49:51 -04:00
Jonathan Barrow
0db626a2b5 Updated API token format 2023-05-03 19:38:49 -04:00
Jonathan Barrow
3c03ce8509 fixed website grant type check 2023-05-03 17:40:26 -04:00
Jonathan Barrow
8b578c750a Removed password change from PNID.scrub and added 0112 error on deleted accounts 2023-05-03 12:19:55 -04:00
Jonathan Barrow
298bcf7b45 updated migrations 2023-05-02 22:01:39 -04:00
Jonathan Barrow
fc994bf84d Added migration to add missing server AES keys 2023-05-02 15:28:43 -04:00
Jonathan Barrow
82cba5dd06 Added friend code migration 2023-05-02 15:03:24 -04:00
Jonathan Barrow
9f68827337 Generate 3DS friend code when registering 3DS NEX account 2023-05-02 14:37:11 -04:00
Jonathan Barrow
d269258b61 Added token checksum to non-access/refresh tokens 2023-05-01 15:02:04 -04:00
Jonathan Barrow
a4bc671957 Added deleted field to gRPC getUserData method 2023-04-29 17:58:20 -04:00
Jonathan Barrow
eeab60ae26 Removed useless calls to response.status(200) (200 is default) 2023-04-29 17:51:36 -04:00
Jonathan Barrow
20ddbe7552 Explicitly set each non-200 status on each response 2023-04-29 17:50:56 -04:00
Jonathan Barrow
43432902c4 Replaced all instances of response.end with response.send 2023-04-29 17:42:27 -04:00
Jonathan Barrow
60b6392153 Added return types to route handlers 2023-04-29 17:40:54 -04:00
Jonathan Barrow
b9481892e0 Removed unsafe .get() calls from Mongoose documents 2023-04-29 15:39:20 -04:00
Jonathan Barrow
cc62c8dad3 Removed unused PNIDgetServerMode method 2023-04-29 15:30:12 -04:00
Jonathan Barrow
d821802088 Add types to PNID.updateMii params 2023-04-29 15:27:41 -04:00
Jonathan Barrow
91e1537b10 Call PNID.updateMii when scrubbing to generate default Mii images 2023-04-29 15:25:18 -04:00
Jonathan Barrow
65f057c47a Added deleted flag to PNIDs 2023-04-29 14:52:18 -04:00
Jonathan Barrow
8b7296543d Cancel Stripe subscription during PNID scrubbing 2023-04-29 14:48:19 -04:00
Jonathan Barrow
50089e0435 Added PNID.scrub method to remove personal information 2023-04-29 14:32:04 -04:00