Commit Graph

4555 Commits

Author SHA1 Message Date
Aurora Lahtela
e77a9ee8b5 Implemented rest of the graphs on Online Activity Overview 2022-05-21 13:43:49 +03:00
Aurora Lahtela
62f06b4901 Prevent further transactions from executing if FatalDBException occurs
Affects issues:
- Fixed #2365
2022-05-21 09:58:07 +03:00
Aurora Lahtela
de276691a0 Fix wrong ping series translation labels 2022-05-21 09:50:57 +03:00
Aurora Lahtela
030dff7e0a Fallback to relative address if Alternative_IP is misconfigured.
Affects issues:
- #2260
2022-05-21 09:47:10 +03:00
Aurora Lahtela
6c5c9ce913 Fix terminal icon not loading for console registered users
Affects issues:
- #2260
2022-05-21 09:38:26 +03:00
Aurora Lahtela
b52f257f3c Insert html into nickname list on React version of player page
Affects issues:
- Fixed #2329
2022-05-21 09:33:03 +03:00
Aurora Lahtela
f36f1202fc Implemented player ping graph on Frontend BETA player page
Affects issues:
- Close #2258
2022-05-21 09:25:27 +03:00
Aurora Lahtela
52b8afe6cb Store join addresses separately and link to plan_sessions table for time data.
Affects issues:
- #2362
2022-05-20 19:32:00 +03:00
dependabot[bot]
a97489ecd2
Bump testContainersVersion from 1.17.1 to 1.17.2 in /Plan (#2371)
Bumps `testContainersVersion` from 1.17.1 to 1.17.2.

Updates `testcontainers` from 1.17.1 to 1.17.2
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.1...1.17.2)

Updates `junit-jupiter` from 1.17.1 to 1.17.2
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.1...1.17.2)

Updates `nginx` from 1.17.1 to 1.17.2
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.1...1.17.2)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.testcontainers:junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.testcontainers:nginx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 16:30:45 +03:00
dependabot[bot]
b4017604bf
Bump com.github.node-gradle.node from 3.2.1 to 3.3.0 in /Plan (#2369)
Bumps com.github.node-gradle.node from 3.2.1 to 3.3.0.

---
updated-dependencies:
- dependency-name: com.github.node-gradle.node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 08:55:10 +03:00
Aurora Lahtela
8bbbde4556 Fix registering plan_user row if missing when required
There was one error code for MySQL that used wrong message context to detect the missing user_id properly.

Wrote tests for all the extra functionality ensuring no exceptions occur.

Affects issues:
- Fixed #2361
- Fixed #2343
2022-05-14 11:00:34 +03:00
dependabot[bot]
0c7d00169f
Bump daggerVersion from 2.41 to 2.42 in /Plan (#2366)
Bumps `daggerVersion` from 2.41 to 2.42.

Updates `dagger` from 2.41 to 2.42
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.41...dagger-2.42)

Updates `dagger-compiler` from 2.41 to 2.42
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.41...dagger-2.42)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-10 08:48:49 +03:00
Aurora Lahtela
6fa552ca5e Register plan_user row if missing when required
- PingStoreTransaction
- GeoInfoStoreTransaction
- SessionEndTransaction

Affects issues:
- Fixed #2361
- Fixed #2343
2022-05-07 10:40:50 +03:00
Aurora Lahtela
8cae81fb05 Bump Extension-GriefDefender to 2.1.0-R0.1
Fix class not found error (They had relocated Vector3i class)

