Commit Graph

41 Commits

Author SHA1 Message Date
Alexis
efb9195053 Converted data inserts to csv 2021-01-19 22:42:59 +01:00
Alexis
e2061d6595 Updated module tree 2021-01-19 21:27:06 +01:00
Alexis
e8ca2416b7 Added authGuard function and its implementations
Also refactored small code mistakes.
2021-01-19 18:52:52 +01:00
Alexis
410a58fc09 Updated user model and repo 2021-01-18 22:06:36 +01:00
Alexis
413d458a80 Added auth routes entry point 2021-01-18 22:06:19 +01:00
Alexis
bb721e6ab4 Removed JWT 2021-01-18 22:05:01 +01:00
Alexis
39ee29c65a Added bookshelf model for api_tokens 2021-01-18 22:04:16 +01:00
Alexis
b7cc851cd6 Added db table for api_tokens 2021-01-18 22:04:01 +01:00
Alexis
d3c5e0a20c Fixed typo in user repo 2021-01-16 23:39:13 +01:00
Alexis
e9640ec2d2 Added permission description for user API 2021-01-16 19:55:50 +01:00
Alexis
16b7b81166 Updated role model and created perm model in API 2021-01-02 12:32:24 +01:00
Alexis
5cf2c1daa7 Added db permissions models 2021-01-02 11:40:05 +01:00
Alexis
b313393af6 Added getSpellsFromUser() method 2021-01-01 22:07:22 +01:00
Alexis
1759f71876 Removed bat insertion 2020-12-30 22:26:59 +01:00
Alexis
41575f40db Fixed template signup mail 2020-12-30 22:13:39 +01:00
Alexis
28c869070a User repository methods updated with roles 2020-12-30 21:53:27 +01:00
Alexis
3bdf43d11b Updated models to include roles 2020-12-30 21:52:06 +01:00
Alexis
0fd0253fb4 Updated database environment 2020-12-30 21:51:41 +01:00
Alexis
23ab785163 Refactored global api checks for params 2020-12-28 12:25:29 +01:00
Alexis
f7a09c02ae - Removed HttpError and refactored old code using it 2020-12-28 12:23:54 +01:00
Alexis
3c2326ef92 Fixed a link for email template 2020-12-27 19:09:09 +01:00
Alexis
1b11db4890 Added verif route 2020-12-27 19:08:18 +01:00
Alexis
32c17407e2 Added user verif method and refactored some indents 2020-12-27 19:08:09 +01:00
Alexis
da73fa5241 Removed temp authguard measure, will need to refactor it anyays 2020-12-27 19:06:46 +01:00
Alexis
d64e447b67 Sent an email during registeration process 2020-12-27 18:14:26 +01:00
Alexis
dba451c588 Removed test mail sending 2020-12-27 18:14:10 +01:00
Alexis
39521f063a Added db field for verif token 2020-12-27 18:13:56 +01:00
Alexis
1ea21df4d9 Added registration mail template 2020-12-27 17:28:58 +01:00
Alexis
10fdbade66 Added registration mail sending method 2020-12-27 17:28:49 +01:00
Alexis
bdfdb1d21e Added handlebars and nodemailer modules 2020-12-27 17:28:17 +01:00
Alexis
15ba9e19c9 Added API check for banned/unverified users 2020-12-26 22:54:26 +01:00
Alexis
a95a617e8b Cleanup API crew 2020-12-26 17:01:00 +01:00
Alexis
01df57f510 - Implemented register date for users 2020-12-24 17:55:32 +01:00
Alexis
65abb41a9f - Implemented store for register methods 2020-12-23 20:25:43 +01:00
Alexis
fdad47e84e - Fixed an error with 200 codes and translated API errors 2020-12-23 18:10:02 +01:00
Alexis
20f946a945 - Added email availability checker in API 2020-12-19 18:15:39 +01:00
Alexis
eba2669176 - Fixed the way components get store data 2020-12-19 17:04:22 +01:00
Alexis
fa945e45c9 - Fixed my revert hahaha :) 2020-12-18 20:34:47 +01:00
Alexis
867fa50dfe Merge branch 'dependabot/npm_and_yarn/bcrypt-5.0.0' into dev 2020-09-13 19:16:19 +02:00
Alexis
bf03470a17 - Fixed a package.json script 2020-08-09 15:32:43 +02:00
Alexis
ddcc6acc75 - Moved api files to a relevant subfolder 2020-08-09 15:27:22 +02:00