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
60d48df46d
Merge branch 'oauth2'
2017-07-25 10:41:09 +02:00
Morgan Bazalgette
6352f752ca
Add AdminPrivilegeCaker
2017-07-23 22:38:27 +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
Morgan Bazalgette
099983f7f3
Add flags (EmailVerified, Country2FA)
2016-12-11 16:40:07 +01:00
Howl
b0c4eb24e5
add icon sanitisation
2016-11-23 20:19:11 +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
26435c1195
Add beatmap rank requests
2016-11-19 19:53:55 +01:00
Howl
6c8d7baee2
add UsersSelfSettingsGET and POST
2016-11-06 22:51:21 +01:00
Howl
2e1713db49
add SafeUsername function
2016-10-16 18:27:12 +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
da0021a9b3
Add some datadog shit
2016-10-02 19:47:31 +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
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
42011ad10c
Allow much more freedom to query for different things in /api/v1/beatmaps
2016-08-23 16:27:09 +02:00
Howl
817592e736
Remove common.OsuTime, change all occurencies to common.UnixTimestamp
2016-08-19 17:02:51 +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
af691bee1c
Change system for hanayo requests
2016-08-09 23:06:23 +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
0a870ee742
Remove read privilege. Public data is now readable by everyone without having to pass an API token. Feel free to test around as much as you like!
2016-07-06 14:22:43 +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
b3e31734f5
Release logging to sentry
2016-06-17 10:34:53 +02:00
Howl
06eb64ecf5
error logging with schiavo -> error logging with sentry
2016-06-16 12:45:10 +02:00
Howl
fc38503bdd
add GET /tokens/self
2016-06-14 12:01:30 +02:00
Howl
a65cf086f0
Add Documentation API
2016-06-13 22:40:01 +02:00
Howl
32738aaae0
Simplify string to int conversion where possible
2016-06-13 21:48:09 +02:00
Howl
6a374a4f9d
Implement get_user_best and get_user_recent in peppyapi
2016-05-28 20:24:39 +02:00
Howl
db323908ac
Add in.go
2016-05-28 17:30:18 +02:00
Howl
da2a36537e
Implement user/scores/best
2016-05-19 17:15:17 +02:00
Howl
3782ed3c7c
beatmap ranking in API
2016-04-27 20:03:06 +02:00
Howl
7387ed4295
Completely change response structure
2016-04-16 18:05:24 +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
ed2778e2cc
Graceful restart!
2016-04-07 19:32:48 +02:00
Howl
34593ef428
Fix paginate spawning mysql errors
2016-04-07 12:08:44 +02:00
Howl
af71442e79
Add basic friend logic
2016-04-07 11:20:35 +02:00
Howl
d02f3f9951
Add token creation (login)
2016-04-05 22:22:13 +02:00
Howl
df793351c0
omitempty for message in response
2016-04-03 20:31:51 +02:00
Howl
3ddab1de15
Initial commit
2016-04-03 19:59:27 +02:00