Commit Graph

24 Commits

Author SHA1 Message Date
Morgan Bazalgette
41ee4c90b3 Move from git.zxq.co to zxq.co 2017-01-14 18:06:16 +01:00
Howl
9e57fedd80 friends/add and del are now POST-only 2016-11-16 18:03:47 +01:00
Howl
0edbff13cd Add sorting stuff to GET v1/friends 2016-10-16 16:45:42 +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
a6ca8de13e Implement GET scores in official ripple api 2016-08-15 19:59:46 +02:00
Howl
24933cc08f Show countries of everyone, without checking show_country. 2016-07-06 23:43:43 +02:00
Howl
09523369b7 Use custom type UnixTimestamp instead of repeating boilerplate code over and over. 2016-07-06 22:32:30 +02:00
Howl
fcdd042d6c Finish up with new ranks and stuff on the API 2016-07-04 00:06:23 +02:00
Nyo
39f6b2bbcf New privileges on API (allowed column only) 2016-07-03 21:55:03 +02:00
Howl
a65cf086f0 Add Documentation API 2016-06-13 22:40:01 +02:00
Howl
32738aaae0 Simplify string to int conversion where possible 2016-06-13 21:48:09 +02:00
Howl
da2a36537e Implement user/scores/best 2016-05-19 17:15:17 +02:00
Howl
3942f63446 use querystring in /friends methods. remove useless POST methods in /friends 2016-05-14 21:23:17 +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
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
62969581bf Badges are useless on most requests. 2016-04-09 23:58:27 +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
aae4c5de50 Add GET /friends/with/:id 2016-04-07 12:21:54 +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