Commit Graph

30 Commits

Author SHA1 Message Date
Howl
dd00c39075 Add initial beatmap reqeusts API to get current status 2016-09-06 20:11:46 +02:00
Howl
76c653b47e Fucking typos 2016-08-27 12:52:17 +02:00
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
42011ad10c Allow much more freedom to query for different things in /api/v1/beatmaps 2016-08-23 16:27:09 +02:00
Howl
817592e736 Remove common.OsuTime, change all occurencies to common.UnixTimestamp 2016-08-19 17:02:51 +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
af691bee1c Change system for hanayo requests 2016-08-09 23:06:23 +02:00
Howl
09523369b7 Use custom type UnixTimestamp instead of repeating boilerplate code over and over. 2016-07-06 22:32:30 +02:00
Howl
0a870ee742 Remove read privilege. Public data is now readable by everyone without having to pass an API token. Feel free to test around as much as you like! 2016-07-06 14:22:43 +02:00
Howl
fcdd042d6c Finish up with new ranks and stuff on the API 2016-07-04 00:06:23 +02:00
Nyo
39f6b2bbcf New privileges on API (allowed column only) 2016-07-03 21:55:03 +02:00
Howl
b3e31734f5 Release logging to sentry 2016-06-17 10:34:53 +02:00
Howl
06eb64ecf5 error logging with schiavo -> error logging with sentry 2016-06-16 12:45:10 +02:00
Howl
fc38503bdd add GET /tokens/self 2016-06-14 12:01:30 +02:00
Howl
a65cf086f0 Add Documentation API 2016-06-13 22:40:01 +02:00
Howl
32738aaae0 Simplify string to int conversion where possible 2016-06-13 21:48:09 +02:00
Howl
6a374a4f9d Implement get_user_best and get_user_recent in peppyapi 2016-05-28 20:24:39 +02:00
Howl
db323908ac Add in.go 2016-05-28 17:30:18 +02:00
Howl
da2a36537e Implement user/scores/best 2016-05-19 17:15:17 +02:00
Howl
3782ed3c7c beatmap ranking in API 2016-04-27 20:03:06 +02:00
Howl
7387ed4295 Completely change response structure 2016-04-16 18:05:24 +02:00
Howl
c108da9bb3 implement unmarshaling straight into MethodData 2016-04-12 21:23:02 +02:00
Howl
44d12d2493 Ability to add friends. Also, made a few helper functions. 2016-04-08 19:05:54 +02:00
Howl
ed2778e2cc Graceful restart! 2016-04-07 19:32:48 +02:00
Howl
34593ef428 Fix paginate spawning mysql errors 2016-04-07 12:08:44 +02:00
Howl
af71442e79 Add basic friend logic 2016-04-07 11:20:35 +02:00
Howl
d02f3f9951 Add token creation (login) 2016-04-05 22:22:13 +02:00
Howl
df793351c0 omitempty for message in response 2016-04-03 20:31:51 +02:00
Howl
3ddab1de15 Initial commit 2016-04-03 19:59:27 +02:00