Commit Graph

9 Commits

Author SHA1 Message Date
Howl
9bfbb50ffd ping now returns both user and token privileges and their string representation 2016-09-03 01:31:03 +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
24d34eb741 v1.TokenNewPOST => /tokens, /tokens/new 2016-06-15 00:23:55 +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
98c8206946 Fix default message when there's no API key pointing to wrong method 2016-04-09 23:53:49 +02:00
Howl
44d12d2493 Ability to add friends. Also, made a few helper functions. 2016-04-08 19:05:54 +02:00
Howl
851c90764a Standardise function names (Ping -> PingGET, SurpriseMe -> SurpriseMeGET) 2016-04-04 14:36:37 +02:00
Howl
3ddab1de15 Initial commit 2016-04-03 19:59:27 +02:00