Commit Graph

5486 Commits

Author SHA1 Message Date
Aurora Lahtela 925906bec6 Initial version of standalone
- Prompts settings on enable
- Runs with MySQL pretending to be a new game server in the database
- Works pretty well for first attempt at it. A lot of inspiration was taken from the
  mock version of the system used during tests.

TODO:
- Doesn't have commands implemented yet
- Doesn't log errors properly
- Doesn't log console contents to a file
- Network page needs to be accessible if proxy server is in database
2022-09-13 18:26:54 +03:00
Aurora Lahtela 3b09fd8da2 Merge branch 'master' into standalone-mode
# Conflicts:
#	Plan/settings.gradle
2022-09-13 16:00:29 +03:00
Aurora Lahtela b68e41bbbe
Bugfixes to build 1951 (#2607)
* Remove SecuredRedirectHandler from Jetty

* Fixed extension values not updating on PLAYER_LEAVE

* Fix Join Address data-truncation errors

Affects issues:
- Fixed #2606

* Tests for join address truncation
2022-09-13 08:52:46 +03:00
Aurora Lahtela 8b32ced181
Update versions.txt 2022-09-12 08:06:23 +03:00
Aurora Lahtela 1e1687d83c Retry when failing to store join address in storeAllSessionsWithKillAndWorldData
Another transaction may have run before this transaction that stored the same join address.

Affects issues:
- Possibly fixed #2601
2022-09-12 07:55:34 +03:00
Aurora Lahtela 3de1de82fe Update locale files with missing keys 2022-09-11 19:38:40 +03:00
Aurora Lahtela 4195865394 Enable network page in Frontend BETA 2022-09-11 19:32:42 +03:00
Aurora Lahtela 8cdbebf191 Implemented Network performance tab in React
Affects issues:
- Implemented #2469
2022-09-11 19:30:57 +03:00
Aurora Lahtela 3d64e36159 Implemented Network PlayerBase overview in React 2022-09-11 09:42:03 +03:00
Aurora Lahtela cb7749d778 Implemented network geolocations tab in React
- Add Projection selector to geolocations visualization
2022-09-11 09:30:33 +03:00
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