Commit Graph

41 Commits

Author SHA1 Message Date
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
Colin McDonald
e9c3198e5b Finish up work on models 2016-03-05 23:21:49 -05:00
Colin McDonald
0b13eed247 Push a couple model changes from last night 2016-02-27 14:46:33 -05:00
Colin McDonald
2884ce209a Commit current changes 2016-02-23 07:14:42 -05:00
Colin McDonald
f8f23e7de6 More models! 2016-02-12 15:12:05 -05:00
Colin McDonald
734ac190d8 More work on models! 2016-02-12 00:31:57 -05:00
Colin McDonald
5f6113ce77 Hey it's (more) code! 2016-02-11 20:40:06 -05:00