1
0
mirror of https://github.com/Foltik/Shimapan synced 2024-11-10 15:48:27 -05:00
Commit Graph

119 Commits

Author SHA1 Message Date
f1437f16a9
Use ip instead of remoteAddress for logging 2018-12-26 19:30:42 -05:00
e4684384ea
Add newline to auth logging 2018-12-26 19:15:29 -05:00
19d8d026fe
Add auth failure logging 2018-12-26 19:02:59 -05:00
137b47cf0b
Finish stats tests and fix all time calculation 2018-09-19 16:12:43 -04:00
6820a4d2c6
Change key background to be more consistent 2018-09-19 13:07:38 -04:00
835a4aa384
Update modal style 2018-09-19 13:07:21 -04:00
2ad3148a08
Move keys css to separate file 2018-09-15 22:42:07 -04:00
7f4565faf5
Finish dashboard historical view 2018-09-15 22:25:49 -04:00
2783c10259
Add View model 2018-09-15 18:26:14 -04:00
1139ff7f10
Cleanup + work on dash ctrl 2018-09-15 18:26:01 -04:00
f892b5676c
Add View model for logging views in the db 2018-09-15 18:25:48 -04:00
c1a3882097
Add stats API route 2018-09-15 18:25:07 -04:00
822bbb015a
Change id in Upload schema to uid 2018-09-15 16:20:14 -04:00
18d33de0c5
Fix date and label calculation 2018-09-15 14:00:20 -04:00
9e7679e539
Add graphs to dashboard 2018-08-15 11:23:30 -04:00
9d22adf8fb
Add angular-chart.js and start dashboard rework 2018-08-15 09:27:32 -04:00
e94184b0bc
Update package.json license 2018-08-15 09:02:09 -04:00
4ab33d141d
Redo panel page and css 2018-08-14 11:32:47 -04:00
c55401be2e
Update KeyController to use new service and create uploader templates 2018-08-14 08:42:59 -04:00
f0a7c05174
Update key service to use (err, data) callbacks 2018-08-14 08:42:05 -04:00
a14158dd3c
Properly overflow key identifier 2018-08-14 08:33:28 -04:00
b4a83b4e87
Small formatting change 2018-08-14 08:32:42 -04:00
93b62ee703
Fix extraneous upload logic and test 2018-08-14 08:30:46 -04:00
323a045465
Actually rename it 2018-08-14 05:25:50 -04:00
50a96c9e95
Add auth requirement on home and panel 2018-08-14 05:14:53 -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
d28ce97ff5
Fix key limit check and add test 2018-08-13 06:13:47 -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
a395485f09
Update view.js route 2018-08-01 20:25:00 -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
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
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
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
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