Commit graph

  • 928e6f6701
    revert me Jonathan Barrow 2023-03-08 17:11:17 -05:00
  • bebae96f92
    Removed HydratedPNIDDocument casting Jonathan Barrow 2023-03-07 17:55:51 -05:00
  • 4f134fed7d
    Removed useless type check in getUserByUsername Jonathan Barrow 2023-03-07 17:54:24 -05:00
  • b01ef39fb2
    Added missing types Jonathan Barrow 2023-03-06 21:16:44 -05:00
  • 19a695af3f
    DeviceAttribute was defined but not used Jonathan Barrow 2023-03-06 21:08:32 -05:00
  • 7660b9134c
    Removed unused exports Jonathan Barrow 2023-03-06 21:07:35 -05:00
  • 9fafca77fd
    Typed literally everything and eslint is happy Jonathan Barrow 2023-03-06 21:01:15 -05:00
  • d23a8b7c21
    Remade config manager. Removed JSON file support Jonathan Barrow 2023-03-05 20:14:31 -05:00
  • bfba5a0259
    Migrate to TS imports in util.ts (forgot, oops) Jonathan Barrow 2023-03-04 22:50:43 -05:00
  • e438253d3b
    Moved types folder into src and changed alias root to @/ Jonathan Barrow 2023-03-04 20:25:01 -05:00
  • 55c9bff862
    Replaced jsdoc with TS types Jonathan Barrow 2023-03-04 16:01:01 -05:00
  • 498d3838a3
    Added nexUser to express.Request type Jonathan Barrow 2023-03-04 15:51:28 -05:00
  • ffc4e783a8
    Removed unused variables from NASC Jonathan Barrow 2023-03-04 15:48:08 -05:00
  • 66f6dfc5df
    Return DB connection from function Jonathan Barrow 2023-03-04 12:41:53 -05:00
  • 6f570f6c2b
    Disable id virtual getter on mongoose documents Jonathan Barrow 2023-03-04 11:29:48 -05:00
  • c73b820342
    Removed PNID.deleteOne from deletion endpoint. Does not actually delete a NNID Jonathan Barrow 2023-03-04 10:42:13 -05:00
  • 706435ed7a
    Fixed cryptoPath checks in provider NNID endpoint Jonathan Barrow 2023-03-04 10:41:27 -05:00
  • a836f67b47
    Bump mongoose to 7 and use mongoose-unique-validator fork Jonathan Barrow 2023-03-04 10:03:06 -05:00
  • 45a5fd9862
    Add import aliases Jonathan Barrow 2023-03-04 09:45:12 -05:00
  • d05a1eed91
    Better typed Mongoose models Jonathan Barrow 2023-03-03 20:59:05 -05:00
  • 75de643ac5
    Bump version to 2.0.0 Jonathan Barrow 2023-03-03 12:45:49 -05:00
  • a75769a326
    First steps to TypeScript Jonathan Barrow 2023-03-03 12:38:36 -05:00
  • 3ef40c64cd
    Updated packages Jonathan Barrow 2023-03-03 12:37:50 -05:00
  • 84bf498d48
    Enable "resolveJsonModule": true in tsconfig Jonathan Barrow 2023-03-03 00:29:12 -05:00
  • 8bb3d600c4
    Add types folder to ts includes Jonathan Barrow 2023-03-03 00:28:08 -05:00
  • bf3e357bc1
    Set tsconfig target to es2022 Jonathan Barrow 2023-03-02 19:37:17 -05:00
  • 68a0fa8193
    Added es2021 lib to compilerOptions (needed for replaceAll) Jonathan Barrow 2023-03-02 19:29:09 -05:00
  • bcbf403aba
    Set module to commonjs in tsconfig Jonathan Barrow 2023-03-01 17:53:14 -05:00
  • b4980e942d
    Set moduleResolution to node in tsconfig Jonathan Barrow 2023-03-01 16:36:21 -05:00
  • 0543bd45c8
    Enabled esModuleInterop in tsconfig Jonathan Barrow 2023-03-01 16:34:17 -05:00
  • ff69ac3cea
    Added tsconfig and start of TypeScript migration Jonathan Barrow 2023-02-28 21:08:52 -05:00
  • 868a8ed9bb
    Pull logger path from env directly Jonathan Barrow 2023-02-28 20:58:51 -05:00
  • 6787361ee4
    Remove unused modules Jonathan Barrow 2023-02-28 20:44:01 -05:00
  • e164950390
    Make logger path configurable Jonathan Barrow 2023-02-28 20:27:59 -05:00
  • b655fec99a
    Move logger to src folder Jonathan Barrow 2023-02-28 20:25:27 -05:00
  • 536b227cdb
    Update .gitignore Jonathan Barrow 2023-02-28 20:23:51 -05:00
  • 8c07ae82f9
    Merge pull request #64 from PretendoNetwork/dev Jonathan Barrow 2023-02-27 22:20:13 -05:00
  • c2331eaf51
    Merge branch 'dev' into README Thorben 2023-02-27 23:39:23 +01:00
  • 05bd48eac0
    Merge pull request #63 from ashmonty/patch-1 Jonathan Barrow 2023-02-26 17:12:03 -05:00
  • 07d28c1979
    feat: send mail from config-definable email ash 2023-02-26 21:20:50 +00:00
  • 25c7a1aebb
    Merge pull request #62 from PretendoNetwork/dev Jonathan Barrow 2023-02-25 23:01:59 -05:00
  • 3954d7588b
    Ignore case in getUserByEmailAddress Jonathan Barrow 2023-02-15 16:26:15 -05:00
  • 314833e3b3
    Added start of the README Jonathan Barrow 2023-02-12 09:34:48 -05:00
  • 9801c8b59e
    Merge branch 'dev' of https://github.com/PretendoNetwork/account into dev Jonathan Barrow 2023-02-12 09:27:39 -05:00
  • 4868596b71
    Set memory cache default to null when not using redis Jonathan Barrow 2023-02-12 09:25:12 -05:00
  • 37caa67851
    Updated cdn config in manager Jonathan Barrow 2023-02-12 09:23:53 -05:00
  • 0201347e26
    Removed extra line break in NASC Jonathan Barrow 2023-02-12 09:22:41 -05:00
  • 7f5fcbb28d
    Updated package-lock Jonathan Barrow 2023-02-12 09:22:16 -05:00
  • f868eedfe6
    Bump cacheable-request and got dependabot[bot] 2023-02-12 12:32:18 +00:00
  • ce17ef5127
    Bump http-cache-semantics from 4.1.0 to 4.1.1 dependabot[bot] 2023-02-03 22:59:37 +00:00
  • 47fc85740f
    Bump mongoose from 5.13.13 to 5.13.15 dependabot[bot] 2023-02-01 06:17:51 +00:00
  • 244972c808
    Bump express from 4.17.1 to 4.17.3 dependabot[bot] 2022-12-10 16:13:32 +00:00
  • aa97ad95a8
    Bump qs from 6.5.2 to 6.5.3 dependabot[bot] 2022-12-06 14:39:38 +00:00
  • 64a7a494f1
    Update README.md Thorben 2022-11-13 22:25:16 +01:00
  • e174e0ce63
    Merge pull request #52 from ashmonty/dev Jonathan Barrow 2022-11-07 18:49:42 -05:00
  • 774f7bdd9b Set registration password size requirement to same as Big N's Jon Abrams 2022-10-27 20:13:07 -07:00
  • 29d25f414f
    feat: add buttons, confirmation email to sendMail, add new props Ash Monty 2022-10-22 21:49:15 +02:00
  • 734486d94a
    feat: add html mailer Ash Monty 2022-10-22 20:56:35 +02:00
  • 4a66567aa0
    feat: add assets subdomain, add email assets Ash Monty 2022-10-22 20:25:30 +02:00
  • 0cebd41f5c
    Removed mongoose.uri and mongoose.database options for single mongoose.connection_string Jonathan Barrow 2022-10-20 20:29:23 -04:00
  • 36fd3d1596
    Merge pull request #51 from PretendoNetwork/feature-better-config Jonathan Barrow 2022-10-14 21:27:46 -04:00
  • 20da652b38
    Made CDN disk path configurable, updated CDN config, updated examples Jonathan Barrow 2022-10-14 07:03:46 -04:00
  • 4cd1665c17
    Removed redundant env checks Jonathan Barrow 2022-10-14 06:50:11 -04:00
  • 434bcfdc56
    Added high memory usage warning wen both s3 and redis are disabled Jonathan Barrow 2022-10-09 22:08:33 -04:00
  • 646916b7a8
    Add redis dump.rdb to gitignore Jonathan Barrow 2022-10-09 22:07:14 -04:00
  • 24fd641cc6
    Changed aws/spaces config to generic s3 config Jonathan Barrow 2022-10-09 15:39:26 -04:00
  • 64488b061d
    Added enable message to missing optional config values Jonathan Barrow 2022-10-09 15:33:02 -04:00
  • 1d3fdd3af7
    Fixed hcaptcha.secret setting wrong env variable Jonathan Barrow 2022-10-09 15:28:58 -04:00
  • 15103a62c4
    Moved website_base config check Jonathan Barrow 2022-10-09 15:27:06 -04:00
  • 8ab51d7f96
    Made s3 optional Jonathan Barrow 2022-10-09 15:24:15 -04:00
  • 8f5dcb2f9a
    Made captcha verification optional Jonathan Barrow 2022-10-09 14:23:34 -04:00
  • ce46c51c96
    Set config fallbacks using env Jonathan Barrow 2022-10-09 14:19:37 -04:00
  • 19222bbf2d
    Fixed redis config env check Jonathan Barrow 2022-10-09 14:14:33 -04:00
  • 9bb83632db
    Actually export disabledFeatures Jonathan Barrow 2022-10-09 14:12:48 -04:00
  • 272e640a8b
    Fixed required features type check Jonathan Barrow 2022-10-09 14:12:35 -04:00
  • 4809618b02
    logger.warning should be logger.warn Jonathan Barrow 2022-10-09 14:11:27 -04:00
  • 741a03edd9
    Made email sending optional Jonathan Barrow 2022-10-09 14:10:59 -04:00
  • 1b2141ff76
    Improved config value set checks Jonathan Barrow 2022-10-09 13:54:42 -04:00
  • 566cd987cf
    Fixed redis client cache name issue Jonathan Barrow 2022-10-09 13:48:02 -04:00
  • 1ed9b4c848
    Made redis cache optional Jonathan Barrow 2022-10-09 13:45:39 -04:00
  • 3b6a4eeb07
    Added required fields check to config manager Jonathan Barrow 2022-10-08 10:26:48 -04:00
  • 625bab0e25
    Added loading config from env Jonathan Barrow 2022-10-08 09:56:17 -04:00
  • 3dceb422c5
    Added base config manager Jonathan Barrow 2022-10-08 09:24:03 -04:00
  • 20e593832b
    Merge branch 'dev' of https://github.com/PretendoNetwork/account into dev Jonathan Barrow 2022-10-08 08:48:40 -04:00
  • 9998c117e3
    Fixed getNEXAESKey in cache Jonathan Barrow 2022-10-08 08:44:34 -04:00
  • 1f3ff5a167
    Updated .gitignore Jonathan Barrow 2022-10-08 08:11:20 -04:00
  • 62a62ad533
    Merge pull request #49 from QuarkTheAwesome/dev Jonathan Barrow 2022-10-01 23:35:06 -04:00
  • 8154c8770e cache: get Redis configuration from config.json Ash Logan 2022-10-02 12:49:17 +11:00
  • ccf4d0eab7
    Add password reset NNID endpoint Jonathan Barrow 2022-10-01 17:37:03 -04:00
  • ced2d4684a
    Fixed console password change not hashing Jonathan Barrow 2022-10-01 17:13:37 -04:00
  • 93bfb41a4d
    Added password reset endpoints for website Jonathan Barrow 2022-10-01 16:59:39 -04:00
  • 1dff61d7d0
    Merge branch 'dev' of https://github.com/PretendoNetwork/account into dev Jonathan Barrow 2022-10-01 13:12:42 -04:00
  • 0649ad46e3
    Implement mii-js lib and fix default Mii on website register Jonathan Barrow 2022-10-01 13:01:11 -04:00
  • eefc36aa47
    Merge pull request #48 from QuarkTheAwesome/docker-patch1 Jonathan Barrow 2022-10-01 11:07:45 -04:00
  • cf292ed661
    Fixed path undefined error in generate-keys with account type Jonathan Barrow 2022-10-01 10:56:06 -04:00
  • 540c11f4aa
    Updated mailer to have proper from address Jonathan Barrow 2022-10-01 10:53:23 -04:00
  • 69e8b84b14 docker: Allow option to autogenerate keys Ash Logan 2022-09-30 22:25:49 +10:00
  • 883417c05f
    Removed duplicate path in generate-keys script Jonathan Barrow 2022-10-01 02:11:31 -04:00
  • 99b8032d98
    Made 3DS and Wii U use the same NEX PID pool again Jonathan Barrow 2022-10-01 01:36:42 -04:00
  • fd455fae91
    Added email for when email address is confirmed Jonathan Barrow 2022-10-01 01:26:00 -04:00