Commit Graph

62 Commits

Author SHA1 Message Date
Howl
0e27793d25 make rank_requests/status auth-free 2016-09-24 19:45:07 +02:00
Howl
3262bbea74 rank requests stuff, temporarily disabled 2016-09-20 18:14:02 +02:00
Howl
7249d9136b move rank requests status to ReadConfidential, as it contains user information 2016-09-07 12:53:52 +02:00
Howl
dd00c39075 Add initial beatmap reqeusts API to get current status 2016-09-06 20:11:46 +02:00
Howl
c745947281 add peppymethods also in /v1, because new osu-web does so 2016-09-06 19:15:37 +02:00
Howl
61527882d1 Get donor info through /users/self/donor_info 2016-09-02 18:27:15 +02:00
Howl
92be078783 move peppyapi into its own group 2016-09-02 18:14:23 +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
73b0f48586 Add get_beatmaps 2016-08-22 23:04:52 +02:00
Howl
954ec755b8 Implement get_scores in peppyapi 2016-08-15 21:13: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
af691bee1c Change system for hanayo requests 2016-08-09 23:06:23 +02:00
Howl
921402b0ee Add blog API 2016-07-07 00:20:36 +02:00
Howl
faf948b037 Implement rate limiting
- 60 requests per minute for requests without a valid API token
- 2000 requests per minute per user for requests with a valid API token
2016-07-06 16:33:58 +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
b3e31734f5 Release logging to sentry 2016-06-17 10:34:53 +02:00
Howl
427f2ff890 Remove errore_meme 2016-06-16 14:06:09 +02:00
Howl
9658957067 Better recovery 2016-06-16 13:49:35 +02:00
Howl
06eb64ecf5 error logging with schiavo -> error logging with sentry 2016-06-16 12:45:10 +02:00
Howl
24d34eb741 v1.TokenNewPOST => /tokens, /tokens/new 2016-06-15 00:23:55 +02:00
Howl
fc38503bdd add GET /tokens/self 2016-06-14 12:01:30 +02:00
Howl
4d9ec829a8 Add token listing at GET /tokens, also add a token-fixing tool at /tokens/fix_privileges.
By the way, 100th commit on the API!
2016-06-14 11:32:11 +02:00
Howl
52d7b65493 Add /api/v1/tokens/self/delete 2016-06-14 10:03:53 +02:00
Howl
a9b82f99b5 Add global leaderboard 2016-06-14 09:37:11 +02:00
Howl
a65cf086f0 Add Documentation API 2016-06-13 22:40:01 +02:00
Howl
b1fc609706 Add BeatmapsRankedFrozenFullGET, an endpoint to get all beatmaps having a frozen ranked status 2016-06-08 23:33:08 +02:00
Howl
9b821e3230 Add /api/v1/beatmaps 2016-06-08 19:55:52 +02:00
Howl
6a374a4f9d Implement get_user_best and get_user_recent in peppyapi 2016-05-28 20:24:39 +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
f7559e8cc5 Implement /api/get_match (will return empty array, match data is currently not stored in ripple) 2016-05-15 14:04:59 +02:00
Howl
d6f67915c5 Start implementing peppyapi; implement /api/get_user 2016-05-15 13:57:04 +02:00
Howl
42437bde44 Add user lookup (search for user with only initial part of their username) 2016-05-14 22:43:47 +02:00
Howl
3942f63446 use querystring in /friends methods. remove useless POST methods in /friends 2016-05-14 21:23:17 +02:00
Howl
9481de5e4e Merge /badges/:id into /badges 2016-05-14 21:02:05 +02:00
Howl
4448fcdfdb Update /users/userpage to use querystring parameters 2016-05-14 20:55:42 +02:00
Howl
09582361a3 /users/full now using querystring. /users requests from now on will have an uniform system for getting the user (?id=self | ?id=1337 | ?name=Howl) 2016-05-14 19:51:33 +02:00
Howl
8114329d38 /users/whatid using querystring param name 2016-05-14 18:52:55 +02:00
Howl
3a199b8c41 Merge /users/id/:id and /users/name/:name into /users (with querystring params id and name) 2016-05-14 18:32:43 +02:00
Howl
3782ed3c7c beatmap ranking in API 2016-04-27 20:03:06 +02:00
Howl
32029d963e We git.zxq.co now 2016-04-19 16:07:27 +02:00
Howl
c4e03dc189 Yay banning people! 2016-04-12 21:41:08 +02:00
Howl
189a0cbb02 Add GET /api/status for Ripple's status page. 2016-04-10 23:14:44 +02:00
Howl
c5863063f1 Everything is plural except for this, so yeah 2016-04-10 00:07:16 +02:00
Howl
f0e444cdea Auto-update. Or at least, so it should do. 2016-04-09 20:31:50 +02:00
Howl
92d308879b Add /meta/{up_since,kill} 2016-04-09 18:14:38 +02:00
Howl
c016796303 Friend deletion 2016-04-08 19:23:52 +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