Colin McDonald
|
26e274596b
|
Finish #18, make POST /users/:id/verifyTotp async, cleanup totp code
|
2016-06-24 22:03:52 -04:00 |
|
Colin McDonald
|
0653edaae3
|
Rename route classes to match their actual paths
|
2016-06-24 19:38:00 -04:00 |
|
Colin McDonald
|
fd1ec2b475
|
Add password reset route. Closes #29
|
2016-06-24 19:23:31 -04:00 |
|
Colin McDonald
|
4901e63599
|
Change Jackson constructors from public to private
|
2016-06-24 19:00:40 -04:00 |
|
Colin McDonald
|
1c07b20f89
|
Fix compilation issue produced by the previous commit
|
2016-06-24 18:56:37 -04:00 |
|
Colin McDonald
|
aaba9cb369
|
Modify POST /user/:id/setupTotp to work with adjusted requirements
|
2016-06-24 18:55:47 -04:00 |
|
Colin McDonald
|
aa527fa567
|
Remove old keys from apiv3.properties file
|
2016-06-24 13:10:08 -04:00 |
|
Colin McDonald
|
4a727f3d04
|
Large commit to convert all models to be full async
|
2016-06-24 03:00:37 -04:00 |
|
Colin McDonald
|
e9da784953
|
Remove MojangUtils debug, it appears to be fine now
|
2016-06-24 02:59:08 -04:00 |
|
Colin McDonald
|
6eeb153413
|
Add more MaxMind results
|
2016-06-24 02:58:44 -04:00 |
|
Colin McDonald
|
3de5e8d756
|
Make authorized field in UserActor final
|
2016-06-24 02:57:54 -04:00 |
|
Colin McDonald
|
47909f2d9a
|
Update versions of everything
|
2016-06-24 02:57:01 -04:00 |
|
Colin McDonald
|
f8b8f27de4
|
Bump vert.x versiont to 3.3.0
|
2016-06-23 22:34:20 -04:00 |
|
Colin McDonald
|
ddd0e0159a
|
Integrate user logins with MaxMind, and deny access to users on VPNs
|
2016-06-23 13:31:44 -04:00 |
|
Colin McDonald
|
4e00381e50
|
Always use HTTPS when communicating with the Mojang api
|
2016-06-23 13:30:33 -04:00 |
|
Colin McDonald
|
2e439a5b18
|
Add defaults to MaxMind result parsing
|
2016-06-23 13:29:27 -04:00 |
|
Colin McDonald
|
61197b1050
|
Remove bugsnag, with all async code it serves little to no purpose
|
2016-06-23 01:01:54 -04:00 |
|
Colin McDonald
|
66b2fc5951
|
Make GET /dumps' background thread use the Vert.x scheduler instead of being a standalone thread
|
2016-06-23 00:59:18 -04:00 |
|
Colin McDonald
|
43b59dcf2c
|
Move HttpClient/RedisClient from APIv3.java to their relevant util classes
|
2016-06-23 00:58:42 -04:00 |
|
Colin McDonald
|
23b9d81923
|
Make BugsnagSlf4jLogger final
|
2016-06-23 00:57:33 -04:00 |
|
Colin McDonald
|
8c67a1bc54
|
Optimize imports
|
2016-06-23 00:56:57 -04:00 |
|
Colin McDonald
|
5310a0c6c4
|
Remove notes about using an array for scopes in POST /grants, it's already been done
|
2016-06-23 00:56:43 -04:00 |
|
Colin McDonald
|
b291e9e13b
|
Convert more routes to use body fields instead of query params
|
2016-06-23 00:56:04 -04:00 |
|
Colin McDonald
|
c00b424fe8
|
Allow specifying the user to search for in GET /auditLog, /punishments, /grants, and /ipBans
|
2016-06-23 00:54:40 -04:00 |
|
Colin McDonald
|
2eeabf7ef8
|
Remove note regarding async inserts - Vert.x's CompositeFuture's methods don't allow clean integration, and it isn't worth the development time to adapt it.
|
2016-06-23 00:52:42 -04:00 |
|
Colin McDonald
|
86a7504af6
|
Optimize imports
|
2016-06-22 19:47:08 -04:00 |
|
Colin McDonald
|
9f2e4a63f0
|
Convert MaxMindResult's subdivisions to a list
|
2016-06-22 19:45:49 -04:00 |
|
Colin McDonald
|
5c3274d483
|
Swap Mongo's Document for Vert.x's JsonObject
|
2016-06-22 19:44:39 -04:00 |
|
Colin McDonald
|
2bdd54836d
|
Convert a few routes to use body parameters instead of query params
|
2016-06-22 18:13:09 -04:00 |
|
Colin McDonald
|
152492eb06
|
Remove debug
|
2016-06-22 17:36:20 -04:00 |
|
Colin McDonald
|
d47b0a6170
|
Part 2 of the big "make this closer to a RESTful api" commit [Doesn't compile]
|
2016-06-22 17:14:51 -04:00 |
|
Colin McDonald
|
8ade7066f9
|
Part 1 of the big "make this closer to a RESTful api" commit
|
2016-06-21 17:08:17 -04:00 |
|
Colin McDonald
|
217683407e
|
Add bugsnag TODO in ErrorUtils#respondInternalError
|
2016-06-21 17:07:23 -04:00 |
|
Colin McDonald
|
7b594d695b
|
Convert MaxMindTraits' user_type to an enum
|
2016-06-21 17:06:34 -04:00 |
|
Colin McDonald
|
d261ef507a
|
Add note to V2Importer regarding possible future optimization
|
2016-06-21 17:02:20 -04:00 |
|
Colin McDonald
|
a0188e2d8c
|
Move permissions check from UserActor to ActorAttributeHandler to make the async conversion easier
|
2016-06-21 17:01:59 -04:00 |
|
Colin McDonald
|
fddb61b00e
|
Remove com.indeed:java-dogstatsd-client from pom.xml, it's no longer used
|
2016-06-21 17:00:44 -04:00 |
|
Colin McDonald
|
825e1c586e
|
Only create ip bans for bans and blacklists, not all punishments. Closes #22
|
2016-06-21 10:50:59 -04:00 |
|
Colin McDonald
|
4ba3dcd907
|
Redo email / user registration to make a lot more sense. Closes #14 and closes #15
|
2016-06-21 01:39:14 -04:00 |
|
Colin McDonald
|
63384231c2
|
Partially complete POST /user/:id/changePassword. Still requires TOTP integration
|
2016-06-21 01:31:48 -04:00 |
|
Colin McDonald
|
0d656ab96d
|
Properly register GET /user/:id/requiresTOTP as an async handler
|
2016-06-21 01:20:43 -04:00 |
|
Colin McDonald
|
d466abe113
|
Fix our response to internal errors in GET /user/:id/requiresTOTP
|
2016-06-21 01:20:01 -04:00 |
|
Colin McDonald
|
1eb09b9714
|
Remove bad password list (for now) -- we'll eventually come back and implement this in a better way
|
2016-06-21 01:18:38 -04:00 |
|
Colin McDonald
|
a5acd2c9ff
|
Move GET /user/:id/requiresTOTP logic into User to make future expansion easier
|
2016-06-21 01:18:06 -04:00 |
|
Colin McDonald
|
39f0b7d665
|
Create GET /emailToken/:emailToken/owner to retrieve an email token's owner, rename POST /user/confirmRegister/:emailToken: to POST /emailToken/:emailToken/confirm. Closes #16
|
2016-06-21 01:00:03 -04:00 |
|
Colin McDonald
|
3bc703384b
|
Try-catch MojangUtils#getName and a portion of POST /server/heartbeat to make debugging easier
|
2016-06-21 00:58:49 -04:00 |
|
Colin McDonald
|
27b98d3b69
|
[Part 3] Fix git file names
|
2016-06-20 02:30:52 -04:00 |
|
Colin McDonald
|
a2afa686a2
|
[Part 3] Fix git file names
|
2016-06-20 02:30:13 -04:00 |
|
Colin McDonald
|
02d97dd24d
|
[Part 2] Fix git file names
|
2016-06-20 02:28:50 -04:00 |
|
Colin McDonald
|
16ccd67183
|
[Part 1] Fix git file names
|
2016-06-20 02:27:57 -04:00 |
|