Commit Graph

5607 Commits

Author SHA1 Message Date
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
Tom Padmanathan ce81179388
Fixed grammer mistakes in README (#2563) 2022-08-22 16:17:29 +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 767eb844c9
Update versions.txt 2022-08-18 15:39:15 +03:00
Aurora Lahtela b683cf41db
Fix versions.txt append 2022-08-18 15:31:25 +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 258663c3d6
Update dependabot.yml 2022-08-17 12:41:06 +03:00
Aurora Lahtela 9737aa1ddc Fix NPE on null Keystore when using old .jks cert 2022-08-16 22:20:43 +03:00