Commit graph

511 commits

Author SHA1 Message Date
Jonathan Barrow
1ed9b4c848
Made redis cache optional 2022-10-09 13:45:39 -04:00
Jonathan Barrow
3b6a4eeb07
Added required fields check to config manager 2022-10-08 10:26:48 -04:00
Jonathan Barrow
625bab0e25
Added loading config from env 2022-10-08 09:56:17 -04:00
Jonathan Barrow
3dceb422c5
Added base config manager 2022-10-08 09:24:03 -04:00
Jonathan Barrow
20e593832b
Merge branch 'dev' of https://github.com/PretendoNetwork/account into dev 2022-10-08 08:48:40 -04:00
Jonathan Barrow
9998c117e3
Fixed getNEXAESKey in cache 2022-10-08 08:44:34 -04:00
Jonathan Barrow
1f3ff5a167
Updated .gitignore 2022-10-08 08:11:20 -04:00
Jonathan Barrow
62a62ad533
Merge pull request #49 from QuarkTheAwesome/dev 2022-10-01 23:35:06 -04:00
Ash Logan
8154c8770e cache: get Redis configuration from config.json 2022-10-02 12:49:17 +11:00
Jonathan Barrow
ccf4d0eab7
Add password reset NNID endpoint 2022-10-01 17:37:03 -04:00
Jonathan Barrow
ced2d4684a
Fixed console password change not hashing 2022-10-01 17:13:37 -04:00
Jonathan Barrow
93bfb41a4d
Added password reset endpoints for website 2022-10-01 16:59:39 -04:00
Jonathan Barrow
1dff61d7d0
Merge branch 'dev' of https://github.com/PretendoNetwork/account into dev 2022-10-01 13:12:42 -04:00
Jonathan Barrow
0649ad46e3
Implement mii-js lib and fix default Mii on website register 2022-10-01 13:01:11 -04:00
Jonathan Barrow
eefc36aa47
Merge pull request #48 from QuarkTheAwesome/docker-patch1
docker: Allow option to autogenerate keys
2022-10-01 11:07:45 -04:00
Jonathan Barrow
cf292ed661
Fixed path undefined error in generate-keys with account type 2022-10-01 10:56:06 -04:00
Jonathan Barrow
540c11f4aa
Updated mailer to have proper from address 2022-10-01 10:53:23 -04:00
Ash Logan
69e8b84b14 docker: Allow option to autogenerate keys
While this isn't optimal for prod, for dev environments it can be very helpful to opt-in for things to Just Work.
2022-10-01 16:12:59 +10:00
Jonathan Barrow
883417c05f
Removed duplicate path in generate-keys script 2022-10-01 02:11:31 -04:00
Jonathan Barrow
99b8032d98
Made 3DS and Wii U use the same NEX PID pool again 2022-10-01 01:36:42 -04:00
Jonathan Barrow
fd455fae91
Added email for when email address is confirmed 2022-10-01 01:26:00 -04:00
Jonathan Barrow
48aabe0bfc
Added email resending endpoint 2022-10-01 01:21:23 -04:00
Jonathan Barrow
f701647747
Added email token confirmation 2022-10-01 01:15:46 -04:00
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