Commit Graph

304 Commits

Author SHA1 Message Date
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
60d48df46d
Merge branch 'oauth2' 2017-07-25 10:41:09 +02:00
Morgan Bazalgette
a409231ca0
Some whitespace fixes 2017-07-25 10:39:37 +02:00
Morgan Bazalgette
6352f752ca
Add AdminPrivilegeCaker 2017-07-23 22:38:27 +02:00
Morgan Bazalgette
c078e20ac5 Pagination and filer by ID for GET /tokens 2017-07-01 21:37:25 +02:00
Morgan Bazalgette
9be90df7bd ping/pong 2017-06-27 00:33:21 +02:00
Morgan Bazalgette
1136738111
Implement bearer tokens 2017-06-17 18:11:10 +02:00
Morgan Bazalgette
155750b746
New quotes, featuring: crostata, thermodynamics, Rick and Snowball 2017-06-13 10:03:08 +02:00
Morgan Bazalgette
e766e951a5
Remove documentation endpoints
The documentation system is getting changed, https://github.com/osuripple/website-docs is going to be used for documentation instead of the database.
2017-05-01 18:22:18 +02:00
Morgan Bazalgette
8a3dae0592
Add endpoint to retrieve people who have a certain badge 2017-05-01 18:05:22 +02:00
Morgan Bazalgette
ace4c6bee0
make sure panics don't slip out of websockets 2017-04-18 21:13:31 +02:00
Morgan Bazalgette
330b90b172
Add on-the-fly rank calculation; change "subscribed" to "subscribed_to_scores" 2017-04-18 21:08:06 +02:00
Morgan Bazalgette
b2c3ada7c0
add back datadog "requests" 2017-04-13 09:23:46 +02: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
120c027fce
Fix 500 on user scores 2017-02-19 19:01:13 +01:00
Morgan Bazalgette
69678f21f5
change some emsm 2017-02-19 18:40:15 +01:00
Morgan Bazalgette
6f9cae0bcd
Add initial websocket implementation 2017-02-19 18:19:59 +01:00
Morgan Bazalgette
9b296fc8ed
Medium changed API's Snippet to Subtitle 2017-02-17 21:18:41 +01:00
Morgan Bazalgette
0315dd61d2
Fix author in posts not working, remove relative times 2017-02-16 22:05:55 +01:00
Morgan Bazalgette
bc2100b889
Change Medium API endpoint 2017-02-16 21:47:47 +01:00
Morgan Bazalgette
021e76cab7 Update vendor (remove gin) 2017-02-02 15:16:01 +01:00
Morgan Bazalgette
490d13e333 Add back old middlewares 2017-02-02 15:13:17 +01:00
Morgan Bazalgette
736c904f65 Update vendor 2017-02-02 13:53:44 +01:00
Morgan Bazalgette
68a9808942 Wrap fasthttprouter inside own router 2017-02-02 13:53:36 +01:00
Morgan Bazalgette
85e6dc7e5e Move to fasthttp for improved performance 2017-02-02 13:40:28 +01:00
Morgan Bazalgette
ace2fded7e Up the API rate limits slightly 2017-02-02 11:56:32 +01:00
Morgan Bazalgette
0d58fd3f63 add result limiting in blog posts 2017-01-28 15:41:12 +01:00
Morgan Bazalgette
ab89bda819 Make Blog API use Medium 2017-01-28 15:06:12 +01:00
Morgan Bazalgette
3961e310b1 vendor! 2017-01-14 18:42:10 +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
Morgan Bazalgette
e4af28b8ff Add flags to UsersSelfSettingsGET 2016-12-11 18:38:36 +01:00
Morgan Bazalgette
099983f7f3 Add flags (EmailVerified, Country2FA) 2016-12-11 16:40:07 +01:00
Howl
256f082340 update last_updated when calling the API with a token 2016-12-01 23:16:36 +01:00
Howl
dd536eebed Add link to mirror 2016-11-29 16:18:41 +01:00
Howl
5fd38f4595 Fix AKA usernames that cannot be disabled 2016-11-23 23:09:06 +01:00
Howl
b0c4eb24e5 add icon sanitisation 2016-11-23 20:19:11 +01:00
Howl
8dc5af9406 Rename quite a few methods 2016-11-21 17:04:27 +01:00
Howl
700170392a [API CHANGE] /tokens/self/delete now requires post 2016-11-21 17:02:25 +01:00
Howl
20dba6cd86 Input sanitisation in userpages and user settings 2016-11-21 16:59:17 +01:00
Howl
78a1c1d038 Fix some pagination memes 2016-11-21 16:27:21 +01:00
Howl
7a65b705d6 Not Enough UTF8MB4 2016-11-20 13:46:44 +01:00
Howl
055a4cdc10 Use JSON instead of GLI ZINGONI 2016-11-20 12:06:11 +01:00
Howl
aef33f708a ripple: -> lets: 2016-11-20 11:40:01 +01:00
Howl
ac2deb9ae0 Return rank request status after requesting a beatmap 2016-11-19 20:46:52 +01:00
Howl
26435c1195 Add beatmap rank requests 2016-11-19 19:53:55 +01:00
Howl
9e57fedd80 friends/add and del are now POST-only 2016-11-16 18:03:47 +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
9df1fd9e97 Add back r.Email 2016-11-13 19:20:07 +01:00