Commit Graph

2003 Commits

Author SHA1 Message Date
Rsl1122
e7cbf10ee3 [Debt] AnalysisPluginsTabContentCreator non-static 2018-09-19 20:04:58 +03:00
Rsl1122
7a817d3463 [Test] Added TestAPFModule
This dagger module can be used in the future when creating full test
components for system wide testing.
2018-09-19 13:45:36 +03:00
Rsl1122
1a638ca4c9 [Test] Removed some unnecessary test utilities
ConsoleSenders can be mocked on the spot, so a concrete implementation
is not required.
2018-09-19 13:44:54 +03:00
Rsl1122
5fc5494da9 [Debt] Created factory for Accordion objects.
SessionAccordion and ServerAccordion are now constructed with a factory.
Renamed: AbstractAccordion -> Accordion, as class was not abstract.
2018-09-19 13:22:38 +03:00
Rsl1122
ad5837b519 [Debt] Removed CacheSystem.getInstance() method
This deprecated method was no longer in use.
2018-09-19 13:01:31 +03:00
Rsl1122
eb91fbc990 [Debt] ActivityIndex#getFormattedValue(Formatter) 2018-09-18 18:43:58 +03:00
Rsl1122
062ecc86a7 [Debt] Removed getServerUUID usage in Tests and Processors 2018-09-18 18:38:42 +03:00
Rsl1122
f398c2a2c2 [Debt] Removed getServerUUID usage in Session 2018-09-18 18:30:31 +03:00
Rsl1122
b80198ef51 [Debt] Removed some static ServerInfo methods
serverUUID method will require a separate working, as it has 40 usages.
2018-09-18 18:25:12 +03:00
Rsl1122
57377ece82 [Debt] RecentLoginList construction, add Formatter
Added Formatter<Long> to RecentLoginList constructor.
2018-09-18 18:21:23 +03:00
Rsl1122
f26294d9dd [Debt] Turned GeolocationCache methods non-static
getInstance is not necessary as GeolocationCache can be injected
everywhere where it is required (Mostly at gathering layer)
Discovered old GeolocationCacheTest that was removed.
2018-09-18 18:18:52 +03:00
Rsl1122
654d7ca03c [Debt] Removed static methods WorldAliasSettings
Usage in Session is in a deprecated method, needs to be sorted - TODO
Other usages injected WorldAliasSettings
2018-09-18 18:04:22 +03:00
Rsl1122
aff935bfc1 [Debt] Removed HookHandler.getInstance() method.
This method was in use for generating different PluginData related
things: Bans, Analysis page & Inspect page plugins tabs.

- Bans: Removed BanData related analysis objects as it is deprecated.
Plugins will not be asked if a player is banned in the future, and
will rely on server OfflinePlayer#isBanned instead.

- Analysis Page: Generation tool is still static, on the TODO list.

- Inspect Page: Added HookHandler as injected dependency
2018-09-18 17:58:01 +03:00
Rsl1122
2b4e6fe9cb [Debt] Removed SessionCache.getInstance() method 2018-09-18 17:34:42 +03:00
Rsl1122
7b09f588fe [Debt] Removed ConfigSystem.getInstance method
Related methods (getConfig_Old, getThemeSystem) were also removed.

Affected issues: none
2018-09-18 17:33:22 +03:00
Rsl1122
fca93578af [Debt] Removed Settings#setTemporaryValue method.
This method was used in tests, but is not the optimal way of performing
temporary test values as APF supports in memory configuration object.

Old usages were commented in order to preserve assumed temporary values.

Affected issues: none
2018-09-18 17:30:57 +03:00
Rsl1122
2b1cf4b3cb [Debt] Removed Settings getNumber method
Some threshold values are needed in mutators and tasks, but they are not
yet available in the classes they are used. TODO was added.

ActivityIndexTest was removed as it does not test proper stuff.

Affected issues: none
2018-09-18 16:01:06 +03:00
Rsl1122
b6cc713c01 [Debt] Removed Settings isTrue method.
Moved MiscUtils.getTimeZoneOffsetHours to PlanConfig as non static.

