Commit Graph

188 Commits

Author SHA1 Message Date
Jonathan Barrow
e4edb5e0e5 Added confirmation email to website register 2022-10-01 01:04:04 -04:00
Jonathan Barrow
6c0e0ff71a Updated confirmation email text 2022-10-01 01:03:36 -04:00
Jonathan Barrow
b705e51ec0 Updated example config 2022-10-01 00:57:17 -04:00
Jonathan Barrow
ee98bb006f Fixed email sending 2022-10-01 00:55:39 -04:00
Jonathan Barrow
29edbab43c Fixed password not referenced in PNID creation on console 2022-10-01 00:53:12 -04:00
Jonathan Barrow
48bc34a78b Added email confirmation code support 2022-09-30 23:22:43 -04:00
Jonathan Barrow
015d2a4e59 Added missing xmlbuilder endpoint to xml-parser middleware 2022-09-30 21:43:09 -04:00
Jonathan Barrow
cbb580a3b1 Updated docker entrypoint 2022-09-30 21:25:03 -04:00
Jonathan Barrow
14f2331901 Redis cache now auto-reads files 2022-09-30 21:24:14 -04:00
Jonathan Barrow
fe4630f344 Updated generate-keys script 2022-09-30 21:20:35 -04:00
Jonathan Barrow
a022ed854e Merge pull request #47 from PretendoNetwork/update-security-fixes
Updates and security fixes
2022-09-29 10:21:22 -04:00
Jonathan Barrow
dc77b2f62b Update example config 2022-09-29 10:13:02 -04:00
Jonathan Barrow
7310d2a798 Add catch to main() in server.js 2022-09-29 10:10:11 -04:00
Jonathan Barrow
ad3b62dd9c Added NEX account migration script 2022-09-28 18:46:36 -04:00
Jonathan Barrow
7991038f8a Fixed PNID and NEX account data not saving 2022-09-28 18:40:20 -04:00
Jonathan Barrow
5ffd6c5a9d Made NEX accounts unique per-device type 2022-09-28 18:28:02 -04:00
Jonathan Barrow
27a78270cc Removed pre-save from PNID 2022-09-28 13:01:57 -04:00
Jonathan Barrow
992ba062b9 Removed old comments 2022-09-28 12:20:35 -04:00
Jonathan Barrow
3977f86338 Removed query injection from connection add 2022-09-28 12:14:50 -04:00
Jonathan Barrow
c6dd21266f /v1/register API now uses mongo transaction 2022-09-27 20:56:12 -04:00
Jonathan Barrow
6275cceca5 Stop acount server crashing during failed website token decrypt 2022-09-27 20:43:36 -04:00
Jonathan Barrow
c9feca9ada NASC middleware now uses Mongo transaction 2022-09-26 22:57:39 -04:00
Jonathan Barrow
635e830af3 /v1/people POST not uses mongo transaction 2022-09-26 22:48:56 -04:00
Jonathan Barrow
a38b7d2165 Actually import cache 2022-09-26 22:48:26 -04:00
Jonathan Barrow
c4ec5aafd3 Export new connection data 2022-09-26 22:47:48 -04:00
Jonathan Barrow
9f77a0054c Added missing awaits for cache functions 2022-09-25 18:20:00 -04:00
Jonathan Barrow
7b9534f2a8 Export database connection 2022-09-25 18:19:05 -04:00
Jonathan Barrow
f549a602d8 Use joi for object validation 2022-09-24 21:14:21 -04:00
Jonathan Barrow
345492d910 Made server run again 2022-09-24 20:08:33 -04:00
Jonathan Barrow
6e3bc960e4 Updated .gitignore 2022-09-24 20:07:53 -04:00
Jonathan Barrow
7808adc004 Fixed config import paths 2022-09-24 20:06:54 -04:00
Jonathan Barrow
8866b233ab Moved example config to root 2022-09-24 20:03:09 -04:00
Jonathan Barrow
1cc4759813 servers.json no longer used 2022-09-24 20:02:09 -04:00
Jonathan Barrow
7f760d0c43 /v1/api/miis now uses CDN from config 2022-09-24 19:58:40 -04:00
Jonathan Barrow
2211ab475f /v1/user now uses CDN from config (2) 2022-09-24 19:56:36 -04:00
Jonathan Barrow
0cf319307c /v1/user now uses CDN from config 2022-09-24 19:56:08 -04:00
Jonathan Barrow
70d37d113f getUserProfileJSONByPID() now uses CDN from config 2022-09-24 19:55:24 -04:00
Jonathan Barrow
fd34162a59 Stop server from crashing on failed token decrypt 2022-09-24 19:45:54 -04:00
Jonathan Barrow
4dcec5388c /v1/login now uses cache and async fs 2022-09-24 19:43:07 -04:00
Jonathan Barrow
4661ebf3a5 /v1/register now uses cache and async fs 2022-09-24 19:41:41 -04:00
Jonathan Barrow
46e103859d processLoginRequest() now uses cache and async fs 2022-09-24 19:36:42 -04:00
Jonathan Barrow
a9bf9cac7c /access_token/generate now uses async functions 2022-09-24 19:34:07 -04:00
Jonathan Barrow
54d08b78cc /nex_token/@me uses cache and async fs 2022-09-24 19:31:14 -04:00
Jonathan Barrow
da3516baed generateToken() now uses cache and async fs 2022-09-24 19:28:07 -04:00
Jonathan Barrow
754f2fb85c Forgot to add name to cache set 2022-09-24 19:08:48 -04:00
Jonathan Barrow
8172c1cac9 /service_token/@me uses cache and async fs 2022-09-24 19:02:32 -04:00
Jonathan Barrow
82e4080199 decryptToken() now uses async functions 2022-09-24 18:51:31 -04:00
Jonathan Barrow
663872e3c7 decryptToken() now uses file cache 2022-09-24 18:48:27 -04:00
Jonathan Barrow
64e12fa667 Changed name from cert to key for RSA keys in cache 2022-09-24 18:45:18 -04:00
Jonathan Barrow
0996df985e Add encoding option to cache 2022-09-24 18:40:30 -04:00