Commit Graph

470 Commits

Author SHA1 Message Date
Rsl1122
fc814b1d1b [3.5.5] Merge pull request #181 from Rsl1122/3.5.5
Pull Request for 3.5.5
2017-07-26 11:16:30 +03:00
Rsl1122
85254fcba8 Fix #186
Add CPU Graphs
Fix CPU displaying -25 when not available, now displays -1

Bumped version to 3.5.5
2017-07-26 11:15:48 +03:00
Rsl1122
89f5f4dd27 Merge pull request #191 from Fuzzlemann/master
Final PR for 3.5.5
2017-07-26 09:59:37 +03:00
Fuzzlemann
869171a619 Further conversion to .toString() 2017-07-25 23:51:19 +02:00
Fuzzlemann
510aeb3941 Remove Exception thrown in JavaDoc that wasn't thrown 2017-07-25 23:42:01 +02:00
Fuzzlemann
72a51da063 Correctly fix round method 2017-07-25 23:07:49 +02:00
Fuzzlemann
03722cf614 Fix DecimalFormat 2017-07-25 23:04:34 +02:00
Fuzzlemann
6a3a27488e Fix tests 2017-07-25 22:55:03 +02:00
Fuzzlemann
f188d965a4 Fix tests 2017-07-25 22:53:03 +02:00
Fuzzlemann
c3f2b6a7e6 Update dependencies 2017-07-25 22:42:27 +02:00
Fuzzlemann
6a67f938c5 Update dependencies 2017-07-25 22:36:07 +02:00
Fuzzlemann
4605a42d42 Update dependencies 2017-07-25 22:35:04 +02:00
Fuzzlemann
181fe7ad3e Update dependencies 2017-07-25 22:31:48 +02:00
Fuzzlemann
a96682cca6 Update dependencies 2017-07-25 22:26:07 +02:00
Fuzzlemann
2812b82b6e Conversion to .toString() 2017-07-25 21:43:32 +02:00
Fuzzlemann
48b412978c Adds my own repository 2017-07-25 21:19:35 +02:00
Fuzzlemann
3b5a079c4a Merge branch '3.5.5' of https://github.com/Rsl1122/Plan-PlayerAnalytics 2017-07-25 19:49:04 +02:00
Rsl1122
88c0aa64c9 Added DEFAULT 0 to the modify queries 2017-07-25 20:47:37 +03:00
Rsl1122
31987a4fa5 Fix TPS table cpu addition for older db schemas
Changed Spigot dependency to PaperSpigot jar.
2017-07-25 20:43:53 +03:00
Fuzzlemann
a7e65bdcd9 Fixed rounding 2017-07-25 19:25:01 +02:00
Rsl1122
fab93565b7 Merge pull request #190 from Fuzzlemann/master
Adds an option to enable that all command usages (e.g. /tp and /telep…
2017-07-25 20:16:57 +03:00
Fuzzlemann
1d0939d916 Wrote JavaDocs 2017-07-25 19:11:35 +02:00
Fuzzlemann
49584415ca Using the correct method for getting the variable holder now 2017-07-25 19:09:44 +02:00
Fuzzlemann
8d2b1dbb1c Change some '+ ""' to '#.toString'
Further migration to Java 8 (e.g. Map#getOrDefault)
Gets the TPS per Paper API if Paper is installed

Adds CPU Usage Graph Backend
Still ToDo:
1. Conversion from old TPS structure to new one
2. Frontend
2017-07-25 19:06:52 +02:00
Fuzzlemann
96c48af3b1 Merge branch '3.5.5' of https://github.com/Rsl1122/Plan-PlayerAnalytics 2017-07-25 17:37:50 +02:00
Rsl1122
89ee1a7bc7 Fix Scatter & Length distribution graphs containing duplicate sessions 2017-07-25 18:28:16 +03:00
Rsl1122
a218e509bf Fix #183
Now using scatter graph.
Scatter graph removes duplicate Sessions before visualization
Removed old unused PlayerGraph methods.

Fix a catch for non existing exception.
2017-07-25 17:55:10 +03:00
Fuzzlemann
d4a524f300 Adds an option to enable that all command usages (e.g. /tp and /teleport are combined to one usage)
Clarifies an if-clause
Adds JavaDoc to the MathUtils and makes the return method more compact
Updates JavaDoc in the GeolocationCacheHandler due to the commit b466edf777
Removes some unused variables
2017-07-25 14:40:29 +02:00
Rsl1122
29e3f18725 Typo fixes & Cleaning 2017-07-25 13:27:57 +03:00
Rsl1122
7e3c5ec217 Fixes Metrics Init Error. 2017-07-25 12:39:15 +03:00
Rsl1122
173d5c2f7e Implements #185 ( Fix #185 ) 2017-07-25 12:14:30 +03:00
Rsl1122
3769c303fb Fix webserver being unable to respond due to open socket -> endless inputstream.
(Introduced in 7e03c1dcc0)

Fix #179

Attempts to use scatter graph for inspect page, code still needs refining.
2017-07-25 11:27:08 +03:00
Rsl1122
7a4edcac03 Fix #168
Update included jar file to the fixed version
2017-07-25 10:40:05 +03:00
Rsl1122
3bf90b4e3f Fix typos & Clean code, Fix #188, Fix imports to new location of Html class 2017-07-25 10:36:21 +03:00
Rsl1122
0667f51654 Fix #169 2017-07-25 09:58:03 +03:00
Rsl1122
b466edf777 Fix failing tests, Fix Format import 2017-07-25 09:37:37 +03:00
Rsl1122
4c570520b8 Merge pull request #182 from Fuzzlemann/master
Some more modifications & bugfixes
2017-07-25 07:54:12 +03:00
Fuzzlemann
0e8b1b2f1c Adds the setting to not log commands that are unknown 2017-07-24 20:22:54 +02:00
Fuzzlemann
bf47ca79a7 Temporary fix for issue #187 2017-07-24 19:11:36 +02:00
Fuzzlemann
5a92ef99fd Geolocation Cache implemented, it uses the Google Guava Cache.
More info can be found in the JavaDoc of GeolocationCacheHandler.

Misc:
Removes unnecessary variables which aren't accessed
Adds some debug messages
Fix some typos
Change some variable names to fulfill the java conventions
Making the code somewhat more viewable
Correct the amount of requests that can be sent per hour
Removes one == null call because the variable is never null
2017-07-24 18:40:48 +02:00
Fuzzlemann
4c317221f4 Fixes one JavaDoc mistake (one linebreak is missing)
Changes some variable names (e.g. to lowerCamelCase to fulfill the java convention)
Changes .replaceAll to .replace where no regex is needed (Same output everywhere)
Removes .replaceAll(":", "-") in ManageUtils.backup because no ':' is present in the String that it replaces (and it's every time the same in terms of the construction)
Changes '(Long start) ->' to 'start' in ManageUtils.containsCombinable
2017-07-24 15:47:23 +02:00
Fuzzlemann
31b432d01e Modify the method getting the biggest int / long of a collection to using streams instead of doing it manually.
The reason for it is to adjust it to the other methods in the same class
2017-07-23 20:54:14 +02:00
Fuzzlemann
4399f8aecc Changed msgs to messages 2017-07-23 19:11:05 +02:00
Fuzzlemann
fb313ac0c8 Removes redundant throws (e.g. when Exception and IOException are thrown IOException got removed because it's unnecessary) 2017-07-23 18:41:30 +02:00
Fuzzlemann
d9730c3c63 Remove unnecessary .stream() call if only .forEach() can be used
Remove .exists() call at deletion because .delete() doesn't throw a FileNotFoundException when the file isn't present, it just returns false
2017-07-23 18:35:13 +02:00
Fuzzlemann
06bd3518f6 Simplifies if statements with && or ||
Removes one not existing argument in a JavaDoc
Removes some unnecessary variable assignments
Remove the check if an error happened while hashing the password in RegisterCommand.playerRegister because it's not possible that the hash is null
Fixes that the command use table isn't limited -> now again limited (Bug caused by my conversion to foreach)
More performance by using .computeIfPresent at GeolocationPart.addGeoloc(String)
2017-07-23 17:18:08 +02:00
Fuzzlemann
9719d3097f Fix some typos in the JavaDoc 2017-07-23 15:47:46 +02:00
Rsl1122
c403737ec8 Merge pull request #178 from Fuzzlemann/master
Code modifications
2017-07-23 16:38:50 +03:00
Fuzzlemann
cda005b7fd Reverts changes at analysis.html and player.html 2017-07-23 15:27:01 +02:00
Fuzzlemann
28c3db5da0 Removes private at Enum constructors (because they aren't needed at all) 2017-07-23 14:16:10 +02:00