Commit Graph

292 Commits

Author SHA1 Message Date
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
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
7b82c98352 Don't be a Nyo 2016-04-08 18:18:42 +02:00
Howl
0d1a298065 Implement JSONP, also save a few bytes by using tabs in indent 2016-04-08 18:06:26 +02:00
Howl
e3cb4aed09 perhaps a memory/performance improvement? by not recreating the same function over and over? maybe. 2016-04-08 17:27:55 +02:00
Howl
ed2778e2cc Graceful restart! 2016-04-07 19:32:48 +02:00
Howl
8d99ff1070 add a method for retrieving an user's userpage. 2016-04-07 14:42:17 +02:00
Howl
fb3d2e88dd Full user data retrieval! 2016-04-07 13:47:42 +02:00
Howl
ea2d418a53 more LIMIT 1s 2016-04-07 12:43:39 +02:00
Howl
aae4c5de50 Add GET /friends/with/:id 2016-04-07 12:21:54 +02:00
Howl
cf3b30d851 Add /users/whatid/:username 2016-04-07 11:59:38 +02:00
Howl
d84aafebb7 Top forgetting to add r.Code = and r.Message = 2016-04-07 11:44:46 +02:00
Howl
ae743cb395 Add error handler middleware 2016-04-07 11:38:57 +02:00
Howl
af71442e79 Add basic friend logic 2016-04-07 11:20:35 +02:00
Howl
b484fe2761
Add API handler for /users/self 2016-04-05 22:38:33 +02:00
Howl
d02f3f9951 Add token creation (login) 2016-04-05 22:22:13 +02:00
Howl
b3b4dde8f2 Use resp.Code as the HTTP response code, unless the client has specifield they want 200-codes only. 2016-04-04 16:47:15 +02:00
Howl
851c90764a Standardise function names (Ping -> PingGET, SurpriseMe -> SurpriseMeGET) 2016-04-04 14:36:37 +02:00
Howl
6bae1e2390 User retrieval by both ID and username 2016-04-03 23:09:28 +02:00
Howl
2932ba3dd7 add badge read API 2016-04-03 22:31:41 +02:00
Howl
6b70214810 Show country if we have confidential privileges and we're looking at our user 2016-04-03 21:49:51 +02:00
Howl
3ddab1de15 Initial commit 2016-04-03 19:59:27 +02:00