Commit Graph

5292 Commits

Author SHA1 Message Date
Rsl1122 2240b7094e Wrote a performance test generation utility
Not yet finished, does not yet generate all necessary data for tests.

It would be a good idea to store this data in
SQLite files and then import those to MySQL if
necessary when running performance tests.

Idea is to allow generating multiple
different scenarios and then measure the
performance of different endpoints to estimate
time complexity and find bottlenecks.
2022-07-02 20:05:00 +03:00
Aurora Lahtela d4b4aacd69
Add sponge as plugin repository 2022-07-02 11:38:50 +03:00
Aurora Lahtela 2ed4406b00
Bump Sponge VanillaGradle-plugin to 0.2.1-SNAPSHOT 2022-07-02 10:48:24 +03:00
Aurora Lahtela bf8065fa73
Create ore-upload.yml 2022-07-02 10:27:40 +03:00
Rsl1122 216fc638c5 Add plan.command permission, default: true
This permission is not enforced and only
affects Bukkit based servers.

The permission allows negating visibility
of the command in tab completion for players

The subcommands rely on other permissions,
so 'true' was set as default and permission
unenforced so that previous functionality
of the commands stays as is.

Affects issues:
- Fix #2441
2022-07-01 14:33:42 +03:00
dependabot[bot] 09883caca3
Bump i18next from 21.8.10 to 21.8.11 in /Plan/react/dashboard (#2453)
Bumps [i18next](https://github.com/i18next/i18next) from 21.8.10 to 21.8.11.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v21.8.10...v21.8.11)

---
updated-dependencies:
- dependency-name: i18next
  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-30 07:03:54 +03:00
dependabot[bot] 381884c858
Bump testContainersVersion from 1.17.2 to 1.17.3 in /Plan (#2455)
Bumps `testContainersVersion` from 1.17.2 to 1.17.3.

Updates `testcontainers` from 1.17.2 to 1.17.3
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.2...1.17.3)

Updates `junit-jupiter` from 1.17.2 to 1.17.3
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.2...1.17.3)

Updates `nginx` from 1.17.2 to 1.17.3
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.2...1.17.3)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.testcontainers:junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.testcontainers:nginx
  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-30 07:02:49 +03:00
