Commit Graph

4898 Commits

Author SHA1 Message Date
Aurora Lahtela
b3d0828317 Reduce priority of leave-event reprocessing attempt 2022-08-31 09:10:08 +03:00
Aurora Lahtela
f14b78dede Fix broken PlayerLeaveEventConsumerTest 2022-08-31 09:07:58 +03:00
Aurora Lahtela
9d7684e3fb Attempt to preserve causal relation of join and quit events
Affects issues:
- Possibly fixed #2578
2022-08-31 08:51:54 +03:00
Aurora Lahtela
8d2b4acb41 Update Extension-Floodgate to 2.2.0-R1.3
- Add Velocity support
- Fix Spigot detection

Affects issues:
- Fixed #2561
2022-08-30 18:50:56 +03:00
Aurora Lahtela
0a3398e62f Update Extension-PlotSquared to 6.9.4-R1.3
Fixes issue with detecting the plugin as installed

Affects issues:
- Fixed #2565
2022-08-30 18:35:25 +03:00
Aurora Lahtela
fd6f96be89 Remove usernames from access log table
This is a GDPR liability since the usernames could be linked to the players.
2022-08-28 19:11:51 +03:00
Aurora Lahtela
cc326ddb84 Fix login redirect on from parameter on React login page 2022-08-28 18:17:25 +03:00
Aurora Lahtela
4ff06e22e5 Improve locale json version endpoint
- Checks the last modification from git at compile time
  instead of relying on unrelated file modification dates.
- Added information for gradle to cache determineAssetModifications task results
2022-08-28 10:21:46 +03:00
Aurora Lahtela
de0a5eb613 Update locale files with utility 2022-08-28 10:11:37 +03:00
Aurora Lahtela
300c114f3e Fix use menu logout button 2022-08-28 09:23:32 +03:00
Aurora Lahtela
104dcbe0d6 Fix /v1/players servers.server_uuid not being a string 2022-08-28 09:18:38 +03:00
Aurora Lahtela
c88229fd8f Fix flaky singlePingIsStored test due to random 0 going out of ping data bounds 2022-08-28 08:37:53 +03:00
Aurora Lahtela
bfe59008d0 Fix incorrectly set useEffect dependency in two files 2022-08-28 08:21:57 +03:00
Aurora Lahtela
4c53a9a406 Enabled React server page in Frontend BETA
Various fixes to React frontend

