Commit Graph

258 Commits

Author SHA1 Message Date
Jonathan Barrow
3ef40c64cd Updated packages 2023-03-03 12:37:50 -05:00
Jonathan Barrow
84bf498d48 Enable "resolveJsonModule": true in tsconfig 2023-03-03 00:29:12 -05:00
Jonathan Barrow
8bb3d600c4 Add types folder to ts includes 2023-03-03 00:28:08 -05:00
Jonathan Barrow
bf3e357bc1 Set tsconfig target to es2022 2023-03-02 19:37:17 -05:00
Jonathan Barrow
68a0fa8193 Added es2021 lib to compilerOptions (needed for replaceAll) 2023-03-02 19:29:09 -05:00
Jonathan Barrow
bcbf403aba Set module to commonjs in tsconfig 2023-03-01 17:53:14 -05:00
Jonathan Barrow
b4980e942d Set moduleResolution to node in tsconfig 2023-03-01 16:36:21 -05:00
Jonathan Barrow
0543bd45c8 Enabled esModuleInterop in tsconfig 2023-03-01 16:34:17 -05:00
Jonathan Barrow
ff69ac3cea Added tsconfig and start of TypeScript migration 2023-02-28 21:08:52 -05:00
Jonathan Barrow
868a8ed9bb Pull logger path from env directly 2023-02-28 20:58:51 -05:00
Jonathan Barrow
6787361ee4 Remove unused modules 2023-02-28 20:44:01 -05:00
Jonathan Barrow
e164950390 Make logger path configurable 2023-02-28 20:27:59 -05:00
Jonathan Barrow
b655fec99a Move logger to src folder 2023-02-28 20:25:27 -05:00
Jonathan Barrow
536b227cdb Update .gitignore 2023-02-28 20:23:51 -05:00
Jonathan Barrow
05bd48eac0 Merge pull request #63 from ashmonty/patch-1 2023-02-26 17:12:03 -05:00
ash
07d28c1979 feat: send mail from config-definable email 2023-02-26 21:20:50 +00:00
Jonathan Barrow
3954d7588b Ignore case in getUserByEmailAddress 2023-02-15 16:26:15 -05:00
Jonathan Barrow
314833e3b3 Added start of the README 2023-02-12 09:34:48 -05:00
Jonathan Barrow
9801c8b59e Merge branch 'dev' of https://github.com/PretendoNetwork/account into dev 2023-02-12 09:27:39 -05:00
Jonathan Barrow
4868596b71 Set memory cache default to null when not using redis 2023-02-12 09:25:12 -05:00
Jonathan Barrow
37caa67851 Updated cdn config in manager 2023-02-12 09:23:53 -05:00
Jonathan Barrow
0201347e26 Removed extra line break in NASC 2023-02-12 09:22:41 -05:00
Jonathan Barrow
7f5fcbb28d Updated package-lock 2023-02-12 09:22:16 -05:00
Jonathan Barrow
e174e0ce63 Merge pull request #52 from ashmonty/dev
feat: add email templates
2022-11-07 18:49:42 -05:00
Ash Monty
29d25f414f feat: add buttons, confirmation email to sendMail, add new props 2022-10-22 21:49:15 +02:00
Ash Monty
734486d94a feat: add html mailer 2022-10-22 20:56:35 +02:00
Ash Monty
4a66567aa0 feat: add assets subdomain, add email assets 2022-10-22 20:25:30 +02:00
Jonathan Barrow
0cebd41f5c Removed mongoose.uri and mongoose.database options for single mongoose.connection_string 2022-10-20 20:29:23 -04:00
Jonathan Barrow
36fd3d1596 Merge pull request #51 from PretendoNetwork/feature-better-config
[Feature] Better config
2022-10-14 21:27:46 -04:00
Jonathan Barrow
20da652b38 Made CDN disk path configurable, updated CDN config, updated examples 2022-10-14 07:03:46 -04:00
Jonathan Barrow
4cd1665c17 Removed redundant env checks 2022-10-14 06:50:11 -04:00
Jonathan Barrow
434bcfdc56 Added high memory usage warning wen both s3 and redis are disabled 2022-10-09 22:08:33 -04:00
Jonathan Barrow
646916b7a8 Add redis dump.rdb to gitignore 2022-10-09 22:07:14 -04:00
Jonathan Barrow
24fd641cc6 Changed aws/spaces config to generic s3 config 2022-10-09 15:39:26 -04:00
Jonathan Barrow
64488b061d Added enable message to missing optional config values 2022-10-09 15:33:02 -04:00
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