Commit graph

490 commits

Author SHA1 Message Date
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
Jonathan Barrow
4f19993889
Only use fcdcert as the source of truth for 3DS consoles 2023-04-29 13:27:39 -04:00
Jonathan Barrow
adb44380c6
Added server maintenance mode check 2023-04-28 19:36:31 -04:00
Jonathan Barrow
c0e4395b80
Removed useless await from getPNIDByBearerAuth 2023-04-28 16:18:47 -04:00
Jonathan Barrow
d46a9413b4
Changed decryptToken to always use the account server key 2023-04-28 16:02:31 -04:00
Jonathan Barrow
379d1895c2
Added more logging when starting server 2023-04-28 14:15:49 -04:00
Jonathan Barrow
12ad6b39c6
Made gRPC server port configurable 2023-04-28 13:59:19 -04:00
Jonathan Barrow
85d9c65989
Added getUserData gRPC method 2023-04-27 23:58:02 -04:00
Jonathan Barrow
528882b9e8
Fixed PNID Stripe connection type 2023-04-27 23:41:26 -04:00
Jonathan Barrow
b67b266b8d
Added missing Stripe connection on PNIDs 2023-04-27 23:34:49 -04:00
Jonathan Barrow
1e42569cbb
Updated image-pixels type definition 2023-04-27 16:08:31 -04:00
Jonathan Barrow
6c6ff81db1
Removed unused example.config.json 2023-04-27 16:03:35 -04:00
Jonathan Barrow
c420997de0
Updated example.env 2023-04-27 16:03:15 -04:00
Jonathan Barrow
dc036cd662
Added SETUP.md and updated README 2023-04-27 16:01:58 -04:00
Jonathan Barrow
da73236e74
Merge pull request #65 from PretendoNetwork/ts-migration
TypeScript migration
2023-04-27 15:35:35 -04:00
Jonathan Barrow
d6d92ca27c
Added types to modules without types 2023-04-27 15:05:22 -04:00
Jonathan Barrow
84c2086da2
Updated build command 2023-04-27 14:39:02 -04:00
Jonathan Barrow
36bf30a64a
Replace rm -rf with rimraf 2023-04-27 14:38:28 -04:00
Jonathan Barrow
bbf6a9340a
Fix linting issues 2023-04-27 14:38:03 -04:00
Jonathan Barrow
2de196a649
Updated lint and build commands 2023-04-27 14:35:27 -04:00
Jonathan Barrow
55ee3ce18b
Changed token format to be much smaller (thanks 3DS) 2023-04-01 11:15:59 -04:00
Jonathan Barrow
2e0bb207a9
Fixed bug where 0.0.0.0:0 NEX addresses were seen as invalid 2023-03-31 16:15:36 -04:00
Jonathan Barrow
b8f1486fbf
Fixed NASC errors not being sent correctly in middleware 2023-03-31 12:11:36 -04:00
Jonathan Barrow
2b53c5d5a0
Fixed 3DS cert not being verified correctly 2023-03-31 12:09:12 -04:00
Jonathan Barrow
00b1aecd70
Fixed token generation for production users 2023-03-30 10:22:31 -04:00
Jonathan Barrow
7734879130
Fixed email secure boolean check/conversion 2023-03-19 16:34:14 -04:00
Jonathan Barrow
39ccd942cb
Convert Maps to JSON objects on request body 2023-03-19 16:21:30 -04:00
Jonathan Barrow
f977d77c5c
Renamed user functions to PNID for clarity 2023-03-19 13:46:29 -04:00
Jonathan Barrow
b89d3a15b0
Renamed user variables to better match their types 2023-03-19 13:42:08 -04:00
Jonathan Barrow
741e82daaf
Removed all .set calls from documents 2023-03-19 13:36:01 -04:00
Jonathan Barrow
5b00bae36f
Removed .get calls on documents 2023-03-19 13:27:28 -04:00
Jonathan Barrow
821ad69b47
Removed hard coded XML string responses 2023-03-19 11:59:44 -04:00
Jonathan Barrow
a95d4e10a6
Handle arrays and proper types on headers and query strings 2023-03-19 11:52:43 -04:00
Jonathan Barrow
b28aababbe
Made logger object as const 2023-03-18 17:18:39 -04:00