Commit Graph

5428 Commits

Author SHA1 Message Date
Aurora Lahtela
19df503888 Fix issue with sidebar closing right away on first click
Sidebar items not being rendered caused the currentTab to be undefined,
until the sidebar is opened, and then currentTab is set - which then
caused a useEffect that closes sidebar to fire.
This lead to the sidebar closing right away on the first click.

To fix this the sidebar item state was moved to navigationHook,
and changing the list of items on a sidebar updates currentTab
at the same time to prevent sidebar rendering setting it again.
2022-09-01 20:27:41 +03:00
Aurora Lahtela
1a8b7af2af Implement Lazy loading 2022-09-01 19:50:16 +03:00
Aurora Lahtela
c607ef2869 Rewrite /errors page with React 2022-09-01 18:59:59 +03:00
Aurora Lahtela
80fe1ce982 Update RedProtect Extension
Removed sponge support

Affects issues:
- Close #2576
2022-09-01 11:59:06 +03:00
Aurora Lahtela
f341eda0ff Re-enable Nucleus Extension after update by Vankka
Affects issues:
- Close #2575
2022-09-01 11:46:08 +03:00
Aurora Lahtela
d1cd5a3b74 Apply decimal formatter to double value placeholders 2022-09-01 08:23:47 +03:00
Aurora Lahtela
6f6b4f149f Fix gzip support for Jetty 2022-08-31 19:44:38 +03:00
Aurora Lahtela
019a3353ca Load server extension data in separate context to speed up loading time 2022-08-31 18:06:08 +03:00
Aurora Lahtela
e772713ac0 Fix locale formatting of username/password placeholders 2022-08-31 17:26:26 +03:00
Aurora Lahtela
8c9145dc10 Fix VelocitySystemTest 2022-08-31 13:03:42 +03:00
Aurora Lahtela
6a4033ccda Fix Internal_IP setting not being used with Jetty 2022-08-31 12:48:20 +03:00
Aurora Lahtela
aaec5eda8b Add since tags and remove some internal deprecated code 2022-08-31 12:48:20 +03:00
Aurora Lahtela
8004e990d9 Converted ChatFormatter to an interface 2022-08-31 12:48:19 +03:00
Aurora Lahtela
7dce52245f Remove some uses of PlanPlugin#getDataFolder (deprecated) 2022-08-31 12:48:19 +03:00
Aurora Lahtela
d639bd643c
Update CI badge 2022-08-31 10:25:18 +03:00
Aurora Lahtela
be3da8ee2e Use newer Hover api for Bungee message part builder 2022-08-31 09:14:50 +03:00
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
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