9f4089a752Prevent duplicate email addresses
Colin McDonald
2016-06-26 21:48:26 -0400
8740d32621Fix infinite while loop issue
Colin McDonald
2016-06-26 21:31:59 -0400
75aac64e91Change MaxMind log from a warn to an info
Colin McDonald
2016-06-26 19:33:37 -0400
10e9ac5beaDon't send 'totpSetup' in login info, it isn't used.
Colin McDonald
2016-06-26 19:27:37 -0400
4101538202Readd simple exception handler
Colin McDonald
2016-06-26 19:26:01 -0400
95d8a45d86Don't send access unless needed
Colin McDonald
2016-06-26 19:25:42 -0400
8d66bd1568Fix issue w/ live cache updates
Colin McDonald
2016-06-26 19:19:34 -0400
983c428a09Redo rank calculation to allow ranks that aren't part of the primary inheritance chain. Finishes #33
Colin McDonald
2016-06-26 19:09:11 -0400
d8b66742dePopulate cached models immediately upon startup
Colin McDonald
2016-06-26 15:09:03 -0400
a4d00ca5b0Hide thread info in slf4j-simple
Colin McDonald
2016-06-26 15:08:31 -0400
3a838b8b56Add MaxMind debug info
Colin McDonald
2016-06-26 15:01:00 -0400
4313f6f14fOptimize imports
Colin McDonald
2016-06-25 21:30:54 -0400
2a5118ee3fWork on audit log redux
Colin McDonald
2016-06-25 21:30:39 -0400
f8bf433953Add email domain blacklisting
Colin McDonald
2016-06-25 20:40:45 -0400
daa48688ebOptimize imports
Colin McDonald
2016-06-25 19:21:59 -0400
6957b67863Add banned cell carrier model to prepare for full Zang integration
Colin McDonald
2016-06-25 19:21:23 -0400
49a441fe03Change server heartbeat's players section from an array to a dict
Colin McDonald
2016-06-25 19:09:51 -0400
a39a1801e4Slightly optimize number of db queries used in POST /users/:id/leave
Colin McDonald
2016-06-25 19:02:07 -0400
439f92f596Remove unused event types
Colin McDonald
2016-06-25 19:01:46 -0400
8d1fb524ecAdd heartbeat timeout
Colin McDonald
2016-06-25 18:55:48 -0400
fde7d50edcMake some changes to make IntelliJ's code inspection happier
Colin McDonald
2016-06-25 18:41:44 -0400
a648fb7f30Refactor permissions in prep for ranks not on the inheritance tree
Colin McDonald
2016-06-25 18:20:32 -0400
3381d74a8bReadd very basic metrics
Colin McDonald
2016-06-25 18:02:07 -0400
70d26256bdDisable debug (for now)
Colin McDonald
2016-06-25 16:25:59 -0400
f4abba2309Optimize imports
Colin McDonald
2016-06-25 16:24:04 -0400
605b70bf01Finish the server heartbeat
Colin McDonald
2016-06-25 16:23:44 -0400
a255d45603Auto-update the cache (for cached models) when inserting/deleting
Colin McDonald
2016-06-24 23:54:34 -0400
ef3f7345e5More work on the heartbeat
Colin McDonald
2016-06-24 23:50:51 -0400
1d21d70371Optimize imports
Colin McDonald
2016-06-24 23:16:42 -0400
e2da72db1bFully implement banned asns. Closes#25
Colin McDonald
2016-06-24 23:16:24 -0400
00b3ac19f3Rename PUT routes to align with their definitions in APIv3.java
Colin McDonald
2016-06-24 23:13:36 -0400
04369a1f97Add basic Zang functionality
Colin McDonald
2016-06-24 22:54:49 -0400
a68a44f781Remove Jackson experiment from APIv3.java
Colin McDonald
2016-06-24 22:54:30 -0400
2ca872706cClean up http request code in MandrillUtils and MaxMindUtils
Colin McDonald
2016-06-24 22:53:57 -0400
0a036f5ec5Move mandrill sending from inside notifications to its own utility
Colin McDonald
2016-06-24 22:36:15 -0400
8972605a02Fix possible concurrency issue with POST /users/:id/leave
Colin McDonald
2016-06-24 22:18:45 -0400
a87578a8a6Fix compilation issue created by adding new user fields
Colin McDonald
2016-06-24 22:05:37 -0400
26e274596bFinish #18, make POST /users/:id/verifyTotp async, cleanup totp code
Colin McDonald
2016-06-24 22:03:52 -0400
0653edaae3Rename route classes to match their actual paths
Colin McDonald
2016-06-24 19:38:00 -0400
fd1ec2b475Add password reset route. Closes#29
Colin McDonald
2016-06-24 19:23:31 -0400
4901e63599Change Jackson constructors from public to private
Colin McDonald
2016-06-24 19:00:40 -0400
1c07b20f89Fix compilation issue produced by the previous commit
Colin McDonald
2016-06-24 18:56:37 -0400
aaba9cb369Modify POST /user/:id/setupTotp to work with adjusted requirements
Colin McDonald
2016-06-24 18:55:47 -0400
aa527fa567Remove old keys from apiv3.properties file
Colin McDonald
2016-06-24 13:10:08 -0400
4a727f3d04Large commit to convert all models to be full async
Colin McDonald
2016-06-24 03:00:37 -0400
e9da784953Remove MojangUtils debug, it appears to be fine now
Colin McDonald
2016-06-24 02:59:08 -0400
6eeb153413Add more MaxMind results
Colin McDonald
2016-06-24 02:58:44 -0400
3de5e8d756Make authorized field in UserActor final
Colin McDonald
2016-06-24 02:57:54 -0400
47909f2d9aUpdate versions of everything
Colin McDonald
2016-06-24 02:57:01 -0400
f8b8f27de4Bump vert.x versiont to 3.3.0
Colin McDonald
2016-06-23 22:34:20 -0400
ddd0e0159aIntegrate user logins with MaxMind, and deny access to users on VPNs
Colin McDonald
2016-06-23 13:31:44 -0400
4e00381e50Always use HTTPS when communicating with the Mojang api
Colin McDonald
2016-06-23 13:30:33 -0400
2e439a5b18Add defaults to MaxMind result parsing
Colin McDonald
2016-06-23 13:29:27 -0400
61197b1050Remove bugsnag, with all async code it serves little to no purpose
Colin McDonald
2016-06-23 01:01:54 -0400
66b2fc5951Make GET /dumps' background thread use the Vert.x scheduler instead of being a standalone thread
Colin McDonald
2016-06-23 00:59:18 -0400
43b59dcf2cMove HttpClient/RedisClient from APIv3.java to their relevant util classes
Colin McDonald
2016-06-23 00:58:26 -0400
23b9d81923Make BugsnagSlf4jLogger final
Colin McDonald
2016-06-23 00:57:33 -0400
8c67a1bc54Optimize imports
Colin McDonald
2016-06-23 00:56:57 -0400
5310a0c6c4Remove notes about using an array for scopes in POST /grants, it's already been done
Colin McDonald
2016-06-23 00:56:43 -0400
b291e9e13bConvert more routes to use body fields instead of query params
Colin McDonald
2016-06-23 00:56:04 -0400
c00b424fe8Allow specifying the user to search for in GET /auditLog, /punishments, /grants, and /ipBans
Colin McDonald
2016-06-23 00:54:40 -0400
2eeabf7ef8Remove 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.
Colin McDonald
2016-06-23 00:52:42 -0400
86a7504af6Optimize imports
Colin McDonald
2016-06-22 19:47:08 -0400
9f2e4a63f0Convert MaxMindResult's subdivisions to a list
Colin McDonald
2016-06-22 19:45:49 -0400
5c3274d483Swap Mongo's Document for Vert.x's JsonObject
Colin McDonald
2016-06-22 19:44:39 -0400
2bdd54836dConvert a few routes to use body parameters instead of query params
Colin McDonald
2016-06-22 18:13:09 -0400
152492eb06Remove debug
Colin McDonald
2016-06-22 17:36:20 -0400
d47b0a6170Part 2 of the big "make this closer to a RESTful api" commit [Doesn't compile]
Colin McDonald
2016-06-22 17:14:51 -0400
8ade7066f9Part 1 of the big "make this closer to a RESTful api" commit
Colin McDonald
2016-06-21 17:08:17 -0400
217683407eAdd bugsnag TODO in ErrorUtils#respondInternalError
Colin McDonald
2016-06-21 17:07:23 -0400
7b594d695bConvert MaxMindTraits' user_type to an enum
Colin McDonald
2016-06-21 17:06:34 -0400
d261ef507aAdd note to V2Importer regarding possible future optimization
Colin McDonald
2016-06-21 17:02:20 -0400
a0188e2d8cMove permissions check from UserActor to ActorAttributeHandler to make the async conversion easier
Colin McDonald
2016-06-21 17:01:59 -0400
fddb61b00eRemove com.indeed:java-dogstatsd-client from pom.xml, it's no longer used
Colin McDonald
2016-06-21 17:00:44 -0400
825e1c586eOnly create ip bans for bans and blacklists, not all punishments. Closes#22
Colin McDonald
2016-06-21 10:50:59 -0400
4ba3dcd907Redo email / user registration to make a lot more sense. Closes#14 and closes#15
Colin McDonald
2016-06-21 01:39:14 -0400
63384231c2Partially complete POST /user/:id/changePassword. Still requires TOTP integration
Colin McDonald
2016-06-21 01:31:48 -0400
0d656ab96dProperly register GET /user/:id/requiresTOTP as an async handler
Colin McDonald
2016-06-21 01:20:43 -0400
d466abe113Fix our response to internal errors in GET /user/:id/requiresTOTP
Colin McDonald
2016-06-21 01:20:01 -0400
1eb09b9714Remove bad password list (for now) -- we'll eventually come back and implement this in a better way
Colin McDonald
2016-06-21 01:18:38 -0400
a5acd2c9ffMove GET /user/:id/requiresTOTP logic into User to make future expansion easier
Colin McDonald
2016-06-21 01:18:06 -0400
39f0b7d665Create GET /emailToken/:emailToken/owner to retrieve an email token's owner, rename POST /user/confirmRegister/:emailToken: to POST /emailToken/:emailToken/confirm. Closes#16
Colin McDonald
2016-06-21 01:00:03 -0400
3bc703384bTry-catch MojangUtils#getName and a portion of POST /server/heartbeat to make debugging easier
Colin McDonald
2016-06-21 00:58:49 -0400