Commit Graph

3955 Commits

Author SHA1 Message Date
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
Risto Lahtela
66695beb86
Update README.md 2020-02-27 10:02:45 +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
Risto Lahtela
9fdcd59b62
Update versions.txt 2020-02-23 17:12:27 +02: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
Risto Lahtela
feb54c632e
Update versions.txt 2020-02-14 16:18:06 +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
Risto Lahtela
6591fd35e8
Update versions.txt 2020-01-24 12:51:56 +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
Risto Lahtela
189d076001
Update README.md 2020-01-22 20:54:25 +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