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

206 Commits

Author SHA1 Message Date
c42a012229
Fix upload url 2018-08-14 05:14:40 -04:00
a24c84f9d0
Update auth controller 2018-08-14 05:14:26 -04:00
189a438028
Rename api in panel to keys 2018-08-14 05:13:59 -04:00
520fb5299d
Fix dev config and add es6 uglifying 2018-08-14 05:12:58 -04:00
50acf343ba
Fix error handler 2018-08-14 05:12:05 -04:00
d37103ea39
Add npm ci 2018-08-13 07:27:17 -04:00
8322997bce
Remove unhandled exception handler 2018-08-13 07:18:48 -04:00
f24ae8456b
Fix istanbul version for travis-ci 2018-08-13 07:10:01 -04:00
e62e534a7f
Fix code coverage 2018-08-13 06:58:21 -04:00
93db3be23c
Add code coverage 2018-08-13 06:53:21 -04:00
76f6bbbc0d
Add conditional http logging 2018-08-13 06:43:31 -04:00
d3e72f332d
Cache node_modules in travis-ci 2018-08-13 06:43:22 -04:00
8cbdc41c8b
Use latest node on travis-ci 2018-08-13 06:36:52 -04:00
fdf70ad72a
Add travis-ci files 2018-08-13 06:32:09 -04:00
e5c89eebb5
Add user not found tests for ban/unban 2018-08-13 06:23:46 -04:00
d28ce97ff5
Fix key limit check and add test 2018-08-13 06:13:47 -04:00
b941da93e1
Add auth logout tests 2018-08-13 05:59:04 -04:00
cbebe2b003
Redo users api route and add tests 2018-08-13 05:52:54 -04:00
b8d40032ca
Add banned field and tests to User 2018-08-12 05:30:50 -04:00
e0eacf5ff9
Properly remove temp files in view tests 2018-08-01 20:28:21 -04:00
1502c2b7a7
Add nyc output to .gitignore 2018-08-01 20:26:24 -04:00
289a2e0c16
Add tests for view.js route 2018-08-01 20:25:27 -04:00
a395485f09
Update view.js route 2018-08-01 20:25:00 -04:00
998bd496f0
Remove redundant malformed request tests 2018-08-01 19:09:40 -04:00
1b229d49a4
Add tests for /api/keys 2018-08-01 18:58:30 -04:00
cc788d10e4
Update keys.js route 2018-08-01 18:57:45 -04:00
0ab946031e
rename auth to requireAuth 2018-08-01 17:26:02 -04:00
bc499aa260
Add tests for verifyBody 2018-08-01 17:19:02 -04:00
827072212d
Separate middleware from verifyBody logic into bodyVerifier 2018-08-01 17:11:08 -04:00
67909552dc
Add key stubs and specify code in verifyRejectedUsername 2018-08-01 16:53:55 -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
c23c9b345e
Clean Invites route 2018-08-01 12:20:35 -04:00
49b77c5c03
Clean up routes folder 2018-08-01 11:54:35 -04:00
f02a4f05f4
Update tests for upload rewrite 2018-07-29 20:09:09 -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
1d2a493258
Add salt length and hash iterations config for User model 2018-07-29 19:38:29 -04:00
c851d1d808
Add uncaught exception handler 2018-07-29 19:35:58 -04:00
b8c87c1b89
Add assertion messages and malformed request tests for all routes 2018-07-29 11:06:57 -04:00
179bed8924
Fix login body verification 2018-07-29 11:00:14 -04:00
456cac6b17
Verify the request before attempting to canonicalize it 2018-07-29 10:57:27 -04:00
cc84fdb20c
Rewrite auth router to use middleware for verification 2018-07-28 18:22:48 -04:00
28555cff3f
Remove auth checking from routes.js 2018-07-28 17:13:50 -04:00
d6aa85ae80
Redo invite API routes and add full testing suite 2018-07-28 17:13:19 -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
9227fa428d
Add checks for bad requests in auth.js to prevent 500 2018-07-28 12:53:49 -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