1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-09-21 11:11:22 -04:00
Commit Graph

161 Commits

Author SHA1 Message Date
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
e7eafef605
Remove inviteCount field 2018-07-27 14:56:06 -04:00
001be23d00
Add uploaded message 2018-07-27 14:26:55 -04:00
c9e250a68e
Change exp field to expires 2018-07-27 14:23:23 -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
f97070452b
Fix view route and add mimetype inline whitelist 2018-07-26 21:53:15 -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
82e9989b2b
Fix some warnings 2018-07-26 19:01:16 -04:00
b01b0ece6b
Add new upload dirs to .gitignore 2018-07-26 17:35:26 -04:00
8bfec46001
Replace constants with configurable values 2018-07-26 17:34:47 -04:00
eda74de1de
Fix upload size bug in upload.js and add more tests 2018-07-26 16:54:08 -04:00
827c4cdbfa
Remove redundant info in Upload model 2018-07-26 16:51:27 -04:00
4887771996
Add missing import 2018-07-26 15:18:54 -04:00
c8091a0e1d
Clear Key in tests 2018-07-26 13:19:47 -04:00
15db9a47ba
Redo uploading and tests 2018-07-26 13:17:37 -04:00
58e25e4e2a
Remove SIGINT handler and only listen upon server start 2018-07-26 13:16: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
c246d3738a
Reduce pbkdf2 iterations 2018-07-25 18:45:08 -04:00
4d0c3ac865
Set default morgan loglevel to dev 2018-07-25 18:43:56 -04:00
afbebc977e
Add error handling middleware 2018-07-25 18:43:20 -04:00
a00a3efbf6
Add different config for morgan logging 2018-07-25 10:18:29 -04:00
ce99433afc
Properly async-ify registration code 2018-07-25 01:45:05 -04:00
1fdb121260
Change response code, add length test, verify user and invite are processed correctly 2018-07-25 01:44:45 -04:00
883ec62c7a
Update mongo args for latest version 2018-07-25 01:42:39 -04:00
6211df933e
Update packages to latest releases 2018-07-25 01:42:11 -04:00
9be1013bb7
Update all tests and add some new ones 2018-07-24 19:39:55 -04:00
af50379a59
Update gulpfile for gulp 4.0.0 2018-07-24 19:39:34 -04:00
55ee7161a0
ES6-ify server.js and add SIGINT graceful close 2018-07-24 19:39:18 -04:00
53f58574f0
Update for latest version of node 2018-07-24 19:38:12 -04:00
c0f924bb59
Fix username in use check and whitespace sanitization 2018-07-24 19:37:49 -04:00
150b736071
Add unit shortening to users page 2018-01-15 18:14:37 -05:00
c7e58c490f
Improve scope checking readability 2018-01-15 18:13:59 -05:00
Jack Foltz
d3bef194ff
Merge pull request #11 from Foltik/mean
Mean
2018-01-15 17:16:30 -05:00
098865cbbf
Fix file permissions 2018-01-15 17:13:35 -05:00
26cc9bf6ef
Refactor all base auth routes, allowing for case insensitivity and unicode usernames. 2018-01-15 15:29:32 -05:00
4b4d32ec9c
Add scope middleware to invites 2018-01-15 11:48:58 -05:00
6c89cdd29e
Add scope requirements to API creation 2018-01-15 11:48:36 -05:00
0e18787f62
Add demo users page 2018-01-15 11:46:59 -05:00
4093d8c6f3
Add UserSvc and UserCtrl 2018-01-15 11:46:49 -05:00
4aa2dc0011
Add new permission nodes 2018-01-15 11:46:28 -05:00
c2916b7f6d
Add users api route 2018-01-15 11:45:52 -05:00
8ec7973925
Fix typo in api.html 2018-01-15 10:11:05 -05:00