Commit Graph

  • 9f4089a752 Prevent duplicate email addresses Colin McDonald 2016-06-26 21:48:26 -0400
  • 8740d32621 Fix infinite while loop issue Colin McDonald 2016-06-26 21:31:59 -0400
  • 75aac64e91 Change MaxMind log from a warn to an info Colin McDonald 2016-06-26 19:33:37 -0400
  • 10e9ac5bea Don't send 'totpSetup' in login info, it isn't used. Colin McDonald 2016-06-26 19:27:37 -0400
  • 4101538202 Readd simple exception handler Colin McDonald 2016-06-26 19:26:01 -0400
  • 95d8a45d86 Don't send access unless needed Colin McDonald 2016-06-26 19:25:42 -0400
  • 8d66bd1568 Fix issue w/ live cache updates Colin McDonald 2016-06-26 19:19:34 -0400
  • 983c428a09 Redo 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
  • 1b20362f4d Finish audit log redux - completes #5 Colin McDonald 2016-06-26 17:14:47 -0400
  • d8b66742de Populate cached models immediately upon startup Colin McDonald 2016-06-26 15:09:03 -0400
  • a4d00ca5b0 Hide thread info in slf4j-simple Colin McDonald 2016-06-26 15:08:31 -0400
  • 3a838b8b56 Add MaxMind debug info Colin McDonald 2016-06-26 15:01:00 -0400
  • 4313f6f14f Optimize imports Colin McDonald 2016-06-25 21:30:54 -0400
  • 2a5118ee3f Work on audit log redux Colin McDonald 2016-06-25 21:30:39 -0400
  • f8bf433953 Add email domain blacklisting Colin McDonald 2016-06-25 20:40:45 -0400
  • daa48688eb Optimize imports Colin McDonald 2016-06-25 19:21:59 -0400
  • 6957b67863 Add banned cell carrier model to prepare for full Zang integration Colin McDonald 2016-06-25 19:21:23 -0400
  • 49a441fe03 Change server heartbeat's players section from an array to a dict Colin McDonald 2016-06-25 19:09:51 -0400
  • a39a1801e4 Slightly optimize number of db queries used in POST /users/:id/leave Colin McDonald 2016-06-25 19:02:07 -0400
  • 439f92f596 Remove unused event types Colin McDonald 2016-06-25 19:01:46 -0400
  • 8d1fb524ec Add heartbeat timeout Colin McDonald 2016-06-25 18:55:48 -0400
  • fde7d50edc Make some changes to make IntelliJ's code inspection happier Colin McDonald 2016-06-25 18:41:44 -0400
  • a648fb7f30 Refactor permissions in prep for ranks not on the inheritance tree Colin McDonald 2016-06-25 18:20:32 -0400
  • 3381d74a8b Readd very basic metrics Colin McDonald 2016-06-25 18:02:07 -0400
  • 70d26256bd Disable debug (for now) Colin McDonald 2016-06-25 16:25:59 -0400
  • f4abba2309 Optimize imports Colin McDonald 2016-06-25 16:24:04 -0400
  • 605b70bf01 Finish the server heartbeat Colin McDonald 2016-06-25 16:23:44 -0400
  • a255d45603 Auto-update the cache (for cached models) when inserting/deleting Colin McDonald 2016-06-24 23:54:34 -0400
  • ef3f7345e5 More work on the heartbeat Colin McDonald 2016-06-24 23:50:51 -0400
  • 1d21d70371 Optimize imports Colin McDonald 2016-06-24 23:16:42 -0400
  • e2da72db1b Fully implement banned asns. Closes #25 Colin McDonald 2016-06-24 23:16:24 -0400
  • 00b3ac19f3 Rename PUT routes to align with their definitions in APIv3.java Colin McDonald 2016-06-24 23:13:36 -0400
  • 04369a1f97 Add basic Zang functionality Colin McDonald 2016-06-24 22:54:49 -0400
  • a68a44f781 Remove Jackson experiment from APIv3.java Colin McDonald 2016-06-24 22:54:30 -0400
  • 2ca872706c Clean up http request code in MandrillUtils and MaxMindUtils Colin McDonald 2016-06-24 22:53:57 -0400
  • 0a036f5ec5 Move mandrill sending from inside notifications to its own utility Colin McDonald 2016-06-24 22:36:15 -0400
  • 8972605a02 Fix possible concurrency issue with POST /users/:id/leave Colin McDonald 2016-06-24 22:18:45 -0400
  • a87578a8a6 Fix compilation issue created by adding new user fields Colin McDonald 2016-06-24 22:05:37 -0400
  • 26e274596b Finish #18, make POST /users/:id/verifyTotp async, cleanup totp code Colin McDonald 2016-06-24 22:03:52 -0400
  • 0653edaae3 Rename route classes to match their actual paths Colin McDonald 2016-06-24 19:38:00 -0400
  • fd1ec2b475 Add password reset route. Closes #29 Colin McDonald 2016-06-24 19:23:31 -0400
  • 4901e63599 Change Jackson constructors from public to private Colin McDonald 2016-06-24 19:00:40 -0400
  • 1c07b20f89 Fix compilation issue produced by the previous commit Colin McDonald 2016-06-24 18:56:37 -0400
  • aaba9cb369 Modify POST /user/:id/setupTotp to work with adjusted requirements Colin McDonald 2016-06-24 18:55:47 -0400
  • aa527fa567 Remove old keys from apiv3.properties file Colin McDonald 2016-06-24 13:10:08 -0400
  • 4a727f3d04 Large commit to convert all models to be full async Colin McDonald 2016-06-24 03:00:37 -0400
  • e9da784953 Remove MojangUtils debug, it appears to be fine now Colin McDonald 2016-06-24 02:59:08 -0400
  • 6eeb153413 Add more MaxMind results Colin McDonald 2016-06-24 02:58:44 -0400
  • 3de5e8d756 Make authorized field in UserActor final Colin McDonald 2016-06-24 02:57:54 -0400
  • 47909f2d9a Update versions of everything Colin McDonald 2016-06-24 02:57:01 -0400
  • f8b8f27de4 Bump vert.x versiont to 3.3.0 Colin McDonald 2016-06-23 22:34:20 -0400
  • ddd0e0159a Integrate user logins with MaxMind, and deny access to users on VPNs Colin McDonald 2016-06-23 13:31:44 -0400
  • 4e00381e50 Always use HTTPS when communicating with the Mojang api Colin McDonald 2016-06-23 13:30:33 -0400
  • 2e439a5b18 Add defaults to MaxMind result parsing Colin McDonald 2016-06-23 13:29:27 -0400
  • 61197b1050 Remove bugsnag, with all async code it serves little to no purpose Colin McDonald 2016-06-23 01:01:54 -0400
  • 66b2fc5951 Make GET /dumps' background thread use the Vert.x scheduler instead of being a standalone thread Colin McDonald 2016-06-23 00:59:18 -0400
  • 43b59dcf2c Move HttpClient/RedisClient from APIv3.java to their relevant util classes Colin McDonald 2016-06-23 00:58:26 -0400
  • 23b9d81923 Make BugsnagSlf4jLogger final Colin McDonald 2016-06-23 00:57:33 -0400
  • 8c67a1bc54 Optimize imports Colin McDonald 2016-06-23 00:56:57 -0400
  • 5310a0c6c4 Remove notes about using an array for scopes in POST /grants, it's already been done Colin McDonald 2016-06-23 00:56:43 -0400
  • b291e9e13b Convert more routes to use body fields instead of query params Colin McDonald 2016-06-23 00:56:04 -0400
  • c00b424fe8 Allow specifying the user to search for in GET /auditLog, /punishments, /grants, and /ipBans Colin McDonald 2016-06-23 00:54:40 -0400
  • 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. Colin McDonald 2016-06-23 00:52:42 -0400
  • 86a7504af6 Optimize imports Colin McDonald 2016-06-22 19:47:08 -0400
  • 9f2e4a63f0 Convert MaxMindResult's subdivisions to a list Colin McDonald 2016-06-22 19:45:49 -0400
  • 5c3274d483 Swap Mongo's Document for Vert.x's JsonObject Colin McDonald 2016-06-22 19:44:39 -0400
  • 2bdd54836d Convert a few routes to use body parameters instead of query params Colin McDonald 2016-06-22 18:13:09 -0400
  • 152492eb06 Remove debug Colin McDonald 2016-06-22 17:36:20 -0400
  • d47b0a6170 Part 2 of the big "make this closer to a RESTful api" commit [Doesn't compile] Colin McDonald 2016-06-22 17:14:51 -0400
  • 8ade7066f9 Part 1 of the big "make this closer to a RESTful api" commit Colin McDonald 2016-06-21 17:08:17 -0400
  • 217683407e Add bugsnag TODO in ErrorUtils#respondInternalError Colin McDonald 2016-06-21 17:07:23 -0400
  • 7b594d695b Convert MaxMindTraits' user_type to an enum Colin McDonald 2016-06-21 17:06:34 -0400
  • d261ef507a Add note to V2Importer regarding possible future optimization Colin McDonald 2016-06-21 17:02:20 -0400
  • a0188e2d8c Move permissions check from UserActor to ActorAttributeHandler to make the async conversion easier Colin McDonald 2016-06-21 17:01:59 -0400
  • fddb61b00e Remove com.indeed:java-dogstatsd-client from pom.xml, it's no longer used Colin McDonald 2016-06-21 17:00:44 -0400
  • 825e1c586e Only create ip bans for bans and blacklists, not all punishments. Closes #22 Colin McDonald 2016-06-21 10:50:59 -0400
  • 4ba3dcd907 Redo email / user registration to make a lot more sense. Closes #14 and closes #15 Colin McDonald 2016-06-21 01:39:14 -0400
  • 63384231c2 Partially complete POST /user/:id/changePassword. Still requires TOTP integration Colin McDonald 2016-06-21 01:31:48 -0400
  • 0d656ab96d Properly register GET /user/:id/requiresTOTP as an async handler Colin McDonald 2016-06-21 01:20:43 -0400
  • d466abe113 Fix our response to internal errors in GET /user/:id/requiresTOTP Colin McDonald 2016-06-21 01:20:01 -0400
  • 1eb09b9714 Remove 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
  • a5acd2c9ff Move GET /user/:id/requiresTOTP logic into User to make future expansion easier Colin McDonald 2016-06-21 01:18:06 -0400
  • 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 Colin McDonald 2016-06-21 01:00:03 -0400
  • 3bc703384b Try-catch MojangUtils#getName and a portion of POST /server/heartbeat to make debugging easier Colin McDonald 2016-06-21 00:58:49 -0400
  • 27b98d3b69 [Part 3] Fix git file names Colin McDonald 2016-06-20 02:30:52 -0400
  • a2afa686a2 [Part 3] Fix git file names Colin McDonald 2016-06-20 02:30:13 -0400
  • 02d97dd24d [Part 2] Fix git file names Colin McDonald 2016-06-20 02:28:50 -0400
  • 16ccd67183 [Part 1] Fix git file names Colin McDonald 2016-06-20 02:27:57 -0400
  • 3d71300621 Add User's UUID to the response of UserVerifyPassword ( #17) rbrick 2016-06-20 00:11:59 -0500
  • 8cc20089da Merge pull request #19 from FrozenOrb/experimental Jonathan Halterman 2016-06-19 22:08:30 -0700
  • 0d14f6ddc0 Merge pull request #21 from FrozenOrb/revert-20-develop Jonathan Halterman 2016-06-19 22:07:57 -0700
  • 920c7f84c6 Revert "Add User's UUID to the response of UserVerifyPassword" Jonathan Halterman 2016-06-19 22:07:49 -0700
  • 33082435f1 Merge pull request #20 from FrozenOrb/develop Jonathan Halterman 2016-06-19 21:57:33 -0700
  • a498416527 Add User's UUID to the response of UserVerifyPassword rbrick 2016-06-19 22:30:49 -0500
  • 56487b04a7 Add loader.io verification Colin McDonald 2016-06-18 10:03:31 -0400
  • 9054974f55 Change /user/:id/verifyPassword back to a GET, allow email+username as ids as well Colin McDonald 2016-06-17 20:47:59 -0400
  • 22f3b3dd72 Implement MaxMind data into the API, add GET /ip/:id/intel. Closes #3 Colin McDonald 2016-06-17 19:19:01 -0400
  • 8d77802cde Print stack traces for internal errors Colin McDonald 2016-06-17 19:18:27 -0400
  • b98dcd0a83 Change /user/:id/verifyPassword from a GET to a POST (this will probably be undone later) Colin McDonald 2016-06-17 19:17:50 -0400
  • 99b30ef290 Map coowner -> owner in grant conversions Colin McDonald 2016-06-17 19:16:03 -0400