bc92c39ce0Fix User#getRanksScoped registered logic
Colin McDonald
2016-07-17 17:47:04 -0400
57729c17e0Add null check to cached type lookups
Colin McDonald
2016-07-17 17:06:53 -0400
612fe880dcCreate 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
c30f11ead4Make cached type lookups case insensitive. Closes#47
Colin McDonald
2016-07-17 16:51:18 -0400
bc1cc8265fAutomatically add "registered" rank to all registered users. Closes#48
Colin McDonald
2016-07-17 16:48:24 -0400
81a7806629Modify 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
f9a423b457Make converter changes for push to production
Colin McDonald
2016-07-17 00:20:27 -0400
eb03636a6bRework MaxMind circuit breaker
Colin McDonald
2016-07-16 22:57:09 -0400
5f322824acUse 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
628c8d656bProperly wrap mongo call in IpIntel#findOrCreateById in vertx callback
Colin McDonald
2016-07-16 16:51:07 -0400
fece3e0265Add phoneNumber field to Zang result object
Colin McDonald
2016-07-16 16:50:19 -0400
07b503504aReset 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
cf045e2a49Add gamePrefix field to Ranks
Colin McDonald
2016-07-16 01:01:20 -0400
8f7f19035fMerge pull request #43 from FrozenOrb/reformat-test
Colin McDonald
2016-07-14 21:58:30 -0400
07e2906d0eTest IntelliJ reformatting
Colin McDonald
2016-07-14 21:54:55 -0400
3ea54fdfcdFix up server timeout code
Colin McDonald
2016-07-14 21:51:48 -0400
210938644aAdd thread name to log format
Colin McDonald
2016-07-14 21:45:30 -0400
ea70e1b347Remove 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
f04ee19b6cRemove note regarding audit log / punishment / grant / ip ban lookups
Colin McDonald
2016-07-13 19:36:40 -0400
131e255116Change public reason used on imported punishments
Colin McDonald
2016-07-13 19:36:01 -0400
24a73f72cfAdd the ability to rollback created punishments via the audit log
Colin McDonald
2016-07-13 19:35:35 -0400
2502f4a1b2Add 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
f42f714863Add logging with log4j. Completes #40
Colin McDonald
2016-07-11 23:54:21 -0400
38dec65bf9Add ip ban dumps. Adds #39
Colin McDonald
2016-07-11 23:05:00 -0400
8e85914d64Change default values in GETDumpsType.java to be immutable versions
Colin McDonald
2016-07-11 22:56:30 -0400
e65686f339Make 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
254d5336bfDon't require removedBy field when deleting grants, ip bans, and punishments
Colin McDonald
2016-07-11 22:53:31 -0400
e48a0c1736Add audit log todo
Colin McDonald
2016-07-11 21:50:37 -0400
1f3d01b4e2Remove debug from MaxMind util
Colin McDonald
2016-07-11 18:39:20 -0400
d2dcd8c3e1Add default permissions
Colin McDonald
2016-07-11 18:39:07 -0400
b9c9a3f9bcChange default log level back to error
Colin McDonald
2016-07-11 18:38:48 -0400
536de6d8b2Make 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
ecaf008f66Properly register POST /users/:userId/confirmPhone
Colin McDonald
2016-07-10 15:49:29 -0400
5e44d53216Fix naming of some path parameters
Colin McDonald
2016-07-10 15:48:51 -0400
45a706e0d7Encode and then decode GET /metrics response to fix serialization issue with Vertx's JsonObject
Colin McDonald
2016-07-10 15:43:29 -0400
529bf25dafReplace 3 line BlockingCallback pattern with 1 line SyncUtils#runBlocking lambda pattern
Colin McDonald
2016-07-10 15:42:42 -0400
6319f944bbOptimize imports
Colin McDonald
2016-07-10 14:20:29 -0400
07e1090445Modify User#findByPhone to search for usages in both confirmed numbers and pending numbers
Colin McDonald
2016-07-10 14:20:16 -0400
38d356f7b5Add note regarding the version of fr.javatic.mongo:mongo-jackson-codec
Colin McDonald
2016-07-10 13:25:51 -0400
0071291236Move body handler up in the route order to fix stack traces we were having
Colin McDonald
2016-07-10 13:12:31 -0400
752c2cae96Add debug to MaxMind circuit breaker
Colin McDonald
2016-07-10 13:12:01 -0400
6e4169c6adAdd formatted timestamps to API logs
Colin McDonald
2016-07-10 13:11:45 -0400
1f5672e98bBump 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
e4a574852aAdd support for reading the http keystore path + keystore password from our config file
Colin McDonald
2016-07-10 12:50:04 -0400
5aa0827d18Change default log level to warn
Colin McDonald
2016-07-10 12:45:41 -0400
b6f987e75aReadd metrics integration with Librato (and small redis metrics)
Colin McDonald
2016-07-10 12:45:13 -0400
a61ad36151Add commented line with code to return relative time in responses
Colin McDonald
2016-07-10 12:18:33 -0400
53aa9ce368Remove debug code from main class, use vertx's timeout handler instead of our debugging version
Colin McDonald
2016-07-10 12:18:07 -0400
53a56401e0Change 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
6fbc8925ebOptimize imports
Colin McDonald
2016-07-09 17:25:54 -0400
f431cd40d6Remove unused @Slf4j annotations
Colin McDonald
2016-07-09 17:25:18 -0400
9043abfa72Add short circuit to MaxMindUtils until we can fix (with timeout + circuit breaker)
Colin McDonald
2016-07-09 17:23:34 -0400
a6e31129e9Commit two forgotten files from taking out metrics
Colin McDonald
2016-07-09 17:23:02 -0400
a30823099dRemove unneeded @Slf4j annotation in User and MojangUtils
Colin McDonald
2016-07-09 17:22:39 -0400
d519527986Commit ?active=true flag for GET /punishments
Colin McDonald
2016-07-09 17:21:43 -0400
97b296a79dAdd store order + item id for Ariel
Colin McDonald
2016-07-09 17:21:24 -0400
f999319666Remove metrics, change GET /ipLog/:id to accept both ips and user uuids
Colin McDonald
2016-07-09 17:20:57 -0400
d55325d255Add 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
5de25c498bFix NPE when checking an access token's locked ips
Colin McDonald
2016-07-09 17:14:04 -0400
a99d10c002Add basic metrics + GET /metrics route
Colin McDonald
2016-07-03 19:59:42 -0400
7bb1b17575Small changes discovered while writing documentation
Colin McDonald
2016-07-03 19:41:01 -0400
fa5aee848aCommit two totp changes from before
Colin McDonald
2016-07-03 16:32:02 -0400
d3bdeb6d50Public/private reasons on punishments
Colin McDonald
2016-07-03 16:31:43 -0400
252a18d326Add translationId and translationParams to non-standard error types
Colin McDonald
2016-07-03 16:31:17 -0400
035e9fbb81Add 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
527f465c12Fail properly if MaxMind fails to respond / returns invalid data
Colin McDonald
2016-07-03 16:28:31 -0400
77c3e49048Fix logins not saving users, ip intel in heartbeats
Colin McDonald
2016-07-02 17:39:30 -0400
adb16d8c8dAdd Mojang api debug
Colin McDonald
2016-07-02 17:38:56 -0400
de9a490aa1Change ErrorUtils#respondInternalError to print the error + request info with slf4j
Colin McDonald
2016-06-30 23:01:13 -0400
043bc76cd3Update dump cache immediately upon startup
Colin McDonald
2016-06-30 17:30:20 -0400
c1017f9241Fix a few mistakes we made when passing callback results back up
Colin McDonald
2016-06-30 17:29:28 -0400
968ceb1a1dModify APIv3#respondJson to not have default status code
Colin McDonald
2016-06-29 21:23:37 -0400
bcd95d9e9bCode updates to fit "expected" documentation
Colin McDonald
2016-06-29 00:24:41 -0400
f4dcf7c3beOptimize imports
Colin McDonald
2016-06-27 23:01:37 -0400
c8c1ac153dEven more Zang telephone work!
Colin McDonald
2016-06-27 23:01:12 -0400
822dd27536Remove maxmind debug
Colin McDonald
2016-06-27 22:14:51 -0400
f1c9b3666eUpdate POST /ranks for new Rank constructor
Colin McDonald
2016-06-27 21:57:24 -0400
c742b6d01fRequire totp authorization on some actions
Colin McDonald
2016-06-27 21:55:35 -0400
ac0865fde7Create audit log entries for login fails/successes
Colin McDonald
2016-06-27 21:16:34 -0400
e0af72caf5Add access token CRUD routes
Colin McDonald
2016-06-27 21:07:52 -0400
29a13c1647Convert authorization to use access tokens. Completes #24
Colin McDonald
2016-06-27 16:55:21 -0400
bcae144e8cOptimize imports
Colin McDonald
2016-06-26 23:34:04 -0400
74f23bcb62Remove 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
9110acd14aMore work on Zang integration
Colin McDonald
2016-06-26 22:51:11 -0400
ff4ac3ab9dComment out bad server timeout code
Colin McDonald
2016-06-26 22:50:15 -0400
1532bee954More work on Zang phone registration
Colin McDonald
2016-06-26 22:24:06 -0400