Commit Graph

4957 Commits

Author SHA1 Message Date
Risto Lahtela
8ab1f075e8 Copy over uninstalled servers during db move
This is to preserve playtime of players who played on those servers

Affects issues:
- Fixed #2050
2021-09-10 18:33:41 +03:00
Risto Lahtela
bb20dff61c Disabled failing SQLite timezone test 2021-09-10 18:26:15 +03:00
Risto Lahtela
052843dcee Bump GriefDefender to R0.4 and add adhg6 as contributor 2021-09-10 18:18:35 +03:00
dependabot[bot]
ffcddb61cb
Bump sqlite-jdbc from 3.36.0.2 to 3.36.0.3 in /Plan (#2073)
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.36.0.2 to 3.36.0.3.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases)
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG)
- [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.36.0.2...3.36.0.3)

---
updated-dependencies:
- dependency-name: org.xerial:sqlite-jdbc
  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-08-31 07:12:48 +03:00
dependabot[bot]
46b6fd62a0
Bump mockito-junit-jupiter from 3.12.3 to 3.12.4 in /Plan (#2069)
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.12.3 to 3.12.4.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.3...v3.12.4)

---
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>
2021-08-26 16:07:15 +03:00
dependabot[bot]
bb78d61b90
Bump mockito-core from 3.12.3 to 3.12.4 in /Plan (#2071)
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.12.3 to 3.12.4.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.3...v3.12.4)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  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-08-26 16:04:59 +03:00
dependabot[bot]
7be0b780ef
Bump sqlite-jdbc from 3.36.0.1 to 3.36.0.2 in /Plan (#2070)
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.36.0.1 to 3.36.0.2.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases)
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG)
- [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.36.0.1...3.36.0.2)

---
updated-dependencies:
- dependency-name: org.xerial:sqlite-jdbc
  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-08-26 16:04:26 +03:00
dependabot[bot]
ea145f8188
Bump mockito-core from 3.12.1 to 3.12.3 in /Plan (#2067)
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.12.1 to 3.12.3.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.1...v3.12.3)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  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-08-25 15:30:06 +03:00
dependabot[bot]
0f761b4ff4
Bump mockito-junit-jupiter from 3.12.1 to 3.12.3 in /Plan (#2066)
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.12.1 to 3.12.3.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.1...v3.12.3)

