Commit Graph

5448 Commits

Author SHA1 Message Date
Aurora Lahtela
91cb569a3c Remove 0.0.0.0 from Jetty bind exception to reduce attempts to change Internal_IP 2022-09-04 08:56:23 +03:00
Aurora Lahtela
77404a9f7a
Add API information to README 2022-09-04 08:39:01 +03:00
Aurora Lahtela
c24c1e0dbe Add server list to network page navigation 2022-09-03 19:39:56 +03:00
Aurora Lahtela
f3e4fa4e21 Add missing loaders to the server page 2022-09-03 19:39:39 +03:00
Aurora Lahtela
38ee84af67 Fixed some issues with DataTables and unmounting extensions
When using ServerWidePluginData component for two different plugins that had a DataTablesTable
React reused the component, which lead to issues of DataTables trying to remount on the same
component with a different ID, with both jQuery and React trying to remove elements from DOM.

- Added div around table in DataTablesTable to allow React properly unmount the element after
  jQuery already removed the table element
- Added extra layer in ServerWidePluginData that re-renders the tab when plugin changes
- Sorted extensions in the endpoints
- Added /v1/networkMetadata endpoint for implementing server list navigation later
- Added network page to App.js with plugins and players tabs already implemented
2022-09-03 14:01:15 +03:00
Aurora Lahtela
813abd040a Add 'Data_gathering.Preserve_join_address_case' setting (default false)
- Allows preserving case information of gathered join addresses
- Only affects future data
2022-09-03 12:15:54 +03:00
Aurora Lahtela
cc56cf0985 Fix Certificate missing message not showing file path 2022-09-03 11:36:22 +03:00
Aurora Lahtela
a1a38d5087 Fix checkstyle 2022-09-02 19:30:57 +03:00
Aurora Lahtela
cbc880c1d3 Improve database error messages
- Don't log "database is closed" when query tries to execute after database close
- Log better error help when mysql fails to connect

Affects issues:
- Fixed #2499
2022-09-02 18:49:36 +03:00
Aurora Lahtela
0c59659a4e Remove commented out CoreProtect Extension 2022-09-02 17:43:50 +03:00
dependabot[bot]
428d5da708
Bump @fortawesome/fontawesome-free in /Plan/react/dashboard (#2580)
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome) from 6.1.2 to 6.2.0.
- [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.2...6.2.0)

---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-free"
  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-09-02 13:13:52 +03:00
dependabot[bot]
b35e18edb2
Bump @fortawesome/free-solid-svg-icons in /Plan/react/dashboard (#2585)
Bumps [@fortawesome/free-solid-svg-icons](https://github.com/FortAwesome/Font-Awesome) from 6.1.2 to 6.2.0.
- [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.2...6.2.0)

---
updated-dependencies:
- dependency-name: "@fortawesome/free-solid-svg-icons"
  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-09-02 13:13:33 +03:00
dependabot[bot]
0b42ad37bc
Bump web-vitals from 3.0.0 to 3.0.1 in /Plan/react/dashboard (#2581)
Bumps [web-vitals](https://github.com/GoogleChrome/web-vitals) from 3.0.0 to 3.0.1.
- [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/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: web-vitals
  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-09-02 09:18:39 +03:00
dependabot[bot]
fca79825dc
Bump @fortawesome/free-regular-svg-icons in /Plan/react/dashboard (#2582)
Bumps [@fortawesome/free-regular-svg-icons](https://github.com/FortAwesome/Font-Awesome) from 6.1.2 to 6.2.0.
- [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.2...6.2.0)

---
updated-dependencies:
- dependency-name: "@fortawesome/free-regular-svg-icons"
  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-09-02 09:18:28 +03:00
dependabot[bot]
d2f5b60fd5
Bump @fortawesome/fontawesome-svg-core in /Plan/react/dashboard (#2586)
Bumps [@fortawesome/fontawesome-svg-core](https://github.com/FortAwesome/Font-Awesome) from 6.1.2 to 6.2.0.
- [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.2...6.2.0)

---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-svg-core"
  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-09-02 09:18:21 +03:00
dependabot[bot]
c01e8472b4
Bump @fortawesome/free-brands-svg-icons in /Plan/react/dashboard (#2588)
Bumps [@fortawesome/free-brands-svg-icons](https://github.com/FortAwesome/Font-Awesome) from 6.1.2 to 6.2.0.
- [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.2...6.2.0)

---
updated-dependencies:
- dependency-name: "@fortawesome/free-brands-svg-icons"
  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-09-02 08:17:52 +03:00
dependabot[bot]
6935c1c49f
Bump i18next-chained-backend in /Plan/react/dashboard (#2589)
Bumps [i18next-chained-backend](https://github.com/i18next/i18next-chained-backend) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/i18next/i18next-chained-backend/releases)
- [Changelog](https://github.com/i18next/i18next-chained-backend/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-chained-backend/compare/v3.0.2...v3.1.0)

---
updated-dependencies:
- dependency-name: i18next-chained-backend
  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-09-02 08:17:22 +03:00
dependabot[bot]
69f188e8df
Bump react-i18next from 11.18.4 to 11.18.5 in /Plan/react/dashboard (#2583)
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 11.18.4 to 11.18.5.
- [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.4...v11.18.5)

---
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-09-02 08:17:09 +03:00
dependabot[bot]
5ba011b06d
Bump sass from 1.54.5 to 1.54.8 in /Plan/react/dashboard (#2584)
Bumps [sass](https://github.com/sass/dart-sass) from 1.54.5 to 1.54.8.
- [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.5...1.54.8)

---
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-09-02 08:16:56 +03:00
dependabot[bot]
38dc083e5b
Bump highcharts from 10.2.0 to 10.2.1 in /Plan/react/dashboard (#2587)
Bumps [highcharts](https://github.com/highcharts/highcharts-dist) from 10.2.0 to 10.2.1.
- [Release notes](https://github.com/highcharts/highcharts-dist/releases)
- [Commits](https://github.com/highcharts/highcharts-dist/compare/v10.2.0...v10.2.1)

---
updated-dependencies:
- dependency-name: highcharts
  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-09-02 08:16:39 +03:00
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