Commit Graph

2547 Commits

Author SHA1 Message Date
Rsl1122
04c831b9b3 [Fix] Tests fail when server is running 2018-10-25 11:23:06 +03:00
Rsl1122
633f5ba98a [New] Moved update notification to website
Dev releases and releases distinguished by icon
2018-10-25 11:22:37 +03:00
Rsl1122
1d6a6b4b07 [Fix] Fix injection issue 2018-10-25 10:38:17 +03:00
Rsl1122
b7595b12e8 Added Registered player counts per servers 2018-10-25 10:32:58 +03:00
Rsl1122
1bb75299ff [Smell] Rename Nginx -> Proxy in HTTPS Override
Thanks to Miclebrick for the observation.
2018-10-25 10:16:51 +03:00
Rsl1122
7689457d1f [#707] Task for refreshing the /players page
Run every 5 minutes - I'll make it configurable later in a config update
2018-10-24 22:32:35 +03:00
Rsl1122
7bb97f4ffc [#737] Free Disk Space Tracking
- Added a new free disk space to TPS, in megabytes
- Added Gathering method to TPSCountTimers
- Added Column to plan_tps
- Added Patch for adding plan_tps column
- Added Disk usage point mutation method to TPSMutator
  - Filtered out -1 values in Disk and CPU graphs
- Added DiskGraph and its factory method
- Added 'diskSeries' placeholder replacement to AnalysisContainer
- Added diskGraph.js for drawing disk graph
- Added 'diskMedium' & 'diskHigh' threshold placeholders
- Added Medium and high disk threholds to settings
- Replaced MB references with Mb, since B is bit and b is byte
- Added Html Lang
2018-10-24 22:25:43 +03:00
Rsl1122
98aaff0328 [New] Added Nginx HTTPS Override
HTTPS routing override can be activated by setting keystore path to
'nginx' - In this mode Plan uses HTTP server and gives out HTTPS links.

Affected issues: #669
2018-10-23 15:12:45 +03:00
Rsl1122
314e0a2ca7 [New] Added Health info stuff to locale
Affected issues: #734
2018-10-23 14:43:10 +03:00
Rsl1122
cff7fffe92 [New] Added 'Today' and 'Yesterday' to locale
Affected issues: #734
2018-10-23 13:26:34 +03:00
Rsl1122
6cd77fd7fd [Fix] IllegalStateException on test, DiscordSRV version 2018-10-23 13:21:09 +03:00
Rsl1122
b9027294ef [Fix] Patch system apply check
Wrong method was in use for database name setting retrieval, resulting
in wrong query. Fixed by replacing usage with correct method

Affected issues: #754
2018-10-22 20:27:12 +03:00
Rsl1122
ca01c26a19 [Fix] Fixed URI parsing
Issue: Can not view non-ascii player name pages
Cause: Raw encoded URI was in use (Contains %20 etc)
Fixed: Decoded URI now in use

Affected issues: #735
2018-10-14 22:33:19 +03:00
Rsl1122
fa34a6c0e6 [Fix] Fixed error in time calculation in Health
Issue: monthAgo - twoWeeksAgo players time is 0
Cause: twoWeeksAgo calculated wrong, being BEFORE monthAgo
Fix:   Move parenthesis

Affected issues: #741
2018-10-14 22:19:38 +03:00
Rsl1122
a757bf7334 [Fix] Fixed refresh formatting inconsistency
${refresh} now uses clock formatting
${refreshFull} now uses full date formatting

Affected issues: #738
2018-10-14 22:11:47 +03:00
Rsl1122
72f0937524 [Fix] Prevented session save from server thread
Affected issues: #748
2018-10-14 22:07:16 +03:00
Rsl1122
b5c29a1c0d [Fix] Fixed issues with Ping gathering
Affected issues: #749
2018-10-14 22:04:00 +03:00
Rsl1122
6a8f93be89 [New] Implemented update check setting
Setting: Plugin.Check-for-updates

Affected issues: #751
2018-10-14 21:41:16 +03:00
Rsl1122
0b7198df07 [Fix] Fixed Sponge network setting load error 2018-10-14 21:32:04 +03:00
Rsl1122
6ecf52beda [Smell] Duplicate provides definition removed 2018-10-14 15:38:52 +03:00
Rsl1122
dd0362599f [Smell] Moved plugin modules under modules.plugin 2018-10-14 15:33:36 +03:00
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