Affected issues: none
2018-09-18 15:46:41 +03:00
Rsl1122
bff365de20 [Debt] Removed MiscUtils.getPlanVersion() method.
This method was dependent on PlanPlugin.getInstance() which is being
removed.
Also removed use of Settings in MiscUtils.close methods.

Affected issues: none
2018-09-18 15:39:50 +03:00
Rsl1122
54e3528a59 [Debt] Removed Theme replaceColors method.
All static methods removed now from Theme.
Delegated Theme and Locale html modifications to Response#send method.

Affected issues: none
2018-09-18 15:16:00 +03:00
Rsl1122
35be0a2afb [Debt] Removed static Theme getValue method
Theme depends on a configuration file, so it should not be static.

Affected issues: none
2018-09-18 14:55:09 +03:00
Rsl1122
275bfe64b4 [Debt] Removed some deprecated Settings methods.
Removed methods: toString(), getStringList() & set(Object).

Affected issues: none
2018-09-18 12:18:55 +03:00
Rsl1122
f92c9e2b89 [Docs] Added javadoc titles for Formatter classes
Affected issues: none
2018-09-18 12:07:38 +03:00
Rsl1122
b4f7053936 [Debt] Created HtmlTable factory for Table creation
Inject HtmlTables to access the factory.
Abstracted away details of TableContainer creation in the factory.
Each table class is now package private, and present as TableContainers.

Removed MapComparator as it became obsolete.

Affected issues: none
2018-09-18 11:53:07 +03:00
Rsl1122
fac06e7d80 [Debt] Removed FormatUtils class.
Added instance variables for different Formatter objects with a TODO to
accompany the additions where dagger injection was not yet possible.

Moved formatIP to GeoInfo
Moved getStackTrace to PromptAuthorizationResponse

Affected issues: none
2018-09-17 23:39:21 +03:00
Rsl1122
8d36b08acb [Debt] Removed static methods in Formatters class.
Added instance variables for different Formatter objects with a TODO to
accompany the additions where dagger injection was not yet possible.

Affected issues: none
2018-09-17 23:12:27 +03:00
Rsl1122
b104e8ca03 Made Graph Factories that use Dagger to initialize new Graphs.
Inject Graphs to access these factories.
Moved WorldTimes Alias playtime calculations to WorldAliasSettings

Renamed some Graphs to be shorter and unambiguous:
AbstractLineGraph -> LineGraph
AbstractPieChart -> Pie
AbstractPieChartWithDrilldown -> PieWithDrilldown
AbstractStackGraph -> StackGraph

Abstracted away some details and made some graph classes package private