- Implemented Extension DataTables table support
- Fixed colors in night mode
- Fixed DataTables night mode
- Fixed chart opacity in night mode (HighCharts doesn't like hsl values)
- Fixed color selector buttons in night mode
- Translated Login button
- Added license to package.json
- Changed Extension endpoint table representation to objects to allow value formatting
2022-08-27 22:26:30 +03:00
dependabot[bot]
c824994cb9
Bump highcharts from 9.3.3 to 10.2.0 in /Plan/react/dashboard (#2463)
* Bump highcharts from 9.3.3 to 10.2.0 in /Plan/react/dashboard

Bumps [highcharts](https://github.com/highcharts/highcharts-dist) from 9.3.3 to 10.2.0.
- [Release notes](https://github.com/highcharts/highcharts-dist/releases)
- [Commits](https://github.com/highcharts/highcharts-dist/compare/v9.3.3...v10.2.0)

---
updated-dependencies:
- dependency-name: highcharts
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Add highcharts accessibility module to all charts

* Add missing dependency to useCallback

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aurora Lahtela <24460436+AuroraLS3@users.noreply.github.com>
2022-08-27 17:05:07 +03:00
dependabot[bot]
5638ea91c6
Bump sass from 1.54.4 to 1.54.5 in /Plan/react/dashboard (#2567)
Bumps [sass](https://github.com/sass/dart-sass) from 1.54.4 to 1.54.5.
- [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.54.4...1.54.5)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-27 16:26:29 +03:00
dependabot[bot]
d58d97c7ae
Bump @fullcalendar/daygrid in /Plan/react/dashboard (#2568)
Bumps [@fullcalendar/daygrid](https://github.com/fullcalendar/fullcalendar) from 5.11.2 to 5.11.3.
- [Release notes](https://github.com/fullcalendar/fullcalendar/releases)
- [Changelog](https://github.com/fullcalendar/fullcalendar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fullcalendar/fullcalendar/compare/v5.11.2...v5.11.3)

---
updated-dependencies:
- dependency-name: "@fullcalendar/daygrid"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-27 16:26:21 +03:00
dependabot[bot]
db587501b9
Bump slf4jVersion from 2.0.0-beta1 to 2.0.0 in /Plan (#2560)
Bumps `slf4jVersion` from 2.0.0-beta1 to 2.0.0.

Updates `slf4j-nop` from 2.0.0-beta1 to 2.0.0
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_2.0.0-beta1...v_2.0.0)

Updates `slf4j-api` from 2.0.0-beta1 to 2.0.0
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_2.0.0-beta1...v_2.0.0)

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-nop
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.slf4j:slf4j-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-27 16:08:35 +03:00
dependabot[bot]
45a399a9b6
Bump @fullcalendar/bootstrap in /Plan/react/dashboard (#2570)
Bumps [@fullcalendar/bootstrap](https://github.com/fullcalendar/fullcalendar) from 5.11.2 to 5.11.3.
- [Release notes](https://github.com/fullcalendar/fullcalendar/releases)
- [Changelog](https://github.com/fullcalendar/fullcalendar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fullcalendar/fullcalendar/compare/v5.11.2...v5.11.3)

---
updated-dependencies:
- dependency-name: "@fullcalendar/bootstrap"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-27 16:07:31 +03:00
dependabot[bot]
3539774322
Bump sqlite-jdbc from 3.39.2.0 to 3.39.2.1 in /Plan (#2566)
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.39.2.0 to 3.39.2.1.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases)
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG)
- [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.39.2.0...3.39.2.1)

---
updated-dependencies:
- dependency-name: org.xerial:sqlite-jdbc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-27 16:07:17 +03:00
dependabot[bot]
2ece84de6f
Bump web-vitals from 2.1.4 to 3.0.0 in /Plan/react/dashboard (#2569)
Bumps [web-vitals](https://github.com/GoogleChrome/web-vitals) from 2.1.4 to 3.0.0.
- [Release notes](https://github.com/GoogleChrome/web-vitals/releases)
- [Changelog](https://github.com/GoogleChrome/web-vitals/blob/main/CHANGELOG.md)
- [Commits](https://github.com/GoogleChrome/web-vitals/compare/v2.1.4...v3.0.0)

---
updated-dependencies:
- dependency-name: web-vitals
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-27 16:06:42 +03:00
Aurora Lahtela
877f8a5bbd Change export regression test to have proper head image url 2022-08-27 15:44:37 +03:00
Aurora Lahtela
8d5ed1caff Change default PLAYER_HEAD_IMG_URL during export regression test 2022-08-27 15:42:48 +03:00
Aurora Lahtela
714d681d49 Change default PLAYER_HEAD_IMG_URL during export regression test 2022-08-27 15:34:03 +03:00
Aurora Lahtela
3eff46523d Test and fix user move and combination transactions 2022-08-27 15:20:23 +03:00
Aurora Lahtela
ea16adb13d Initial version of server extension cards
TODO: Extension DataTables mapping
2022-08-23 22:01:34 +03:00
Aurora Lahtela
7b41165af5 Add /plan db migrate_to_online_uuids command 2022-08-21 12:19:52 +03:00
Aurora Lahtela
2f6718a78f Add timestamp to /v1/metadata endpoint 2022-08-21 10:41:23 +03:00
Aurora Lahtela
339449742b Add missing locale keys 2022-08-21 10:40:38 +03:00
Aurora Lahtela
26409a7b59 Add GET /v1/extensionData?server={name/uuid} endpoint
Utilizes the same code used earlier for the /v1/player extension data,
the data just needs to be displayed slightly differently on the frontend
2022-08-21 10:35:29 +03:00
Aurora Lahtela
a43a2ae581 Implement rest of Performance tab (graphs) in React
Adds all graphs and their respective tabs.
Extra:
- Zero baselined charts where it made sense
- Increased performance graph card height to improve readability

Affects issues:
- Close #2270
2022-08-20 15:53:34 +03:00
dependabot[bot]
cc217b5ccd
Bump slf4jVersion from 2.0.0-alpha7 to 2.0.0-beta1 in /Plan (#2538)
Bumps `slf4jVersion` from 2.0.0-alpha7 to 2.0.0-beta1.

Updates `slf4j-nop` from 2.0.0-alpha7 to 2.0.0-beta1
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_2.0.0-alpha7...v_2.0.0-beta1)

Updates `slf4j-api` from 2.0.0-alpha7 to 2.0.0-beta1
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_2.0.0-alpha7...v_2.0.0-beta1)

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-nop
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.slf4j:slf4j-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-20 10:45:58 +03:00
Aurora Lahtela
5bd882036c Performance tab (no graphs yet) 2022-08-20 10:30:24 +03:00
Aurora Lahtela
d39c377756 Fix server page server name
Server name came from metadata endpoint, but it is incorrect if viewing a server page on a network

Added a new endpoint /v1/serverIdentity?server=... to get the identifiable name of the server.
2022-08-20 09:46:24 +03:00
Aurora Lahtela
eaae1456d6 Verify that keystore has certificate with alias inside it
Jetty was silently failing, setting up HTTPS and then failing handshake.
If the alias in the config was not in the keystore https would enable,
but the certificate would be missing.

Added validation steps from old code to ensure the keystore includes given alias.
2022-08-20 08:56:27 +03:00
Aurora Lahtela
aee3988f77 Ping table to geolocations page 2022-08-19 19:44:04 +03:00
Aurora Lahtela
f185870125 Added fadein animations to all existing views 2022-08-19 19:03:02 +03:00
dependabot[bot]
d0fd604e3a
Bump selenium-java from 4.3.0 to 4.4.0 in /Plan (#2540)
Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-4.3.0...selenium-4.4.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-19 16:55:47 +03:00
dependabot[bot]
450eaee9cc
Bump sass from 1.54.2 to 1.54.4 in /Plan/react/dashboard (#2541)
Bumps [sass](https://github.com/sass/dart-sass) from 1.54.2 to 1.54.4.
- [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.54.2...1.54.4)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-19 06:45:39 +03:00
dependabot[bot]
1bd65357eb
Bump sqlite-jdbc from 3.36.0.3 to 3.39.2.0 in /Plan (#2534)
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.36.0.3 to 3.39.2.0.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases)
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG)
- [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.36.0.3...3.39.2.0)

---
updated-dependencies:
- dependency-name: org.xerial:sqlite-jdbc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-19 06:45:09 +03:00
dependabot[bot]
e66039af0a
Bump @testing-library/jest-dom in /Plan/react/dashboard (#2537)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.16.4 to 5.16.5.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.16.4...v5.16.5)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-19 06:44:49 +03:00
dependabot[bot]
f6d32d833f
Bump @testing-library/user-event in /Plan/react/dashboard (#2542)
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.3.0 to 14.4.3.
- [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/v14.3...v14.4.3)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-19 06:44:25 +03:00
dependabot[bot]
0f00444cf1
Bump mockitoVersion from 4.6.1 to 4.7.0 in /Plan (#2549)
Bumps `mockitoVersion` from 4.6.1 to 4.7.0.

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

Updates `mockito-junit-jupiter` from 4.6.1 to 4.7.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.1...v4.7.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-19 06:44:03 +03:00
dependabot[bot]
75c064c8e5
Bump react-i18next from 11.18.3 to 11.18.4 in /Plan/react/dashboard (#2550)
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.18.3 to 11.18.4.
- [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.18.3...v11.18.4)

---
updated-dependencies:
- dependency-name: react-i18next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-19 06:43:48 +03:00
dependabot[bot]
64f82a110e
Bump i18next from 21.8.16 to 21.9.1 in /Plan/react/dashboard (#2555)
Bumps [i18next](https://github.com/i18next/i18next) from 21.8.16 to 21.9.1.
- [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.16...v21.9.1)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-19 06:43:32 +03:00
dependabot[bot]
3e776fc0b4
Bump swagger-ui from 4.13.2 to 4.14.0 in /Plan/react/dashboard (#2556)
Bumps [swagger-ui](https://github.com/swagger-api/swagger-ui) from 4.13.2 to 4.14.0.
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Commits](https://github.com/swagger-api/swagger-ui/compare/v4.13.2...v4.14.0)

---
updated-dependencies:
- dependency-name: swagger-ui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-19 06:43:12 +03:00
Aurora Lahtela
b5005afbc5 Implement Login page using react 2022-08-18 18:53:35 +03:00
Aurora Lahtela
79c4c8d667 Relocate slf4j on Fabric
Previously broke things because of missing mergeServiceFiles() call
2022-08-17 13:44:10 +03:00
Aurora Lahtela
703c1bdbba Fix Velocity not loading slf4j logger properly
- Applied relocation hack suggested by Vankka
- Removed metrics for velocity (They were using the unrelocated logger, but there was no way to unrelocate it)

Affects issues:
- Fixed #2497
2022-08-17 13:41:59 +03:00
Aurora Lahtela
2527c37d61 Fixed ALPN not being available for Fabric
- Added mergeServiceFiles() to shadow configuration on fabric

Affects issues:
- Fixed #2517
2022-08-17 13:23:59 +03:00
Aurora Lahtela
9737aa1ddc Fix NPE on null Keystore when using old .jks cert 2022-08-16 22:20:43 +03:00
Aurora Lahtela
e41af49544 Add id primary key field to any tables that are missing one
No retrofitting.

Affects issues:
- Fixed #2495
2022-08-16 20:28:27 +03:00
Aurora Lahtela
68d6d10c39 Reduce maximum join address length to 191 characters
Affects issues:
- Fixed #2477
2022-08-16 20:11:48 +03:00
Aurora Lahtela
359a2bed0a Warn about certificate expiration
Affects issues:
- Close #2426
2022-08-16 20:09:35 +03:00
Aurora Lahtela
72ff23176c Increase default inactive player removal threshold to 10 years
Affects issues:
- #2553
2022-08-16 19:19:30 +03:00
Aurora Lahtela
b646e18c68
Fix fabric join address gathering (#2546)
- Refactored player online listeners to move common. often changed logic to common package
- Changed method fabric uses to get join address to use the client handshake packet which has the address
- Added command `/plan db removejoinaddresses {server}` to allow removing invalid join address data
- Changed build pipeline to always build jars even if tests fail
- Disabled one flaky test

Affects issues:
- Closed #817
- Fixed  #2526
2022-08-14 20:35:32 +03:00
dependabot[bot]
d1802ff7ba
Bump sass from 1.54.1 to 1.54.2 in /Plan/react/dashboard (#2532)
Bumps [sass](https://github.com/sass/dart-sass) from 1.54.1 to 1.54.2.
- [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.54.1...1.54.2)

---
updated-dependencies:
- dependency-name: sass
  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-08-04 06:51:30 +03:00
dependabot[bot]
dfef0ea62a
Bump daggerVersion from 2.43.1 to 2.43.2 in /Plan (#2531)
Bumps `daggerVersion` from 2.43.1 to 2.43.2.

Updates `dagger` from 2.43.1 to 2.43.2
- [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.43.1...dagger-2.43.2)

Updates `dagger-compiler` from 2.43.1 to 2.43.2
- [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.43.1...dagger-2.43.2)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: com.google.dagger:dagger-compiler
  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-08-04 06:51:14 +03:00
dependabot[bot]
4cfcffaebd
Bump sass from 1.54.0 to 1.54.1 in /Plan/react/dashboard (#2530)
Bumps [sass](https://github.com/sass/dart-sass) from 1.54.0 to 1.54.1.
- [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.54.0...1.54.1)

---
updated-dependencies:
- dependency-name: sass
  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-08-03 08:55:09 +03:00
dependabot[bot]
9744ef347b
Bump swagger-ui from 4.13.0 to 4.13.2 in /Plan/react/dashboard (#2529)
Bumps [swagger-ui](https://github.com/swagger-api/swagger-ui) from 4.13.0 to 4.13.2.
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Commits](https://github.com/swagger-api/swagger-ui/compare/v4.13.0...v4.13.2)

---
updated-dependencies:
- dependency-name: swagger-ui
  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-08-03 08:54:40 +03:00
Aurora Lahtela
e65ffcbad5 Fix HTTPS not enabling if ALPN is unavailable 2022-08-02 20:27:09 +03:00
Aurora Lahtela
fa6c7232a9 Call Jetty#destroy when shutting down webserver
Affects issues:
- Possibly fixed #2518
2022-08-01 18:28:19 +03:00
Drex
053fe2528b
Update fabric to 1.19.1 (#2519) 2022-08-01 18:11:43 +03:00
dependabot[bot]
b53dc253f5
Bump @fortawesome/fontawesome-free in /Plan/react/dashboard (#2503)
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.1.1...6.1.2)

---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-free"
  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-08-01 17:32:15 +03:00
dependabot[bot]
9b2a578bf8
Bump @fortawesome/free-solid-svg-icons in /Plan/react/dashboard (#2506)
Bumps [@fortawesome/free-solid-svg-icons](https://github.com/FortAwesome/Font-Awesome) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.1.1...6.1.2)

---
updated-dependencies:
- dependency-name: "@fortawesome/free-solid-svg-icons"
  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-08-01 17:32:08 +03:00
dependabot[bot]
b432ee7bf8
Bump @fullcalendar/react from 5.11.1 to 5.11.2 in /Plan/react/dashboard (#2516)
Bumps [@fullcalendar/react](https://github.com/fullcalendar/fullcalendar-react) from 5.11.1 to 5.11.2.
- [Release notes](https://github.com/fullcalendar/fullcalendar-react/releases)
- [Changelog](https://github.com/fullcalendar/fullcalendar-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fullcalendar/fullcalendar-react/commits)

---
updated-dependencies:
- dependency-name: "@fullcalendar/react"
  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-08-01 17:32:02 +03:00
dependabot[bot]
bb4b195671
Bump i18next from 21.8.13 to 21.8.16 in /Plan/react/dashboard (#2525)
Bumps [i18next](https://github.com/i18next/i18next) from 21.8.13 to 21.8.16.
- [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.13...v21.8.16)

---
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-08-01 14:05:07 +03:00
dependabot[bot]
b157c9a924
Bump @fortawesome/fontawesome-svg-core in /Plan/react/dashboard (#2505)
Bumps [@fortawesome/fontawesome-svg-core](https://github.com/FortAwesome/Font-Awesome) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.1.1...6.1.2)

---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-svg-core"
  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-08-01 14:04:48 +03:00
dependabot[bot]
4b6521bd2a
Bump sass from 1.53.0 to 1.54.0 in /Plan/react/dashboard (#2500)
Bumps [sass](https://github.com/sass/dart-sass) from 1.53.0 to 1.54.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.53.0...1.54.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-08-01 14:04:28 +03:00
dependabot[bot]
aef8bc7be8
Bump @fullcalendar/daygrid in /Plan/react/dashboard (#2515)
Bumps [@fullcalendar/daygrid](https://github.com/fullcalendar/fullcalendar) from 5.11.0 to 5.11.2.
- [Release notes](https://github.com/fullcalendar/fullcalendar/releases)
- [Changelog](https://github.com/fullcalendar/fullcalendar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fullcalendar/fullcalendar/compare/v5.11.0...v5.11.2)

---
updated-dependencies:
- dependency-name: "@fullcalendar/daygrid"
  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-08-01 14:04:13 +03:00
dependabot[bot]
044ed92d72
Bump @fortawesome/free-regular-svg-icons in /Plan/react/dashboard (#2504)
Bumps [@fortawesome/free-regular-svg-icons](https://github.com/FortAwesome/Font-Awesome) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.1.1...6.1.2)

---
updated-dependencies:
- dependency-name: "@fortawesome/free-regular-svg-icons"
  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-08-01 14:03:54 +03:00
dependabot[bot]
0c8b157110
Bump @fullcalendar/bootstrap in /Plan/react/dashboard (#2513)
Bumps [@fullcalendar/bootstrap](https://github.com/fullcalendar/fullcalendar) from 5.11.0 to 5.11.2.
- [Release notes](https://github.com/fullcalendar/fullcalendar/releases)
- [Changelog](https://github.com/fullcalendar/fullcalendar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fullcalendar/fullcalendar/compare/v5.11.0...v5.11.2)

---
updated-dependencies:
- dependency-name: "@fullcalendar/bootstrap"
  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-08-01 13:38:18 +03:00
dependabot[bot]
bfcba5ebdc
Bump bootstrap from 5.1.3 to 5.2.0 in /Plan/react/dashboard (#2489)
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 5.1.3 to 5.2.0.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v5.1.3...v5.2.0)

---
updated-dependencies:
- dependency-name: bootstrap
  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-08-01 13:38:00 +03:00
dependabot[bot]
ba38ace473
Bump @testing-library/user-event in /Plan/react/dashboard (#2491)
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.2.1 to 14.3.0.
- [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/v14.2.1...v14.3)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  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-08-01 13:37:51 +03:00
dependabot[bot]
b282038e01
Bump swagger-ui from 4.12.0 to 4.13.0 in /Plan/react/dashboard (#2490)
Bumps [swagger-ui](https://github.com/swagger-api/swagger-ui) from 4.12.0 to 4.13.0.
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Commits](https://github.com/swagger-api/swagger-ui/compare/v4.12.0...v4.13.0)

---
updated-dependencies:
- dependency-name: swagger-ui
  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-08-01 13:11:51 +03:00
dependabot[bot]
99e1e06214
Bump mysql-connector-java from 8.0.29 to 8.0.30 in /Plan (#2501)
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.29 to 8.0.30.
- [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-08-01 13:11:38 +03:00
dependabot[bot]
b052f114f4
Bump @fortawesome/free-brands-svg-icons in /Plan/react/dashboard (#2502)
Bumps [@fortawesome/free-brands-svg-icons](https://github.com/FortAwesome/Font-Awesome) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases)
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.1.1...6.1.2)

---
updated-dependencies:
- dependency-name: "@fortawesome/free-brands-svg-icons"
  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-08-01 13:08:41 +03:00
dependabot[bot]
e26223189e
Bump net.kyori.blossom from 1.3.0 to 1.3.1 in /Plan (#2509)
Bumps net.kyori.blossom from 1.3.0 to 1.3.1.

---
updated-dependencies:
- dependency-name: net.kyori.blossom
  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-08-01 13:08:15 +03:00
dependabot[bot]
2a48bdf2a9
Bump io.swagger.core.v3.swagger-gradle-plugin in /Plan (#2492)
Bumps io.swagger.core.v3.swagger-gradle-plugin from 2.2.1 to 2.2.2.

---
updated-dependencies:
- dependency-name: io.swagger.core.v3.swagger-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-08-01 13:07:53 +03:00
dependabot[bot]
69290fd329
Bump swaggerVersion from 2.2.1 to 2.2.2 in /Plan (#2493)
Bumps `swaggerVersion` from 2.2.1 to 2.2.2.

Updates `swagger-core-jakarta` from 2.2.1 to 2.2.2

Updates `swagger-jaxrs2-jakarta` from 2.2.1 to 2.2.2

---
updated-dependencies:
- dependency-name: io.swagger.core.v3:swagger-core-jakarta
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.swagger.core.v3:swagger-jaxrs2-jakarta
  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-08-01 13:07:38 +03:00
dependabot[bot]
adcc05552a
Bump junit-jupiter from 5.8.2 to 5.9.0 in /Plan (#2508)
Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.8.2 to 5.9.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.2...r5.9.0)

---
updated-dependencies:
- dependency-name: org.junit.jupiter: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-08-01 13:07:31 +03:00
dependabot[bot]
6d869aeeac
Bump react-i18next from 11.18.0 to 11.18.3 in /Plan/react/dashboard (#2514)
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.18.0 to 11.18.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.18.0...v11.18.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-08-01 13:07:16 +03:00
dependabot[bot]
d8af71a5d2
Bump gson from 2.9.0 to 2.9.1 in /Plan (#2523)
Bumps [gson](https://github.com/google/gson) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.9.0...gson-parent-2.9.1)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  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-08-01 13:07:05 +03:00
dependabot[bot]
c5c1176dc5
Bump daggerVersion from 2.42 to 2.43.1 in /Plan (#2524)
Bumps `daggerVersion` from 2.42 to 2.43.1.

Updates `dagger` from 2.42 to 2.43.1
- [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.42...dagger-2.43.1)

Updates `dagger-compiler` from 2.42 to 2.43.1
- [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.42...dagger-2.43.1)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-compiler
  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-08-01 13:06:50 +03:00
dependabot[bot]
33e587e2e6
Bump terser from 5.12.1 to 5.14.2 in /Plan/react/dashboard (#2494)
Bumps [terser](https://github.com/terser/terser) from 5.12.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-21 13:39:42 +03:00
Aurora Lahtela
42d2d8028e Exclude extra stuff from fabric jar 2022-07-15 08:58:21 +03:00
Aurora Lahtela
0910b3adef Disable DataExtension data updates during plugin shutdown.
The storage of this data during shutdown is skipped already,
but method calls to other potentially disabled plugins can throw errors.

Affects issues:
- Fixed #2432
2022-07-15 08:49:48 +03:00
Aurora Lahtela
37f11e3269 Remove PlanSystem#getErrorLogger
This code was improper use of dagger for dependency injection,
and could be fixed by introducing new method to Component classes
that gives the initialized ErrorLogger directly.
2022-07-15 08:34:18 +03:00
Aurora Lahtela
b0be4f296d Use plugin classloader for thread context when initializing system
This allows ServiceLoader to find slf4j-nop provider for Jetty
preventing SLF4J "No provider" error

Affects issues:
- Fixed #2438
2022-07-15 08:21:23 +03:00
Aurora Lahtela
f64290c019 Merge branch 'master' into update-extensions
# Conflicts:
#	Plan/extensions/build.gradle
2022-07-14 08:22:33 +03:00
Aurora Lahtela
47bc49a0d2 Reduce join_address column length to 250 characters
- Add error code 1071 to error definition

Affects issues:
- Possibly fixed #2477
2022-07-14 08:19:08 +03:00
Aurora Lahtela
f346a6957b
Double JVM heap space for gradle 2022-07-13 22:08:04 +03:00
Aurora Lahtela
8f239b010c
Add Swagger & Swagger UI (#2470)
* Adds swagger dependencies and annotations for json endpoints for documentation
* Add swagger ui to react project
* Access control to swagger endpoints
* Include swagger.json in jars using custom configuration

Also:
* Reworked project shadow configurations to avoid shadowing shadow versions of modules

Why: Extra dependencies were being included when using shadow scope

What:
- modules no longer depend on shadow configurations,
  which speeds up IDEA indexing after build considerably
  (No need to index *-all.jars)
- 'shadow' scope is now used for artifacts that need to be included
- 'shadow' scope is also 'api' so that modules that depend on common
  can import the libraries. This may cause issues in projects
  depending on Plan so this may need to be reconsidered
- Relocations and exclusions were moved to plugin module
  org.slf4j is now included in 2 locations which may cause issues.
  Needs testing with servers
- Found out that all Extension dependencies include junit as compile
  scope which caused it to be included.

Affects issues:
- Close #1890
2022-07-13 21:21:20 +03:00
Aurora Lahtela
85321899ad Move extensions to different packages
- Commented out nucleus and redprotect (still need update to sponge 8)
- Commented out Coreprotect (not supported)
2022-07-13 19:49:48 +03:00
dependabot[bot]
6ce10d748c
Bump i18next from 21.8.12 to 21.8.13 in /Plan/react/dashboard (#2468)
Bumps [i18next](https://github.com/i18next/i18next) from 21.8.12 to 21.8.13.
- [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.12...v21.8.13)

---
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-07-10 20:30:33 +03:00
dependabot[bot]
4128336b0d
Bump react-i18next from 11.17.4 to 11.18.0 in /Plan/react/dashboard (#2467)
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.17.4 to 11.18.0.
- [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.4...v11.18.0)

---
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-07-10 20:30:19 +03:00
Rsl1122
2b478e58c0 Turn config to valid yaml
- Moved all config settings with values in non leaf-nodes to leaf-nodes
  - Time units (Now .Time and .Unit)
  - Feature toggles (Now .Enabled)
- Wrote tests to ensure non-leaf node values are not used

Affects issues:
- Fixed #1363
2022-07-09 19:07:29 +03:00
dependabot[bot]
caa385b829
Bump placeholderapi from 2.11.1 to 2.11.2 in /Plan (#2461)
Bumps placeholderapi from 2.11.1 to 2.11.2.

---
updated-dependencies:
- dependency-name: me.clip:placeholderapi
  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-07-05 08:27:10 +03:00
dependabot[bot]
80bbfec830
Bump i18next from 21.8.11 to 21.8.12 in /Plan/react/dashboard (#2462)
Bumps [i18next](https://github.com/i18next/i18next) from 21.8.11 to 21.8.12.
- [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.11...v21.8.12)

---
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-07-05 08:26:53 +03:00
dependabot[bot]
692c03d65f
Bump selenium-java from 4.2.1 to 4.3.0 in /Plan (#2442)
* Bump selenium-java from 4.2.1 to 4.3.0 in /Plan

Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.2.1 to 4.3.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits/selenium-4.3.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>

* Remove use of deprecated capabilities

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rsl1122 <24460436+Rsl1122@users.noreply.github.com>
2022-07-03 15:10:01 +03:00
dependabot[bot]
166546e02e
Bump react-i18next from 11.17.3 to 11.17.4 in /Plan/react/dashboard (#2457)
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.17.3 to 11.17.4.
- [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.3...v11.17.4)

---
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-07-03 14:27:44 +03:00
dependabot[bot]
008a895519
Bump @fortawesome/react-fontawesome in /Plan/react/dashboard (#2456)
Bumps [@fortawesome/react-fontawesome](https://github.com/FortAwesome/react-fontawesome) from 0.1.18 to 0.2.0.
- [Release notes](https://github.com/FortAwesome/react-fontawesome/releases)
- [Changelog](https://github.com/FortAwesome/react-fontawesome/blob/0.2.x/CHANGELOG.md)
- [Commits](https://github.com/FortAwesome/react-fontawesome/compare/0.1.18...0.2.0)

---
updated-dependencies:
- dependency-name: "@fortawesome/react-fontawesome"
  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-07-03 14:27:29 +03:00
Rsl1122
be69613098 Ignore non-auth cookies without value 2022-07-03 11:35:51 +03:00
Rsl1122
38e3ef9ac0 Ignore non-auth cookies without value
Affects issues:
- Fixed #2458
2022-07-03 11:34:33 +03:00
Rsl1122
aa67794881 Remove unnecessary files from jar and relocate Jetty 2022-07-03 10:54:01 +03:00
Rsl1122
3b7e593305 Create gradle tasks for writing version properties to files 2022-07-03 09:17:11 +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
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
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
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
d34172412c Fix join address gathering
Affects issues:
- Fixed #2413
2022-06-11 19:02:36 +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
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
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
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
Aurora Lahtela
c2b2b5635e Try fix sonar report path warning 2022-05-28 09:57:37 +03:00
Aurora Lahtela
01d618cdd3 Fix player_recent_kill and player_recent_death placholder off by one error 2022-05-28 09:46:50 +03:00
Aurora Lahtela
ecc08699ec Fix checkstyle 2022-05-28 09:38:31 +03:00
Aurora Lahtela
38b67272a6 Wrote dynamic tests for placeholders
Affects issues:
- Close #2076
2022-05-28 09:25:15 +03:00
Aurora Lahtela
253cfd251b Add support for :player at the end of player_ placeholders.
- Supports UUID
- Supports player name
- Will use issuing player if not found due to implementation limitations

Affects issues:
- Close #2130
2022-05-28 08:52:55 +03:00
Aurora Lahtela
79ff7d599f Add session duration placeholders
- %plan_player_current_session_length%: The length of active session (Online time)
- %plan_player_current_session_length_raw%: unformatted ms
- %plan_player_latest_session_length%: The length of active session or previous session if not online
- %plan_player_latest_session_length_raw%: unformatted ms
- %plan_player_previous_session_length%: The length of previous non-active session even if online
- %plan_player_previous_session_length_raw%: unformatted ms

Affects issues:
- Close #2211
2022-05-28 08:37:13 +03:00
Aurora Lahtela
ee1a69cb0c Fix checkstyle 2022-05-27 20:20:16 +03:00
Aurora Lahtela
5dd2d4392e Groundwork for #1050 2022-05-27 20:13:12 +03:00
Aurora Lahtela
26f76d9540 Implemented average players to Playerbase as Numbers
Affects issues:
- Close #1796
2022-05-27 19:15:33 +03:00
Aurora Lahtela
368f1e5002 Various fixes to transactions
- Hopefully fix user_id relation error once and for all.
- Set timezone to 00:00 properly when MySQL initializes connection

Affects issues:
- Close #1239
2022-05-26 21:51:22 +03:00
Aurora Lahtela
7aa84c27e4 Fix expired cookie removal 2022-05-26 09:57:29 +03:00
Aurora Lahtela
0538cea8be Fix issue where Plan holds server enable if database is slow
Affects issues:
- Fixed #2356
2022-05-26 09:44:55 +03:00
Aurora Lahtela
c1537681ab Try to find server registration error, did not. 2022-05-26 09:26:45 +03:00
Aurora Lahtela
24e955e428 Drop ThrowawayTransactions if database queues over 500 transactions.
This should reduce the likelihood of out of memory crashes due to slow database write performance.

Affects issues:
- Close #1963
2022-05-26 08:40:01 +03:00
Aurora Lahtela
a1d53b8910 Improve SessionEndTransaction to store player name on retry if user_id is missing 2022-05-26 08:17:23 +03:00
Aurora Lahtela
17d39f518d Fix user_id reference error on ShutdownDataPreservationTransaction 2022-05-26 08:16:00 +03:00
Aurora Lahtela
f3a5e27d8d Cancel any non repeating tasks when they exit 2022-05-26 07:46:20 +03:00
Aurora Lahtela
56081f0dc0 Bump Extension-ViaVersion and Extension-ProtocolSupport to R0.3
- Use SchedulerService instead of tasks for data inserts.
2022-05-26 07:33:26 +03:00
Aurora Lahtela
513900ed3d Fix typo in RemoveDanglingServerDataPatch 2022-05-25 14:41:46 +03:00
Aurora Lahtela
66ed6cfc5f Add missing NOT NULL constraint violation error codes 2022-05-24 22:17:56 +03:00
Aurora Lahtela
92ed27a097 Fix parsing of old version's ongoing session csv files 2022-05-24 21:43:22 +03:00
Aurora Lahtela
f6ece8333b Entered data for Online Activity Overview 2022-05-23 19:46:01 +03:00
Aurora Lahtela
7e1bd7f4a6 Playerbase overview page layout
- Moved some files
2022-05-23 18:58:06 +03:00
Aurora Lahtela
b942078485 Implemented more of the layout for server page
- Sessions accordion table headers
- PvP & Pve layout
- Playerbase graph layout
- Updated font awesome to 6.1.1
2022-05-22 10:57:06 +03:00
Aurora Lahtela
45baebfb01 Implemented some more structure for server page 2022-05-21 20:25:49 +03:00
Aurora Lahtela
e77a9ee8b5 Implemented rest of the graphs on Online Activity Overview 2022-05-21 13:43:49 +03:00
Aurora Lahtela
62f06b4901 Prevent further transactions from executing if FatalDBException occurs
Affects issues:
- Fixed #2365
2022-05-21 09:58:07 +03:00
Aurora Lahtela
de276691a0 Fix wrong ping series translation labels 2022-05-21 09:50:57 +03:00
Aurora Lahtela
030dff7e0a Fallback to relative address if Alternative_IP is misconfigured.
Affects issues:
- #2260
2022-05-21 09:47:10 +03:00
Aurora Lahtela
6c5c9ce913 Fix terminal icon not loading for console registered users
Affects issues:
- #2260
2022-05-21 09:38:26 +03:00
Aurora Lahtela
b52f257f3c Insert html into nickname list on React version of player page
Affects issues:
- Fixed #2329
2022-05-21 09:33:03 +03:00
Aurora Lahtela
f36f1202fc Implemented player ping graph on Frontend BETA player page
Affects issues:
- Close #2258
2022-05-21 09:25:27 +03:00
Aurora Lahtela
52b8afe6cb Store join addresses separately and link to plan_sessions table for time data.
Affects issues:
- #2362
2022-05-20 19:32:00 +03:00
dependabot[bot]
a97489ecd2
Bump testContainersVersion from 1.17.1 to 1.17.2 in /Plan (#2371)
Bumps `testContainersVersion` from 1.17.1 to 1.17.2.

Updates `testcontainers` from 1.17.1 to 1.17.2
- [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.1...1.17.2)

Updates `junit-jupiter` from 1.17.1 to 1.17.2
- [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.1...1.17.2)

Updates `nginx` from 1.17.1 to 1.17.2
- [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.1...1.17.2)

---
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-05-20 16:30:45 +03:00
dependabot[bot]
b4017604bf
Bump com.github.node-gradle.node from 3.2.1 to 3.3.0 in /Plan (#2369)
Bumps com.github.node-gradle.node from 3.2.1 to 3.3.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-05-16 08:55:10 +03:00
Aurora Lahtela
8bbbde4556 Fix registering plan_user row if missing when required
There was one error code for MySQL that used wrong message context to detect the missing user_id properly.

Wrote tests for all the extra functionality ensuring no exceptions occur.

Affects issues:
- Fixed #2361
- Fixed #2343
2022-05-14 11:00:34 +03:00
dependabot[bot]
0c7d00169f
Bump daggerVersion from 2.41 to 2.42 in /Plan (#2366)
Bumps `daggerVersion` from 2.41 to 2.42.

Updates `dagger` from 2.41 to 2.42
- [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.41...dagger-2.42)

Updates `dagger-compiler` from 2.41 to 2.42
- [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.41...dagger-2.42)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-compiler
  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-10 08:48:49 +03:00
Aurora Lahtela
6fa552ca5e Register plan_user row if missing when required
- PingStoreTransaction
- GeoInfoStoreTransaction
- SessionEndTransaction

Affects issues:
- Fixed #2361
- Fixed #2343
2022-05-07 10:40:50 +03:00
Aurora Lahtela
8cae81fb05 Bump Extension-GriefDefender to 2.1.0-R0.1
Fix class not found error (They had relocated Vector3i class)

Affects issues:
- Fixed #2354
2022-05-07 10:07:08 +03:00
Aurora Lahtela
f434199b61 Fixed _raw placeholders being formatted
Affects issues:
- Fixed #2347
2022-05-07 10:01:11 +03:00
Aurora Lahtela
3804ea860d Use console sender messages to log colors to console
Affects issues:
- Fixed #2313
2022-05-07 09:59:23 +03:00
Aurora Lahtela
55ceeb3ad2 Stop ActiveCookieStore from logging database exception on plugin disable
Affects issues:
- Fixed #2188
2022-05-07 09:26:54 +03:00
Aurora Lahtela
64146cc6eb Do dangling uuid comparison in-memory instead of join.
Attempts to optimize RemoveDanglingUserDataPatch and RemoveDanglingServerDataPatch
2022-05-07 08:26:01 +03:00
dependabot[bot]
42bde3a815
Bump selenium-java from 4.1.3 to 4.1.4 in /Plan (#2352)
Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.1.3 to 4.1.4.
- [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-04-29 16:28:32 +03:00
Aurora Lahtela
423edbb631 Fix UserInfoOptimizationPatch clearing out join_address data. 2022-04-27 16:02:47 +03:00
Aurora Lahtela
cf7d63a9bc Safe yarn upgrade 2022-04-27 16:02:47 +03:00
dependabot[bot]
1543461deb
Bump mockitoVersion from 4.5.0 to 4.5.1 in /Plan (#2344)
Bumps `mockitoVersion` from 4.5.0 to 4.5.1.

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

Updates `mockito-junit-jupiter` from 4.5.0 to 4.5.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.5.0...v4.5.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-04-24 07:52:53 +03:00
Aurora Lahtela
675408ab31 Add missing query parameter
Affects issues:
- Fixed #2340
2022-04-20 12:51:11 +03:00
dependabot[bot]
f9418278ee
Bump mockitoVersion from 4.4.0 to 4.5.0 in /Plan (#2339)
Bumps `mockitoVersion` from 4.4.0 to 4.5.0.

Updates `mockito-core` from 4.4.0 to 4.5.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.4.0...v4.5.0)

Updates `mockito-junit-jupiter` from 4.4.0 to 4.5.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.4.0...v4.5.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-04-20 11:46:53 +03:00
Aurora Lahtela
e9dcb591c8 Made MySQL tests 3 times faster (3.5 minutes vs 1 minute) 2022-04-18 15:10:33 +03:00
Aurora Lahtela
c1c2814971 Remove dangling user and server data when patching database to prevent errors
Affects issues:
- Fixed #2335
- Fixed #2333
2022-04-17 09:28:26 +03:00
Aurora Lahtela
4d5b3555a4 Fix SQL error in ViaVersion and ProtocolSupport extensions
Affects issues:
- Fixed #2330
2022-04-16 09:15:47 +03:00
Aurora Lahtela
e6f3377bc2 Filter fabric player move events based on previous location
Affects issues:
- Fixed #2324
2022-04-15 12:46:14 +03:00
Aurora Lahtela
71927903aa
Download node as part of gradle yarn setup 2022-04-15 11:07:32 +03:00
dependabot[bot]
575608e0e9
Bump testContainersVersion from 1.17.0 to 1.17.1 in /Plan (#2327)
Bumps `testContainersVersion` from 1.17.0 to 1.17.1.

Updates `testcontainers` from 1.17.0 to 1.17.1
- [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.0...1.17.1)

Updates `junit-jupiter` from 1.17.0 to 1.17.1
- [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.0...1.17.1)

Updates `nginx` from 1.17.0 to 1.17.1
- [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.0...1.17.1)

---
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-04-14 08:59:04 +03:00
dependabot[bot]
2b786f2746
Bump testContainersVersion from 1.16.3 to 1.17.0 in /Plan (#2323)
Bumps `testContainersVersion` from 1.16.3 to 1.17.0.

Updates `testcontainers` from 1.16.3 to 1.17.0
- [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.16.3...1.17.0)

Updates `junit-jupiter` from 1.16.3 to 1.17.0
- [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.16.3...1.17.0)

Updates `nginx` from 1.16.3 to 1.17.0
- [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.16.3...1.17.0)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.testcontainers:junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.testcontainers:nginx
  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-04-13 08:26:07 +03:00
kassq
07e857ba1b
Fix typo in finnish locale by KasperiP (#2321) 2022-04-11 20:06:09 +03:00
Aurora Lahtela
69c54fb5cb Fix some issues with data registering for new users 2022-04-11 19:08:05 +03:00
Aurora Lahtela
6bbf054336 Revert accidental changes to plugin tab rendering 2022-04-10 09:05:16 +03:00
Aurora Lahtela
2056c8831b Update to LogBlock Extension by Pingger
- Support for new stone block types
2022-04-10 08:44:09 +03:00
Aurora Lahtela
b74e338721
Query optimizations (#2320)
* Optimized network ping table query
* Removed icon id selection subqueries

- Take the icon ID into memory when the icons are stored

* Fix typos in the optimized ping table query
* Optimize server ping table query
* Attempt to optimize /v1/servers tps data query
* Optimize ping and geolocations tables uuid -> user_id foreign key
* Prevent Plan from crashing if patching takes too long

- HikariCP auto commit was true for some reason even though all transactions have commit mechanism built-in.
- The setting was reset during connection recreation and that could cause an index out of bounds error.

* Reduce try-nesting in ExecStatement
* Use user_id and server_id instead of uuid for plan_world_times table
* Use user_id and server_id instead of uuid for plan_sessions and plan_user_info table
* Fix more issues and test queries used by Query Filters
* Use deferRender for data tables to load data into the table faster
* Swap uuids to user ids for query page filters

Fixes an issue where SQL is too big to execute

Affects issues:
- #2196
2022-04-09 20:52:29 +03:00
Aurora Lahtela
0e3339be6e Bump LuckPerms extension to R0.5
- Fix group delete update query

Affects issues:
- Fixed #2318
2022-04-08 19:55:39 +03:00
Aurora Lahtela
604bfd9e67 Add Plan version to /plan servers
Affects issues:
- Resolve #2245
2022-04-07 18:24:40 +03:00
dependabot[bot]
c90d8aee58
Bump minimist from 1.2.5 to 1.2.6 in /Plan/react/dashboard (#2315)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 17:58:57 +03:00
dependabot[bot]
70d3282a95
Bump follow-redirects from 1.14.7 to 1.14.9 in /Plan/react/dashboard (#2314)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.9.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.9)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 17:58:47 +03:00
Aurora Lahtela
b95e58ef6f Bump Extension-KingdomsX to 1.12.6.3.1-R0.4
- Update plugin dependency due to incompatibilities

Affects issues:
- Fixed #2298
2022-04-06 17:56:31 +03:00
Aurora Lahtela
3b6ba4f621 Bump Extension-LuckPerms to R0.4
- Catch NPE if data isn't cached

Affects issues:
- Fixed #2307
2022-04-06 17:50:50 +03:00
dependabot[bot]
8364bd14a0
Bump node-forge from 1.2.1 to 1.3.1 in /Plan/react/dashboard (#2316)
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.1)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 17:49:48 +03:00
Aurora Lahtela
3822155b40
Frontend BETA: Rewrite Player page with React (#2312)
* Add extension data to /v1/player endpoint
* Use node gradle plugin for building with yarn
* Add /v1/whoami endpoint
* Add back button to sidebar
* Selenium Tests for locale related js errors
* Convert locale system to use YAML-based storage
* Added a conversion process that runs on startup
* Replace cravatar.eu with crafatar.com for skins (more reliable)
* Add the Header made by Kopo to React

Co-authored-by: Antti Koponen <koponen942@outlook.com>

Affected issues:
- Resolve #1733
- Fixed #1092
- Resolve #1895
- Resolve #1965
- Partial #2260 
- Partial #2099
2022-04-06 17:37:23 +03:00
Aurora Lahtela
341958b2bd Split Essentials Economy to separate Extension
- Reduces write load and allows disabling economy data separately from Essentials

Affects issues:
- Fix #2308
2022-03-30 17:30:49 +03:00
dependabot[bot]
20b0439ebc
Bump selenium-java from 4.1.2 to 4.1.3 in /Plan (#2306)
Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.1.2 to 4.1.3.
- [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-03-29 15:50:50 +03:00
Aurora Lahtela
34fd9e9279
Update WorldAliasSettings.java 2022-03-18 20:39:54 +02:00
dependabot[bot]
9821827233
Bump mockitoVersion from 4.3.1 to 4.4.0 in /Plan (#2295)
Bumps `mockitoVersion` from 4.3.1 to 4.4.0.

Updates `mockito-core` from 4.3.1 to 4.4.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.1...v4.4.0)

Updates `mockito-junit-jupiter` from 4.3.1 to 4.4.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.1...v4.4.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-03-12 19:33:02 +02:00
Aurora Lahtela
cb68d38965
Prevent negative register dates from breaking db 2022-03-06 17:51:50 +02:00
Aurora Lahtela
206c4e7d96 Add display names to some tests 2022-02-28 19:31:17 +02:00
Aurora Lahtela
47e74f5ad5 Use ConcurrentHashMap for ignore afk permission checks
Affects issues:
- Fixed #2289
2022-02-28 19:23:59 +02:00
Aurora Lahtela
9ff08c2267 Combined some dependency versions as variables 2022-02-28 18:50:21 +02:00
Aurora Lahtela
b34a8e8c02 Fix test error 2022-02-27 15:46:17 +02:00
Aurora Lahtela
22ebdab821 Export noauth.css to hide logout button
- Added test for exported pages that uses Selenium to check for js errors
2022-02-27 15:40:35 +02:00
Aurora Lahtela
8175e599ec Export players page more frequently
Affects issues:
- Close #1999
2022-02-27 12:57:22 +02:00
dependabot[bot]
2517c0416d
Bump dagger-compiler from 2.40.5 to 2.41 in /Plan (#2284)
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.40.5 to 2.41.
- [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.40.5...dagger-2.41)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger-compiler
  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-02-22 19:22:22 +02:00
dependabot[bot]
fb45f03b3c
Bump dagger from 2.40.5 to 2.41 in /Plan (#2285)
Bumps [dagger](https://github.com/google/dagger) from 2.40.5 to 2.41.
- [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.40.5...dagger-2.41)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  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-02-22 19:16:33 +02:00