Commit Graph

4849 Commits

Author SHA1 Message Date
Risto Lahtela
3711f0ca60 Fixed stackoverflow error 2021-03-16 18:30:12 +02:00
Risto Lahtela
62da72e6f1 Use paper method when available for hostname 2021-03-16 17:47:26 +02:00
Risto Lahtela
0ba6ff3d70 Update Host name every time player logs in 2021-03-16 17:40:48 +02:00
Risto Lahtela
316c973114
Fix html updating 2021-03-16 13:23:12 +02:00
Risto Lahtela
df50c10758
Update versions.txt 2021-03-16 13:19:52 +02:00
Risto Lahtela
2e753516e2 Revert changes to URIPathTest.java 2021-03-16 11:36:45 +02:00
Risto Lahtela
1c8fa4c18e Removed parameterized test names 2021-03-16 11:29:55 +02:00
Risto Lahtela
ebffd886fe Fixed parameterized test errors 2021-03-16 10:51:46 +02:00
Risto Lahtela
baab6e5f88 Fixing sonarcloud bugs and smells
Bugs fixed:
- LinkCommands: The return value of "orElseThrow" must be used.
- RegistrationCommands: Optional isPresent not same instance as Optional get

Smells fixed:
- Plan: "logger" is the name of a field in "JavaPlugin"
- PlayersTableJSONCreator: Reduce the total number of break and continue statements in this loop to use at most one.
- BukkitAFKListener, SpongeAFKListener, NukkitAFKListener, PlanAPI, CapabilityService: match the regular expression '^[a-z][a-zA-Z0-9]*$'
- TaskSystem: Reorder the modifiers to comply with the Java Language Specification.
- EntityNameFormatter: StringUtils.removeAll moved to RegExUtils.removeAll
- FiltersJSONResolver: fulfill compareTo contract
- ExportTask: Removed duplicate string literal
- FinishedSession.Id: Rename field "id"
2021-03-16 10:41:17 +02:00
Risto Lahtela
c54c3ce88b Fixed test compilation 2021-03-16 09:42:50 +02:00
Risto Lahtela
2e01758fd6 Fixed lag from host name lookup 2021-03-16 09:02:30 +02:00
Risto Lahtela
cf3fe26b8a
Update versions.txt 2021-03-15 18:34:39 +02:00
Risto Lahtela
e66900117c Replace jcenter with mavenCentral since it is sunset 2021-03-15 18:26:57 +02:00
Risto Lahtela
2767c0ff65 Remove duplicate mysql relocation line 2021-03-15 18:25:16 +02:00
Risto Lahtela
7e08ea8245 Fixed plugin not enabling on Sponge or nukkit
- Removed module-info.class that came from asm
- Don't relocate SQLite since the NativeDB class is not relocated properly
2021-03-15 18:24:40 +02:00
Risto Lahtela
ac526e7542 Fixed hostname pie for export 2021-03-15 17:34:32 +02:00
Risto Lahtela
f1cb5ed071 Added hostname pie to server pages 2021-03-15 17:29:10 +02:00
Risto Lahtela
ccd3a32bf5 Wrote more tests for the new shutdown storage procedure 2021-03-15 17:23:47 +02:00
Risto Lahtela
e1dae855d9 Bump Extension-McMMO to 2.1.149-R1.5 2021-03-15 17:08:02 +02:00
Risto Lahtela
bfcb7eea85
Dependency downloading (#1795)
Affects issues:
- Fix #1759
2021-03-15 15:28:36 +02:00
Risto Lahtela
42ecfa7298 Removed unnecessary libraries from the jar
- Removed http client dependency
- Removed html compressor dependency

- No longer shadowing http client from geolite2 dependencies
2021-03-15 13:56:36 +02:00
Risto Lahtela
c15793cd44
Fix html copying 2021-03-13 11:25:49 +02:00
Risto Lahtela
c6cdf98468
Update versions.txt 2021-03-13 11:24:37 +02:00
Risto Lahtela
87a70d4745 Update BanManagerExtension
- Made Sponge scope provided
2021-03-13 11:14:21 +02:00
Risto Lahtela
e6299d6dd6 Removed failing test 2021-03-13 10:21:58 +02:00
Risto Lahtela
a9ce521c0c Made shutdown session save less disruptive
- Session save is now properly waited for when plugin disables
    The session save attempt times out after 4 seconds instead of
    waiting forever
- If shutdown save is not performed, instead of attempting again on JVM death,
  the sessions are placed into a file that is read next time the plugin
  enables.

Affects issues:
- Fixed #1770
2021-03-13 10:15:29 +02:00
Risto Lahtela
4f411e648b Updated mcMMO Extension
- Disabled potential offline database calls

Affects issues:
- Fixed #1791
2021-03-13 08:12:55 +02:00
Risto Lahtela
8f85c23c2f Refactoring: ActiveSession, FinishedSession and ServerUUID
- Split Session into ActiveSession and FinishedSession, replaced their usage
- Replaced UUID with ServerUUID when the data type

Affects issues:
- Close #1746
2021-03-12 18:03:12 +02:00
Risto Lahtela
009ac2ad57
Update FUNDING.yml 2021-03-11 20:21:00 +02:00
Risto Lahtela
8149fc39b9 Updated javadocs front-page style 2021-03-11 16:31:17 +02:00
Risto Lahtela
0ca3e7f060 Stop checking package-info for licenses 2021-03-11 16:18:59 +02:00
Risto Lahtela
bdcd84749b Added some package-info files for javadocs 2021-03-10 11:38:48 +02:00
Risto Lahtela
3daf54edc8
Cleanup (#1789)
* Delete Jenkinsfile
* Delete .travis.yml
* Delete sonar.sh
* Delete updateJavadocs.sh
* Delete runTests.sh
* Delete runCheckstyle.sh
* Delete prepareServerJars.sh
* Delete eula.txt
* Delete release-drafter.yml
2021-03-10 10:39:59 +02:00
Risto Lahtela
55f3e3526e
Create html.yml 2021-03-10 10:33:42 +02:00
Risto Lahtela
4c3b531cb0 Added javadocs index page back 2021-03-10 10:15:35 +02:00
Risto Lahtela
a4e2c24dae
Create javadocs.yml 2021-03-10 10:08:21 +02:00
Risto Lahtela
4e3c901e59 Reversed regular->inactive metric dates
The dates were calculating the metric wrong way around,
- the first index was for current time
  - Regulars
- the second index was for 30 days ago
  - Inactive
So it was calculating inactive->regular instead

Affects issues:
- Fixed #1775
2021-03-10 09:57:25 +02:00
Risto Lahtela
600d64999a Added error information for SQL error code 13
Affects issues:
- Close #1784
2021-03-10 09:48:56 +02:00
dependabot-preview[bot]
403d87fe2e Bump palVersion from 4.0.2 to 4.0.5 in /Plan
Bumps `palVersion` from 4.0.2 to 4.0.5.

Updates `platform-abstraction-layer-api` from 4.0.2 to 4.0.5

Updates `platform-abstraction-layer-bukkit` from 4.0.2 to 4.0.5

Updates `platform-abstraction-layer-sponge` from 4.0.2 to 4.0.5

Updates `platform-abstraction-layer-nukkit` from 4.0.2 to 4.0.5

Updates `platform-abstraction-layer-bungeecord` from 4.0.2 to 4.0.5

Updates `platform-abstraction-layer-velocity` from 4.0.2 to 4.0.5

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-10 05:26:36 +00:00
Risto Lahtela
e1bffbcc1f
Swap Abstract Plugin Framework for Platform Abstraction Layer library (#1787)
Replaced Abstract Plugin Framework with Platform Abstraction Layer

Large amount of changes due to removal of features from the library,
and change of the way the abstraction is achieved.
Removes features from Plan:

    Removed debug logging (Considered useless when debugging issues)
    Removed /debug page (Considered useless when debugging issues)
    Removed enable timing (Benchmarking utility was removed from the library)
2021-03-09 11:36:07 +02:00
Risto Lahtela
4da7497d82
Player Hostname PieChart Added (#1679 #1786)
Affects issues:
- Close #783

Co-authored-by: Arnold Hamstra <youtube@minecraftercity.com>
Co-authored-by: Arnold <a_hamstra@hotmail.com>
2021-03-09 10:01:09 +02:00
dependabot-preview[bot]
d61c85962f Bump Extension-Towny from 0.96.7.4-R0.1 to 0.96.7.4-R0.2 in /Plan
Bumps Extension-Towny from 0.96.7.4-R0.1 to 0.96.7.4-R0.2.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 05:37:37 +00:00
Risto Lahtela
dc5206700f Updated Advanced Achievements extension 2021-03-05 14:34:09 +02:00
Risto Lahtela
b7af2a5717 Moved to using the new repository
- Updated some extensions
- Removed GriefPreventionPlus extension since it was no longer
  available anywhere for installing

Affects issues:
- Close #1779
2021-03-05 14:27:30 +02:00
Risto Lahtela
92cefaafa3 Publish plan-api with Github Packages instead
Affects issues:
- #1779
2021-03-04 09:41:12 +02:00
dependabot-preview[bot]
4ecc827272 Bump HikariCP from 4.0.2 to 4.0.3 in /Plan
Bumps [HikariCP](https://github.com/brettwooldridge/HikariCP) from 4.0.2 to 4.0.3.
- [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-4.0.2...HikariCP-4.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-04 05:28:44 +00:00
Risto Lahtela
f6c7101f93
Update bug_report.md 2021-03-01 09:51:40 +02:00
dependabot-preview[bot]
5014b3c9f3 Bump mockito-core from 3.7.7 to 3.8.0 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.7.7 to 3.8.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.7.7...v3.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-26 06:06:36 +00:00
dependabot-preview[bot]
9df9717dcf Bump dagger-compiler from 2.32 to 2.33 in /Plan
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.32 to 2.33.
- [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.32...dagger-2.33)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-26 06:05:50 +00:00
dependabot-preview[bot]
4da22e89e6 Bump dagger from 2.32 to 2.33 in /Plan
Bumps [dagger](https://github.com/google/dagger) from 2.32 to 2.33.
- [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.32...dagger-2.33)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-26 05:56:36 +00:00