1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-30 22:41:47 -05:00
Commit Graph

18 Commits

Author SHA1 Message Date
b8d40032ca
Add banned field and tests to User 2018-08-12 05:30:50 -04:00
0ab946031e
rename auth to requireAuth 2018-08-01 17:26:02 -04:00
827072212d
Separate middleware from verifyBody logic into bodyVerifier 2018-08-01 17:11:08 -04:00
dbc37490fb
Promisalate body verification code 2018-08-01 13:07:52 -04:00
21fe0de46d
Extend body verifier to sanitize, regex trim, and length check 2018-08-01 12:34:15 -04:00
50f37fd1a2
Rewrite upload code to phase out Multer, allowing for more granular control 2018-07-29 20:08:52 -04:00
f7d51650c1
Separate out logic in requireAuth and make one unified auth.js include 2018-07-29 19:59:24 -04:00
2e268c83cb
Only perform type and instance check if prop exists 2018-07-28 16:53:02 -04:00
740c153093
create verifyBody middleware factory to abstract request validation 2018-07-28 16:49:54 -04:00
7d39001a01
Allow canonicalize to take either displayname or username from request 2018-07-28 12:44:06 -04:00
4770fd3178
Add custom authenticator in upload.js 2018-07-28 12:19:38 -04:00
230f9c2415
Add check for undefined in canonicalize middleware 2018-07-27 14:08:41 -04:00
094a45b6be
Change requireAuth to only export itself 2018-07-27 14:08:02 -04:00
a8acf85052
Change wrap to only export itself 2018-07-26 21:52:47 -04:00
7441eaaf02
Make use of username/displayname field consistent throughout api 2018-07-26 19:40:42 -04:00
d0b26a7021
Make requireAuth() add request variables 2018-07-26 13:15:54 -04:00
0db0caf422
Add ping api route and test for valid session 2018-07-25 21:34:16 -04:00
2e7ca23d9f
Rewrite User tests to be async 2018-07-25 18:45:38 -04:00