Affects issues:
- Fixed #2354
2022-05-07 10:07:08 +03:00
Aurora Lahtela
f434199b61 Fixed _raw placeholders being formatted
Affects issues:
- Fixed #2347
2022-05-07 10:01:11 +03:00
Aurora Lahtela
3804ea860d Use console sender messages to log colors to console
Affects issues:
- Fixed #2313
2022-05-07 09:59:23 +03:00
Aurora Lahtela
55ceeb3ad2 Stop ActiveCookieStore from logging database exception on plugin disable
Affects issues:
- Fixed #2188
2022-05-07 09:26:54 +03:00
Aurora Lahtela
64146cc6eb Do dangling uuid comparison in-memory instead of join.
Attempts to optimize RemoveDanglingUserDataPatch and RemoveDanglingServerDataPatch
2022-05-07 08:26:01 +03:00
dependabot[bot]
42bde3a815
Bump selenium-java from 4.1.3 to 4.1.4 in /Plan (#2352)
Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

---
updated-dependencies:
- dependency-name: org.seleniumhq.selenium:selenium-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 16:28:32 +03:00
Aurora Lahtela
423edbb631 Fix UserInfoOptimizationPatch clearing out join_address data. 2022-04-27 16:02:47 +03:00
Aurora Lahtela
cf7d63a9bc Safe yarn upgrade 2022-04-27 16:02:47 +03:00
dependabot[bot]
1543461deb
Bump mockitoVersion from 4.5.0 to 4.5.1 in /Plan (#2344)
Bumps `mockitoVersion` from 4.5.0 to 4.5.1.

Updates `mockito-core` from 4.5.0 to 4.5.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.5.0...v4.5.1)

Updates `mockito-junit-jupiter` from 4.5.0 to 4.5.1
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.5.0...v4.5.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.mockito:mockito-junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-24 07:52:53 +03:00
Aurora Lahtela
675408ab31 Add missing query parameter
Affects issues:
- Fixed #2340
2022-04-20 12:51:11 +03:00
dependabot[bot]
f9418278ee
Bump mockitoVersion from 4.4.0 to 4.5.0 in /Plan (#2339)
Bumps `mockitoVersion` from 4.4.0 to 4.5.0.

Updates `mockito-core` from 4.4.0 to 4.5.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.4.0...v4.5.0)

Updates `mockito-junit-jupiter` from 4.4.0 to 4.5.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.4.0...v4.5.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-20 11:46:53 +03:00
Aurora Lahtela
e9dcb591c8 Made MySQL tests 3 times faster (3.5 minutes vs 1 minute) 2022-04-18 15:10:33 +03:00
Aurora Lahtela
c1c2814971 Remove dangling user and server data when patching database to prevent errors
Affects issues:
- Fixed #2335
- Fixed #2333
2022-04-17 09:28:26 +03:00
Aurora Lahtela
4d5b3555a4 Fix SQL error in ViaVersion and ProtocolSupport extensions
Affects issues:
- Fixed #2330
2022-04-16 09:15:47 +03:00
Aurora Lahtela
e6f3377bc2 Filter fabric player move events based on previous location
Affects issues:
- Fixed #2324
2022-04-15 12:46:14 +03:00
Aurora Lahtela
71927903aa
Download node as part of gradle yarn setup 2022-04-15 11:07:32 +03:00
dependabot[bot]
575608e0e9
Bump testContainersVersion from 1.17.0 to 1.17.1 in /Plan (#2327)
Bumps `testContainersVersion` from 1.17.0 to 1.17.1.

Updates `testcontainers` from 1.17.0 to 1.17.1
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.0...1.17.1)

Updates `junit-jupiter` from 1.17.0 to 1.17.1
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.0...1.17.1)

Updates `nginx` from 1.17.0 to 1.17.1
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.17.0...1.17.1)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.testcontainers:junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.testcontainers:nginx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-14 08:59:04 +03:00
dependabot[bot]
2b786f2746
Bump testContainersVersion from 1.16.3 to 1.17.0 in /Plan (#2323)
Bumps `testContainersVersion` from 1.16.3 to 1.17.0.

Updates `testcontainers` from 1.16.3 to 1.17.0
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.16.3...1.17.0)

Updates `junit-jupiter` from 1.16.3 to 1.17.0
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.16.3...1.17.0)

