Commit Graph

46 Commits

Author SHA1 Message Date
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 0418adc8c3 Add login rate limiting 2016-04-10 11:51:34 +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 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 1`s 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 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 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