Commit Graph

5004 Commits

Author SHA1 Message Date
dependabot[bot]
acef9958c3
Bump mockito-junit-jupiter from 3.12.4 to 4.0.0 in /Plan (#2116)
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.12.4 to 4.0.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.12.4...v4.0.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-27 18:44:41 +03:00
dependabot[bot]
74478071e0
Bump mysql-connector-java from 8.0.26 to 8.0.27 in /Plan (#2136)
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.26 to 8.0.27.
- [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-10-27 18:44:07 +03:00
Aurora Lahtela
ebb1108969
Comment out slimjar related configuration (#2138) 2021-10-27 18:43:14 +03:00
Antti Koponen
2293760e7f
Add user & version JSON endpoints (#2131) 2021-10-18 19:25:25 +03:00
Aurora Lahtela
1908ec1627
Commit 5000 - Update README.md
almost 5 years and 5000 commits.

🥂 Here's to another 5
2021-10-13 18:45:12 +03:00
dependabot[bot]
46c60828e1
Bump selenium-java from 3.141.59 to 4.0.0 in /Plan (#2127)
Bumps [selenium-java](https://github.com/SeleniumHQ/selenium) from 3.141.59 to 4.0.0.
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Commits](https://github.com/SeleniumHQ/selenium/compare/selenium-3.141.59...selenium-4.0.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 18:06:09 +03:00
Emilia Dreamer
4d151d45fa
Specialized Fabric and Sponge version checkers (#2125)
Affects issues:
- Close #936
- Close #2093.
2021-10-13 18:00:20 +03:00
Antti Koponen
bcfd52d76b
Slimjar 1.3.0/1.2.6 & custom Injectables for Fabric and Velocity (#2126)
* Update slimjar to 1.3.0/1.2.6
* Add custom Injectable impl for Fabric module
* Add custom Injectable impl for Velocity
2021-10-13 17:44:34 +03:00
Aurora Lahtela
7d8b797b42
Fix CompositeResolver using its own isAuthRequired method (#2124)
Fixes CompositeResolver using its own isAuthRequired method instead of the child resolver, leading NoAuthResolver to need authentication in some cases.
2021-10-11 20:24:39 +03:00
Emilia Dreamer
bb83adfd51
Floating point tps threshold (#2123)
Affects issues:
- Close #2068
2021-10-11 19:39:21 +03:00
BratishkaErik
31b430ea95
Updated Russian translation by BratishkaErik (#2118) 2021-10-09 17:15:47 +03:00
Aurora Lahtela
b1b9525507
Update versions.txt 2021-10-09 13:39:51 +03:00
Aurora Lahtela
d06c753be1
Query page view server selector (#2117)
Affects issues:
- Close #1829
2021-10-09 13:17:12 +03:00
Risto Lahtela
fd84341a77 Fixed 1.7 bukkit command support
Affects issues:
- Fixed #2105
2021-10-09 13:04:51 +03:00
Risto Lahtela
8d4e1d592b Catch resource write task exception
Affects issues:
- Fixed #2107
2021-10-09 12:49:29 +03:00
dependabot[bot]
daa1973d01
Bump com.github.johnrengelman.shadow from 7.0.0 to 7.1.0 in /Plan (#2112)
Bumps com.github.johnrengelman.shadow from 7.0.0 to 7.1.0.

---
updated-dependencies:
- dependency-name: com.github.johnrengelman.shadow
  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-10-07 17:16:12 +03:00
Antti Koponen
cdfdbd3d0a
Upgrade Highcharts to v9.2.2 (#2114)
* Upgrade Highcharts to v9.2.2
* Ignore color changer error when Highcharts isn't loaded

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

Co-authored-by: Aurora Lahtela <24460436+AuroraLS3@users.noreply.github.com>
2021-10-07 17:09:14 +03:00
dependabot[bot]
19a10c03b0
Bump dagger from 2.39 to 2.39.1 in /Plan (#2110)
Bumps [dagger](https://github.com/google/dagger) from 2.39 to 2.39.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.39...dagger-2.39.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-10-04 15:50:51 +03:00
dependabot[bot]
bc7f0cfdf8
Bump dagger-compiler from 2.39 to 2.39.1 in /Plan (#2111)
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.39 to 2.39.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.39...dagger-2.39.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-10-04 15:50:11 +03:00
Emilia Dreamer
455e7cbb9a
Properly use a component serializer for VelocityCMDSender (#2109) 2021-10-04 15:50:00 +03:00
Antti Koponen
4c682d333f
Don't reload dependencies when reloading plugin (#2108)
Affects issues:
- Fixed #2092
2021-10-03 21:37:05 +03:00
dependabot[bot]
c0904b8a2d
Bump dagger-compiler from 2.38.1 to 2.39 in /Plan (#2103)
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.38.1 to 2.39.
- [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.1...dagger-2.39)

---
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>
2021-10-01 16:01:36 +03:00
dependabot[bot]
7e964531fb
Bump dagger from 2.38.1 to 2.39 in /Plan (#2102)
Bumps [dagger](https://github.com/google/dagger) from 2.38.1 to 2.39.
- [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.1...dagger-2.39)

---
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>
2021-10-01 16:00:57 +03:00
Risto Lahtela
5c618099af Added web-dev related settings
- Customized_files.Path can now be used to choose where Html Customized files are placed
  (Change this to `"<absolute path to git repo>/Plan/common/src/main/resources/assets/plan/web"`
   for easy time developing)
- Customized_files.Enable_web_dev_mode can be used to enable modifications of all files
  as well as bypass resource caching for instant updates on browser refresh.

Adding new files still needs recompiling the plugin, but this should speed up
modifications to existing parts of the website considerably.

- #2098
2021-09-26 14:50:14 +03:00
Risto Lahtela
4258e27a66 Fixed corner case of determineWebAssetModifications step
git log would return empty line for files with no git history.

Added a check that uses current time instead of git log if file is not in git history.
2021-09-26 14:01:07 +03:00
dependabot[bot]
dc8b1c5a3a
Bump junit-jupiter from 5.8.0 to 5.8.1 in /Plan (#2097)
Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.8.0 to 5.8.1.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.8.0...r5.8.1)

---
updated-dependencies:
- dependency-name: org.junit.jupiter: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-09-23 21:34:53 +03:00
Risto Lahtela
e762b8013f Prevent Arrays#asList#remove call
Affects issues:
- Fixed #2096
2021-09-22 19:22:19 +03:00
Antti Koponen
b2b289617e
Use correct release type for CF upload (#2091) 2021-09-18 23:10:29 +03:00
Aurora Lahtela
db7b3db083
Update versions.txt 2021-09-18 23:03:56 +03:00
Antti Koponen
b47fa37cfa
Fix download URL in CF upload workflow (#2090) 2021-09-18 23:01:07 +03:00
Antti Koponen
d6aa07d93f
Fabric fixes (#2089)
* Fix SonarCloud bugs

* Remove color codes from console messages

* Replace version string in mod.json

* Advance dependency initialization to pre-enable hook

* Resolve config folder using correct method
2021-09-18 22:38:12 +03:00
Risto Lahtela
37a6ad86e9 Fix compile issues from previous commit 2021-09-18 22:30:27 +03:00
Risto Lahtela
a5c9a25444 Implemented server name support to server placeholders
Now all server placeholders (Pretty much 75% of all placeholders) can have :server name at the end

Example:
- %server_tps_day:Skyblock%
  or %server_tps_day:97cf2530-dc2f-4443-a245-90708b1deedb%
  or %server_tps_day:1%

Affects issues:
- Close #1323
2021-09-18 22:26:11 +03:00
Risto Lahtela
9d74968919 Bump Extension-GriefDefender to 2.0.0-R0.4 2021-09-18 21:53:09 +03:00
Risto Lahtela
17dae43727 Bump Extension-MarriageMaster to 2.3-R0.3 2021-09-18 21:51:32 +03:00
Risto Lahtela
02c3abaf1b Added a warning about Java 11 being needed for 5.5 2021-09-18 21:41:45 +03:00
Risto Lahtela
5dc3b39741 Catch NullPointerException thrown by some server class loaders
Affects issues:
- Fixed #2074
2021-09-18 21:30:29 +03:00
Risto Lahtela
b3674dfbda Disabled average online players graphing
Affects issues:
- Reopen #1796
2021-09-18 21:25:03 +03:00
Risto Lahtela
4b24cf1cdd Order by different date in start date query
Affects issues:
- Possibly fixed #2080
2021-09-18 21:16:23 +03:00
dependabot[bot]
49ba632477
Bump junit-jupiter from 5.7.2 to 5.8.0 in /Plan (#2083)
Bumps [junit-jupiter](https://github.com/junit-team/junit5) from 5.7.2 to 5.8.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.7.2...r5.8.0)

---
updated-dependencies:
- dependency-name: org.junit.jupiter: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-09-13 08:32:43 +03:00
Antti Koponen
1072dd9ee4
Fix remaining Bootstrap data attributes (#2082)
Affects issues:
- Fixed #2063
2021-09-12 18:56:59 +03:00
Risto Lahtela
d967308afd Order by different date in start date query
Affects issues:
- Possibly fixed #2080
2021-09-11 12:52:37 +03:00
Risto Lahtela
0071190820 Fix compile issues 2021-09-10 19:16:14 +03:00
Risto Lahtela
950cee9e9f Implemented a bunch of new placeholders:
%plan_top_{category}_{timespan}_{i}%

categories: playtime, active_playtime
timespans: month, week, day, total
i: 1 to 10

Affects issues:
- Close #1884
2021-09-10 19:14:32 +03:00
Risto Lahtela
0921d1550f Remove OP->true from fabric AFK permission check
On bukkit default behavior for afk permission is false,
but it was unclear and during fabric implementation also ops were given same
behavior when permissions are not available.

Now OPs no longer have their AFK time ignored.

Affects issues:
- Fixed #2059
2021-09-10 18:42:49 +03:00
Risto Lahtela
372003591d Relocated Plan fabric configuration folder 'mods' -> 'config'
Affects issues:
- Fixed #2055
2021-09-10 18:37:56 +03:00
Risto Lahtela
f1d54bfe84 Remove non-proxy limitation from uninstalled command
After proxy was uninstalled it was not possible to remove the proxy from Plan database.

There was a check against uninstalling proxy servers which caused the issue.

Affects issues:
- Fixed #2053
2021-09-10 18:35:51 +03:00
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