Commit Graph

5724 Commits

Author SHA1 Message Date
Aurora Lahtela
7a51633690 Implemented network page join address tab
- Made it possible to toggle stack/side-by-side join addresses
2022-09-10 10:45:03 +03:00
Aurora Lahtela
ab2dfbbbcf Fix network sessions showing wrong table header 2022-09-10 09:52:51 +03:00
Aurora Lahtela
adc4162217 Network sessions tab implemented in React 2022-09-10 09:38:25 +03:00
Aurora Lahtela
b8258a38a6 Fix some issues in server sorting
- Removed the need for switch statements by giving sort options properties
- Added serverUUID to /v1/network/servers endpoint data
2022-09-10 09:09:52 +03:00
Aurora Lahtela
9654e4a8d3 Fix sorting labels (translated) 2022-09-09 19:15:31 +03:00
Aurora Lahtela
f4aaa72f4c Implemented network servers overview in React
- Changed the layout to use a table instead of custom elements for more efficient look.
- Added sorting options to the new table
- Added a total calculator at the table footer

Affects issues:
- Close #1205
2022-09-09 19:10:06 +03:00
Aurora Lahtela
54c66c7232 Fix flaky regular player test 2022-09-09 14:24:48 +03:00
dependabot[bot]
59a2909467
Bump bootstrap from 5.2.0 to 5.2.1 in /Plan/react/dashboard (#2598)
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v5.2.0...v5.2.1)

---
updated-dependencies:
- dependency-name: 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-09-09 07:55:21 +03:00
dependabot[bot]
44801df53b
Bump sass from 1.54.8 to 1.54.9 in /Plan/react/dashboard (#2597)
Bumps [sass](https://github.com/sass/dart-sass) from 1.54.8 to 1.54.9.
- [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.8...1.54.9)

---
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-09 07:53:50 +03:00
dependabot[bot]
7aa99f946b
Bump mockitoVersion from 4.7.0 to 4.8.0 in /Plan (#2596)
Bumps `mockitoVersion` from 4.7.0 to 4.8.0.

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

Updates `mockito-junit-jupiter` from 4.7.0 to 4.8.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.7.0...v4.8.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-09-09 07:53:25 +03:00
Aurora Lahtela
246f19a90f Oops revert test data generation data amount increase 2022-09-07 15:51:05 +03:00
Aurora Lahtela
ead1b401bc Created a benchmark utility 2022-09-07 15:49:53 +03:00
Aurora Lahtela
ef0ba83412 Automatically update to newest data when receiving cached data 2022-09-06 14:23:39 +03:00
Aurora Lahtela
0bd0bbef24 Fix Extension table header icons not showing up on large tables 2022-09-06 12:21:54 +03:00
Aurora Lahtela
12ce145345 Fixed plugin icons not showing up for sidebar 2022-09-06 12:17:39 +03:00
Aurora Lahtela
f3cc34d765 Webserver access log to console, different log levels 2022-09-06 07:19:59 +03:00
Aurora Lahtela
eba65245fc Remove debug console.log from code 2022-09-05 17:06:03 +03:00
Aurora Lahtela
cb21c45ea9 Visualize join address / day in React server page
Join addresses were missing

- Implemented new group visualizer that allows viewing group data as column/bar/pie/table
- Implemented latest join address pie on server page (was missing)
- Implemented join addresses per day graph on new Join addresses tab
- Made playerbase overview use the group visualizer

Affects issues:
- Close #2362
2022-09-05 16:56:59 +03:00
Aurora Lahtela
2c233a0d21 Fix typo in previous commit 2022-09-04 19:23:33 +03:00
Aurora Lahtela
30c1a860e3 Log warning if driver download fails
Affects issues:
- Close #2592
2022-09-04 19:21:30 +03:00
Aurora Lahtela
4c2bf7bd52 Tests for join address case preservation
- Fixed one issue where player page showed out of date join address
2022-09-04 19:06:19 +03:00
Aurora Lahtela
af24672063
Update versions.txt 2022-09-04 18:22:54 +03:00
Aurora Lahtela
9616059828 Add stashenko as contributor 2022-09-04 11:23:13 +03:00
The_stas
9cc2273dea
Update locale_RU.yml (#2591) 2022-09-04 11:21:03 +03:00
Aurora Lahtela
6d9fcab656 Implement Network overview tab in React 2022-09-04 09:40:17 +03:00
Aurora Lahtela
a095eb2178 Javadocs for Table column formats 2022-09-04 09:05:06 +03:00
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