Commit Graph

395 Commits

Author SHA1 Message Date
Colin McDonald
77c3e49048 Fix logins not saving users, ip intel in heartbeats 2016-07-02 17:39:30 -04:00
Colin McDonald
adb16d8c8d Add Mojang api debug 2016-07-02 17:38:56 -04:00
Colin McDonald
de9a490aa1 Change ErrorUtils#respondInternalError to print the error + request info with slf4j 2016-06-30 23:01:13 -04:00
Colin McDonald
043bc76cd3 Update dump cache immediately upon startup 2016-06-30 17:30:20 -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
f1c9b3666e Update POST /ranks for new Rank constructor 2016-06-27 21:57:24 -04:00
Colin McDonald
c742b6d01f Require totp authorization on some actions 2016-06-27 21:55:35 -04:00
Colin McDonald
ac0865fde7 Create audit log entries for login fails/successes 2016-06-27 21:16:34 -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
9f4089a752 Prevent duplicate email addresses 2016-06-26 21:48:26 -04:00
Colin McDonald
8740d32621 Fix infinite while loop issue 2016-06-26 21:31:59 -04:00
Colin McDonald
75aac64e91 Change MaxMind log from a warn to an info 2016-06-26 19:33:37 -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
4101538202 Readd simple exception handler 2016-06-26 19:26:01 -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
a4d00ca5b0 Hide thread info in slf4j-simple 2016-06-26 15:08:31 -04:00
Colin McDonald
3a838b8b56 Add MaxMind debug info 2016-06-26 15:01:00 -04:00
Colin McDonald
4313f6f14f Optimize imports 2016-06-25 21:30:54 -04:00
Colin McDonald
2a5118ee3f Work on audit log redux 2016-06-25 21:30:39 -04:00
Colin McDonald
f8bf433953 Add email domain blacklisting 2016-06-25 20:40:45 -04:00
Colin McDonald
daa48688eb Optimize imports 2016-06-25 19:21:59 -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
49a441fe03 Change server heartbeat's players section from an array to a dict 2016-06-25 19:09:51 -04:00
Colin McDonald
a39a1801e4 Slightly optimize number of db queries used in POST /users/:id/leave 2016-06-25 19:02:07 -04:00
Colin McDonald
439f92f596 Remove unused event types 2016-06-25 19:01:46 -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
3381d74a8b Readd very basic metrics 2016-06-25 18:02:07 -04:00
Colin McDonald
70d26256bd Disable debug (for now) 2016-06-25 16:25:59 -04:00
Colin McDonald
f4abba2309 Optimize imports 2016-06-25 16:24:04 -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
ef3f7345e5 More work on the heartbeat 2016-06-24 23:50:51 -04:00
Colin McDonald
1d21d70371 Optimize imports 2016-06-24 23:16:42 -04:00