Commit Graph

5207 Commits

Author SHA1 Message Date
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
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
Aurora Lahtela
56c5ec95e5
Update versions.txt 2022-01-30 11:15:27 +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
Risto Lahtela
4974aff6be Reduce log level of disabled webserver via config
Affects issues:
- Close #2229
2022-01-09 12:06:03 +02:00
Risto Lahtela
e977e37b6f Bump Litebans extension to R0.3
Fixes the extension not getting new data after 5000 entries
2022-01-07 21:33:35 +02:00
Aurora Lahtela
1d931fb6bc
Update versions.txt 2022-01-06 15:53:33 +02:00
Risto Lahtela
243dc0a748 Fixed tests 2022-01-06 15:50:59 +02:00
Risto Lahtela
a7478645bd Reduce the amount of tasks used for upkeep
- Ping gathering now uses a map of timestamps
  - Removes a task that waited for ping data to be reliable (one task / join)
- Cookie expiration now uses a map of timestamps
  - Removes a task that waited for cookie to expire (one task / login cookie)

Affects issues:
- Possibly fixed #1984
2022-01-06 15:43:48 +02:00
Risto Lahtela
f26e17c437 Fix typo in previous commit 2022-01-06 14:10:17 +02:00
Risto Lahtela
7a3ae85ac4 Cleaned up browser console errors
Affects issues:
- Close #2176
2022-01-06 14:06:21 +02:00
Risto Lahtela
9ae2c07920 Fix IndexOutOfBoundsException if error log is empty
Affects issues:
- Fixed #2224
2022-01-06 13:55:30 +02:00
dependabot[bot]
8bded98f0f
Bump mockito-core from 4.1.0 to 4.2.0 in /Plan (#2208)
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.1.0...v4.2.0)

---
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>
2021-12-17 09:33:45 +02:00
dependabot[bot]
53703efd65
Bump mockito-junit-jupiter from 4.1.0 to 4.2.0 in /Plan (#2207)
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.1.0...v4.2.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>
2021-12-17 09:33:03 +02:00
dependabot[bot]
71b0f9ce36
Bump dagger-compiler from 2.40.4 to 2.40.5 in /Plan (#2194)
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.40.4 to 2.40.5.
- [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.4...dagger-2.40.5)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger-compiler
  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>
2021-12-15 17:10:27 +02:00
dependabot[bot]
ae77be3ee1
Bump dagger from 2.40.4 to 2.40.5 in /Plan (#2195)
Bumps [dagger](https://github.com/google/dagger) from 2.40.4 to 2.40.5.
- [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.4...dagger-2.40.5)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  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>
2021-12-15 17:09:25 +02:00