Commit Graph

14 Commits

Author SHA1 Message Date
Alicia 5b78c99b04 Allow import straight from github 2019-02-23 13:09:10 +00:00
Morgan Bazalgette a1eb970382 add API endpoint to retrieve user achievements 2018-01-21 21:21:46 +01:00
Morgan Bazalgette 8ebe5f6a02
Require client to specify explicitly in websockets whether restricted users should be seen
This is only allowed to those having the user privilege AdminPrivilegeManageUsers, having being identified by the API AND having sent a message of type set_restricted_visibility stating specifically in the data that they want to get info also about restricted users.
This also includes some more information in the new_scores, such as the username and userid of the user who submitted the score.
2017-07-25 14:49:14 +02:00
Morgan Bazalgette 1136738111
Implement bearer tokens 2017-06-17 18:11:10 +02:00
Morgan Bazalgette 490d13e333 Add back old middlewares 2017-02-02 15:13:17 +01:00
Morgan Bazalgette 85e6dc7e5e Move to fasthttp for improved performance 2017-02-02 13:40:28 +01:00
Howl 26435c1195 Add beatmap rank requests 2016-11-19 19:53:55 +01:00
Howl da0021a9b3 Add some datadog shit 2016-10-02 19:47:31 +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 e41be44397 Use sqlx instead of sql. Rewrite of most clusterfucks incoming 2016-08-15 13:37:03 +02:00
Howl c108da9bb3 implement unmarshaling straight into MethodData 2016-04-12 21:23:02 +02:00
Howl 44d12d2493 Ability to add friends. Also, made a few helper functions. 2016-04-08 19:05:54 +02:00
Howl 3ddab1de15 Initial commit 2016-04-03 19:59:27 +02:00