dependabot[bot] 21976fe7cb
Bump react-i18next from 11.17.2 to 11.17.3 in /Plan/react/dashboard (#2452)
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.17.2 to 11.17.3.
- [Release notes](https://github.com/i18next/react-i18next/releases)
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v11.17.2...v11.17.3)

---
updated-dependencies:
- dependency-name: react-i18next
  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-27 14:56:01 +03:00
dependabot[bot] ca91d6ecc3
Bump com.github.node-gradle.node from 3.3.0 to 3.4.0 in /Plan (#2451)
Bumps com.github.node-gradle.node from 3.3.0 to 3.4.0.

---
updated-dependencies:
- dependency-name: com.github.node-gradle.node
  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-27 14:55:41 +03:00
dependabot[bot] 3059b87782
Bump axios from 0.26.1 to 0.27.2 in /Plan/react/dashboard (#2444)
Bumps [axios](https://github.com/axios/axios) from 0.26.1 to 0.27.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.27.2/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.26.1...v0.27.2)

---
updated-dependencies:
- dependency-name: axios
  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-25 21:33:21 +03:00
dependabot[bot] e326d881b6
Bump react-scripts from 5.0.0 to 5.0.1 in /Plan/react/dashboard (#2447)
Bumps [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-scripts@5.0.1/packages/react-scripts)

---
updated-dependencies:
- dependency-name: react-scripts
  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-25 21:19:56 +03:00
dependabot[bot] 0253ae14a7
Bump @testing-library/user-event in /Plan/react/dashboard (#2450)
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 13.5.0 to 14.2.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v13.5.0...v14.2.1)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  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-06-25 21:19:46 +03:00
dependabot[bot] f9312ebbf1
Bump i18next-http-backend from 1.4.0 to 1.4.1 in /Plan/react/dashboard (#2445)
Bumps [i18next-http-backend](https://github.com/i18next/i18next-http-backend) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/i18next/i18next-http-backend/releases)
- [Commits](https://github.com/i18next/i18next-http-backend/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: i18next-http-backend
  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-25 21:19:00 +03:00
dependabot[bot] 63fa0a8de9
Bump i18next from 21.6.16 to 21.8.10 in /Plan/react/dashboard (#2449)
Bumps [i18next](https://github.com/i18next/i18next) from 21.6.16 to 21.8.10.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v21.6.16...v21.8.10)

---
updated-dependencies:
- dependency-name: i18next
  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-25 21:17:33 +03:00
dependabot[bot] 097bc1bdc7
Bump react-i18next from 11.16.9 to 11.17.2 in /Plan/react/dashboard (#2443)
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.16.9 to 11.17.2.
- [Release notes](https://github.com/i18next/react-i18next/releases)
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v11.16.9...v11.17.2)

---
updated-dependencies:
- dependency-name: react-i18next
  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-25 21:15:45 +03:00
dependabot[bot] 0a5377ba12
Bump sass from 1.50.1 to 1.53.0 in /Plan/react/dashboard (#2446)
Bumps [sass](https://github.com/sass/dart-sass) from 1.50.1 to 1.53.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.50.1...1.53.0)

---
updated-dependencies:
- dependency-name: sass
  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-25 21:15:31 +03:00
Aurora Lahtela fbc3114761
Add npm directory to dependabot 2022-06-25 21:02:46 +03:00
Aurora Lahtela 6aae823850 Implement Access log functionality to Plan
- Store access log in database, clean logs after 30 days by default
- Add Webserver.Security.Access_log.Print_to_console setting
- Add Webserver.Security.Access_log.Remove_logs_after_days setting

Affects issues:
- Close #2328
2022-06-24 11:09:14 +03:00
Aurora Lahtela 58cd2d6a8f Fix webserver 'proxy'-mode with Jetty 2022-06-23 15:37:24 +03:00
dependabot[bot] 7a69c895ee
Bump jettyVersion from 11.0.10 to 11.0.11 in /Plan (#2440)
Bumps `jettyVersion` from 11.0.10 to 11.0.11.

Updates `jetty-server` from 11.0.10 to 11.0.11
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.10...jetty-11.0.11)

Updates `jetty-alpn-java-server` from 11.0.10 to 11.0.11

Updates `http2-server` from 11.0.10 to 11.0.11

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-server
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-alpn-java-server
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty.http2:http2-server
  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-23 08:57:39 +03:00
dependabot[bot] 55ea0e83dd
Bump jettyVersion from 11.0.9 to 11.0.10 in /Plan (#2439)
Bumps `jettyVersion` from 11.0.9 to 11.0.10.

Updates `jetty-server` from 11.0.9 to 11.0.10
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.9...jetty-11.0.10)

Updates `jetty-alpn-java-server` from 11.0.9 to 11.0.10

Updates `http2-server` from 11.0.9 to 11.0.10

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-server
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-alpn-java-server
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty.http2:http2-server
  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-21 07:22:47 +03:00
dependabot[bot] a6b146d331
Bump jettyVersion from 11.0.6 to 11.0.9 in /Plan (#2437)
Bumps `jettyVersion` from 11.0.6 to 11.0.9.

Updates `jetty-server` from 11.0.6 to 11.0.9
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-11.0.6...jetty-11.0.9)

Updates `jetty-alpn-java-server` from 11.0.6 to 11.0.9

Updates `http2-server` from 11.0.6 to 11.0.9

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-server
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-alpn-java-server
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty.http2:http2-server
  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-19 19:43:10 +03:00
Aurora Lahtela da3441a2d8
Update versions.txt 2022-06-19 19:01:42 +03:00
Aurora Lahtela f8652ad1b9 Delete Sun Webserver implementation 2022-06-19 18:40:25 +03:00
Aurora Lahtela 2aa189798d
Jetty support (#2132)
- Refactored Webserver request handling code to be easier to read
- Adds support for larger range of cipher suites and protocols for HTTPS
- Adds support for HTTP/2 and ALPN and as result more concurrent users than before
- APIs are fully compatible with previous code

Thanks to Kopo for assistance

Affects issues:
- Close #1987
2022-06-19 18:38:40 +03:00
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