Commit Graph

76 Commits

Author SHA1 Message Date
Howl
2638f8be2a .HIDE. ??? 2016-05-22 17:23:44 +02:00
Howl
d5caa1fdc2 Report errors in API to #bunker 2016-05-22 17:11:07 +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
45c67cf9b7 Start implementing get_beatmaps 2016-05-18 18:37:36 +02:00
Howl
de2aeb338b Revert "Fix normalisation not actually happening in users/full"
This reverts commit ef14f027b7.
2016-05-18 18:00:39 +02:00
Howl
52e1fa09ca Revert "Normalise floats (don't use Inf in JSON)"
This reverts commit 330757ec78.
2016-05-18 18:00:22 +02:00
Howl
ef14f027b7 Fix normalisation not actually happening in users/full 2016-05-18 17:49:46 +02:00
Howl
330757ec78 Normalise floats (don't use Inf in JSON) 2016-05-18 17:48:19 +02:00
Howl
2afc557ef8 peppyapi: replicate behaviour of original API (check for user ID first, then for username) 2016-05-18 17:47:39 +02:00
Howl
5320c62e17 Be more permissive in UserLookupGET (wildcard both at start and at end of username) 2016-05-17 17:40:30 +02:00
Howl
c86bc1e420 Use precise level in /api/v1/users/full 2016-05-17 17:06:15 +02:00
Howl
a16c196799 Add level in /api/get_user 2016-05-17 17:00:09 +02:00
Howl
32b9d1e2d5 Escape backslashes in UserLookupGET 2016-05-17 15:35:18 +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
e043dd9cdf Remove useless println 2016-05-15 13:57:28 +02:00
Howl
d6f67915c5 Start implementing peppyapi; implement /api/get_user 2016-05-15 13:57:04 +02:00
Howl
a939d15779 Force private API keys to have Privileges write, read, read confidential 2016-05-15 07:20:11 +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
35fb27e3c1 Add PP in /users/full 2016-05-14 21:27:42 +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
5f97315d49 i memi 2016-05-14 20:31:28 +02:00
Howl
417409030a Fix 500 on tokens/new 2016-05-14 20:18:29 +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
1b1f2503a2 fuck nyo 2016-04-27 21:03:16 +02:00
Howl
8dbacc5ed9 add privilege beatmap to privileges.go 2016-04-27 20:25:53 +02:00
Howl
6936d7932f OOOH RIGHT 2016-04-27 20:18:55 +02:00
Howl
b8c013c0ad go get -u -v -d -xd 2016-04-27 20:17:59 +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
7387ed4295 Completely change response structure 2016-04-16 18:05:24 +02:00
Howl
14d926e31d Just testing ~ 2016-04-12 22:53:56 +02:00
Howl
4bf5673bd0 Allow PrivilegeViewUserAdvanced owners to see all users' user IDs. 2016-04-12 22:21:39 +02:00
Howl
c4e03dc189 Yay banning people! 2016-04-12 21:41:08 +02:00
Howl
c108da9bb3 implement unmarshaling straight into MethodData 2016-04-12 21:23:02 +02:00
Howl
b29c64023f Ooops, it was status 2016-04-10 23:18:56 +02:00
Howl
189a0cbb02 Add GET /api/status for Ripple's status page. 2016-04-10 23:14:44 +02:00
Howl
0418adc8c3 Add login rate limiting 2016-04-10 11:51:34 +02:00
Howl
c5863063f1 Everything is plural except for this, so yeah 2016-04-10 00:07:16 +02:00
Howl
0b7ca1a370 Well I guess I fucked up a bit o'er there 2016-04-10 00:03:05 +02:00
Howl
62969581bf Badges are useless on most requests. 2016-04-09 23:58:27 +02:00
Howl
98c8206946 Fix default message when there's no API key pointing to wrong method 2016-04-09 23:53:49 +02:00
Howl
98137678eb Remove useless stuff from privileges 2016-04-09 23:50:52 +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