Commit Graph

56 Commits

Author SHA1 Message Date
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
Colin McDonald
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 2016-06-21 01:00:03 -04:00
Colin McDonald
9054974f55 Change /user/:id/verifyPassword back to a GET, allow email+username as ids as well 2016-06-17 20:47:59 -04:00
Colin McDonald
22f3b3dd72 Implement MaxMind data into the API, add GET /ip/:id/intel. Closes #3 2016-06-17 19:19:01 -04:00
Colin McDonald
63e8683b67 Add MaxMind result models, IpIntel model 2016-06-17 14:58:06 -04:00
Colin McDonald
3a836e8db6 Optimize imports 2016-06-17 12:41:04 -04:00
Colin McDonald
a1e70b47f7 Some small changes to make IntelliJ's code analysis happy 2016-06-17 12:40:47 -04:00
Colin McDonald
cec5031aea Optimize imports 2016-06-17 01:13:39 -04:00
Colin McDonald
ba17babfb8 Add an async save method to ServerGroup 2016-06-17 01:13:20 -04:00
Colin McDonald
dff1e16283 Finish linked ip ban integration 2016-06-17 01:13:03 -04:00
Colin McDonald
26e84251b6 Add some more async functionality 2016-06-17 01:12:32 -04:00
Colin McDonald
453a3264be Swap Date to Instant 2016-06-16 12:25:22 -04:00
Colin McDonald
78762262c7 Refactor package names, add ip bans 2016-06-16 10:29:33 -04:00
Colin McDonald
922357fc7f Reorganize routes 2016-04-08 07:12:31 -04:00
Colin McDonald
4802efcfee Add a couple more routes 2016-03-21 19:58:08 -04:00
Colin McDonald
e47e140bd3 essentially rewrite the entire api lol 2016-03-21 18:28:17 -04:00
Colin McDonald
1a52326f29 Optimize imports 2016-03-05 23:36:08 -05:00