Commit graph

373 commits

Author SHA1 Message Date
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
Jonathan Barrow
8af546714e
Removed duplicate code from cache 2022-09-24 18:36:18 -04:00
Jonathan Barrow
c2a8d3a4bd
Added null check to cache 2022-09-24 18:31:13 -04:00
Jonathan Barrow
9e921ea9eb
Removed extar tab 2022-09-24 18:28:24 -04:00
Jonathan Barrow
14b2c73986
Added start of redis cache 2022-09-24 18:23:35 -04:00
Jonathan Barrow
71f171e51d
Return error on XML parse error 2022-09-24 18:22:47 -04:00
Jonathan Barrow
81585da939
Made getUserBasic spec issue more clear 2022-09-24 08:41:02 -04:00
Jonathan Barrow
b2c1d73e51
Don't use this in database.js 2022-09-24 08:36:57 -04:00
Jonathan Barrow
a38af2825d
Removed older dockerfile 2022-09-24 08:33:35 -04:00
Jonathan Barrow
2537282de6
Merge pull request #46 from PretendoNetwork/master
Merge master to dev (get back on track)
2022-09-24 08:21:17 -04:00
Jonathan Barrow
886ea01e2d
Merge branch 'master' of https://github.com/PretendoNetwork/account 2022-09-19 17:24:19 -04:00
Jonathan Barrow
7b6a7a5b1a
Add ability to change Mii data via api 2022-09-19 17:22:32 -04:00
Jonathan Barrow
957fbaa395
Merge pull request #38 from PretendoNetwork/add-license-1
Create LICENSE
2022-08-16 19:40:26 -04:00
Jonathan Barrow
cd2a0ba59b
Create LICENSE
Update the license to AGPLv3

Need permission from the following contributors to continue:

- [ ] @andreluis034
- [ ] @mrjvs  
- [ ] @superwhiskers  
- [ ] @ThatNerdyPikachu  
- [ ] @SuperMarioDaBom  
- [ ] @lukeeey  
- [ ] @CaramelKat
2022-08-13 20:43:16 -04:00
Jonathan Barrow
0caa1b9b66 Only store Discord user ID 2022-07-15 20:47:56 -04:00
Jonathan Barrow
da9b2f66fe Safer connection updates 2022-07-15 20:28:42 -04:00