Commit Graph

18 Commits

Author SHA1 Message Date
Howl
e4d27f8d6b Allow users with AdminManageUsers to see banned users
Also:
- General code refactoring
- Allow banned/restricted users to see their scores etc
- common.MethodData now contains UserPrivileges
- UserPrivileges have now their own type
- Implement md.HasQuery, to know if there's a GET querystring parameter or not
2016-08-27 12:04:12 +02:00
Howl
b9d35ac46d Add more where clauses because I forgot 'em 2016-08-15 20:07:40 +02:00
Howl
a6ca8de13e Implement GET scores in official ripple api 2016-08-15 19:59:46 +02:00
Howl
e41be44397 Use sqlx instead of sql. Rewrite of most clusterfucks incoming 2016-08-15 13:37:03 +02:00
Howl
17fef6c654 Silently ignore time.ParseErrors 2016-08-09 19:15:53 +02:00
Nyo
38008a5451 Fix error on scores handlers 2016-07-20 10:49:29 +02:00
Howl
3a2928be53 hey nyo i may or may not have fixed beatmap difficulties 2016-07-18 23:27:37 +02:00
Howl
09523369b7 Use custom type UnixTimestamp instead of repeating boilerplate code over and over. 2016-07-06 22:32:30 +02:00
Nyo
39f6b2bbcf New privileges on API (allowed column only) 2016-07-03 21:55:03 +02:00
Howl
9b821e3230 Add /api/v1/beatmaps 2016-06-08 19:55:52 +02:00
Howl
0c6237ed01 Use userid rather than username 2016-05-28 23:48:29 +02:00
Howl
6a374a4f9d Implement get_user_best and get_user_recent in peppyapi 2016-05-28 20:24:39 +02:00
Howl
0fcb1cc391 diobono 2016-05-26 21:19:00 +02:00
Howl
fde01c6f84 Don't print 0pp scores on std on user/scores/best 2016-05-26 21:13:36 +02:00
Howl
a25512fb96 Add completed status in users/scores/* 2016-05-22 16:22:13 +02:00
Howl
ce739a8ae5 Implement users/scores/recent 2016-05-19 17:31:49 +02:00
Howl
da2a36537e Implement user/scores/best 2016-05-19 17:15:17 +02:00
Howl
9481de5e4e Merge /badges/:id into /badges 2016-05-14 21:02:05 +02:00