Commit Graph

277 Commits

Author SHA1 Message Date
Jonathan Barrow
b01ef39fb2 Added missing types 2023-03-06 21:16:44 -05:00
Jonathan Barrow
19a695af3f DeviceAttribute was defined but not used 2023-03-06 21:08:32 -05:00
Jonathan Barrow
7660b9134c Removed unused exports 2023-03-06 21:07:35 -05:00
Jonathan Barrow
9fafca77fd Typed literally everything and eslint is happy 2023-03-06 21:01:15 -05:00
Jonathan Barrow
d23a8b7c21 Remade config manager. Removed JSON file support 2023-03-05 20:14:31 -05:00
Jonathan Barrow
bfba5a0259 Migrate to TS imports in util.ts (forgot, oops) 2023-03-04 22:50:43 -05:00
Jonathan Barrow
e438253d3b Moved types folder into src and changed alias root to @/ 2023-03-04 20:25:01 -05:00
Jonathan Barrow
55c9bff862 Replaced jsdoc with TS types 2023-03-04 16:01:01 -05:00
Jonathan Barrow
498d3838a3 Added nexUser to express.Request type 2023-03-04 15:51:28 -05:00
Jonathan Barrow
ffc4e783a8 Removed unused variables from NASC 2023-03-04 15:48:08 -05:00
Jonathan Barrow
66f6dfc5df Return DB connection from function 2023-03-04 12:41:53 -05:00
Jonathan Barrow
6f570f6c2b Disable id virtual getter on mongoose documents 2023-03-04 11:29:48 -05:00
Jonathan Barrow
c73b820342 Removed PNID.deleteOne from deletion endpoint. Does not actually delete a NNID 2023-03-04 10:42:13 -05:00
Jonathan Barrow
706435ed7a Fixed cryptoPath checks in provider NNID endpoint 2023-03-04 10:41:27 -05:00
Jonathan Barrow
a836f67b47 Bump mongoose to 7 and use mongoose-unique-validator fork 2023-03-04 10:03:06 -05:00
Jonathan Barrow
45a5fd9862 Add import aliases 2023-03-04 09:45:12 -05:00
Jonathan Barrow
d05a1eed91 Better typed Mongoose models 2023-03-03 20:59:05 -05:00
Jonathan Barrow
75de643ac5 Bump version to 2.0.0 2023-03-03 12:45:49 -05:00
Jonathan Barrow
a75769a326 First steps to TypeScript 2023-03-03 12:38:36 -05:00
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