Commit Graph

72 Commits

Author SHA1 Message Date
Colin McDonald
d3bdeb6d50 Public/private reasons on punishments 2016-07-03 16:31:43 -04:00
Colin McDonald
035e9fbb81 Add UuidUtils#parseUuid, which is more liberal on what it accepts, and convert most everything to use it 2016-07-03 16:30:24 -04:00
Colin McDonald
527f465c12 Fail properly if MaxMind fails to respond / returns invalid data 2016-07-03 16:28:31 -04:00
Colin McDonald
77c3e49048 Fix logins not saving users, ip intel in heartbeats 2016-07-02 17:39:30 -04:00
Colin McDonald
c1017f9241 Fix a few mistakes we made when passing callback results back up 2016-06-30 17:29:28 -04:00
Colin McDonald
968ceb1a1d Modify APIv3#respondJson to not have default status code 2016-06-29 21:23:37 -04:00
Colin McDonald
bcd95d9e9b Code updates to fit "expected" documentation 2016-06-29 00:24:41 -04:00
Colin McDonald
f4dcf7c3be Optimize imports 2016-06-27 23:01:37 -04:00
Colin McDonald
c8c1ac153d Even more Zang telephone work! 2016-06-27 23:01:12 -04:00
Colin McDonald
822dd27536 Remove maxmind debug 2016-06-27 22:14:51 -04:00
Colin McDonald
c742b6d01f Require totp authorization on some actions 2016-06-27 21:55:35 -04:00
Colin McDonald
e0af72caf5 Add access token CRUD routes 2016-06-27 21:07:52 -04:00
Colin McDonald
29a13c1647 Convert authorization to use access tokens. Completes #24 2016-06-27 16:55:21 -04:00
Colin McDonald
bcae144e8c Optimize imports 2016-06-26 23:34:04 -04:00
Colin McDonald
74f23bcb62 Remove user field (not used) and bestRank field (will be assumed by the client) from login info 2016-06-26 23:27:36 -04:00
Colin McDonald
9110acd14a More work on Zang integration 2016-06-26 22:51:11 -04:00
Colin McDonald
ff4ac3ab9d Comment out bad server timeout code 2016-06-26 22:50:15 -04:00
Colin McDonald
1532bee954 More work on Zang phone registration 2016-06-26 22:24:06 -04:00
Colin McDonald
8740d32621 Fix infinite while loop issue 2016-06-26 21:31:59 -04:00
Colin McDonald
10e9ac5bea Don't send 'totpSetup' in login info, it isn't used. 2016-06-26 19:27:37 -04:00
Colin McDonald
95d8a45d86 Don't send access unless needed 2016-06-26 19:25:42 -04:00
Colin McDonald
8d66bd1568 Fix issue w/ live cache updates 2016-06-26 19:19:34 -04:00
Colin McDonald
983c428a09 Redo rank calculation to allow ranks that aren't part of the primary inheritance chain. Finishes #33 2016-06-26 19:09:11 -04:00
Colin McDonald
1b20362f4d Finish audit log redux - completes #5 2016-06-26 17:14:47 -04:00
Colin McDonald
d8b66742de Populate cached models immediately upon startup 2016-06-26 15:09:03 -04:00
Colin McDonald
3a838b8b56 Add MaxMind debug info 2016-06-26 15:01:00 -04:00
Colin McDonald
2a5118ee3f Work on audit log redux 2016-06-25 21:30:39 -04:00
Colin McDonald
6957b67863 Add banned cell carrier model to prepare for full Zang integration 2016-06-25 19:21:23 -04:00
Colin McDonald
8d1fb524ec Add heartbeat timeout 2016-06-25 18:55:48 -04:00
Colin McDonald
fde7d50edc Make some changes to make IntelliJ's code inspection happier 2016-06-25 18:41:44 -04:00
Colin McDonald
a648fb7f30 Refactor permissions in prep for ranks not on the inheritance tree 2016-06-25 18:20:32 -04:00
Colin McDonald
605b70bf01 Finish the server heartbeat 2016-06-25 16:23:44 -04:00
Colin McDonald
a255d45603 Auto-update the cache (for cached models) when inserting/deleting 2016-06-24 23:54:34 -04:00
Colin McDonald
1d21d70371 Optimize imports 2016-06-24 23:16:42 -04:00
Colin McDonald
e2da72db1b Fully implement banned asns. Closes #25 2016-06-24 23:16:24 -04:00
Colin McDonald
8972605a02 Fix possible concurrency issue with POST /users/:id/leave 2016-06-24 22:18:45 -04:00
Colin McDonald
26e274596b Finish #18, make POST /users/:id/verifyTotp async, cleanup totp code 2016-06-24 22:03:52 -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
4a727f3d04 Large commit to convert all models to be full async 2016-06-24 03:00:37 -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
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
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
86a7504af6 Optimize imports 2016-06-22 19:47:08 -04:00
Colin McDonald
5c3274d483 Swap Mongo's Document for Vert.x's JsonObject 2016-06-22 19:44:39 -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
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
a5acd2c9ff Move GET /user/:id/requiresTOTP logic into User to make future expansion easier 2016-06-21 01:18:06 -04:00