Commit Graph

201 Commits

Author SHA1 Message Date
Howl
9de913888d Light speedup on scores/recent 2016-10-29 17:07:29 +02:00
Howl
b9d4683092 Remove time from sorting in score 2016-10-29 14:27:55 +02:00
Howl
10c61cec02 beatmap_md5 -> md5 2016-10-29 14:23:31 +02:00
Howl
a6b4ad1d3e Allow looking for beatmap md5 in GET /beatmaps 2016-10-29 14:05:16 +02:00
Howl
3ce1f58a48 add pagination to GET /tokens 2016-10-28 16:45:30 +02:00
Howl
4239c2f0e9 Add mods to get_scores 2016-10-25 20:03:33 +02:00
Howl
077c6563fa StatusLoved 2016-10-25 18:48:44 +02: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
2e1713db49 add SafeUsername function 2016-10-16 18:27:12 +02:00
Howl
0edbff13cd Add sorting stuff to GET v1/friends 2016-10-16 16:45:42 +02:00
Howl
fefde77261 GET v1/users is now actually pretty darn cool 2016-10-16 16:26:10 +02:00
Howl
dccec469af Add UserTournamentStaff privilege 2016-10-06 16:57:01 +02:00
Howl
e5504d2e29 whoops 2016-10-02 22:30:52 +02:00
Howl
2e2b1e481b Revert "requests -> requestsbytype"
This reverts commit a060187547.
2016-10-02 21:59:04 +02:00
Howl
46c723c7b6 I cannot believe I am so stupid 2016-10-02 21:58:43 +02:00
Howl
a060187547 requests -> requestsbytype 2016-10-02 21:54:23 +02:00
Howl
3a55524c86 Add some more datadog crap 2016-10-02 20:07:38 +02:00
Howl
da0021a9b3 Add some datadog shit 2016-10-02 19:47:31 +02:00
Howl
c54c1565ca Show custom badge only if user is currently a donor 2016-09-30 21:11:45 +02:00
Howl
48cef26ccd Add ability to filter leaderboard by country (country ranking) (NOT ON WEBSITE RN) 2016-09-28 23:00:24 +02:00
Howl
d6aa0a814d Level on chosen_mode in leaderboard 2016-09-28 20:49:58 +02:00
Howl
90b7d71062 Increase max users on leaderboard limit to 500 2016-09-28 18:43:56 +02:00
Howl
017421b232 Add users/self/favourite_mode 2016-09-27 23:13:55 +02:00
Howl
b0ffad5e76 Add title to doc/rules 2016-09-26 20:07:47 +02:00
Howl
a197647933 Include doc title in documentation content get 2016-09-26 17:16:56 +02:00
Howl
0e27793d25 make rank_requests/status auth-free 2016-09-24 19:45:07 +02:00
Howl
3262bbea74 rank requests stuff, temporarily disabled 2016-09-20 18:14:02 +02:00
Howl
42ff99bcc7 Update gitignore to include vscode's trash 2016-09-17 23:27:36 +02:00
Howl
e858ed94bc Schiavo is like a son with a down syndrome.
You love him, like every child you have, but you have to accept the fact that he's fucking down, and so he's completely retarded and makes everything the wrong way.
Also, in this commit: set_status is now no more fucking retarded, as in it actually returns the beatmap it was requested, and some minor things.
2016-09-17 23:27:20 +02:00
Howl
4be5948d97 Fix get_users returning no results if user doesn't have a leaderboard position 2016-09-09 18:55:26 +02:00
Howl
7249d9136b move rank requests status to ReadConfidential, as it contains user information 2016-09-07 12:53:52 +02:00
Howl
b81dffcecc add bgeatmapget 2016-09-07 01:51:23 +02:00
Howl
dd00c39075 Add initial beatmap reqeusts API to get current status 2016-09-06 20:11:46 +02:00
Howl
6eda6aea87 Add == nil to limit's check() 2016-09-06 19:17:18 +02:00
Howl
c745947281 add peppymethods also in /v1, because new osu-web does so 2016-09-06 19:15:37 +02:00
Howl
1826246125 Create `limit' package, remove need of login_attempts.go 2016-09-06 17:04:22 +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
61527882d1 Get donor info through /users/self/donor_info 2016-09-02 18:27:15 +02:00
Howl
92be078783 move peppyapi into its own group 2016-09-02 18:14:23 +02:00
Howl
e80e557f10 Add custom badge in users/full 2016-09-02 17:00:36 +02:00
Howl
e6c77e64a8 Pagination in badgesGET 2016-09-01 22:58:21 +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
76c653b47e Fucking typos 2016-08-27 12:52:17 +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
476cd385f8 tiny get_beatmaps performance improvement 2016-08-23 21:30:11 +02:00
Howl
4d9f466491 Forgot a break inf a for-range loop. Broke all the mode detection system. 2016-08-23 16:45:47 +02:00