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
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