Commit Graph

202 Commits

Author SHA1 Message Date
Colin McDonald
a92dee1e6f Rename some classes to fit Google's Java standards 2016-06-17 01:09:28 -04:00
Colin McDonald
63b1e7b2c3 Add MaxMind files 2016-06-17 01:07:20 -04:00
Colin McDonald
453a3264be Swap Date to Instant 2016-06-16 12:25:22 -04:00
Colin McDonald
fac4d50501 Fix possible issues presented by FindBugs 2016-06-16 10:58:23 -04:00
Colin McDonald
c99052d8f1 Optimize imports 2016-06-16 10:50:24 -04:00
Colin McDonald
3a1b68b6b6 Cleanup some small bits of code 2016-06-16 10:49:57 -04:00
Colin McDonald
78762262c7 Refactor package names, add ip bans 2016-06-16 10:29:33 -04:00
Colin McDonald
7018a3c5e2 ayy last fake commit 2016-06-16 00:08:44 -04:00
Colin McDonald
7e462e1915 Push a bunch of experimental code (this doesn't currently work) 2016-06-12 16:36:11 -04:00
Colin McDonald
60a622fc43 Push a bunch of experimental code (this doesn't currently work/compile) 2016-06-09 22:39:23 -04:00
Colin McDonald
7d626afa20 Vertx prototyping 2016-06-01 14:23:37 -04:00
Colin McDonald
2248788961 Properly map our Morphia models so indexes will be created 2016-05-29 02:45:17 -04:00
Colin McDonald
125eeec747 Don't explicitly save users when they're first seen, as they'll already be saved in the User constructor 2016-05-29 02:44:54 -04:00
Colin McDonald
63a9a51c5f Switch to a batched solution for server heartbeats 2016-05-29 02:44:10 -04:00
Colin McDonald
37af5a7bd5 Cache servers 2016-05-29 02:43:37 -04:00
Colin McDonald
b7e95d3120 When importing data, skip punishments with active set to false to respect older punishments 2016-05-28 00:33:40 -04:00
Colin McDonald
7126dde94a Optimize User#seenOnServer to save on database updates 2016-05-28 00:29:35 -04:00
Colin McDonald
26c399fc8e Implement server group cache, standardize caching system 2016-05-28 00:29:03 -04:00
Colin McDonald
f4e8513343 Add more details to Mojang API stack traces 2016-05-28 00:28:40 -04:00
Colin McDonald
afa31fb8b6 Add better indexes on ipLog and punishments 2016-05-27 16:34:18 -04:00
Colin McDonald
2c3069de9a Remove unused methods/fields 2016-05-20 16:19:13 -04:00
Colin McDonald
3bf8fde060 Remove unused ErrorUtils#unauthorized method 2016-05-16 16:49:14 -04:00
Colin McDonald
76e2b60250 Add more metrics 2016-05-16 16:48:35 -04:00
Colin McDonald
26db4bb255 Make user auth rank checks case insensitive 2016-05-15 17:43:41 -04:00
Colin McDonald
85dfedfa6f Move enableRouteOverview call near other routes 2016-05-15 00:51:38 -04:00
Colin McDonald
4f8366b966 Cached dumps 2016-05-15 00:49:03 -04:00
Colin McDonald
5b55bc243d Optimize imports 2016-05-14 23:59:05 -04:00
Colin McDonald
52ad1bd685 Improve conversion and fix permission calculation 2016-05-14 23:58:37 -04:00
Colin McDonald
199072b5fb Add rank id conversion and properly update rank cache 2016-05-13 23:58:25 -04:00
Colin McDonald
846a7210bd Use Result#type instead of setting the header manually when setting content types 2016-05-13 23:38:06 -04:00
Colin McDonald
6200cefd39 Require version 4 UUIDs from clients 2016-05-13 23:36:58 -04:00
Colin McDonald
d863b4f8a5 Implement data converter 2016-05-13 23:23:46 -04:00
Colin McDonald
b76eead314 stuff 2016-05-10 18:45:25 -04:00
Colin McDonald
46eda73347 Let POST user leave be used from anywhere 2016-05-10 18:44:12 -04:00
Colin McDonald
b4b70bafd5 Renames! 2016-05-10 18:37:07 -04:00
Colin McDonald
afbe2a68b5 changes 2016-05-10 12:30:21 -04:00
Francisco Saldanha
42ab0cab63 Add a POST /user/:id/leave, this will be used to track whether a player is currently on the network or not. 2016-05-09 17:09:09 -03:00
Francisco Saldanha
7a10f1f70d Fix BugsnagSLF4JLogger and sort staff response by rank weight 2016-05-09 16:36:14 -03:00
Colin McDonald
0c6ac74792 Optimize imports 2016-05-08 23:19:11 -04:00
Colin McDonald
d062ab5718 More stuff 2016-05-08 23:18:55 -04:00
Francisco Saldanha
4b49c5bafe Fix typo 2016-05-08 11:40:51 -03:00
Francisco Saldanha
84a77a6814 ImmutableMap.of() does not like null parameters 2016-05-07 12:06:16 -03:00
Francisco Saldanha
8444fa02f6 Send mute with log-in info 2016-05-07 10:34:10 -03:00
Francisco Saldanha
da944508b4 Fix DateTypeAdapter 2016-05-06 23:44:11 -03:00
Colin McDonald
34415929c4 More stuff 2016-05-06 21:57:32 -04:00
Colin McDonald
6a1c86ee5a Even more metrics 2016-05-06 21:00:29 -04:00
Colin McDonald
065c55e0b4 push stuff 2016-05-06 09:58:42 -04:00
Colin McDonald
979b82e90e Cleanup 2016-05-06 09:30:47 -04:00
Colin McDonald
18c264995c Remove unneeded permissions 2016-05-05 19:44:07 -04:00
Colin McDonald
a9a7722a2f Optimize imports 2016-05-05 19:36:04 -04:00
Colin McDonald
6009522090 Whoa stuff 2016-05-05 19:35:45 -04:00
Colin McDonald
1b05b16fed Whoa stuff 2016-05-05 17:38:28 -04:00
Colin McDonald
53c7222107 More stuff 2016-05-05 16:38:50 -04:00
Colin McDonald
04e4db8fcd More work 2016-05-05 16:00:32 -04:00
Colin McDonald
03bc01e5ce More work 2016-05-04 17:31:03 -04:00
Colin McDonald
2d05637103 stuff 2016-05-04 15:38:52 -04:00
Colin McDonald
5d5a1d3468 Commit more 2FA stuff 2016-05-02 23:08:57 -04:00
Colin McDonald
799a8de386 Push code for griffin 2016-05-02 19:34:30 -04:00
Colin McDonald
c3efe78ce4 Commit some old changes 2016-05-02 17:35:05 -04:00
Colin McDonald
816b214993 Whoa bunch of fixes 2016-05-01 00:34:02 -04:00
Colin McDonald
0b5d5c8071 Move one more thing 2016-04-30 20:45:19 -04:00
Colin McDonald
84b4a184ed Fix some import issues + finish route ordering 2016-04-30 20:43:55 -04:00
Colin McDonald
390fd4aecc Fix formatting issue 2016-04-30 20:31:07 -04:00
Colin McDonald
befd1c4782 Fix formatting issue 2016-04-30 20:24:12 -04:00
Colin McDonald
f07f129f78 Add some routes 2016-04-30 20:23:10 -04:00
Colin McDonald
e38eb0894f Add some routes 2016-04-30 20:20:12 -04:00
Colin McDonald
583f91b45e Whoo more permission stuff 2016-04-30 20:08:58 -04:00
Colin McDonald
1d5d2d198b Ayy more code 2016-04-30 14:03:34 -04:00
Colin McDonald
3780ead458 General API work 2016-04-28 16:57:44 -04:00
Colin McDonald
a07d9f524b Implement a basic configuration system 2016-04-28 15:58:58 -04:00
Colin McDonald
e8bdcdc6a5 ayy 2016-04-27 22:41:22 -04:00
Colin McDonald
cd3936b0bf Add user registration! 2016-04-27 17:58:00 -04:00
Colin McDonald
1f5663ab89 Whoa even more changes 2016-04-26 20:46:34 -04:00
Colin McDonald
39817d154c Push non-completed code so I can move to my desktop! 2016-04-25 17:27:53 -04:00
Colin McDonald
2b57a5ef98 Finish up punishment/grant routes, finish GET /dump, begin permission implementation 2016-04-22 21:04:15 -04:00
Colin McDonald
fb12a13528 Push a bunch of changes 2016-04-17 15:23:02 -04:00
Colin McDonald
922357fc7f Reorganize routes 2016-04-08 07:12:31 -04:00
Colin McDonald
f627ba9358 Move exclusion strategy to its own file 2016-03-21 19:59:06 -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
15a8239afe Change error method signatures to reduce code verbosity 2016-03-06 00:02:30 -05:00
Colin McDonald
d82ab071b6 Fix constructor temporarily, until we finish the Users accessor 2016-03-06 00:02:04 -05:00
Colin McDonald
3f5c9ed3a0 Rename routers to fit their respective routes better 2016-03-06 00:01:39 -05:00
Colin McDonald
516f831277 Create core routers 2016-03-05 23:37:33 -05: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
Colin McDonald
6adaa63089 Hey it's code! 2016-02-11 19:10:46 -05:00
Colin McDonald
e317e33245 Add skeleton implementation to all models 2016-02-07 21:06:41 -05:00
Colin McDonald
f5f311ca7b Add FindOptions (optional) parameter to MongoUtils#findManyAndTransform 2016-02-07 21:06:13 -05:00
Colin McDonald
b6d45853fb Rename Server#find* methods 2016-02-07 20:55:20 -05:00
Colin McDonald
58704fa890 Add LiteFullJson interface 2016-02-07 20:54:27 -05:00
Colin McDonald
dccbca98bb Add @ToString annotations to all models 2016-02-07 20:52:03 -05:00
Colin McDonald
83d43ef57f Create all model classes 2016-02-07 20:51:02 -05:00
Colin McDonald
f94fd33f5d Fix a few things 2016-02-07 18:09:54 -05:00
Colin McDonald
4b9b073e20 Stuff 2016-02-07 18:03:42 -05:00
Colin McDonald
549b69235f Stuff 2016-02-05 20:58:49 -05:00
Colin McDonald
8eee21b9c3 Initial commit! 2016-02-05 18:09:59 -05:00