Fixed tests for Line graphs, removed Stack graph test for now
2018-09-16 17:23:21 +03:00
Sprungente
ef9bf00ddf Improved DE Locale (#730) (Sprungente) 2018-09-15 18:56:37 +03:00
Rsl1122
764a1c661c Fixed a possible buffer memory leak in GeolocationCache on first enable
http://www.evanjones.ca/java-native-leak-bug.html
"TL;DR: Always close GZIPInputStream and GZIPOutputStream since they use
native memory via zlib."
2018-09-15 14:38:42 +03:00
Rsl1122
3ae0855ef5 Named Plan ExecutorService pools, Fixed WebServer thread leak on reload
WebServer ThreadPoolExecutor was never shutdown, as it was assumed
HTTPServer.shutdown() would perform that.
In extreme cases 250 reloads could lead to a OutOfMemoryException due to
Heap size allocation for threads not being possible.

Change: Shut down ThreadPoolExecutor manually.
2018-09-15 10:38:05 +03:00
Rsl1122
f846bd5b0e AnalysisContainer no longer held in memory by PluginData objects.
Since PluginData objects are more persistent than AnalysisContainer,
objects related to the each analysis can not be freed until the next
analysis has been performed, because a reference was held in each
PluginData object.

Change: set the reference to point to null in a finally block after
getServerData call. AnalysisContainer can now be freed by GC at any time

Affected issues: #685
2018-09-15 10:03:35 +03:00
Rsl1122
cb351c80f1 Removed many deprecated Log & BenchMark usages
Where possible replaced with PluginLogger or ErrorHandler calls,
some places removed a catch clause and added throws,
some places removed the log or benchmark completely.

Some places still need to be modified so that the required dependencies
can be injected.
2018-09-13 19:44:45 +03:00
Rsl1122
c67f0475a0 Removed DataCache#getInstance method 2018-09-13 19:18:33 +03:00
Rsl1122
abc1bc3bc4 Turned Formatters class non static, usages still exist 2018-09-09 17:54:13 +03:00
Rsl1122
d28e20bf9a Implemented equals & hashCode for UserImportData 2018-09-09 17:14:20 +03:00
Rsl1122
273050f1b2 Reduced usage of static Settings accessors 2018-09-09 15:30:20 +03:00
Rsl1122
3a7b94a94f Fixed StackOverflowExceptions on enable caused by dependency cycles
Registered pages on ResponseHandler separately
Registered commands in PlanCommand and PlanBungeeCommand separately

Made WebServer Lazy in InfoSystems and ConnectionSystems
2018-09-09 14:53:41 +03:00
Rsl1122
db69d07100 Refactored ImportManager into ImportSystem that is not static.
Moved Import data objects to system.importing.data
Moved Importer classes to system.importing.importers

Bound ImportSystem instances in SuperClassBindingModules

Added ImportSystem as injected parameter to PlanSystem
Injected ImportSystem to ManageImportCommand

Removed old references to ImporterManager and removed the class
Moved ImportBuilderTest to system.importing.data
2018-09-09 14:26:02 +03:00
Rsl1122
26f64990d3 Fixed new code smells in development branch
- static final class variable names in PingCountTimerBukkit
- plugin field hiding protected variable in SpongeTaskSystem
- InspectPageResponse not overriding equals method
2018-09-09 13:50:38 +03:00
Rsl1122
3781115311 Reduce memory usage with changes to player page refreshing
Old way:
Pre-render & cache the html for a player page when the player joins,
leaves or switches server

New way:
Render & cache the html when requested. Remove the rendered html from
cache if the player joins, leaves or switches server

This should prevent server from crashing if a bunch of bots join

Impacts #685
2018-09-08 17:43:38 +03:00
Rsl1122
7954796582 Attempt to reduce memory usage with selective caching in DataContainer
Reduced use of CachingSupplier in every DataContainer to reduce the
amount of String variables ending up in heap for a longer period of
time.

Impacts #685
2018-09-08 17:36:52 +03:00
Rsl1122
2c5a97d0b1 Fixed MySQL with multiple plan databases returns wrong table count #724 2018-09-08 17:15:50 +03:00
Rsl1122
ac3e9a969c Fixes Last Peak time not showing up #726 2018-09-08 17:11:29 +03:00
Rsl1122
31f00cbb1a
Merge pull request #725 from Brycey92/permissions-fix
Fixed plan.inspect and plan.qinspect permission nodes for Sponge
2018-09-08 16:05:45 +03:00
Brycey92
4475c44c22 Fixed plan.inspect and plan.qinspect permission nodes for Sponge 2018-09-06 16:34:33 -04:00
Rsl1122
d9cb158e3c Updated pom version to 4.5.0-SNAPSHOT 2018-09-02 15:44:01 +03:00
Rsl1122
f9f82315e0 Processors (ProcessorFactory), KillProcessors simplified 2018-09-02 12:30:37 +03:00
Yannick Schinko
00cdd6e251 Bungee pingAdded PinCoutTimerBungee (#717)
* Implemented Bungee ping measurement

* Removed unused import

* Removed second unused import
2018-09-01 22:59:09 +03:00
BrainStone
7cce168133
No need for a cast 2018-09-01 18:15:07 +02:00
BrainStone
81992a5676
Using correct way to register listener 2018-09-01 18:01:10 +02:00
BrainStone
8a4b23649d
PingCountTimerSponge 2018-08-31 18:57:53 +02:00
Rsl1122
333936cfa8 Implemented afk check on kick event #705 Note about AFK ignore perm:
- Players kicked by afk that have plan.ignore.afk will be counted as "real" kicks.
2018-08-30 18:10:16 +03:00
Rsl1122
08d1067bd8 Fixed #710 2018-08-30 18:02:24 +03:00
Rsl1122
bee9966450 Ignored exception in #715 2018-08-30 17:52:50 +03:00
Rsl1122
be2be530ca Reproduced #710 with a test 2018-08-30 17:43:43 +03:00
Rsl1122
0bb2922329 Fixed #693 2018-08-30 17:22:33 +03:00
Rsl1122
446aec2a0a Reproduced issue #693 in a test 2018-08-30 17:18:57 +03:00
Rsl1122
c30650c0ee Changed ResponseCache to use caffeine (5 minute invalidation) #685 2018-08-30 16:36:14 +03:00
Rsl1122
fd5e02e1c9 Reduced html page size by compressing result html #685 2018-08-30 16:11:34 +03:00
Rsl1122
8c75e936d6 Spacing 2018-08-30 15:51:42 +03:00
Rsl1122
17e8bc105e Removed static uses in database package and Database.getActive 2018-08-29 16:56:11 +03:00
Rsl1122
23f679802e Made Processing non static and initialized by Dagger 2018-08-29 10:58:29 +03:00
Rsl1122
c0f1dfc8c5 Removed all getInstance method calls related to InfoSystem. 2018-08-29 10:13:37 +03:00
Rsl1122
ff02eefb20 WorldAliasSettings initialized by Dagger, ConnectionLog changes 2018-08-28 12:00:03 +03:00
Rsl1122
ed40c916fb Missing singleton annotations 2018-08-28 10:53:10 +03:00
Rsl1122
90b3e55dc7 InfoRequestFactory, InfoRequestHandlerFactory, initialized by Dagger 2018-08-27 22:36:23 +03:00
Rsl1122
bcd20f4390 PageHandlers initialized by Dagger, ResponseFactory, PageFactory 2018-08-27 17:18:17 +03:00
Rsl1122
9898bf8264 Bukkit/Bungee pom - comment relocation & uncomment ignore for Sponge pom 2018-08-27 15:23:46 +03:00
Rsl1122
a21b91fae8 Version bump to 4.4.5 2018-08-27 12:02:12 +03:00
Rsl1122
86f99cbe1b Fixed Sponge CPU usage gathering 2018-08-27 12:02:00 +03:00
Rsl1122
f5b6b43aec Added a progress bar utility 2018-08-27 11:37:22 +03:00
Rsl1122
58512dbd19 Fixed uninstalled subcommand 2018-08-27 11:36:37 +03:00
Rsl1122
af2eed4d88 Added Bungee PluginData rendering support #571
Added Bungee Plugin Support: AdvancedBan, BuyCraft, LiteBans, ViaVersion
Added Sponge Plugin support: BuyCraft
2018-08-27 10:33:21 +03:00
Rsl1122
41d39ac234 Removed config tab from debug page 2018-08-26 10:02:41 +03:00
Rsl1122
a130ce97ad Fixed Session PlayerKills not being saved 2018-08-23 19:07:46 +03:00
Rsl1122
e75f9a1027 Version bump to 4.4.4 2018-08-23 18:59:05 +03:00
Rsl1122
6585fa18a1 Fixed current session not being displayed on Analysis page #697 2018-08-23 18:56:25 +03:00
Rsl1122
93aa208472 Theme and Config related things initialized by Dagger, module cleanup 2018-08-23 13:56:24 +03:00
Rsl1122
63b1419b12 Export initialized by Dagger, added more Singleton annotations, fixes 2018-08-23 10:53:07 +03:00
Rsl1122
c6b9058bb0 Tasks, BungeeTaskSystem initialized by Dagger 2018-08-23 09:49:17 +03:00
Rsl1122
8d28169c6c BungeeInfoSystem initialized by Dagger 2018-08-23 09:18:04 +03:00
Rsl1122
5143e0fd7f Reduced AFK perm check to a single check until next reload #693 2018-08-22 10:45:15 +03:00
Rsl1122
710779e7b0 Fixed Ping Enable delay #694 2018-08-22 10:39:32 +03:00
Rsl1122
8ca16a1aa9 Fixed Patch Task causing issues on disable #695 2018-08-22 10:38:44 +03:00
Rsl1122
20b651f909 WebServer initialized by Dagger 2018-08-22 10:19:52 +03:00
Rsl1122
81a6ed7365 UUIDUtility & PlanAPI initialized by Dagger - needs singleton 2018-08-21 18:33:40 +03:00
Rsl1122
8fb54ed905 Added Connection: close header to HttpClient in ConnectionOut 2018-08-21 16:56:34 +03:00
Rsl1122
6700d6918c Made Dagger initialize Database & Config Systems 2018-08-21 16:26:37 +03:00
Rsl1122
f5cc33a717 Add /planbungee uninstalled 2018-08-21 15:17:59 +03:00
Rsl1122
bae8708e87 Improved Session Length Median calculation on even number of sessions 2018-08-21 10:24:38 +03:00
Rsl1122
3afaad9731 Changed gathered ping average to be median instead #691
(For each datapoint a median is calculated, which is then used in calculation for mean values, averages)
2018-08-21 10:23:13 +03:00
Rsl1122
268474d5ca Added config settings for ping delays #691 2018-08-21 09:46:43 +03:00
Rsl1122
6992aedc4b Stopped tests failing with an Assume and @Ingore annotations 2018-08-20 18:32:51 +03:00
Rsl1122
251f0414e9 Prevented compile errors from different tests by assigning null values 2018-08-20 18:26:37 +03:00
Rsl1122
b66033f589 Sponge Listener + Task Systems now initialized by Dagger 2018-08-20 18:15:24 +03:00
Rsl1122
604496fb64 Bukkit Listener + Task Systems now initialized by Dagger 2018-08-20 18:07:22 +03:00
Rsl1122
86ba26e50e Bukkit + Sponge ServerInfo & ShutdownHook now initialized with Dagger 2018-08-20 17:43:55 +03:00
Rsl1122
d587892df2 Fixed tests 2018-08-20 11:44:21 +03:00
Rsl1122
5e2c540522 Fixed player online status on server switch, reduced delay 20 -> 5s #646 2018-08-20 11:35:26 +03:00
Rsl1122
e165164a7f Fixes wrong relative link on server page #689 2018-08-20 11:04:28 +03:00
Rsl1122
151d09f284 Fixes longest world time calculation #690 2018-08-20 10:59:14 +03:00
Rsl1122
53851bb6da Updated hikaricp to 3.2.0 2018-08-20 10:36:32 +03:00
Rsl1122
b48eb26f74 Large changes: (Still compiles, does not function)
- Made all Command related things be initialized by Dagger
- Removed Update stuff since it is incompatible with ConnectionSystem removal
- Deprecated a lot of static methods
2018-08-19 13:22:55 +03:00
Rsl1122
0b56576bb8 Started work on Dagger modules, extremely incomplete - will not run. 2018-08-18 21:53:33 +03:00
Rsl1122
f324541343 Removed use of EnumUtility 2018-08-17 15:32:42 +03:00
Rsl1122
6fc7185669 Change config package 2018-08-17 15:29:11 +03:00
Rsl1122
1833eda29b APF 3.3.0 Compiling version 2018-08-17 11:48:23 +03:00
Vankka
9d45fa1c40 AdvancedBan support (#688)
+ Make Hook not check if the class extends JavaPlugin
2018-08-16 16:59:54 +03:00
Rsl1122
5ad7f3f591 Fixed sponge metrics 2018-08-16 12:21:55 +03:00
Rsl1122
23929d73ca Filtered out ping under 0 and over 4000ms, increased ping data gather delay to 15s #684 2018-08-16 12:19:36 +03:00
Rsl1122
12073e9732 Fixed ConcurrentModificationException #683 2018-08-16 12:16:28 +03:00
Rsl1122
497b37aa3b Removed DataContainerCache due to its memory impact vs cpu gain being too high 2018-08-15 10:17:16 +03:00
Rsl1122
782e3a07ed Optimized network page updating
- Less frequent rendering (Only on request)
  - Server boxes don't cause a render, but removal from cache
- Removed from cache instead of updated when player joins
2018-08-14 18:19:23 +03:00
Rsl1122
b737880788 Fixed Locale identifiers (And tests) 2018-08-12 12:33:20 +03:00
Rsl1122
fa8b1d2b35 More smell cleans 2018-08-12 12:31:23 +03:00
Rsl1122
db47e51e45 ConnectionSystem cached values now cleared 2018-08-12 12:26:57 +03:00
Rsl1122
ad739ffc8f Geolocation cache cleared on disable 2018-08-12 12:21:13 +03:00
Rsl1122
2e92ba2822 DataCache now cleared on disable 2018-08-12 12:19:19 +03:00
Rsl1122
c6b2f89728 Added missing override annotations 2018-08-12 12:17:38 +03:00
Rsl1122
4abf818cb6 Fixed possible Arithmetic Exception 2018-08-12 12:16:54 +03:00
Rsl1122
f28420d4af Fix CraftBukkit failing to initialize if some Spigot classes are present 2018-08-12 12:13:57 +03:00
Rsl1122
2dd8dd3ee1 Made it possible to mark servers as uninstalled 2018-08-12 12:00:43 +03:00
Rsl1122
07a0855432 Timeout message address + debug log instead of warn 2018-08-12 10:46:53 +03:00
Rsl1122
08cb206977 made some fields static 2018-08-12 10:42:38 +03:00
Rsl1122
fc6c9399cf Code smell cleanup in mutators 2018-08-12 10:35:56 +03:00
Rsl1122
2dcc69fc92 Attempt to reduce TableContainer#parseHtml complexity 2018-08-12 10:18:07 +03:00
Rsl1122
0393bcef61 Disambiguated ManageCommand setNodeGroups call 2018-08-12 10:08:10 +03:00
Rsl1122
ac5095153e Removed DBOpException fatal field 2018-08-12 10:05:48 +03:00
Rsl1122
11e0b6b9ed Explained why onReload is empty 2018-08-12 10:03:48 +03:00
Rsl1122
ac0a2116f3 Logged exception instead of printStackTrace in ConnectionOut 2018-08-12 10:02:25 +03:00
Rsl1122
306b7e45a6 Moved webserver.response.cache to webserver.cache 2018-08-12 09:59:22 +03:00
Rsl1122
bf1f28388d Moved unnecessary response.api package classes 2018-08-12 09:57:54 +03:00
Rsl1122
cab63df82f Split NetworkPage into it's own response 2018-08-12 09:53:56 +03:00
Rsl1122
8fbb5a7c9e Added missing inspect page lang to locale 2018-08-12 09:49:17 +03:00
Rsl1122
bac1f4f7bf Moved page parsing under utilities/html/pages 2018-08-12 09:48:06 +03:00
Rsl1122
7d389a1fc1 Removed use of AnalysisUtils 2018-08-12 09:42:09 +03:00
Rsl1122
1e100838c0 Updated debug page to container caches, added tabs to debug page 2018-08-11 19:01:55 +03:00
Rsl1122
6bcdc67c1f Version bump to 4.4.3 2018-08-11 18:09:53 +03:00
Rsl1122
d6f7ff967b Reload command now performs things async 2018-08-11 18:05:16 +03:00
Rsl1122
84ccaabbe4 Fixed /plan m setup false negative on success #681 2018-08-11 11:35:23 +03:00
Rsl1122
8e81560c0e Fixed players not registering at all 2018-08-10 09:46:23 +03:00
Rsl1122
d4f3e75f0e Fixed Nickname LastSeen Patch Application 2018-08-10 09:40:04 +03:00
Rsl1122
23c8c0769f Attempt to fix #678 by changing RegisterProcessor to a task 2018-08-10 09:26:14 +03:00
Rsl1122
e525e0c5db Ensured Processing ExecutorServices shut down 2018-08-10 09:22:43 +03:00
Rsl1122
76040c1177 Fixed #679 (Null locale) 2018-08-10 09:20:35 +03:00
Rsl1122
b96efc7f92 Attempt to fix #680 with connection timeouts 2018-08-10 09:18:42 +03:00
Rsl1122
bc79d72fea Fixed nickname data truncation on MySQL 2018-08-09 15:29:08 +03:00
Rsl1122
6ebf221ce3 Added bStats to pom, added metrics for Bungee and Sponge 2018-08-09 15:14:25 +03:00
Rsl1122
7c3acb03af Updated sqlite test-dependency to reduce JVM crashes on CI 2018-08-09 14:50:49 +03:00
Rsl1122
f4fad3a277 Fixed player head display sometimes not working #677 2018-08-08 22:13:01 +03:00
Rsl1122
5de088ca03 Added /plan m raw <player>, /planbungee raw <player> commands #620 2018-08-08 22:06:48 +03:00
Rsl1122
59b0452d47 Added JSON export to /player/<name>/raw #620 and /server/<name>/raw #506 2018-08-08 22:01:36 +03:00
Rsl1122
8da9dc643b Added RedisBungee online count #642, split ServerProperties to 3 classes 2018-08-08 21:12:42 +03:00
Rsl1122
20994b07d9
Merge pull request #676 from f0rb1d/4.4.2
Updated Simplified Chinese language
2018-08-08 15:41:39 +03:00
F0rb1d
26547a0c46 Updated Simplified Chinese language. 2018-08-08 19:41:31 +08:00
Rsl1122
732dab8e39 Version bump to 4.4.2 2018-08-08 11:47:21 +03:00
Rsl1122
f16dd73376 Fix Player page updating on Bungee 2018-08-08 11:46:02 +03:00
Rsl1122
da87e8c0c2 Network page update processor added to Bungee #646 2018-08-08 11:37:43 +03:00
Rsl1122
ebec530871 Player page update processor moved to Bungee if available #646 2018-08-08 11:35:24 +03:00
Rsl1122
5b4ae5ba36 Moved Player#getFirstPlayed call to asynchronous execution #659 2018-08-08 11:08:20 +03:00
Rsl1122
397f1dd81b Fixed missing method exception on bukkit 2018-08-08 11:03:10 +03:00
Rsl1122
94247cdcad Reduced performance impact of BukkitTPSCountTimer #639 2018-08-08 11:02:28 +03:00
Rsl1122
94b5d0d393 Fix ConcurrentModificationException in #673 2018-08-08 10:59:49 +03:00
Rsl1122
91aa730673 Made DataContainer non Serializable, getValue instead of getUnsafe in UsersTable - both attempt to fix #673 - 1 2018-08-08 10:58:18 +03:00
Rsl1122
886de6fe4d Updated Simplified Chinese locale with new language 2018-08-08 10:33:53 +03:00
佛壁灯
11c9ad1fcf Simplified Chinese language by 佛壁灯 (f0rb1d). (#674)
* Update versions.txt [skip ci]

* Added support for Simplified Chinese Language.

* Updated translation of Simplified Chinese.

* Updated Simplified Chinese Translation.
2018-08-08 10:21:33 +03:00
Rsl1122
0c5fbb160f Added a DataContainerCache clean task 2018-08-07 17:30:03 +03:00
Rsl1122
e73b89d9de Added a 10s caching layer between database and server page creation 2018-08-07 17:28:52 +03:00
Rsl1122
7e1b1fe2e8 Added a 10s caching layer between database and player page creation 2018-08-07 17:21:33 +03:00
Rsl1122
a8f57c8edd Added a 10s caching layer between database and network page creation 2018-08-07 17:15:57 +03:00
Rsl1122
efa4b36b6c Object serializer 2018-08-07 10:15:26 +03:00
Rsl1122
a515357736 Fix smell with incrementation 2018-08-06 12:06:52 +03:00
Rsl1122
6aae5be083 Close old and return new if connection invalid 2018-08-06 12:05:54 +03:00
Rsl1122
8641bd5f0d Added connection validation to MySQL 2018-08-06 11:54:12 +03:00
Rsl1122
cccdf14e9b Changed PlanSystem enable and disable methods 2018-08-06 11:21:33 +03:00
Rsl1122
1f624078d9 Set up leakDetection & Pool name incrementation for MySQL 2018-08-06 09:42:14 +03:00
Rsl1122
00bd119481 Fixed compile issue that appeared because of commit cleanup 2018-08-05 22:12:28 +03:00
Rsl1122
eb88f85467 Fixed compile issue that appeared all of a sudden? 2018-08-05 22:06:41 +03:00
Rsl1122
1456d78bd4 Removed unnecessary use of getValue inside Session 2018-08-05 22:02:52 +03:00
Rsl1122
0294dc4ec8 Attempt to fix #656 #655 & wrote tests to ensure Session functionality 2018-08-05 11:22:42 +03:00
Rsl1122
0b6d6cb687 Main address now redirects to /server on HTTP servers #668 2018-08-05 11:01:09 +03:00
Rsl1122
addd463406 Fixed World Map causing issues introduced in fcc87d5 2018-08-05 11:00:15 +03:00
Rsl1122
d5965ffdc1 Fixed TPSMutator calculating downtime incorrectly #672 2018-08-05 10:35:24 +03:00
Rsl1122
128f788232 Fixed compile issue 2018-08-04 15:23:32 +03:00
Rsl1122
d9fc8cb842 IntelliJ code smells 2018-08-04 13:03:07 +03:00
Rsl1122
5a69797552 Removed a bunch of unused code 2018-08-04 12:51:20 +03:00
Rsl1122
c84871496c Fixed CacheInspectPageRequest debug-logging an exception message 2018-08-04 12:16:33 +03:00
Rsl1122
e0b05cc169 Fix a code smell 2018-08-04 12:09:10 +03:00
Rsl1122
e3f344b1c6 Fix exception on DeathEvent #667 2018-08-04 12:00:34 +03:00
Rsl1122
fcc87d5a87 TextStringBuilder to some appropriate instances 2018-08-04 11:50:36 +03:00
Rsl1122
2ad2d70166 Updated plugins and dependency versions 2018-08-04 11:50:05 +03:00
Rsl1122
c1cc7f21aa
Merge German locale by Morsemorse (#670)
* Update locale_DE.txt
2018-08-03 21:43:06 +03:00
Rsl1122
56aa498258 Replaced HttpUrlConnection with apache HttpClient in ConnectionOut 2018-08-03 15:54:02 +03:00
Rsl1122
2b103cc43b Fixed some new code smells 2018-07-31 10:30:34 +03:00
Rsl1122
0ba447ddf7 Fixed retain percentage calculation on health tab #652 2018-07-31 10:19:58 +03:00
Rsl1122
d1f4b70b8c Merge remote-tracking branch 'origin/4.4.2' into 4.4.2 2018-07-30 16:32:11 +03:00
Rsl1122
5d5fe7c452 Split commit and returnToPool methods into proper classes 2018-07-30 16:28:56 +03:00
Rsl1122
1e7bf388b2
Update locale_FI.txt (#663)
* Update locale_FI.txt

* Delete locale_FI_old.txt
2018-07-30 12:08:35 +03:00
Rsl1122
a93ffaca7e Default English locale placeholders for translators 2018-07-30 11:34:51 +03:00
Rsl1122
a35da3dad2 FIXED UTF-8 CHAR ENCODING ISSUE (Fixes #291 #331) 2018-07-30 11:21:27 +03:00