Risto Lahtela
0f8d39d6a2
Caught SQL exception on duplicate insert of user
...
- Does not treat the root cause, which is two servers not syncronizing for the insert.
- Prevents the error, since the intended SQL has already been executed
Affects issues:
- Fixed #1281
2020-03-26 11:29:52 +02:00
Risto Lahtela
1c1c9fc406
Updated Tebex extension
...
- Updates the used API URL and Request property name
Affects issues:
- Fixed #1351
2020-03-26 11:22:41 +02:00
Risto Lahtela
6936b6cb54
Fixed backButton placeholder for plugins tabs
2020-03-26 11:15:45 +02:00
Risto Lahtela
6339696b58
Fixed script regex for Locale
...
Affects issues:
- Fixed #1372 , Fixed #1373
2020-03-26 11:13:56 +02:00
Risto Lahtela
96d6f7fa31
Fixed ViaVersion Extension registering listeners disabled
2020-03-24 21:27:23 +02:00
dependabot-preview[bot]
bf45977de4
Bump junit-jupiter-params from 5.6.0 to 5.6.1 in /Plan
...
Bumps [junit-jupiter-params](https://github.com/junit-team/junit5 ) from 5.6.0 to 5.6.1.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.6.0...r5.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 06:16:00 +00:00
dependabot-preview[bot]
6d8fb9ff90
Bump junit-jupiter-engine from 5.6.0 to 5.6.1 in /Plan
...
Bumps [junit-jupiter-engine](https://github.com/junit-team/junit5 ) from 5.6.0 to 5.6.1.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.6.0...r5.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 06:07:21 +00:00
dependabot-preview[bot]
31f3747ad2
Bump junit-jupiter-api from 5.6.0 to 5.6.1 in /Plan
...
Bumps [junit-jupiter-api](https://github.com/junit-team/junit5 ) from 5.6.0 to 5.6.1.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.6.0...r5.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-23 05:59:39 +00:00
Risto Lahtela
6470832ef6
Fixed ResourceSvc file write if no directory exists
2020-03-21 16:01:15 +02:00
Risto Lahtela
b7c84980e3
Bump API version, add Capabilities:
...
- PAGE_EXTENSION_RESOLVERS
- PAGE_EXTENSION_RESOURCES
2020-03-20 22:26:03 +02:00
Risto Lahtela
38bb2ce61c
Added ResponseBuilder#setContent(WebResource)
2020-03-20 22:26:03 +02:00
Risto Lahtela
4fd19bbc5e
Removed PlanFiles#getCustomizableResourceOrDefault
2020-03-20 22:26:03 +02:00
Risto Lahtela
ff6f960a84
Renamed Resource snippet Positions
2020-03-20 22:26:03 +02:00
Risto Lahtela
7860557a2d
Changed resource settings to not use dot
2020-03-20 22:26:02 +02:00
Risto Lahtela
dae96ef53d
Implemented ResourceSvc
...
- Customizable resources
- Snippets
- Fixed issue with a web resource being fetched on enable (favicon in ResponseResolver)
- Fixed some issues with Config#addNode used in an orElse block of Optional
- Deprecated PlanFiles#getCustomizableResourceOrDefault
2020-03-20 22:26:02 +02:00
Risto Lahtela
f2ba301880
Made CapabilityService more resilient
...
Affects issues:
- Fixed #1356
2020-03-20 22:26:02 +02:00
Risto Lahtela
648cdb1a0c
Added a ResourceService
...
- Allows customizable files
- Allows js and css addition to html files
2020-03-20 22:26:02 +02:00
dependabot-preview[bot]
a0a6710ad3
Bump dagger from 2.26 to 2.27 in /Plan
...
Bumps [dagger](https://github.com/google/dagger ) from 2.26 to 2.27.
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.26...dagger-2.27 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-20 05:39:46 +00:00
dependabot-preview[bot]
f741d4bc85
Bump dagger-compiler from 2.26 to 2.27 in /Plan
...
Bumps [dagger-compiler](https://github.com/google/dagger ) from 2.26 to 2.27.
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.26...dagger-2.27 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-20 05:31:21 +00:00
dependabot-preview[bot]
421d8cd2c4
Bump mockito-junit-jupiter from 3.3.0 to 3.3.3 in /Plan
...
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito ) from 3.3.0 to 3.3.3.
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v3.3.0...v3.3.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-14 10:58:26 +00:00
dependabot-preview[bot]
e60e025870
Bump mockito-core from 3.3.0 to 3.3.3 in /Plan
...
Bumps [mockito-core](https://github.com/mockito/mockito ) from 3.3.0 to 3.3.3.
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v3.3.0...v3.3.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-14 10:50:15 +00:00
Risto Lahtela
d6f35a6fc4
Fixed db test running BeforeEach method multiple times
2020-03-14 12:40:29 +02:00
Risto Lahtela
bf7e47eb4c
Fixed DBPatchMySQLRegressionTest using wrong database
2020-03-14 12:40:28 +02:00
Risto Lahtela
e2e86cadc3
Extension RemoveEverythingTransaction test
2020-03-14 12:40:28 +02:00
Risto Lahtela
3e1f8e3c47
Split even more queries from DatabaseTest:
...
- Backup tests
- Nickname tests
- Ping tests (new tests)
- Server tests
- TPS tests
- World name tests
- UserInfo & BaseUser tests
- RemoveEverythingTransaction tests to each query test
2020-03-14 12:40:28 +02:00
Risto Lahtela
463b2edb02
Split more queries from DatabaseTest:
...
- WebUserQueriesTest for WebUser related queries
- More Session related queries
- Reduced checkstyle file length 1750 -> 1000
- Reduced checkstyle class fanout complexity 87 -> 60
- Reduced checkstyle cyclomatic complexity 18 -> 17
2020-03-14 12:40:27 +02:00
Risto Lahtela
fd6877dcad
Split Session related queries to own test class:
...
- Added a lot of new utility methods to RandomData
- Fixed a bug where duplicate PlayerKills were queried
This bug was discovered by accident when PlayerKill saving was randomized
for the tests.
- Testing constant REGISTER_TIME extracted
- String truncation constant extracted for KillsTable
This was causing some Session equals issues due to truncated weapon names
- Session now sorts PlayerKill list as this was assumed in some places.
2020-03-14 12:40:27 +02:00
Risto Lahtela
b49baa1275
Split Geolocation related queries to own test
2020-03-14 12:40:26 +02:00
Rsl1122
952cac1fbf
Split ActivityIndexQueries to own Test class
2020-03-14 12:40:25 +02:00
Risto Lahtela
ea209aceb3
Split database tests to 2 classes
2020-03-14 12:40:25 +02:00
Risto Lahtela
b339800650
Removed JUnit 4
2020-03-14 12:40:23 +02:00
Risto Lahtela
aca9d22e1f
Applied theme to pages properly
...
New utility UnaryChain:
- Allows writing nested modifications as a chain
2020-03-14 12:40:23 +02:00
Risto Lahtela
77d33c991a
Moved NotFoundException to API
2020-03-14 12:40:22 +02:00
Risto Lahtela
68be3117b1
Moved BadRequestException to API
...
Changed Bad Request response to JSON:
{
"status": 400,
"error": "message",
"target": "/requested/target"
}
2020-03-14 12:40:21 +02:00
Risto Lahtela
0a8b0e273c
Fixed checkstyle on newer JDKs
...
See https://github.com/gradle/gradle/issues/8286 for more information
2020-03-14 12:40:21 +02:00
Risto Lahtela
c204ce9b1b
Fixed some code smells & bugs
2020-03-14 12:40:19 +02:00
Rsl1122
f869de01b8
Applied Locale to Pages
2020-03-14 12:40:00 +02:00
Rsl1122
420e098d41
Moved ServerPage colors to the JSON responses
2020-03-14 12:39:57 +02:00
Rsl1122
a8126f6669
Rename VersionCheckSystem -> VersionChecker
2020-03-14 12:39:56 +02:00
Rsl1122
b5d07de18b
Removed unused code
2020-03-14 12:39:55 +02:00
Rsl1122
1ab5f3473d
Refactored JSONResolvers to use the new API
2020-03-14 12:39:53 +02:00
Rsl1122
2b1b459a37
Refactored static resource resolution
2020-03-14 12:39:32 +02:00
Rsl1122
77dbc74cc5
Refactored Root page redirect
...
- Fixed issue where response code was not set
- Fixed ResponseSender not setting values for response headers
- Changed ResponseResolver to mostly use Response instead of _old
2020-03-14 12:39:31 +02:00
Rsl1122
6ed6dd1f9f
Refactored Resolver to use new Request class
...
URIPath and URIQuery were not enough info on the Request
In addition the Request supports
- WebUser
- Request Headers
- Request method (GET, POST etc)
2020-03-14 12:39:30 +02:00
Rsl1122
4a1234f9b4
Refactored /server page to use ResolverService
2020-03-14 12:39:28 +02:00
Rsl1122
e997289a20
Refactored /players page to use ResolverService
...
- Changed all css, js and png requests on player page to use relative address.
- Changed the export accordingly
Deprecated a lot of the old response factory methods
2020-03-14 12:38:32 +02:00
Rsl1122
2914966650
Refactored /players page to use ResolverService
...
Deprecated a lot of the old response factory methods
2020-03-14 12:37:25 +02:00
Rsl1122
2736ba042a
Refactored /debug page to use ResolverService
...
Some issues that were identified:
- Going to /debug/ makes the style requests return the debug page content
because the /debug resolver is used
- In the future when / is to be resolved it might override a bunch of requests.
- Use of RequestTarget as incompatible with URIPath for some reason which lead to infinite
redirect, so the attempted change was reverted before this commit.
- Some Responses are using PlanFiles to obtain a html file (SRP violation)
Rest of the pages still use the old resolution that is now deprecated.
2020-03-14 12:37:23 +02:00
Rsl1122
9c74c40f72
Renamed some Service related classes
2020-03-14 12:35:06 +02:00
Rsl1122
96837dbcd0
Tested and fixed URLTarget behavior
...
Now properly omits previous segments and uses the same code for getPart.
You can read the javadocs or tests if you want to figure out the behavior
2020-03-14 12:35:05 +02:00
Rsl1122
7f0341087e
Implemented a CompositeResolver
...
Allows building tree-like structure for resolution
2020-03-14 12:35:05 +02:00
Rsl1122
e7da714f55
Initial draft of ResolverService
...
Affects issues:
- #1288
2020-03-14 12:35:05 +02:00
Risto Lahtela
62f3f46678
DB Clean now takes server UUID into account
...
Affects issues:
- Fixed #1341
2020-03-13 11:48:34 +02:00
Risto Lahtela
aef0aa5447
Player export now has per method path replacers
...
This should stop issues from concurrent calls to the exporter.
Affects issues:
- Fixed #1352
2020-03-13 11:39:54 +02:00
Risto Lahtela
154cfc4a2b
Added config setting to disable disk gathering
...
'Data_gathering.Disk_space' default 'true'
Also fixed all performance average calculations where -1
might be present
Affects issues:
- Close #1360
2020-03-13 10:28:47 +02:00
Risto Lahtela
d6e920c31d
Changed disk space to use space available to current user
2020-03-13 10:19:11 +02:00
dependabot-preview[bot]
0224571a50
Bump httpclient from 4.5.11 to 4.5.12 in /Plan
...
Bumps httpclient from 4.5.11 to 4.5.12.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-09 05:53:06 +00:00
dependabot-preview[bot]
f67414de70
Bump geoip2 from 2.13.0 to 2.13.1 in /Plan
...
Bumps [geoip2](https://github.com/maxmind/GeoIP2-java ) from 2.13.0 to 2.13.1.
- [Release notes](https://github.com/maxmind/GeoIP2-java/releases )
- [Changelog](https://github.com/maxmind/GeoIP2-java/blob/master/CHANGELOG.md )
- [Commits](https://github.com/maxmind/GeoIP2-java/compare/v2.13.0...v2.13.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-04 05:30:46 +00:00
Rsl1122
36579cfcd0
Revert commit '4e8f509'
...
Affects issues:
- Fixed #1344
2020-02-29 10:00:03 +02:00
Risto Lahtela
e92cc6751a
Changed 'softdepend' to 'softDepends'
...
Affects issues:
- Fixed #1335
2020-02-28 20:51:38 +02:00
dependabot-preview[bot]
240236224b
Bump mockito-core from 3.2.4 to 3.3.0 in /Plan
...
Bumps [mockito-core](https://github.com/mockito/mockito ) from 3.2.4 to 3.3.0.
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v3.2.4...v3.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 05:46:30 +00:00
dependabot-preview[bot]
fe0b4847c8
Bump mockito-junit-jupiter from 3.2.4 to 3.3.0 in /Plan
...
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito ) from 3.2.4 to 3.3.0.
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v3.2.4...v3.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-24 05:37:42 +00:00
Rsl1122
4e8f509ebc
Register extensions after all plugins finish starting up
...
Affects issues:
- Fixed #1335
2020-02-20 14:59:30 +02:00
Rsl1122
542ce5dc03
Replaced some '' with `` in js files
...
To reduce issues with ' characters in locale
Affects issues:
- Fixed #1334
2020-02-20 14:50:10 +02:00
Rsl1122
98a1a15837
Fixed error in BentoBox Extension
...
Affects issues:
- Fixed #1332
2020-02-20 14:41:33 +02:00
Rsl1122
03bb211c51
Truncate Extension String values
...
Fixed regression bug from refactoring
Affects issues:
- Fixed #1333 , #1338
2020-02-20 14:35:19 +02:00
Rsl1122
c566d65a8e
Added BentoBox to softdepends
2020-02-14 15:55:50 +02:00
Rsl1122
e52f082200
Patched incorrect register dates on Nukkit
...
Affects issues:
- #1320
2020-02-14 15:39:15 +02:00
Rsl1122
6d9ef8a3db
Patched incorrect register dates on Nukkit
...
Affects issues:
- #1320
2020-02-14 15:28:03 +02:00
Rsl1122
e4a7c083da
Updated a webserver error for missing cert
...
less spam
2020-02-14 15:08:06 +02:00
Rsl1122
d3fd60a92e
Updated VaultExtension
...
- Fixed economy call when player has no economy account
- Adds support for permission groups
Affects issues:
- Fixed #1331
2020-02-14 15:02:54 +02:00
dependabot-preview[bot]
d2c72050dd
Bump commons-compress from 1.19 to 1.20 in /Plan
...
Bumps commons-compress from 1.19 to 1.20.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 05:38:13 +00:00
Rsl1122
9d26591dfc
Formatted ping placeholder values
...
Affects issues:
- Fixed #1324
2020-02-08 19:20:19 +02:00
Rsl1122
be0fab2f6b
Fixed export not replacing players json url
...
Some long term solution for issues like this should be figured out
at some point (automated tests maybe?)
Affects issues:
- Fixed #1313
2020-02-07 11:11:48 +02:00
Risto Lahtela
6dd5f7c7d9
Locale FR updated by Nogapra ( #1309 , #1325 )
...
* Locale FR updated by Nogapra (#1309 )
* Resolve one missed suggestion
* Added Nogapra to Contributors & LangCode
- Wrote html generator for contributor list to avoid
adding the contributor in 5 different places
Co-authored-by: LECURIEUX-CLERVILLE Aurélien <nogapra@gmail.com>
2020-02-07 11:07:09 +02:00
Rsl1122
1e9ce39c87
Updated LuckPerms Extension
...
Fixes detection for the plugin
Affects issues:
- Fixed #1316
2020-02-07 10:30:40 +02:00
Rsl1122
f0c252fbde
Added Nukkit PlayerDeathEvent listener
...
EntityDeathEvent is not called for player
Added listener for PlayerDeathEvent that performs the expected behavior
Affects issues:
- Fixed #1314
2020-02-07 10:25:53 +02:00
Rsl1122
ae9ce49c43
Nukkit register date now uses seconds
...
Affects issues:
- Fixed #1320
2020-02-07 10:20:04 +02:00
Rsl1122
5d457223f8
Prevented null playerUUID from executing code
...
Affects issues:
- Fixed #1307
2020-02-04 11:17:13 +02:00
Rsl1122
380c98e8e6
Fixed missing softdepends, relocated javax.inject
...
Affects issues:
- Fixed #1308
2020-02-04 11:11:35 +02:00
Rsl1122
5329db8b30
Added Webserver error case for EOF
2020-01-30 16:28:48 +02:00
dependabot-preview[bot]
f254f605d7
Bump dagger from 2.25.4 to 2.26 in /Plan
...
Bumps [dagger](https://github.com/google/dagger ) from 2.25.4 to 2.26.
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.25.4...dagger-2.26 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-30 05:37:17 +00:00
dependabot-preview[bot]
55406cf586
Bump dagger-compiler from 2.25.4 to 2.26 in /Plan
...
Bumps [dagger-compiler](https://github.com/google/dagger ) from 2.25.4 to 2.26.
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.25.4...dagger-2.26 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-30 05:28:51 +00:00
Rsl1122
274bd2755b
Renamed Parameters#call to #usingOn
2020-01-26 23:00:56 +02:00
Rsl1122
43f18c78aa
Removed need of instanceof PercentageDataProvider
2020-01-26 22:55:50 +02:00
Rsl1122
3e734ec505
Updated javadoc of extension queries
...
Some of them were for wrong class and contained
lots of unnecessary or out of date information
2020-01-26 22:39:06 +02:00
Rsl1122
0a1c20c070
Renamed DataProviderExtractor to ExtensionWrapper
...
This makes the purpose of the class more clear,
as it has methods that are not related to
extracting DataProvider objects.
2020-01-26 22:39:05 +02:00
Rsl1122
6a0c25edd5
Refactored more Gatherers
...
Now all "non special" gatherers have been combined
to use Gatherer interface inside ProviderValueGatherer
Two gatherers are not yet abstracted:
- BooleanProviderValueGatherer, returns Conditions
- TableProviderValueGatherer, different provider save§
This removes a lot of duplicate code that was pretty
difficult to understand due to the complexity of the
functional interfaces inside the classes
2020-01-26 22:39:05 +02:00
Rsl1122
f438366adc
MethodWrapper Parameters
...
Parameters for MethodWrapper were abstracted to a
visitor interface in order to call any method types
with same class structure (Gatherer)
2020-01-26 22:39:00 +02:00
Rsl1122
ee9a9ba7d8
Refactored code of DataProvider
...
Some optional values from different providers
were not included in ProviderInformation,
which lead to unnecessary instanceof usage and
weird static methods.
Added the optional info to ProviderInformation
and created a Builder, making much cleaner code
and removing those odd ball methods.
- Also fixed StoreProviderTransaction having
insert of Icon and Tab in wrong order
2020-01-26 22:38:59 +02:00
Rsl1122
2c19e0e980
StoreProviderTransaction
...
- Removes duplicate code by replacing 5 different
Store___ProviderTransaction classes with
a single one.
Null value is inserted where possible / makes sense
2020-01-26 22:38:59 +02:00
Rsl1122
0b1ae59c48
Begun creating abstract Gatherer class
...
This class is supposed to replace all different gatherers (except maybe Boolean)
because these classes contain a lot of duplicate code, and adding group
methods would only increase the amount of duplicate code.
So instead of having duplicate code in different classes, a single
class could be abstract enough to construct the different functionality
without having branches in the execution logic.
2020-01-26 22:38:58 +02:00
Rsl1122
7293cdf98f
Registered BentoBox Extension
...
Affects issues:
- Close #722
2020-01-26 22:33:01 +02:00
Rsl1122
0ee2d9a1e0
Fixed some issues with javadoc task
2020-01-24 12:22:41 +02:00
Rsl1122
ba34d2ad9a
Changed export of non-text files
...
Some non-text files like fonts were being exported as text
Fixed by identifying text files and exporting other files
by copying the bytestream directly.
Affects issues:
- Fixed #1297
2020-01-24 11:16:03 +02:00
Rsl1122
d731919b26
Implemented %plan_player_favorite_server% placeholder
...
Requested on Discord in priority-support.
2020-01-24 10:45:26 +02:00
Rsl1122
73343f8d20
Change false assumption about paper methods
...
Some paper methods are not available in old versions of Paper,
leading to exceptions.
Method for checking the existence of the methods was added
Affects issues:
- Fixed #1304
2020-01-24 10:41:23 +02:00
Rsl1122
380f848f62
Added 'Webserver.Security.Disable_authentication' setting.
...
This is a feature flag to not have authentication even when
https has been enabled.
Affects issues:
- Close #1264
2020-01-21 16:33:56 +02:00
dependabot-preview[bot]
c6416254e9
Bump junit-jupiter-params from 5.5.2 to 5.6.0 in /Plan
...
Bumps [junit-jupiter-params](https://github.com/junit-team/junit5 ) from 5.5.2 to 5.6.0.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.5.2...r5.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 05:44:35 +00:00
dependabot-preview[bot]
90bf15bbe5
Bump junit-platform-runner from 1.5.2 to 1.6.0 in /Plan
...
Bumps [junit-platform-runner](https://github.com/junit-team/junit5 ) from 1.5.2 to 1.6.0.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 05:36:13 +00:00
dependabot-preview[bot]
55ee448a84
Bump junit-jupiter-engine from 5.5.2 to 5.6.0 in /Plan
...
Bumps [junit-jupiter-engine](https://github.com/junit-team/junit5 ) from 5.5.2 to 5.6.0.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.5.2...r5.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 05:28:32 +00:00
dependabot-preview[bot]
43cbd7339c
Bump httpclient from 4.5.10 to 4.5.11 in /Plan
...
Bumps httpclient from 4.5.10 to 4.5.11.
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-20 05:39:36 +00:00
Rsl1122
78b3239a63
Removed setDefaultUseCaches(false)
...
Calling this method causes SpongeForge to crash later
https://forums.spongepowered.org/t/spongeforge-crashes-in-odd-circumstances/34699/4
Affects issues:
- Fixed #1296 , #1291 , #1292
2020-01-19 12:28:08 +02:00
Rsl1122
f5809420a5
Disconnect HTTP Connection after using IP2C
...
Affects issues:
- Possibly fixes #1296 , #1291 , #1292
2020-01-18 11:31:46 +02:00
dependabot-preview[bot]
4dc3fc7e3e
Bump mysql-connector-java from 8.0.18 to 8.0.19 in /Plan
...
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j ) from 8.0.18 to 8.0.19.
- [Release notes](https://github.com/mysql/mysql-connector-j/releases )
- [Changelog](https://github.com/mysql/mysql-connector-j/blob/release/8.0/CHANGES )
- [Commits](https://github.com/mysql/mysql-connector-j/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-17 19:36:22 +00:00
Rsl1122
287eaf9b12
Fixed js worlds getting translated
...
- Deaths
- Ended
- Length
This bug can easily regress!
Affects issues:
- Fixed #1293
2020-01-17 21:11:07 +02:00
Rsl1122
0cfd98a127
Fixed memory leak when using Export
...
Also fixes an issue where players with partially same name get wrong json URL
2020-01-17 21:11:06 +02:00
Rsl1122
f16bd6a565
Updated font awesome to 5.12.0
...
- Adds support for fonts to Plan webserver
2020-01-17 21:11:06 +02:00
Rsl1122
c73eeda59e
Added missing sidebar toggles.
...
Some togglers were missing from titles
- on players page
- on error pages
- on debug page
Affects issues:
- Fixed #1287
2020-01-17 21:11:06 +02:00
Rsl1122
c87f981d6a
Rewrote TPSCounter Task
...
This commit is a squash of 8 optimization commits to TPSCounter.
1. Extracted duplicate code in TPSCounters to ServerSensors.
- TPSCounter tasks now live inside common module
- ServerTPSCounter and ProxyTPSCounter
- Gathering methods are implemented with ServerSensor interface:
Player count, TPS, Entity count, Chunk count
- ServerProperties#getOnlinePlayers was replaced with ServerSensor
- Fixed sonar smells: "Hiding field" in TPSStoreTransaction & NavLink
2. Optimizations down to 0.15ms / run
- Optimized entity+chunk count (same for loop)
- Added warm-up for system resource methods
- Removed Stream API usages
- Removed List copy operation
- Entities & chunks only count once per minute
- CPU & RAM averages now produced with Average class
- Maximum player count per minute now produced with Maximum class
Affects issues:
- Fixed #1289
2020-01-17 21:11:05 +02:00
Rsl1122
8a059ced0b
Added SystemUsage class
...
This class is collection of some methods in TPSCounter that
were refactored out of it.
2020-01-17 21:11:05 +02:00
Rsl1122
d6e3817c71
All Extension tables now displayed
...
Original query used an odd inner join which caused some tables to
not be displayed at all, in some cases no tables were displayed at all.
The inner join was joining the value table, which is lower in the table hierarchy.
Changed the query to instead inner join upwards in the table hierarchy, joining the
plugin table.
Affects issues:
- #1260
2020-01-17 21:11:05 +02:00
Rsl1122
5908c6f41b
Extra Extension tabs now take full width
...
Regression during redesign placed single tab content in card-columns div,
which caused the content to be displayed with a sub-par width.
Fixed by extracting new code that handles case for wide tabs, which
display the plugin container as full page width.
- Additionally, solved some issues with the plugin tab names & ids
Affects issues:
- Fixed #1276
2020-01-17 21:11:05 +02:00
Rsl1122
50948c7a65
Fixed Plugin tab names
...
Tab name was not being used, instead every plugin would show "Plugins Overview"
The server name was also missing on server & network page
2020-01-17 21:11:04 +02:00
Rsl1122
7c0f4450a7
Update Tebex Extension to R0.3
...
Fixes column names of the table
Affects issues:
- Fixed #1286
2020-01-17 21:11:04 +02:00
Rsl1122
4776305b78
Fixed test compile errors
2020-01-17 21:11:04 +02:00
Rsl1122
8dcfd3ad9a
Fixed new sonar smells
...
- Reduced constructor parameters in Exporter
- Removed Throwable#printStackTrace calls
- Cleaned up SessionsMutator#toJSONMaps a little
- Replaced uses of getString/Number/ methods of PlanConfig with PlanConfig#get
2020-01-17 21:11:04 +02:00
Rsl1122
a5219dd901
Fixed broken tests
2020-01-17 21:11:03 +02:00
Rsl1122
9480245dae
Made Geolocator init asynchronous.
2020-01-17 21:11:03 +02:00
Rsl1122
304d8da86b
Changed back links /server -> /server/
...
Also for /network -> /network/
This was causing some issues with relative links when Plan was in
subdirectory eg address/plan/server would direct requests to address/v1/
instead of address/plan/v1/
Affects issues:
- Fixed #1210
2020-01-17 21:11:03 +02:00
Rsl1122
3d3c7289bb
Fixed /v1/players permisison level
...
Affects issues:
- #1210
2020-01-17 21:11:03 +02:00
Rsl1122
ca89ab70d9
Prevent use of /plugins/Plan/web/ for export.
...
Warns if the export path is bad and falls back to 'Analysis Results'
Affects issues:
- Fixed #1194 , Fixed #1279 , Fixed #1195
2020-01-17 21:11:03 +02:00
Rsl1122
d22c850253
Changed sessionAccordion to use player names
...
Player names were in use previously, but changed to uuids to reduce
odd player name issues (On cracked servers the names can be whatever)
Encoded the playernames to URL (new session json parameter) and added that
to sessionAccordion
Affects issues:
- Fixed #1269
2020-01-17 21:11:02 +02:00
Rsl1122
d2b3b86154
Replace '+' with ' ' in exported file paths.
...
Affects issues:
- Fixed #1278
2020-01-17 21:11:02 +02:00
Rsl1122
6e4dce2553
Truncated some other Strings
2020-01-17 21:11:02 +02:00
Rsl1122
5bd325c2a7
Truncate weapon names to 30 chars
...
Affects issues:
- Fixed #1272
2020-01-17 21:11:02 +02:00
Rsl1122
16a5b41db5
Implemented new GeoLite2 & IP2C geolocators
...
- GeoLite2 downloads the file using License key, only if EULA is accepted
- Fallback to IP2C if GeoLite2 is not available
- Remove GeoIP.dat after successfully downloading GeoLite2-Country.mmdb
- Added case where geolocation fails to enable and doesn't cause issues
- Adds Apache commons-compress to the dependencies because of a tar archive
Affects issues:
- Fixed #1273
2020-01-17 21:11:02 +02:00
dependabot-preview[bot]
f90079edff
Bump HikariCP from 3.4.1 to 3.4.2 in /Plan ( #1285 )
...
Bumps [HikariCP](https://github.com/brettwooldridge/HikariCP ) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/brettwooldridge/HikariCP/releases )
- [Changelog](https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES )
- [Commits](https://github.com/brettwooldridge/HikariCP/compare/HikariCP-3.4.1...HikariCP-3.4.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-12 17:05:50 +02:00
Risto Lahtela
84bd679997
Changed http to https for repositories
...
https://www.alphabot.com/security/blog/2020/java/Your-Java-builds-might-break-starting-January-13th.html
2020-01-10 12:29:55 +02:00
dependabot-preview[bot]
a9d9e0d718
Bump dagger-compiler from 2.25.3 to 2.25.4 in /Plan
...
Bumps [dagger-compiler](https://github.com/google/dagger ) from 2.25.3 to 2.25.4.
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.25.3...dagger-2.25.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-30 05:38:13 +00:00
dependabot-preview[bot]
7653595c1c
Bump dagger from 2.25.3 to 2.25.4 in /Plan
...
Bumps [dagger](https://github.com/google/dagger ) from 2.25.3 to 2.25.4.
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.25.3...dagger-2.25.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-30 05:30:39 +00:00
yukieiji
ce23e41607
Update locale_JA ( #1267 )
...
* Update locale_JA.txt
Fix and translation of untranslated parts
* Update locale_JA.txt
2019-12-27 15:18:02 +02:00
dependabot-preview[bot]
061804a73a
Bump sqlite-jdbc from 3.28.0 to 3.30.1 in /Plan
...
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc ) from 3.28.0 to 3.30.1.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases )
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG )
- [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.28.0...3.30.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-24 05:26:32 +00:00
dependabot-preview[bot]
dcbd43f33d
Bump geoip2 from 2.12.0 to 2.13.0 in /Plan
...
Bumps [geoip2](https://github.com/maxmind/GeoIP2-java ) from 2.12.0 to 2.13.0.
- [Release notes](https://github.com/maxmind/GeoIP2-java/releases )
- [Changelog](https://github.com/maxmind/GeoIP2-java/blob/master/CHANGELOG.md )
- [Commits](https://github.com/maxmind/GeoIP2-java/compare/v2.12.0...v2.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 05:27:58 +00:00
Rsl1122
a3cd3adb32
Cleaning up some code:
...
- Some extension API implementation things refactored
- getOrDefault+put calls replaced with computeIfAbsent
using Maps#create, Lists#create
- stream().map(mapper).collect(toList/toSet) optimized
using Lists#map, #mapUnique
- stream().filter(by).collect(toList) optimized
using Lists#filter
2019-12-19 00:09:29 +02:00
Rsl1122
241cdbe82e
Fixed compile error introduced in previous commit
2019-12-17 10:49:50 +02:00
Rsl1122
732c7858d0
Fixing Sonar smells:
...
- Removed unused code in Reflection
- Removed duplicated Strings in GMTimes
- Added private constructor to TimeZoneUtility
- Renamed local variable in RegisterDateMinimizationPatch
- Replaced Function<String, Boolean> with Predicate in ExtensionRegister
- Changed AFKListeners to use primitive boolean
- Changed Config#get(Setting<Boolean>) uses to isTrue and isFalse
- comment to NukkitListenerSystem
2019-12-17 10:41:50 +02:00
Rsl1122
b3325bfc6e
Comment jacoco report path to see if it fixes sonar
2019-12-17 10:00:38 +02:00
Rsl1122
3e57cf45e4
Fixed relative links on sessionAccordion on /network page
...
- Added jyhsu2000 to contributor list
Note: #1258
2019-12-17 09:31:16 +02:00
dependabot-preview[bot]
dcccca4e1d
Bump mockito-junit-jupiter from 3.2.0 to 3.2.4 in /Plan ( #1256 )
...
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito ) from 3.2.0 to 3.2.4.
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v3.2.0...v3.2.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 09:08:02 +02:00
dependabot-preview[bot]
18aa91a8c7
Bump dagger-compiler from 2.25.2 to 2.25.3 in /Plan ( #1255 )
...
Bumps [dagger-compiler](https://github.com/google/dagger ) from 2.25.2 to 2.25.3.
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.25.2...dagger-2.25.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 09:07:41 +02:00
dependabot-preview[bot]
d40952fee7
Bump slf4jVersion from 1.7.29 to 1.7.30 in /Plan ( #1257 )
...
Bumps `slf4jVersion` from 1.7.29 to 1.7.30.
Updates `slf4j-nop` from 1.7.29 to 1.7.30
- [Release notes](https://github.com/qos-ch/slf4j/releases )
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.29...v_1.7.30 )
Updates `slf4j-api` from 1.7.29 to 1.7.30
- [Release notes](https://github.com/qos-ch/slf4j/releases )
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.29...v_1.7.30 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 09:07:01 +02:00
dependabot-preview[bot]
4e8f476499
Bump mockito-core from 3.2.0 to 3.2.4 in /Plan ( #1254 )
...
Bumps [mockito-core](https://github.com/mockito/mockito ) from 3.2.0 to 3.2.4.
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v3.2.0...v3.2.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 09:06:38 +02:00
dependabot-preview[bot]
5d0ead8532
Bump dagger from 2.25.2 to 2.25.3 in /Plan ( #1253 )
...
Bumps [dagger](https://github.com/google/dagger ) from 2.25.2 to 2.25.3.
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.25.2...dagger-2.25.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 09:06:26 +02:00
KID
905fcfc1e8
Use relative path in Player Page button and Server Analysis button ( #1258 )
2019-12-17 09:06:05 +02:00
Rsl1122
d5864bf594
12am now at start of PunchCard
...
An earlier fix attempt for another bug #247 (ages ago)
was still in the code, moving 12 am to the next day by
adding 24 hours to the time.
Fixed by removing the check
Affects issues:
- Fixed #712
2019-12-16 16:30:35 +02:00
Rsl1122
00d366748d
Fixed Punchcard not using TimeZone
...
- Started using TimeZone in PunchCard
Affects issues:
- Fixed #1250
2019-12-16 16:26:42 +02:00
Rsl1122
9c5d503526
Changed Punchcard to say 12am instead of 0am
...
Affects issues:
- #712
2019-12-16 15:46:47 +02:00
Rsl1122
4611c327d4
Improved Extension error cases
...
- Extensions can now be disabled even when the creation fails
- Extension creation error stack traces are pruned better
Affects issues:
- #1248 , #1246
2019-12-16 15:22:46 +02:00
Rsl1122
13e00543c2
Implemented Access-Control-Allow-Origin
...
- Added Config setting Webserver.Security.CORS.Allow_origin
- Webserver returns the header for all requests
- Added an HTTP 204 response for OPTIONS-method to speed up CORS requests.
Affects issues:
- Close #1251
2019-12-16 12:36:14 +02:00