Howl
|
3de3443d87
|
this is driving me crazy
|
2016-08-23 16:39:57 +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
|
f35bb0a7e8
|
Fix m = 0 killing the query
|
2016-08-23 15:42:59 +02:00 |
|
Howl
|
73b0f48586
|
Add get_beatmaps
|
2016-08-22 23:04:52 +02:00 |
|
Howl
|
69e1d585cc
|
LEFT to INNER
|
2016-08-19 23:48:44 +02:00 |
|
Howl
|
817592e736
|
Remove common.OsuTime, change all occurencies to common.UnixTimestamp
|
2016-08-19 17:02:51 +02:00 |
|
Howl
|
67ae6ab3b8
|
Fix users/full returning "" as the country
|
2016-08-18 15:15:22 +02:00 |
|
Howl
|
55d7621ef5
|
remove -o api, as it's the evil
|
2016-08-15 21:56:29 +02:00 |
|
Howl
|
4f7ef9c071
|
u param
|
2016-08-15 21:51:51 +02:00 |
|
Howl
|
cab63a94ac
|
Make rank actually contain rank
|
2016-08-15 21:37:24 +02:00 |
|
Howl
|
954ec755b8
|
Implement get_scores in peppyapi
|
2016-08-15 21:13:40 +02:00 |
|
Howl
|
b9d35ac46d
|
Add more where clauses because I forgot 'em
|
2016-08-15 20:07:40 +02:00 |
|
Howl
|
a6ca8de13e
|
Implement GET scores in official ripple api
|
2016-08-15 19:59:46 +02:00 |
|
Howl
|
346f26177c
|
Change all references to sql.DB to references to sqlx.DB
|
2016-08-15 13:45:42 +02:00 |
|
Howl
|
e41be44397
|
Use sqlx instead of sql. Rewrite of most clusterfucks incoming
|
2016-08-15 13:37:03 +02:00 |
|
Howl
|
c3b56164f5
|
Change X-Ripple-Token cookie to simply "rt"
|
2016-08-10 12:25:26 +02:00 |
|
Howl
|
f1fa5e8b91
|
Allow to get a blog post's content by slug
|
2016-08-10 09:45:01 +02:00 |
|
Howl
|
af691bee1c
|
Change system for hanayo requests
|
2016-08-09 23:06:23 +02:00 |
|
Howl
|
4f217781cc
|
GET /tokens/self now returns 404 if no token is given
|
2016-08-09 19:22:41 +02:00 |
|
Howl
|
17fef6c654
|
Silently ignore time.ParseErrors
|
2016-08-09 19:15:53 +02:00 |
|
Howl
|
a9fb74984b
|
Change README
|
2016-08-09 19:01:54 +02:00 |
|
Howl
|
2b3ac412ad
|
Proprietary -> AGPL
|
2016-08-09 18:58:30 +02:00 |
|
Nyo
|
38008a5451
|
Fix error on scores handlers
|
2016-07-20 10:49:29 +02:00 |
|
Howl
|
3a2928be53
|
hey nyo i may or may not have fixed beatmap difficulties
|
2016-07-18 23:27:37 +02:00 |
|
Howl
|
a999033e4b
|
Add X-Real-404 to true 404 responses
|
2016-07-12 19:55:58 +02:00 |
|
Howl
|
8544c41cc6
|
Requests from hanayo have no rate limiting
|
2016-07-12 15:49:02 +02:00 |
|
Howl
|
6926cda1ee
|
Fix banned response code, fix typo
|
2016-07-10 20:53:06 +02:00 |
|
Howl
|
ab8e1ad7e2
|
Log errors
|
2016-07-07 17:36:53 +02:00 |
|
Howl
|
921402b0ee
|
Add blog API
|
2016-07-07 00:20:36 +02:00 |
|
Howl
|
24933cc08f
|
Show countries of everyone, without checking show_country.
|
2016-07-06 23:43:43 +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
|
ff1d2fa1c3
|
.HIDE. shit
|
2016-07-06 19:36:46 +02:00 |
|
Howl
|
15559d0be2
|
use c.ClientIP() rather than manually accessing c.Request.RemoteAddr
|
2016-07-06 19:35:49 +02:00 |
|
Howl
|
45d0de234b
|
Fix race condition in specificRateLimiter
|
2016-07-06 19:24:11 +02:00 |
|
Howl
|
faf948b037
|
Implement rate limiting
- 60 requests per minute for requests without a valid API token
- 2000 requests per minute per user for requests with a valid API token
|
2016-07-06 16:33:58 +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
|
534d5183ed
|
It's not rank, it's privileges
|
2016-07-06 14:12:57 +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 |
|
Nyo
|
244186cf4e
|
Allow compilation of the API on Windows
|
2016-06-22 13:13:33 +02:00 |
|
Howl
|
7cbbb626c1
|
LEFT JOIN -> INNER JOIN
|
2016-06-18 02:42:47 +02:00 |
|
Howl
|
b3e31734f5
|
Release logging to sentry
|
2016-06-17 10:34:53 +02:00 |
|
Howl
|
427f2ff890
|
Remove errore_meme
|
2016-06-16 14:06:09 +02:00 |
|
Howl
|
02f0449b39
|
Stack traces are only useful for panics
|
2016-06-16 14:05:26 +02:00 |
|
Howl
|
6554447cbc
|
Use ID rather than IP, memes
|
2016-06-16 14:01:37 +02:00 |
|
Howl
|
ef9c0c6c6a
|
When erroring from c.Error(), give actual error, not a *gin.Error
|
2016-06-16 13:59:18 +02:00 |
|
Howl
|
9658957067
|
Better recovery
|
2016-06-16 13:49:35 +02:00 |
|
Howl
|
cbcfacb06a
|
Fix misplaced if
|
2016-06-16 13:14:19 +02:00 |
|
Howl
|
06eb64ecf5
|
error logging with schiavo -> error logging with sentry
|
2016-06-16 12:45:10 +02:00 |
|
Howl
|
24d34eb741
|
v1.TokenNewPOST => /tokens, /tokens/new
|
2016-06-15 00:23:55 +02:00 |
|