Alicia
5fc84bd914
fix schiavo error and changing rippleapi to api
2019-02-23 13:11:47 +00:00
Alicia
5b78c99b04
Allow import straight from github
2019-02-23 13:09:10 +00:00
Morgan Bazalgette
6925ce4c6e
Remove deprecated API methods
2017-07-26 19:17:25 +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
c078e20ac5
Pagination and filer by ID for GET /tokens
2017-07-01 21:37:25 +02:00
Morgan Bazalgette
1136738111
Implement bearer tokens
2017-06-17 18:11:10 +02:00
Morgan Bazalgette
85e6dc7e5e
Move to fasthttp for improved performance
2017-02-02 13:40:28 +01:00
Morgan Bazalgette
41ee4c90b3
Move from git.zxq.co to zxq.co
2017-01-14 18:06:16 +01:00
Howl
256f082340
update last_updated when calling the API with a token
2016-12-01 23:16:36 +01:00
Howl
8dc5af9406
Rename quite a few methods
2016-11-21 17:04:27 +01:00
Howl
3ce1f58a48
add pagination to GET /tokens
2016-10-28 16:45:30 +02:00
Howl
325df61d96
Spaces and underscores in usernames now don't make a difference
2016-10-16 18:52:34 +02:00
Howl
da0021a9b3
Add some datadog shit
2016-10-02 19:47:31 +02:00
Howl
1826246125
Create `limit' package, remove need of login_attempts.go
2016-09-06 17:04:22 +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
4f217781cc
GET /tokens/self now returns 404 if no token is given
2016-08-09 19:22:41 +02:00
Howl
6926cda1ee
Fix banned response code, fix typo
2016-07-10 20:53:06 +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
fc38503bdd
add GET /tokens/self
2016-06-14 12:01:30 +02:00
Howl
4d9ec829a8
Add token listing at GET /tokens, also add a token-fixing tool at /tokens/fix_privileges.
...
By the way, 100th commit on the API!
2016-06-14 11:32:11 +02:00
Howl
52d7b65493
Add /api/v1/tokens/self/delete
2016-06-14 10:03:53 +02:00
Howl
417409030a
Fix 500 on tokens/new
2016-05-14 20:18:29 +02:00
Howl
32029d963e
We git.zxq.co now
2016-04-19 16:07:27 +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
0418adc8c3
Add login rate limiting
2016-04-10 11:51:34 +02:00
Howl
44d12d2493
Ability to add friends. Also, made a few helper functions.
2016-04-08 19:05:54 +02:00
Howl
ea2d418a53
more LIMIT 1
s
2016-04-07 12:43:39 +02:00
Howl
d02f3f9951
Add token creation (login)
2016-04-05 22:22:13 +02:00