Commit Graph

147 Commits

Author SHA1 Message Date
Jonathan Barrow
1d3fdd3af7
Fixed hcaptcha.secret setting wrong env variable 2022-10-09 15:28:58 -04:00
Jonathan Barrow
15103a62c4
Moved website_base config check 2022-10-09 15:27:06 -04:00
Jonathan Barrow
8ab51d7f96
Made s3 optional 2022-10-09 15:24:15 -04:00
Jonathan Barrow
8f5dcb2f9a
Made captcha verification optional 2022-10-09 14:23:34 -04:00
Jonathan Barrow
ce46c51c96
Set config fallbacks using env 2022-10-09 14:19:37 -04:00
Jonathan Barrow
19222bbf2d
Fixed redis config env check 2022-10-09 14:14:33 -04:00
Jonathan Barrow
9bb83632db
Actually export disabledFeatures 2022-10-09 14:12:48 -04:00
Jonathan Barrow
272e640a8b
Fixed required features type check 2022-10-09 14:12:35 -04:00
Jonathan Barrow
4809618b02
logger.warning should be logger.warn 2022-10-09 14:11:27 -04:00
Jonathan Barrow
741a03edd9
Made email sending optional 2022-10-09 14:10:59 -04:00
Jonathan Barrow
1b2141ff76
Improved config value set checks 2022-10-09 13:54:42 -04:00
Jonathan Barrow
566cd987cf
Fixed redis client cache name issue 2022-10-09 13:48:02 -04:00
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
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
0649ad46e3
Implement mii-js lib and fix default Mii on website register 2022-10-01 13:01:11 -04:00
Jonathan Barrow
540c11f4aa
Updated mailer to have proper from address 2022-10-01 10:53:23 -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
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
14f2331901
Redis cache now auto-reads files 2022-09-30 21:24:14 -04:00
Jonathan Barrow
7310d2a798
Add catch to main() in server.js 2022-09-29 10:10:11 -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