Commit Graph

2426 Commits

Author SHA1 Message Date
Rsl1122
7e85752e66 Updated pluginbridge jar 2018-10-14 15:19:38 +03:00
Rsl1122
644082bf56 [Debt] Fixed PluginData registration of Bridge
Created dagger modules for each platform and turned Bridge abstract.
Injections to classes that require Plugin specific objects are not
possible, and will lead to compile time errors.

Classes that require information about another class at runtime cause
Plan to fail to start if the class is not present - another solution has
to be worked for PlaceholderAPI.
2018-10-14 15:18:47 +03:00
Rsl1122
9acd4879ba [Fix] Velocity checks where Bungee presence is checked. 2018-10-14 11:51:28 +03:00
Rsl1122
6b58e902e6 [Test] Deleted SystemMockUtil 2018-10-13 14:21:32 +03:00
Rsl1122
5ff295273c
[Merge] Static usage Removal & Velocity Support (PR #750)
This merge contains the following:

- Static usage removed (getInstance methods)
- Introduciton of Dagger
- Updated to APF-3.3.0 that doesn't use static api
- Velocity support

Affected issues: #739 #685
2018-10-13 14:18:03 +03:00
Rsl1122
09e999c82c [Test] Fixed SQLiteTest 2018-10-13 14:10:32 +03:00
Rsl1122
e18e262401 [Test] Fixed DecimalFormatterTest 2018-10-13 14:02:06 +03:00
Rsl1122
77b8be26f3 [Test] Fixed PlayersTableTest 2018-10-13 13:45:01 +03:00
Rsl1122
a2325a0e12 [Test] Fixed HTTPSWebServerAuthTest 2018-10-13 13:40:18 +03:00
Rsl1122
40c6b09801 [Test] Fixed NetworkSettingsTest 2018-10-13 13:35:42 +03:00
Rsl1122
e6396f816f [Smell] Moved Components and Modules out of plugin classes 2018-10-13 13:32:26 +03:00
Rsl1122
e08bd82575 [Test] VelocitySystemTest 2018-10-13 13:20:59 +03:00
Rsl1122
bd7a7ef9d0 [Test] Fixed SpongeSystemTest. Mocked Sponge 2018-10-13 13:06:10 +03:00
Rsl1122
3096e962b5 [Test] Fixed BungeeSystem enable test 2018-10-13 12:43:18 +03:00
Rsl1122
55c49bd220 [Test] Fixed BukkitSystemTest
This test was tougher than usual to fix, since Database could not be
provided during object construction due to config setting default not
being loaded. This would have lead to new installs not functioning.

Fixed by replacing all Database injections with DBSystem
2018-10-13 12:19:36 +03:00
Rsl1122
2e4464b558 [Test] Renamed PingInsertProcessorTest methods 2018-10-13 11:22:36 +03:00
Rsl1122
29df1aca2b [Test] Fixed AFKListenerTest 2018-10-13 11:21:02 +03:00
Rsl1122
1758832b8e [Test] Fixed ImportBuilderTest 2018-10-13 11:17:54 +03:00
Rsl1122
baad1b4c44 [Test] Fixed SessionCacheTest 2018-10-13 10:58:00 +03:00
Rsl1122
50cc9a4304 [Test] Fixed GeolocationCacheTest 2018-10-13 10:46:11 +03:00
Rsl1122
de7eb5ddef [Test] Renamed MockUtils to Mockers 2018-10-13 10:45:59 +03:00
Rsl1122
76df161fc7 [Test] Removed FormattersTest (obsolete) 2018-10-13 10:23:24 +03:00
Rsl1122
7e89a24706 [Test] CachingSupplier test to DataContainerTest 2018-10-13 10:19:48 +03:00
Rsl1122
3af725f3ff [Test] TimeAmountFormatter tests fixed 2018-10-13 10:19:28 +03:00
Rsl1122
27a9d8a526 [Test] Renamed methods in WorldTimesTest 2018-10-13 09:59:53 +03:00
Rsl1122
1e0de6a1fe [Test] Improved GMTimesTest 2018-10-13 09:57:45 +03:00
Rsl1122
71e2d52967 [Test] Renamed PlayerKillTest methods 2018-10-13 09:52:08 +03:00
Rsl1122
82c183e63e Merge branch 'apf-3.3.0' into apf-3.3.0-merging 2018-10-12 23:55:39 +03:00
Rsl1122
25b35ac4ca [Merge] Merge apf-3.3.0-merging to apf-3.3.0
This Commit fixes merge and commit issues in the merge.
2018-10-12 23:55:07 +03:00
Rsl1122
e6a263e071 [Merge] Merge apf-3.3.0-merging to apf-3.3.0
This Commit fixes merge and commit issues in the merge.
2018-10-12 23:54:17 +03:00
MicleBrick
8065432f51 [New] Velocity Support by Miclebrick (#740)
This is a merge commit of a PR that introduces Velocity support.
Some of this support has been ported to APF already and will be removed after merge.

Thanks to Micklebrick and astei! :)
2018-10-12 21:34:47 +03:00
Rsl1122
b56deeb546 [Debt] NetworkContainer creation
Added a Factory to NetworkContainer class.

Users can gain access to NetworkContainers via FetchOperations.
2018-10-12 21:30:41 +03:00
Rsl1122
e7b2770295 [Fix] Fixed Analysis Page Caching
Network Page Update Processor was removing the finished analysis right
after it finished.
2018-10-11 22:36:22 +03:00
Rsl1122
5411fdfead [Debt] AnalysisContainer Factory
Since AnalysisContainer was only created in PageFactory it was easy to
inject dependencies for.
2018-10-08 18:12:58 +03:00
Rsl1122
2ea0caa612 [Debt] AnalysisContainer Low TPS Threshold 2018-10-08 18:03:54 +03:00
Rsl1122
6533875aff [Debt] HealthIndex settings
Added settings and formatters to parameters of different health index
mutators.
2018-10-08 18:02:11 +03:00
Rsl1122
ef16f8ece1 [Debt] ActivityIndex thresholds in RetentionData 2018-10-08 17:40:46 +03:00
Rsl1122
23f96f96aa [Fix] Network Settings save/load
Database was not enabled when the call was made, leading to a NPE when
using MySQL. (DataSource not initialized)

Fixed by moving the calls to scheduled tasks inside TaskSystems.
2018-10-08 17:35:04 +03:00
Rsl1122
47213fa564 [V] APF 3.3.1-SNAPSHOT 2018-10-08 16:55:06 +03:00
Rsl1122
81be032ccf [Debt] Updated Network page updating
This moves the network page servers tab generation and removes need for
network page updates on Bukkit servers, so it was removed.
2018-10-07 21:51:01 +03:00
Rsl1122
d448e7f868 [V] Dropped SNAPSHOT from APF version
Abstract Plugin Framework 3.3.0 is now available in central.
2018-10-07 16:46:50 +03:00
Rsl1122
ade810ca8c [Fix] Fix Command registration
Issue was caused by no call to registerCommands was made at runtime.
2018-10-07 16:17:06 +03:00
Rsl1122
1e19acb8ca
Merge pull request #744 from Rsl1122/development
PR for 4.4.7
2018-10-07 11:46:27 +03:00
Rsl1122
d57915e66c
Update versions.txt 2018-10-07 11:45:49 +03:00
Rsl1122
dd3c297fd0 [V] Increased version to 4.4.7 2018-10-06 21:56:58 +03:00
Rsl1122
7f9146fcf4 [Debt] Refactored Server Boxes to network page generation
Some features could not be implemented or will have reduced precision:
- Server type
- Players Online is deduced from TPS data
- Analysis Refresh date is now a true/false based on cache value
2018-10-06 21:38:59 +03:00
Vankka
27c2492599 DiscordSRV plugin data by Vankka (#743) 2018-10-05 22:30:57 +03:00
Vankka
a33ca5b004 LuckPerms Plugin Data by Vankka (#742) 2018-10-04 20:32:34 +03:00
Rsl1122
add18feb83 [Debt] Removed deprecated APF usage leftovers
Removed deprecated:
* Benchmark usage
* TimeAmount usage
* StaticHolder usage
* Log usage
* ErrorManager
2018-10-03 21:33:46 +03:00
Rsl1122
51e2d6fe91 [Debt] Added thresholds to ActivityIndex methods
This required addition of PlanConfig in some places to obtain the values
2018-10-03 20:59:17 +03:00