Commit Graph

72 Commits

Author SHA1 Message Date
Alicia
bd1b959836 adaq 2019-02-25 21:04:55 +00:00
Alicia
950340a04d add clan info to api 2019-02-24 14:37:51 +00:00
Alicia
2b02e0eaea Update user.go 2019-02-24 14:25:24 +00:00
Alicia
6f0df0a994 oops 2019-02-24 11:30:43 +00:00
Alicia
9f388f032c Forgot to update ranks 2019-02-24 11:26:46 +00:00
Alicia
53c06bd94f Update user.go 2019-02-24 00:38:51 +00:00
Alicia
a2916a6045 Update user.go 2019-02-24 00:37:52 +00:00
Alicia
13b6017e37 Update user.go 2019-02-24 00:36:31 +00:00
Alicia
47d0c75345 add rx and ap calls to api 2019-02-24 00:35:04 +00:00
Alicia
b444bf15dd final error fixing 2019-02-23 13:14:37 +00:00
Alicia
5fc84bd914 fix schiavo error and changing rippleapi to api 2019-02-23 13:11:47 +00:00
Alicia
5b78c99b04 Allow import straight from github 2019-02-23 13:09:10 +00:00
Morgan Bazalgette
0cb01f6067
show email when token has manageusers 2017-11-21 15:53:23 +01:00
Morgan Bazalgette
8d92df534c
make /users/full show CM notes and ban date when token has PrivilegeManageUser 2017-11-20 14:33:58 +01:00
Morgan Bazalgette
cc90105130
make Global- and CountryLeaderboardRank nullable 2017-04-13 08:57:11 +02:00
Morgan Bazalgette
622658f5aa
Implement country leaderboards 2017-04-11 23:18:02 +02:00
Morgan Bazalgette
85e6dc7e5e Move to fasthttp for improved performance 2017-02-02 13:40:28 +01:00
Morgan Bazalgette
41ee4c90b3 Move from git.zxq.co to zxq.co 2017-01-14 18:06:16 +01:00
Morgan Bazalgette
62612cfdb8 Allow for searching user by email for users with ManageUser 2016-12-12 21:35:18 +01:00
Howl
20dba6cd86 Input sanitisation in userpages and user settings 2016-11-21 16:59:17 +01:00
Howl
4036772803 Userpage now is never nil (fix edit userpage not working for certain users) 2016-11-16 17:36:01 +01:00
Howl
1c2201317f Add POST users/self/userpage 2016-11-07 18:34:53 +01:00
Howl
29296010db Add silence info 2016-10-21 18:54:46 +02:00
Howl
2f33e94881 add has_not_privileges 2016-10-20 18:14:30 +02:00
Howl
043448c429 Add search by privilege group name in users 2016-10-19 17:10:36 +02:00
Howl
325df61d96 Spaces and underscores in usernames now don't make a difference 2016-10-16 18:52:34 +02:00
Howl
fefde77261 GET v1/users is now actually pretty darn cool 2016-10-16 16:26:10 +02:00
Howl
c54c1565ca Show custom badge only if user is currently a donor 2016-09-30 21:11:45 +02:00
Howl
7e5d35d79a make userpage content nil-able 2016-09-05 23:45:11 +02:00
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