Commit Graph

  • bc92c39ce0 Fix User#getRanksScoped registered logic Colin McDonald 2016-07-17 17:47:04 -0400
  • 57729c17e0 Add null check to cached type lookups Colin McDonald 2016-07-17 17:06:53 -0400
  • 612fe880dc Create an ip ban for the user's last used ip address if their current ip address is not provided when banning. Closes #46 Colin McDonald 2016-07-17 16:56:51 -0400
  • c30f11ead4 Make cached type lookups case insensitive. Closes #47 Colin McDonald 2016-07-17 16:51:18 -0400
  • bc1cc8265f Automatically add "registered" rank to all registered users. Closes #48 Colin McDonald 2016-07-17 16:48:24 -0400
  • 81a7806629 Modify DELETE /users/:id/activePunishment to remove all active punishments (instead of just the first one found) - this removes any possible confusion due to having to unban someone multiple times (due to the data importer creating duplicate punishments) Colin McDonald 2016-07-17 16:20:42 -0400
  • f9a423b457 Make converter changes for push to production Colin McDonald 2016-07-17 00:20:27 -0400
  • eb03636a6b Rework MaxMind circuit breaker Colin McDonald 2016-07-16 22:57:09 -0400
  • 5f322824ac Use Google's libphonenumber to perform more robust phone number validation and to convert all phone numbers to E164 before storing them. Closes #45 Colin McDonald 2016-07-16 17:23:31 -0400
  • 628c8d656b Properly wrap mongo call in IpIntel#findOrCreateById in vertx callback Colin McDonald 2016-07-16 16:51:07 -0400
  • fece3e0265 Add phoneNumber field to Zang result object Colin McDonald 2016-07-16 16:50:19 -0400
  • 07b503504a Reset copiedRanks at the end of each iteration in User#getRanksScoped. This is a fix for an issue where the Iterator#remove call used here would fail if there was more than one other conflicting grants. We change this method to use a Set#remove to prevent the issues caused by trying to call Iterator#remove() multiple times and throwing an IllegalStateException. Colin McDonald 2016-07-16 14:39:50 -0400
  • cf045e2a49 Add gamePrefix field to Ranks Colin McDonald 2016-07-16 01:01:20 -0400
  • 8f7f19035f Merge pull request #43 from FrozenOrb/reformat-test Colin McDonald 2016-07-14 21:58:30 -0400
  • 07e2906d0e Test IntelliJ reformatting Colin McDonald 2016-07-14 21:54:55 -0400
  • 3ea54fdfcd Fix up server timeout code Colin McDonald 2016-07-14 21:51:48 -0400
  • 210938644a Add thread name to log format Colin McDonald 2016-07-14 21:45:30 -0400
  • fba48cf223 Add proper chat filter. Finishes #41 Colin McDonald 2016-07-14 20:40:48 -0400
  • ad0140d29f Merge pull request #42 from FrozenOrb/async-user-login Colin McDonald 2016-07-14 20:17:09 -0400
  • da992e864b Make POST /users/:id/login fully asynchronous Colin McDonald 2016-07-14 20:16:05 -0400
  • 43e91b63be Add commented out website token code Colin McDonald 2016-07-14 19:39:42 -0400
  • f49135a781 Add missing break statement in server heartbeat's event type switch Colin McDonald 2016-07-14 18:12:13 -0400
  • c7a84e6e63 Move POST /users/:userId/leave to an event in the server heartbeat Colin McDonald 2016-07-14 17:54:10 -0400
  • 91432b3d71 Set users as on their server immediately upon login Colin McDonald 2016-07-14 17:15:54 -0400
  • fbc9438e91 Fix ip address validation in POST /server Colin McDonald 2016-07-13 23:56:17 -0400
  • 3a213de233 Fix permissions inheritance issue on newly created server groups Colin McDonald 2016-07-13 23:14:42 -0400
  • 6c16fa7b18 Fix silly inversion mistake Colin McDonald 2016-07-13 19:47:52 -0400
  • 3e78262cd5 Add disposable login tokens feature. Documentation is available at https://github.com/FrozenOrb/APIv3/wiki/Disposable-Login-Token-Routes Colin McDonald 2016-07-13 19:38:16 -0400
  • ea70e1b347 Remove ip null checks directly before a call to IpUtils#isValidIp, as IpUtils#isValidIp will perform a null check automatically Colin McDonald 2016-07-13 19:37:51 -0400
  • f04ee19b6c Remove note regarding audit log / punishment / grant / ip ban lookups Colin McDonald 2016-07-13 19:36:40 -0400
  • 131e255116 Change public reason used on imported punishments Colin McDonald 2016-07-13 19:36:01 -0400
  • 24a73f72cf Add the ability to rollback created punishments via the audit log Colin McDonald 2016-07-13 19:35:35 -0400
  • 2502f4a1b2 Add user session integration. We still need to add routes that require auth in our session handler Colin McDonald 2016-07-12 21:56:28 -0400
  • f42f714863 Add logging with log4j. Completes #40 Colin McDonald 2016-07-11 23:54:21 -0400
  • 38dec65bf9 Add ip ban dumps. Adds #39 Colin McDonald 2016-07-11 23:05:00 -0400
  • 8e85914d64 Change default values in GETDumpsType.java to be immutable versions Colin McDonald 2016-07-11 22:56:30 -0400
  • e65686f339 Make queries made as part of punishment, ip ban, grant, and audit log lookups use UuidUtils.parseUuid to accept uuids without dashes Colin McDonald 2016-07-11 22:54:28 -0400
  • 254d5336bf Don't require removedBy field when deleting grants, ip bans, and punishments Colin McDonald 2016-07-11 22:53:31 -0400
  • e48a0c1736 Add audit log todo Colin McDonald 2016-07-11 21:50:37 -0400
  • 1f3d01b4e2 Remove debug from MaxMind util Colin McDonald 2016-07-11 18:39:20 -0400
  • d2dcd8c3e1 Add default permissions Colin McDonald 2016-07-11 18:39:07 -0400
  • b9c9a3f9bc Change default log level back to error Colin McDonald 2016-07-11 18:38:48 -0400
  • 536de6d8b2 Make all save and delete methods on models use void callbacks (instead of exposing Mongo's internal result) Colin McDonald 2016-07-10 16:15:29 -0400
  • ecaf008f66 Properly register POST /users/:userId/confirmPhone Colin McDonald 2016-07-10 15:49:29 -0400
  • 5e44d53216 Fix naming of some path parameters Colin McDonald 2016-07-10 15:48:51 -0400
  • 45a706e0d7 Encode and then decode GET /metrics response to fix serialization issue with Vertx's JsonObject Colin McDonald 2016-07-10 15:43:29 -0400
  • 529bf25daf Replace 3 line BlockingCallback pattern with 1 line SyncUtils#runBlocking lambda pattern Colin McDonald 2016-07-10 15:42:42 -0400
  • 6319f944bb Optimize imports Colin McDonald 2016-07-10 14:20:29 -0400
  • 07e1090445 Modify User#findByPhone to search for usages in both confirmed numbers and pending numbers Colin McDonald 2016-07-10 14:20:16 -0400
  • f84f8635a2 Finish Zang telephone linking (hopefully!). Completes #27 Colin McDonald 2016-07-10 14:17:18 -0400
  • 38d356f7b5 Add note regarding the version of fr.javatic.mongo:mongo-jackson-codec Colin McDonald 2016-07-10 13:25:51 -0400
  • 0071291236 Move body handler up in the route order to fix stack traces we were having Colin McDonald 2016-07-10 13:12:31 -0400
  • 752c2cae96 Add debug to MaxMind circuit breaker Colin McDonald 2016-07-10 13:12:01 -0400
  • 6e4169c6ad Add formatted timestamps to API logs Colin McDonald 2016-07-10 13:11:45 -0400
  • 1f5672e98b Bump versions of io.vertx:* to 3.3.1, com.warranstrange:googleauth to 1.1.1, and set org.projectlombok:lombok to 1.16.8 Colin McDonald 2016-07-10 12:56:11 -0400
  • e4a574852a Add support for reading the http keystore path + keystore password from our config file Colin McDonald 2016-07-10 12:50:04 -0400
  • 5aa0827d18 Change default log level to warn Colin McDonald 2016-07-10 12:45:41 -0400
  • b6f987e75a Readd metrics integration with Librato (and small redis metrics) Colin McDonald 2016-07-10 12:45:13 -0400
  • a61ad36151 Add commented line with code to return relative time in responses Colin McDonald 2016-07-10 12:18:33 -0400
  • 53aa9ce368 Remove debug code from main class, use vertx's timeout handler instead of our debugging version Colin McDonald 2016-07-10 12:18:07 -0400
  • f0d8256f07 Add MaxMind circuit breaker. Finishes #38 Colin McDonald 2016-07-10 12:17:03 -0400
  • 53a56401e0 Change POST /grants|ipBans|punishments to use `expiresIn` (a relative field in seconds) instead of `expiresAt` (absolute time) Colin McDonald 2016-07-10 11:48:53 -0400
  • 6fbc8925eb Optimize imports Colin McDonald 2016-07-09 17:25:54 -0400
  • f431cd40d6 Remove unused @Slf4j annotations Colin McDonald 2016-07-09 17:25:18 -0400
  • 9043abfa72 Add short circuit to MaxMindUtils until we can fix (with timeout + circuit breaker) Colin McDonald 2016-07-09 17:23:34 -0400
  • a6e31129e9 Commit two forgotten files from taking out metrics Colin McDonald 2016-07-09 17:23:02 -0400
  • a30823099d Remove unneeded @Slf4j annotation in User and MojangUtils Colin McDonald 2016-07-09 17:22:39 -0400
  • d519527986 Commit ?active=true flag for GET /punishments Colin McDonald 2016-07-09 17:21:43 -0400
  • 97b296a79d Add store order + item id for Ariel Colin McDonald 2016-07-09 17:21:24 -0400
  • f999319666 Remove metrics, change GET /ipLog/:id to accept both ips and user uuids Colin McDonald 2016-07-09 17:20:57 -0400
  • d55325d255 Add SyncUtils#vertxWrap. This is something we wrap all mongo callbacks with so all business logic is ran on vertx worker threads. This is important for 2 reasons: Colin McDonald 2016-07-09 17:19:20 -0400
  • 5de25c498b Fix NPE when checking an access token's locked ips Colin McDonald 2016-07-09 17:14:04 -0400
  • a99d10c002 Add basic metrics + GET /metrics route Colin McDonald 2016-07-03 19:59:42 -0400
  • 7bb1b17575 Small changes discovered while writing documentation Colin McDonald 2016-07-03 19:41:01 -0400
  • 85b98b4a1d Add debug timeout handler, change default log level (for now) Colin McDonald 2016-07-03 16:32:56 -0400
  • fa5aee848a Commit two totp changes from before Colin McDonald 2016-07-03 16:32:02 -0400
  • d3bdeb6d50 Public/private reasons on punishments Colin McDonald 2016-07-03 16:31:43 -0400
  • 252a18d326 Add translationId and translationParams to non-standard error types Colin McDonald 2016-07-03 16:31:17 -0400
  • 035e9fbb81 Add UuidUtils#parseUuid, which is more liberal on what it accepts, and convert most everything to use it Colin McDonald 2016-07-03 16:30:24 -0400
  • 527f465c12 Fail properly if MaxMind fails to respond / returns invalid data Colin McDonald 2016-07-03 16:28:31 -0400
  • 77c3e49048 Fix logins not saving users, ip intel in heartbeats Colin McDonald 2016-07-02 17:39:30 -0400
  • adb16d8c8d Add Mojang api debug Colin McDonald 2016-07-02 17:38:56 -0400
  • de9a490aa1 Change ErrorUtils#respondInternalError to print the error + request info with slf4j Colin McDonald 2016-06-30 23:01:13 -0400
  • 043bc76cd3 Update dump cache immediately upon startup Colin McDonald 2016-06-30 17:30:20 -0400
  • c1017f9241 Fix a few mistakes we made when passing callback results back up Colin McDonald 2016-06-30 17:29:28 -0400
  • 968ceb1a1d Modify APIv3#respondJson to not have default status code Colin McDonald 2016-06-29 21:23:37 -0400
  • bcd95d9e9b Code updates to fit "expected" documentation Colin McDonald 2016-06-29 00:24:41 -0400
  • f4dcf7c3be Optimize imports Colin McDonald 2016-06-27 23:01:37 -0400
  • c8c1ac153d Even more Zang telephone work! Colin McDonald 2016-06-27 23:01:12 -0400
  • 822dd27536 Remove maxmind debug Colin McDonald 2016-06-27 22:14:51 -0400
  • f1c9b3666e Update POST /ranks for new Rank constructor Colin McDonald 2016-06-27 21:57:24 -0400
  • c742b6d01f Require totp authorization on some actions Colin McDonald 2016-06-27 21:55:35 -0400
  • ac0865fde7 Create audit log entries for login fails/successes Colin McDonald 2016-06-27 21:16:34 -0400
  • e0af72caf5 Add access token CRUD routes Colin McDonald 2016-06-27 21:07:52 -0400
  • 29a13c1647 Convert authorization to use access tokens. Completes #24 Colin McDonald 2016-06-27 16:55:21 -0400
  • bcae144e8c Optimize imports Colin McDonald 2016-06-26 23:34:04 -0400
  • 74f23bcb62 Remove user field (not used) and bestRank field (will be assumed by the client) from login info Colin McDonald 2016-06-26 23:27:36 -0400
  • 9110acd14a More work on Zang integration Colin McDonald 2016-06-26 22:51:11 -0400
  • ff4ac3ab9d Comment out bad server timeout code Colin McDonald 2016-06-26 22:50:15 -0400
  • 1532bee954 More work on Zang phone registration Colin McDonald 2016-06-26 22:24:06 -0400