Commit Graph

5146 Commits

Author SHA1 Message Date
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
Aurora Lahtela
17096a46c7
Update versions.txt 2022-04-06 18:28:57 +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
aca317f785
Add selenium setup to workflow (#2291)
* Add selenium setup to workflow
* Set up Selenium for Gradle PR workflow

Affects issues:
- Close #2290
2022-02-28 19:20:36 +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
Aurora Lahtela
148568ebe7
publishToMavenLocal for jitpack 2022-02-16 20:52:00 +02:00
Aurora Lahtela
38698620a3
Use JDK 16 on Jitpack 2022-02-16 20:40:21 +02:00
Aurora Lahtela
ffd4f23c33
Create jitpack.yml 2022-02-16 20:21:47 +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
15e4badaaf
Update versions.txt 2022-02-14 18:25:59 +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
Aurora Lahtela
362d1d4e0b
Update versions.txt 2022-02-11 17:53:20 +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
Antti Koponen
229cb18d86
Add 1.18.x support in Curseforge upload workflow (#2266)
Support all the things!!
2022-02-05 07:18:01 +02:00
Aurora Lahtela
dafbb61245
Update versions.txt 2022-02-04 21:46:51 +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