Commit Graph

5417 Commits

Author SHA1 Message Date
dependabot[bot]
862815a537
Bump org.spongepowered.gradle.plugin from 2.0.0 to 2.0.2 in /Plan (#2433)
Bumps [org.spongepowered.gradle.plugin](https://github.com/SpongePowered/SpongeGradle) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/SpongePowered/SpongeGradle/releases)
- [Commits](https://github.com/SpongePowered/SpongeGradle/compare/2.0.0...v2.0.2)

---
updated-dependencies:
- dependency-name: org.spongepowered.gradle.plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-18 12:13:56 +03:00
Aurora Lahtela
cfd15dfd9e
Merge pull request #2430 from plan-player-analytics/java-11
Affects issues:
- Close #2325
- Close #1894
2022-06-18 11:58:45 +03:00
Aurora Lahtela
c93317d0c7 Bump version to 5.5 2022-06-18 11:45:59 +03:00
Aurora Lahtela
9f66d0db27 Delete some Deprecated Plan API / implementation parts
- ServerKeys
- Deprecated PlayerKeys
- PlayerDeath
2022-06-18 11:40:19 +03:00
Aurora Lahtela
92910d647a Revert API jar to Java 8 and update to Java 11 APIs 2022-06-18 11:31:53 +03:00
Aurora Lahtela
138bcb2884 Prevent too many tab completion results if there are more than hundred identifiers 2022-06-15 20:18:36 +03:00
Aurora Lahtela
6f45430831 Remove extra selenium dependency in wrong place 2022-06-15 13:30:35 +03:00
Aurora Lahtela
315feb282b Merge branch 'master' into java-11
# Conflicts:
#	Plan/build.gradle
#	Plan/common/src/test/java/com/djrapitops/plan/identification/storage/ServerFileLoaderTest.java
2022-06-15 12:38:52 +03:00
Aurora Lahtela
487085c47e
Update versions.txt 2022-06-14 14:01:14 +03:00
Aurora Lahtela
d34172412c Fix join address gathering
Affects issues:
- Fixed #2413
2022-06-11 19:02:36 +03:00
Aurora Lahtela
2dade923c1
Update config.yml 2022-06-11 08:51:35 +03:00
Aurora Lahtela
56e5a346b6
Update versions.txt 2022-06-10 16:50:21 +03:00
Aurora Lahtela
16675f3385 Update fabric version to 1.19 2022-06-10 16:41:31 +03:00
Antti Koponen
4196141db1
Fixes for Fabric 1.19 by Kopo (#2419)
* Gradle 7.4.2
* Build changes for MC 1.19

- Updated loom to minor version 0.12 & moved to root project
- Updated mappings, command API, fabric API & loader version
- Moved Selenium to common module because of a conflict with loom's dependency resolution

* Add remap folder to .gitignore
* Fix version token replacement
* Update to Minecraft 1.19
* Don't forget the pipelines

Affects issues:
- Fixed #2417
2022-06-10 16:21:53 +03:00
Aurora Lahtela
f191c47c25
Update dependabot.yml 2022-06-09 21:48:45 +03:00
dependabot[bot]
32af9bc8c1
Bump org.sonarqube from 3.3 to 3.4.0.2513 in /Plan (#2415)
Bumps org.sonarqube from 3.3 to 3.4.0.2513.

---
updated-dependencies:
- dependency-name: org.sonarqube
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 08:31:04 +03:00
Aurora Lahtela
c7a7b60d91 Geolocations to React server page 2022-06-08 18:24:38 +03:00
Aurora Lahtela
5382049dcd Show React version of /players page if opted to Frontend BETA 2022-06-05 22:20:30 +03:00
Aurora Lahtela
576485d20c Fix players page title 2022-06-05 22:12:00 +03:00
Aurora Lahtela
56a3be1835 React players page and fix constant rerender 2022-06-05 22:09:46 +03:00
Aurora Lahtela
df0c0fa8a5 Implemented player list to server page
Holy moly was it a big fight to get DataTables to cooperate
2022-06-05 21:38:12 +03:00
Aurora Lahtela
71424fa2ec Fixing IDEA code inspection issues
- Removed MethodAnnotations use in ExtensionExtractor
- Refactored duplicate code in
  - BaseUserQueries
  - GeoInfoQueries
  - JoinAddressQueries
  - KillQueries
  - NicknameQueries
  - WebUserQueries
  - TopListQueries
2022-06-05 16:59:35 +03:00
dependabot[bot]
245f002833
Bump mockitoVersion from 4.6.0 to 4.6.1 in /Plan (#2388)
Bumps `mockitoVersion` from 4.6.0 to 4.6.1.

Updates `mockito-core` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.0...v4.6.1)

Updates `mockito-junit-jupiter` from 4.6.0 to 4.6.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.0...v4.6.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.mockito:mockito-junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-05 14:48:17 +03:00
dependabot[bot]
45e174735d
Bump selenium-java from 4.2.0 to 4.2.1 in /Plan (#2384)
Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

---
updated-dependencies:
- dependency-name: org.seleniumhq.selenium:selenium-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-05 14:48:09 +03:00
Aurora Lahtela
9a305fe5a8 Add missing license header 2022-06-05 14:48:08 +03:00
Aurora Lahtela
b0a73374d4 Refactored PlayerCountQueries to reduce boilerplate code
- Created utility methods in Database that allow faster extraction of results without implementing so many extra QueryStatements.
2022-06-05 11:32:37 +03:00
Aurora Lahtela
09e71cd7ba Wrote some tests for LangCodes and fixed some issues in LocaleJSONResolver
- Removed unnecessary regex that was marked as bug by sonar
2022-06-05 10:49:20 +03:00
Aurora Lahtela
9d852ac989 Wrote a generic test for "No permission" for all commands 2022-06-05 10:15:11 +03:00
Aurora Lahtela
904d6017c3 Refactor ServerFileLoader to do config file access properly
Changes the order defaults and actual values are loaded in - It may affect the issue

Affects issues:
- Fixed #2254
2022-06-04 16:47:35 +03:00
Aurora Lahtela
33de99cfab Fixed ServerFileLoaderTest broken due to removal of print line 2022-06-04 09:27:27 +03:00
Aurora Lahtela
1522a8731d Fixed linting issues 2022-06-04 09:11:38 +03:00
Aurora Lahtela
b92f744241
Remove discord badge 2022-06-03 10:40:11 +03:00
Aurora Lahtela
80b786f585
Update config.yml 2022-06-03 10:05:03 +03:00
Aurora Lahtela
3b893b973c
Update issue templates (#2409)
* Delete question.md

* Delete plugin_request.md

* Delete feature_request.md

* Update question.yml

* Create config.yml

* Delete question.yml

* Update config.yml
2022-06-03 10:03:08 +03:00
Aurora Lahtela
e3c1ca37eb Implement more of server page
- Insights that were unfinished
- Playerbase graphs
- Pvp & PvE tab
2022-06-02 16:43:32 +03:00
Aurora Lahtela
b7d90d2b89 Prevent concurrent access to server information storage
Affects issues:
- Possibly fixed #2254
2022-05-30 21:07:57 +03:00
Aurora Lahtela
b97f61d1de Prevent concurrent access to server information storage
Affects issues:
- Possibly fixed #2254
2022-05-30 21:06:19 +03:00
Aurora Lahtela
ab0c000688 Fix sonar jacoco report property 2022-05-30 18:52:03 +03:00
Aurora Lahtela
1226aeaf1f Bump Java version to 11 2022-05-30 18:40:46 +03:00
dependabot[bot]
a36796d9e1
Bump geoip2 from 2.16.1 to 3.0.1 in /Plan (#2309)
Bumps [geoip2](https://github.com/maxmind/GeoIP2-java) from 2.16.1 to 3.0.1.
- [Release notes](https://github.com/maxmind/GeoIP2-java/releases)
- [Changelog](https://github.com/maxmind/GeoIP2-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/maxmind/GeoIP2-java/compare/v2.16.1...v3.0.1)

---
updated-dependencies:
- dependency-name: com.maxmind.geoip2:geoip2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-29 17:09:40 +03:00
dependabot[bot]
53c7b5e0b2
Bump caffeine from 2.9.2 to 3.1.1 in /Plan (#2376)
* Bump selenium-java from 4.1.4 to 4.2.0 in /Plan (#2378)

Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.1.4 to 4.2.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits/selenium-4.2.0)

---
updated-dependencies:
- dependency-name: org.seleniumhq.selenium:selenium-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump mockitoVersion from 4.5.1 to 4.6.0 in /Plan (#2377)

Bumps `mockitoVersion` from 4.5.1 to 4.6.0.

Updates `mockito-core` from 4.5.1 to 4.6.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.5.1...v4.6.0)

Updates `mockito-junit-jupiter` from 4.5.1 to 4.6.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.5.1...v4.6.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.mockito:mockito-junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump mysql-connector-java from 8.0.28 to 8.0.29 in /Plan (#2350)

Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.28 to 8.0.29.
- [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)

---
updated-dependencies:
- dependency-name: mysql:mysql-connector-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump caffeine from 2.9.2 to 3.1.1 in /Plan

Bumps [caffeine](https://github.com/ben-manes/caffeine) from 2.9.2 to 3.1.1.
- [Release notes](https://github.com/ben-manes/caffeine/releases)
- [Commits](https://github.com/ben-manes/caffeine/compare/v2.9.2...v3.1.1)

---
updated-dependencies:
- dependency-name: com.github.ben-manes.caffeine:caffeine
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-29 17:09:20 +03:00
Henri Schubin
bab0f273a2
Sponge API 8 port (#2119)
* Initial commit for Sponge API 8 port
* Change Sponge PAL version to include -sponge version suffix
* Comment out Nucleus w/ needs a update in ExtensionRegister
* Fix error with ArtifactVersion (from org.apache.maven) being relocated
* Correct todos related to getting values from ResourceKeys
* Cleanup sponge buildscript a bit
* Remove sout
* Update Extension-Sponge-Economy to 8.0.0-R0.3
* Convert to Sponge's new preferred way to load in jar resources
* Convert SpongeMessageBuilder and VelocityMessageBuilder into AdventureMessageBuilder
* Add back the command
* Update bStats to 3.0.0, re-enable bStats for Sponge
* Implement gamemode change mixin
* Remove unused import
* Update SpongeGMChangeListener's error logging as suggested

Co-authored-by: Aurora Lahtela <24460436+AuroraLS3@users.noreply.github.com>

* PAL 5.1.0
* Add a check in SpongeCommand to update the ErrorLogger and Subcommand if the PlanSpongeComponent changes
* Combine try-with-resources in SpongePlanFiles#asStringResource

Co-authored-by: Aurora Lahtela <24460436+AuroraLS3@users.noreply.github.com>
2022-05-29 17:08:50 +03:00
dependabot[bot]
848fb85952
Bump mysql-connector-java from 8.0.28 to 8.0.29 in /Plan (#2350)
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.28 to 8.0.29.
- [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)

---
updated-dependencies:
- dependency-name: mysql:mysql-connector-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-29 13:54:54 +03:00
dependabot[bot]
795308e103
Bump mockitoVersion from 4.5.1 to 4.6.0 in /Plan (#2377)
Bumps `mockitoVersion` from 4.5.1 to 4.6.0.

Updates `mockito-core` from 4.5.1 to 4.6.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.5.1...v4.6.0)

Updates `mockito-junit-jupiter` from 4.5.1 to 4.6.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.5.1...v4.6.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.mockito:mockito-junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-29 13:15:06 +03:00
dependabot[bot]
5066806752
Bump HikariCP from 4.0.3 to 5.0.1 in /Plan (#2239)
Bumps [HikariCP](https://github.com/brettwooldridge/HikariCP) from 4.0.3 to 5.0.1.
- [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.3...HikariCP-5.0.1)

---
updated-dependencies:
- dependency-name: com.zaxxer:HikariCP
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-29 13:05:58 +03:00
dependabot[bot]
8def1bd189
Bump selenium-java from 4.1.4 to 4.2.0 in /Plan (#2378)
Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.1.4 to 4.2.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits/selenium-4.2.0)

---
updated-dependencies:
- dependency-name: org.seleniumhq.selenium:selenium-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-29 13:04:44 +03:00
Aurora Lahtela
b76ee7c358 Wrote a program to print all placeholders for easy wiki updates. 2022-05-28 11:29:50 +03:00
Aurora Lahtela
f047f4389a
Update versions.txt 2022-05-28 10:37:47 +03:00
Aurora Lahtela
8ee494f6e4 Don't replace placeholder if given player identifier is not found 2022-05-28 10:22:48 +03:00
Aurora Lahtela
3119f35cb6 Fix Map#keyset()#remove bug detected by sonar 2022-05-28 10:00:53 +03:00