Howl
9bfbb50ffd
ping now returns both user and token privileges and their string representation
2016-09-03 01:31:03 +02:00
Howl
e80e557f10
Add custom badge in users/full
2016-09-02 17:00:36 +02:00
Howl
12aaa04fea
use new badge system, users/full now returns badge information rather than just the ID
2016-09-01 22:50:56 +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
67ae6ab3b8
Fix users/full returning "" as the country
2016-08-18 15:15:22 +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
534d5183ed
It's not rank, it's privileges
2016-07-06 14:12:57 +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
a9b82f99b5
Add global leaderboard
2016-06-14 09:37:11 +02:00
Howl
32738aaae0
Simplify string to int conversion where possible
2016-06-13 21:48:09 +02:00
Howl
de2aeb338b
Revert "Fix normalisation not actually happening in users/full"
...
This reverts commit ef14f027b7
.
2016-05-18 18:00:39 +02:00
Howl
52e1fa09ca
Revert "Normalise floats (don't use Inf in JSON)"
...
This reverts commit 330757ec78
.
2016-05-18 18:00:22 +02:00
Howl
ef14f027b7
Fix normalisation not actually happening in users/full
2016-05-18 17:49:46 +02:00
Howl
330757ec78
Normalise floats (don't use Inf in JSON)
2016-05-18 17:48:19 +02:00
Howl
5320c62e17
Be more permissive in UserLookupGET (wildcard both at start and at end of username)
2016-05-17 17:40:30 +02:00
Howl
c86bc1e420
Use precise level in /api/v1/users/full
2016-05-17 17:06:15 +02:00
Howl
32b9d1e2d5
Escape backslashes in UserLookupGET
2016-05-17 15:35:18 +02:00
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
4448fcdfdb
Update /users/userpage to use querystring parameters
2016-05-14 20:55:42 +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
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
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
44d12d2493
Ability to add friends. Also, made a few helper functions.
2016-04-08 19:05:54 +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
cf3b30d851
Add /users/whatid/:username
2016-04-07 11:59:38 +02:00
Howl
b484fe2761
Add API handler for /users/self
2016-04-05 22:38:33 +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