Commit Graph

201 Commits

Author SHA1 Message Date
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
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