This website requires JavaScript.
dd536eebed
Add link to mirror
Howl
2016-11-29 16:18:41 +01:00
5fd38f4595
Fix AKA usernames that cannot be disabled
Howl
2016-11-23 23:09:06 +01:00
b0c4eb24e5
add icon sanitisation
Howl
2016-11-23 20:19:11 +01:00
8dc5af9406
Rename quite a few methods
Howl
2016-11-21 17:04:27 +01:00
700170392a
[API CHANGE] /tokens/self/delete now requires post
Howl
2016-11-21 17:02:25 +01:00
20dba6cd86
Input sanitisation in userpages and user settings
Howl
2016-11-21 16:59:17 +01:00
78a1c1d038
Fix some pagination memes
Howl
2016-11-21 16:27:21 +01:00
7a65b705d6
Not Enough UTF8MB4
Howl
2016-11-20 13:46:44 +01:00
055a4cdc10
Use JSON instead of GLI ZINGONI
Howl
2016-11-20 12:06:11 +01:00
aef33f708a
ripple: -> lets:
Howl
2016-11-20 11:40:01 +01:00
ac2deb9ae0
Return rank request status after requesting a beatmap
Howl
2016-11-19 20:46:52 +01:00
26435c1195
Add beatmap rank requests
Howl
2016-11-19 19:53:55 +01:00
9e57fedd80
friends/add and del are now POST-only
Howl
2016-11-16 18:03:47 +01:00
4036772803
Userpage now is never nil (fix edit userpage not working for certain users)
Howl
2016-11-16 17:36:01 +01:00
9df1fd9e97
Add back r.Email
Howl
2016-11-13 19:20:07 +01:00
6d3d6cde2d
Don't allow email to be modified from user settings
Howl
2016-11-12 18:51:50 +01:00
1c2201317f
Add POST users/self/userpage
Howl
2016-11-07 18:34:53 +01:00
6c8d7baee2
add UsersSelfSettingsGET and POST
Howl
2016-11-06 22:51:21 +01:00
9de913888d
Light speedup on scores/recent
Howl
2016-10-29 17:07:29 +02:00
b9d4683092
Remove time
from sorting in score
Howl
2016-10-29 14:27:55 +02:00
10c61cec02
beatmap_md5 -> md5
Howl
2016-10-29 14:23:31 +02:00
a6b4ad1d3e
Allow looking for beatmap md5 in GET /beatmaps
Howl
2016-10-29 14:05:16 +02:00
3ce1f58a48
add pagination to GET /tokens
Howl
2016-10-28 16:45:30 +02:00
4239c2f0e9
Add mods to get_scores
Howl
2016-10-25 20:03:33 +02:00
077c6563fa
StatusLoved
Howl
2016-10-25 18:48:44 +02:00
29296010db
Add silence info
Howl
2016-10-21 18:54:46 +02:00
2f33e94881
add has_not_privileges
Howl
2016-10-20 18:14:30 +02:00
043448c429
Add search by privilege group name in users
Howl
2016-10-19 17:10:36 +02:00
325df61d96
Spaces and underscores in usernames now don't make a difference
Howl
2016-10-16 18:52:34 +02:00
2e1713db49
add SafeUsername function
Howl
2016-10-16 18:27:12 +02:00
0edbff13cd
Add sorting stuff to GET v1/friends
Howl
2016-10-16 16:45:42 +02:00
fefde77261
GET v1/users is now actually pretty darn cool
Howl
2016-10-16 16:26:10 +02:00
dccec469af
Add UserTournamentStaff privilege
Howl
2016-10-06 16:57:01 +02:00
e5504d2e29
whoops
Howl
2016-10-02 22:30:52 +02:00
2e2b1e481b
Revert "requests -> requestsbytype"
Howl
2016-10-02 21:59:04 +02:00
46c723c7b6
I cannot believe I am so stupid
Howl
2016-10-02 21:58:43 +02:00
a060187547
requests -> requestsbytype
Howl
2016-10-02 21:54:23 +02:00
3a55524c86
Add some more datadog crap
Howl
2016-10-02 20:07:38 +02:00
da0021a9b3
Add some datadog shit
Howl
2016-10-02 19:47:31 +02:00
c54c1565ca
Show custom badge only if user is currently a donor
Howl
2016-09-30 21:11:45 +02:00
48cef26ccd
Add ability to filter leaderboard by country (country ranking) (NOT ON WEBSITE RN)
Howl
2016-09-28 23:00:24 +02:00
d6aa0a814d
Level on chosen_mode in leaderboard
Howl
2016-09-28 20:49:58 +02:00
90b7d71062
Increase max users on leaderboard limit to 500
Howl
2016-09-28 18:43:56 +02:00
017421b232
Add users/self/favourite_mode
Howl
2016-09-27 23:13:55 +02:00
b0ffad5e76
Add title to doc/rules
Howl
2016-09-26 20:07:47 +02:00
a197647933
Include doc title in documentation content get
Howl
2016-09-26 17:16:56 +02:00
0e27793d25
make rank_requests/status auth-free
Howl
2016-09-24 19:45:07 +02:00
3262bbea74
rank requests stuff, temporarily disabled
Howl
2016-09-20 18:14:02 +02:00
42ff99bcc7
Update gitignore to include vscode's trash
Howl
2016-09-17 23:27:36 +02:00
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.
Howl
2016-09-17 23:27:20 +02:00
4be5948d97
Fix get_users returning no results if user doesn't have a leaderboard position
Howl
2016-09-09 18:55:26 +02:00
7249d9136b
move rank requests status to ReadConfidential, as it contains user information
Howl
2016-09-07 12:53:52 +02:00
b81dffcecc
add bgeatmapget
Howl
2016-09-07 01:51:23 +02:00
dd00c39075
Add initial beatmap reqeusts API to get current status
Howl
2016-09-06 20:11:46 +02:00
6eda6aea87
Add == nil to limit's check()
Howl
2016-09-06 19:17:18 +02:00
c745947281
add peppymethods also in /v1, because new osu-web does so
Howl
2016-09-06 19:15:37 +02:00
1826246125
Create `limit' package, remove need of login_attempts.go
Howl
2016-09-06 17:04:22 +02:00
7e5d35d79a
make userpage content nil-able
Howl
2016-09-05 23:45:11 +02:00
9bfbb50ffd
ping now returns both user and token privileges and their string representation
Howl
2016-09-03 01:31:03 +02:00
61527882d1
Get donor info through /users/self/donor_info
Howl
2016-09-02 18:27:15 +02:00
92be078783
move peppyapi into its own group
Howl
2016-09-02 18:14:23 +02:00
e80e557f10
Add custom badge in users/full
Howl
2016-09-02 17:00:36 +02:00
e6c77e64a8
Pagination in badgesGET
Howl
2016-09-01 22:58:21 +02:00
12aaa04fea
use new badge system, users/full now returns badge information rather than just the ID
Howl
2016-09-01 22:50:56 +02:00
76c653b47e
Fucking typos
Howl
2016-08-27 12:52:17 +02:00
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
Howl
2016-08-27 12:04:12 +02:00
476cd385f8
tiny get_beatmaps performance improvement
Howl
2016-08-23 21:30:11 +02:00
4d9f466491
Forgot a break
inf a for-range loop. Broke all the mode detection system.
Howl
2016-08-23 16:45:47 +02:00
3de3443d87
this is driving me crazy
Howl
2016-08-23 16:39:57 +02:00
42011ad10c
Allow much more freedom to query for different things in /api/v1/beatmaps
Howl
2016-08-23 16:27:09 +02:00
f35bb0a7e8
Fix m = 0 killing the query
Howl
2016-08-23 15:42:59 +02:00
73b0f48586
Add get_beatmaps
Howl
2016-08-22 23:04:52 +02:00
69e1d585cc
LEFT to INNER
Howl
2016-08-19 23:48:44 +02:00
817592e736
Remove common.OsuTime, change all occurencies to common.UnixTimestamp
Howl
2016-08-19 17:02:51 +02:00
67ae6ab3b8
Fix users/full returning "" as the country
Howl
2016-08-18 15:15:22 +02:00
55d7621ef5
remove -o api, as it's the evil
Howl
2016-08-15 21:56:29 +02:00
4f7ef9c071
u param
Howl
2016-08-15 21:51:51 +02:00
cab63a94ac
Make rank actually contain rank
Howl
2016-08-15 21:37:24 +02:00
954ec755b8
Implement get_scores in peppyapi
Howl
2016-08-15 21:13:40 +02:00
b9d35ac46d
Add more where clauses because I forgot 'em
Howl
2016-08-15 20:07:40 +02:00
a6ca8de13e
Implement GET scores in official ripple api
Howl
2016-08-15 19:59:46 +02:00
346f26177c
Change all references to sql.DB to references to sqlx.DB
Howl
2016-08-15 13:45:42 +02:00
e41be44397
Use sqlx instead of sql. Rewrite of most clusterfucks incoming
Howl
2016-08-15 13:37:03 +02:00
c3b56164f5
Change X-Ripple-Token cookie to simply "rt"
Howl
2016-08-10 12:25:26 +02:00
f1fa5e8b91
Allow to get a blog post's content by slug
Howl
2016-08-10 09:45:01 +02:00
af691bee1c
Change system for hanayo requests
Howl
2016-08-09 23:06:23 +02:00
4f217781cc
GET /tokens/self now returns 404 if no token is given
Howl
2016-08-09 19:22:41 +02:00
17fef6c654
Silently ignore time.ParseErrors
Howl
2016-08-09 19:15:53 +02:00
a9fb74984b
Change README
Howl
2016-08-09 19:01:54 +02:00
2b3ac412ad
Proprietary -> AGPL
Howl
2016-08-09 18:58:30 +02:00
38008a5451
Fix error on scores handlers
Nyo
2016-07-20 10:49:29 +02:00
3a2928be53
hey nyo i may or may not have fixed beatmap difficulties
Howl
2016-07-18 23:27:37 +02:00
a999033e4b
Add X-Real-404 to true 404 responses
Howl
2016-07-12 19:55:58 +02:00
8544c41cc6
Requests from hanayo have no rate limiting
Howl
2016-07-12 15:49:02 +02:00
6926cda1ee
Fix banned response code, fix typo
Howl
2016-07-10 20:53:06 +02:00
ab8e1ad7e2
Log errors
Howl
2016-07-07 17:36:53 +02:00
921402b0ee
Add blog API
Howl
2016-07-07 00:20:36 +02:00
24933cc08f
Show countries of everyone, without checking show_country.
Howl
2016-07-06 23:43:43 +02:00
09523369b7
Use custom type UnixTimestamp instead of repeating boilerplate code over and over.
Howl
2016-07-06 22:32:30 +02:00
ff1d2fa1c3
.HIDE. shit
Howl
2016-07-06 19:36:46 +02:00