---
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>
2021-08-25 15:29:35 +03:00
dependabot[bot]
b4f6c755f8
Bump mockito-junit-jupiter from 3.12.0 to 3.12.1 in /Plan (#2062)
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.0...v3.12.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>
2021-08-23 07:30:11 +03:00
dependabot[bot]
7d00273bed
Bump gson from 2.8.7 to 2.8.8 in /Plan (#2061)
Bumps [gson](https://github.com/google/gson) from 2.8.7 to 2.8.8.
- [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.7...gson-parent-2.8.8)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  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-08-23 07:29:36 +03:00
dependabot[bot]
c6efc7348d
Bump mockito-core from 3.12.0 to 3.12.1 in /Plan (#2060)
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.0...v3.12.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  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-08-23 07:28:56 +03:00
dependabot[bot]
6014444132
Bump mockito-junit-jupiter from 3.11.2 to 3.12.0 in /Plan (#2056)
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.11.2 to 3.12.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.2...v3.12.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-08-20 15:30:53 +03:00
dependabot[bot]
ffac6c534a
Bump mockito-core from 3.11.2 to 3.12.0 in /Plan (#2057)
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.11.2 to 3.12.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.11.2...v3.12.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-08-20 15:29:53 +03:00
Antti Koponen
5e603ccb3a
Fix Curseforge upload action (#2054) 2021-08-20 07:44:52 +03:00
Risto Lahtela
672ca9c1ef
Update versions.txt 2021-08-19 20:19:10 +03:00
Antti Koponen
48f9a430c5
Fabric platform updates (#2048)
- Increased Gradle max heap to 1 GB to avoid running out of heap space on build
- Added Slimjar for runtime dependency management
- Modified platform logger to parse JUL.Logger-format parameters to log4j format
- Added logic to properly handle InvalidArgumentExceptions with commands
- Updated loom to 0.9.+, fixes annoying console spam when building
- Moved mod JSONs to fabric's resources folder to correctly add refmap key to mixins.json
- Updated mappings & API

Affected issues:
- Fixed #2045
2021-08-09 07:36:15 +03:00
Risto Lahtela
2b257d5373 Add player kill related placeholders
- %plan_player_player_caused_deaths%
- %plan_player_deaths%
- %plan_player_mob_caused_deaths%
- %plan_player_kdr%
- %plan_player_mob_kdr%
- %plan_player_recent_kill_<1-10>%
- %plan_player_recent_death_<1-10>%

Affected issues:
- Close #1312
2021-08-08 16:24:11 +03:00
Risto Lahtela
62cf3ddc6c
Added javascript that calculates average players online for the graph (#2047)
Affects issues:
- Close #1796
2021-08-08 10:53:43 +03:00
Risto Lahtela
b94b4481ae Update FloodGate Extension to R0.2
Ignores LinkageError related to method signature change

Affected issues:
- Close #2004
2021-08-08 09:37:44 +03:00
Risto Lahtela
06bc3d00e7 Update ViaVersion Extension to 4.0.1-R0.1 2021-08-08 09:31:22 +03:00
dependabot[bot]
e066ff7215
Bump io.github.slimjar from 1.2.1 to 1.2.2 in /Plan (#2043)
* Bump io.github.slimjar from 1.2.1 to 1.2.2 in /Plan

Bumps io.github.slimjar from 1.2.1 to 1.2.2.

---
updated-dependencies:
- dependency-name: io.github.slimjar
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

* Added vshnv.tech repository for including the slimjar library jar

* use papermc.io/repo for downloading slimjar dependencies

Affects issues:
- Resolved https://github.com/slimjar/slimjar/issues/52
- Resolved https://github.com/slimjar/slimjar/issues/53

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Risto Lahtela <24460436+AuroraLS3@users.noreply.github.com>
2021-08-08 09:21:44 +03:00
Antti Koponen
d29a94e6a4
Implement SlimJar as a runtime dependency downloader (#1990)
MySQL & SQLite are dynamically (down)loaded to the classpath instead of being shaded.

Affects issues:
- Close #1944
2021-08-07 15:29:54 +03:00
MAXOUXAX
9873eceeb4
Added ViaVersion as an optional dependency on Velocity (#2039) 2021-07-31 19:40:05 +03:00
SkipM4
ff3367834f
locale_CN update by SkipM4 (#2038) 2021-07-30 15:18:52 +03:00
Antti Koponen
7eb5a9d219
Add CurseForge upload workflow (#2036) 2021-07-30 07:09:45 +03:00
Xiang-zi Xie
39918d11da
Locale zh_TW updated by zisunny104 (#2035) 2021-07-29 18:01:11 +03:00
dependabot[bot]
8ffa9d0e3c
Bump dagger-compiler from 2.38 to 2.38.1 in /Plan (#2032)
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.38 to 2.38.1.
- [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.38...dagger-2.38.1)

---
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-07-28 08:30:58 +03:00
dependabot[bot]
8e21b7a41a
Bump dagger from 2.38 to 2.38.1 in /Plan (#2033)
Bumps [dagger](https://github.com/google/dagger) from 2.38 to 2.38.1.
- [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.38...dagger-2.38.1)

---
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-07-28 08:30:29 +03:00
Antti Koponen
75c1e2a39b
Fix fabric ServerProperties binding (#2030) 2021-07-24 16:23:18 +03:00
Risto Lahtela
90990c1482
Update versions.txt 2021-07-24 16:13:28 +03:00
Antti Koponen
5e0fe761b2
Fix getErrorLogger NPE (#2029) 2021-07-24 16:02:24 +03:00
Risto Lahtela
3f8c18e86f Add active session to PlayerContainer when queried
Affects issues:
- Fixed #2022
2021-07-24 15:23:12 +03:00
Antti Koponen
347e945a4c
Use Java 16 when deploying javadocs (#2028) 2021-07-24 14:23:24 +03:00
Antti Koponen
67153e8fc5
Fabric Platform Implemenation (#2018)
Adds a fabric specific Plan module that builds a separate jar.

Co-authored-by: Vankka <vankka.main@gmail.com>
Co-authored-by: DrexHD <nicknamedrex@gmail.com>

Affects issues:
- Close #1956
2021-07-24 14:10:48 +03:00
Antti Koponen
284372613c
Disable shallow clone on actions checkout (#2026) 2021-07-24 14:04:48 +03:00
Risto Lahtela
13cbca6639 Added World Alias Regex setting
This allows grouping worlds together by matching a regex and avoiding thousands of lines if
some plugin generates worlds automatically.

Affects issues:
- Close #1656
2021-07-24 11:39:28 +03:00
Risto Lahtela
a2cface3e0
Implemented a PluginBooleanGroupFilter (#2025)
Affects issues:
- Close #1860
2021-07-24 10:31:03 +03:00
Risto Lahtela
750428a033 Fix WebAssetVersion.yml not being written with 'clean shadowJar' 2021-07-24 09:09:05 +03:00
Emilia Dreamer
a90f003462
Notify about old versions of html customized files (#2014)
Affects issues:
- Close #1995
2021-07-23 17:17:35 +03:00
Antti Koponen
5b6effb77b
Lower MySQL leak detection threshold (#2023) 2021-07-23 16:50:02 +03:00
Antti Koponen
cdbe21fb6f
Build system & pipeline changes (#2024)
* Build system & pipeline changes

- Updated Gradle to 7.1.1 & removed deprecations
- Added Google Maven repository & updated Dagger to 2.38
- Set new options.release parameter for submodules, allows producing Java 8 -compatible bytecode with Java 16 (also ensures that no APIs from a newer version are used)
- Updated workflows to use newer versions of checkout & setup-java
- Added a Gradle dependency cache task to workflows, allows for faster builds

* Cleanup cache after build
2021-07-23 16:49:34 +03:00
Antti Koponen
0ee1e40e4b
Add nightmode undefined check for query graphs (#2021)
Affects issues:
- Fixed #2020
2021-07-23 07:40:27 +03:00
dependabot[bot]
386e45dea6
Bump slf4jVersion from 1.7.31 to 1.7.32 in /Plan (#2019)
Bumps `slf4jVersion` from 1.7.31 to 1.7.32.

Updates `slf4j-nop` from 1.7.31 to 1.7.32
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/commits)

Updates `slf4j-api` from 1.7.31 to 1.7.32
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/commits)

---
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>
2021-07-21 09:38:13 +03:00
dependabot[bot]
83511ed1f7
Bump mysql-connector-java from 8.0.25 to 8.0.26 in /Plan (#2016)
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.25 to 8.0.26.
- [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>
2021-07-20 07:50:13 +03:00
Risto Lahtela
6c26fc529e
Add server name to kill lists (#2013)
* Added server name to kill objects (and changed them a lot)
* Added server name to kill tables

Affects issues:
- Close #1437
2021-07-18 18:07:45 +03:00
Risto Lahtela
84fa3ad4cd
Added server uptime (#2012)
* Wrote a query and utility for getting server uptime
* Added current_uptime to json endpoints
* Load current uptime on the website
* Moved nukkit repo to nukkit module
* Added equals and hashcode to QueryStatement and QueryAPIQuery
* Remove dependency on codemc repository

Affects issues:
- Close #1845
2021-07-18 10:43:38 +03:00
HexedHero
5e53303415
Use Helm avatar for player page (#2010)
Change done by HexedHero
2021-07-17 22:06:38 +03:00
Risto Lahtela
40a36321c5 Added license header to ResourceWriteTask 2021-07-17 17:28:51 +03:00
Risto Lahtela
cd2d0fcb0f Write new html customized Plan web files when Plan enables (no overwrite)
Affects issues:
- Close #1745
2021-07-17 16:28:18 +03:00