Updates `nginx` from 1.16.3 to 1.17.0
- [Release notes](https://github.com/testcontainers/testcontainers-java/releases)
- [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testcontainers/testcontainers-java/compare/1.16.3...1.17.0)

---
updated-dependencies:
- dependency-name: org.testcontainers:testcontainers
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.testcontainers:junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.testcontainers:nginx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 08:26:07 +03:00
kassq
07e857ba1b
Fix typo in finnish locale by KasperiP (#2321) 2022-04-11 20:06:09 +03:00
Aurora Lahtela
69c54fb5cb Fix some issues with data registering for new users 2022-04-11 19:08:05 +03:00
Aurora Lahtela
6bbf054336 Revert accidental changes to plugin tab rendering 2022-04-10 09:05:16 +03:00
Aurora Lahtela
2056c8831b Update to LogBlock Extension by Pingger
- Support for new stone block types
2022-04-10 08:44:09 +03:00
Aurora Lahtela
b74e338721
Query optimizations (#2320)
* Optimized network ping table query
* Removed icon id selection subqueries

- Take the icon ID into memory when the icons are stored

* Fix typos in the optimized ping table query
* Optimize server ping table query
* Attempt to optimize /v1/servers tps data query
* Optimize ping and geolocations tables uuid -> user_id foreign key
* Prevent Plan from crashing if patching takes too long

- HikariCP auto commit was true for some reason even though all transactions have commit mechanism built-in.
- The setting was reset during connection recreation and that could cause an index out of bounds error.

* Reduce try-nesting in ExecStatement
* Use user_id and server_id instead of uuid for plan_world_times table
* Use user_id and server_id instead of uuid for plan_sessions and plan_user_info table
* Fix more issues and test queries used by Query Filters
* Use deferRender for data tables to load data into the table faster
* Swap uuids to user ids for query page filters

Fixes an issue where SQL is too big to execute

Affects issues:
- #2196
2022-04-09 20:52:29 +03:00
Aurora Lahtela
0e3339be6e Bump LuckPerms extension to R0.5
- Fix group delete update query

Affects issues:
- Fixed #2318
2022-04-08 19:55:39 +03:00
Aurora Lahtela
604bfd9e67 Add Plan version to /plan servers
Affects issues:
- Resolve #2245
2022-04-07 18:24:40 +03:00
dependabot[bot]
c90d8aee58
Bump minimist from 1.2.5 to 1.2.6 in /Plan/react/dashboard (#2315)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 17:58:57 +03:00
dependabot[bot]
70d3282a95
Bump follow-redirects from 1.14.7 to 1.14.9 in /Plan/react/dashboard (#2314)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.9.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.9)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 17:58:47 +03:00
Aurora Lahtela
b95e58ef6f Bump Extension-KingdomsX to 1.12.6.3.1-R0.4
- Update plugin dependency due to incompatibilities

Affects issues:
- Fixed #2298
2022-04-06 17:56:31 +03:00
Aurora Lahtela
3b6ba4f621 Bump Extension-LuckPerms to R0.4
- Catch NPE if data isn't cached

Affects issues:
- Fixed #2307
2022-04-06 17:50:50 +03:00
dependabot[bot]
8364bd14a0
Bump node-forge from 1.2.1 to 1.3.1 in /Plan/react/dashboard (#2316)
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.1)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-06 17:49:48 +03:00
Aurora Lahtela
3822155b40
Frontend BETA: Rewrite Player page with React (#2312)
* Add extension data to /v1/player endpoint
* Use node gradle plugin for building with yarn
* Add /v1/whoami endpoint
* Add back button to sidebar
* Selenium Tests for locale related js errors
* Convert locale system to use YAML-based storage
* Added a conversion process that runs on startup
* Replace cravatar.eu with crafatar.com for skins (more reliable)
* Add the Header made by Kopo to React

Co-authored-by: Antti Koponen <koponen942@outlook.com>

Affected issues:
- Resolve #1733
- Fixed #1092
- Resolve #1895
- Resolve #1965
- Partial #2260 
- Partial #2099
2022-04-06 17:37:23 +03:00
Aurora Lahtela
341958b2bd Split Essentials Economy to separate Extension
- Reduces write load and allows disabling economy data separately from Essentials

Affects issues:
- Fix #2308
2022-03-30 17:30:49 +03:00
dependabot[bot]
20b0439ebc
Bump selenium-java from 4.1.2 to 4.1.3 in /Plan (#2306)
Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

---
updated-dependencies:
- dependency-name: org.seleniumhq.selenium:selenium-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 15:50:50 +03:00
Aurora Lahtela
34fd9e9279
Update WorldAliasSettings.java 2022-03-18 20:39:54 +02:00
dependabot[bot]
9821827233
Bump mockitoVersion from 4.3.1 to 4.4.0 in /Plan (#2295)
Bumps `mockitoVersion` from 4.3.1 to 4.4.0.

Updates `mockito-core` from 4.3.1 to 4.4.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.1...v4.4.0)

Updates `mockito-junit-jupiter` from 4.3.1 to 4.4.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.1...v4.4.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-12 19:33:02 +02:00
Aurora Lahtela
cb68d38965
Prevent negative register dates from breaking db 2022-03-06 17:51:50 +02:00
Aurora Lahtela
206c4e7d96 Add display names to some tests 2022-02-28 19:31:17 +02:00
Aurora Lahtela
47e74f5ad5 Use ConcurrentHashMap for ignore afk permission checks
Affects issues:
- Fixed #2289
2022-02-28 19:23:59 +02:00
Aurora Lahtela
9ff08c2267 Combined some dependency versions as variables 2022-02-28 18:50:21 +02:00
Aurora Lahtela
b34a8e8c02 Fix test error 2022-02-27 15:46:17 +02:00
Aurora Lahtela
22ebdab821 Export noauth.css to hide logout button
- Added test for exported pages that uses Selenium to check for js errors
2022-02-27 15:40:35 +02:00
Aurora Lahtela
8175e599ec Export players page more frequently
Affects issues:
- Close #1999
2022-02-27 12:57:22 +02:00
dependabot[bot]
2517c0416d
Bump dagger-compiler from 2.40.5 to 2.41 in /Plan (#2284)
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.40.5 to 2.41.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.5...dagger-2.41)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-22 19:22:22 +02:00
dependabot[bot]
fb45f03b3c
Bump dagger from 2.40.5 to 2.41 in /Plan (#2285)
Bumps [dagger](https://github.com/google/dagger) from 2.40.5 to 2.41.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.40.5...dagger-2.41)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-22 19:16:33 +02:00
dependabot[bot]
4375296376
Bump dev.vankka.dependencydownload.plugin from 1.1.4 to 1.2.1 in /Plan (#2283)
Bumps dev.vankka.dependencydownload.plugin from 1.1.4 to 1.2.1.

---
updated-dependencies:
- dependency-name: dev.vankka.dependencydownload.plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 07:37:05 +02:00
Aurora Lahtela
edc0a646ec
Update dependency download to newer version 2022-02-14 18:25:26 +02:00
dependabot[bot]
9796b70ebb
Bump gson from 2.8.9 to 2.9.0 in /Plan (#2282)
Bumps [gson](https://github.com/google/gson) from 2.8.9 to 2.9.0.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.9...gson-parent-2.9.0)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-14 18:12:44 +02:00
Saph1s
8ee560c10d
Update RU locale (#2276)
* Update RU locale

* Update RU locale
2022-02-13 07:44:33 +02:00
Risto Lahtela
856d5f57e7 Don't close driver class loader during disable
Affects issues:
- Fixed #2274
2022-02-12 22:59:14 +02:00
Risto Lahtela
b83c8d092e Update Luckperms extension
Register listeners for Luckperms events when user's data is updated.

Affects issues:
- Close #2269
2022-02-10 18:36:21 +02:00
Risto Lahtela
2071a49091 Fix locale interference with network performance page 2022-02-10 17:57:40 +02:00
dependabot[bot]
3fadcf65e4
Bump slf4jVersion from 1.7.35 to 1.7.36 in /Plan (#2271)
Bumps `slf4jVersion` from 1.7.35 to 1.7.36.

Updates `slf4j-nop` from 1.7.35 to 1.7.36
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.35...v_1.7.36)

Updates `slf4j-api` from 1.7.35 to 1.7.36
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.35...v_1.7.36)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-09 08:35:09 +02:00
Risto Lahtela
2ad3b20f36 Teardown session cache after use in AFKTracker tests 2022-02-05 09:47:43 +02:00
Risto Lahtela
fa9870d97a Wrote some code to add logging when new servers are registered
Affects issues:
- Possibly fixed #2254
2022-02-04 19:10:11 +02:00
HexedHero
cea496c2d2
Add comment to error for users that have pterodactyl (#2265) 2022-02-03 18:58:25 +02:00
Risto Lahtela
a4cf4dd089 Add static variables to keep classes loaded at JVM shutdown
Affects issues:
- Possibly fixed #2198
2022-02-03 18:47:32 +02:00
Risto Lahtela
2af2bfe2f5 Fix checkstyle issues 2022-02-03 18:37:29 +02:00
Risto Lahtela
ba4cd87bab Use relative 'to main page' path on Query page
Affects issue:
- Fixed #2263
2022-02-02 20:07:15 +02:00
Risto Lahtela
ba24a2f2d9 Refresh placeholders set in the Plan config more often
Affects issue:
- Fixed #2225
2022-02-02 20:03:38 +02:00
Risto Lahtela
a8e6ef2944 Add support for table row formats and hex color codes
- Table rows are now formatted with chat colors by default if § character is in them.
- Hex color codes §x§f§f§f§f§f§f are now supported by chat color to html translator.

Affects issues:
- Fix #2220
2022-02-02 17:36:20 +02:00
Risto Lahtela
f1a585f643 Remove debug error stacktrace 2022-02-02 16:06:22 +02:00
Risto Lahtela
7dd2dff8cf Change player head image url to use UUID by default 2022-02-02 14:10:53 +02:00
Risto Lahtela
be18734186 Add a config setting for player head img url
- Added config setting Display_options.Player_head_img_url

Affects issues:
- Close #2243
2022-02-02 11:14:15 +02:00
Risto Lahtela
922c99872c Hacky fix to forge crash
The server crashes due to sqlite driver loading disabling class loading caches.
This re-enables them after using the method.

Note that if a class is loaded in a small timeframe between sqlite driver loading and
the finally-block running there is a slight chance of a crash, but it is less than 100%

Affects issues:
- Fix #2202
2022-02-01 20:43:03 +02:00
dependabot[bot]
1ddd8f4099
Bump selenium-java from 4.1.1 to 4.1.2 in /Plan (#2261)
Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

---
updated-dependencies:
- dependency-name: org.seleniumhq.selenium:selenium-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-01 19:17:17 +02:00
Risto Lahtela
847500e6c4 Added %plan_top_{category}_{time}_{n}_value% placeholders
Affects issues:
- Close #2262
2022-02-01 16:29:43 +02:00
Risto Lahtela
735580c22e Added exception context to internal error page
Affects issues:
- Close #2075
2022-01-31 21:14:08 +02:00
Risto Lahtela
954ef59c0b Fix afk tracker tests 2022-01-31 21:05:47 +02:00
Risto Lahtela
96e0cd6856 Add AFK status placeholders
- %plan_player_is_afk%, output true/false
- %plan_player_is_afk_badge%, output 'AFK'/''

Affects issues:
- Close #2247
2022-01-31 19:41:50 +02:00
Risto Lahtela
9c6085da86 Delete disabled extensions' data right after disabling them
Affects issues:
- Close #2179
2022-01-30 20:49:04 +02:00
Risto Lahtela
036ec23c08 Disable Litebans Extension on game servers if installed on proxy
Affects issues:
- Close #2178
2022-01-30 20:28:17 +02:00
Risto Lahtela
4bad953fba Hide refresh buttons from export
Affects issues:
- Fix #2042
2022-01-30 20:03:41 +02:00
Risto Lahtela
18ea0aac8c Add join address to player pages
- On the main information card
- On each servers accordion

Affects issues:
- Close #2255
2022-01-30 11:07:17 +02:00
Risto Lahtela
019b59128f Fix ISO code for South Korea and North Korea
Affects issues:
- Fixed #2259
2022-01-30 10:47:45 +02:00
Risto Lahtela
957b7f400f Use uuid instead of name on player page for data request
Affects issues:
- Fixed #2226
2022-01-30 09:25:15 +02:00
Risto Lahtela
d831bdc9e5 Fixed cookie expiry issues
- Fixed cookie cleanup task expiring cookies right away due to wrong way < sign
- Fixed cookies not being removed from browser due to Max-Age=1 instead of Max-Age=0

Affects issues:
- Fixed #2236
2022-01-30 09:18:24 +02:00
dependabot[bot]
ecff809785
Bump slf4jVersion from 1.7.33 to 1.7.35 in /Plan (#2252)
Bumps `slf4jVersion` from 1.7.33 to 1.7.35.

Updates `slf4j-nop` from 1.7.33 to 1.7.35
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.33...v_1.7.35)

Updates `slf4j-api` from 1.7.33 to 1.7.35
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.33...v_1.7.35)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 19:42:33 +02:00
dependabot[bot]
61f2ea5ff1
Bump mockito-junit-jupiter from 4.3.0 to 4.3.1 in /Plan (#2253)
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-junit-jupiter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 19:42:08 +02:00
dependabot[bot]
4a2e6badff
Bump mockito-core from 4.2.0 to 4.3.1 in /Plan (#2251)
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.2.0 to 4.3.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.2.0...v4.3.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 18:58:52 +02:00
dependabot[bot]
c2bf75256e
Bump mockito-junit-jupiter from 4.2.0 to 4.3.0 in /Plan (#2248)
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.2.0...v4.3.0)

---
updated-dependencies:
- 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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-25 18:55:34 +02:00
dependabot[bot]
c0d29616b9
Bump mysql-connector-java from 8.0.27 to 8.0.28 in /Plan (#2244)
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.27 to 8.0.28.
- [Release notes](https://github.com/mysql/mysql-connector-j/releases)
- [Changelog](https://github.com/mysql/mysql-connector-j/blob/release/8.0/CHANGES)
- [Commits](https://github.com/mysql/mysql-connector-j/commits)

---
updated-dependencies:
- dependency-name: mysql:mysql-connector-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-18 16:30:27 +02:00
dependabot[bot]
24ce8e39df
Bump slf4jVersion from 1.7.32 to 1.7.33 in /Plan (#2242)
Bumps `slf4jVersion` from 1.7.32 to 1.7.33.

Updates `slf4j-nop` from 1.7.32 to 1.7.33
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.32...v_1.7.33)

Updates `slf4j-api` from 1.7.32 to 1.7.33
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.32...v_1.7.33)

---
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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-16 19:43:41 +02:00
dependabot[bot]
98df7a7049
Bump selenium-java from 4.1.0 to 4.1.1 in /Plan (#2213)
Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/commits)

---
updated-dependencies:
- dependency-name: org.seleniumhq.selenium:selenium-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 16:11:54 +02:00
dependabot[bot]
55f01b4444
Bump placeholderapi from 2.10.10 to 2.11.1 in /Plan (#2219)
Bumps placeholderapi from 2.10.10 to 2.11.1.

---
updated-dependencies:
- dependency-name: me.clip:placeholderapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 16:11:44 +02:00
dependabot[bot]
b63186d070
Bump com.github.johnrengelman.shadow from 7.1.1 to 7.1.2 in /Plan (#2223)
Bumps com.github.johnrengelman.shadow from 7.1.1 to 7.1.2.

---
updated-dependencies:
- dependency-name: com.github.johnrengelman.shadow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-15 16:11:33 +02:00
Risto Lahtela
1bffefe931 Fix fabric command issues:
- Made only players support chat events
- Added hashcode and equals needed for storing in cache (Confirmation uses CMDSender as key)
- Hacky fix for running tasks when plugin is disabled

Affects issues:
- Fixed #2183
2022-01-09 13:29:47 +02:00
Risto Lahtela
ed17ebd402 Fix top category queries
- Moved group by before order by
- Fixed off by one error in the offset

Affects issues:
- Fixed #2206
2022-01-09 12:37:29 +02:00