Commit Graph

71 Commits

Author SHA1 Message Date
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
34593ef428 Fix paginate spawning mysql errors 2016-04-07 12:08:44 +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
f7819630ee
add README and LICENSE 2016-04-05 23:08:54 +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
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