Commit Graph

4787 Commits

Author SHA1 Message Date
Risto Lahtela
470ce633cb Catch more errors in extension data gathering 2021-04-25 10:41:55 +03:00
Risto Lahtela
37a9bb10cd Fixed player table_row patch not being applied 2021-04-25 10:41:38 +03:00
Risto Lahtela
24438a5204 Update Tebex Extension
- Fixed download logic

Affects issues:
- Fixed #1865
2021-04-25 10:16:15 +03:00
Risto Lahtela
3df7be9ee9 Fixed dumb infinite recursion
Affects issues:
- Fixed the second issue in #1866
2021-04-25 09:54:46 +03:00
Risto Lahtela
4cf5b79b15 Check against symlinks every time when creating directories
Affects issues:
- Fixed #1866
2021-04-24 09:58:43 +03:00
Risto Lahtela
ad85679899 Fixed reserved keyword being used for a column name
row_number is apparently a function in MySQL.
2021-04-23 15:33:54 +03:00
Risto Lahtela
c6507016cd Fixed players page links with directory reverse-proxies 2021-04-23 15:11:03 +03:00
Risto Lahtela
6f73af4719 Delete old dependency cache directories 2021-04-23 10:40:09 +03:00
Risto Lahtela
6643e442c1 Sorted out build issues 2021-04-23 10:39:36 +03:00
Risto Lahtela
b6f1bb22c8 Updated PlatformAbstraction layer
- Replace usage of DepDownloader with MVNLoader

Affects issues:
- Fixed #1839
2021-04-23 10:23:50 +03:00
Risto Lahtela
c627e5b88e Sort Extension data by value if something is a number
Affects issues:
- Fixed #1399
2021-04-23 09:31:29 +03:00
Risto Lahtela
3961e251ca Sort Extension dates formatted MMM d yyyy, HH:mm
Since data tables supports sorting by value and it is possible to parse
using the same formatter that the extensions use, it is possible to support
sorting by dates.

Affects issues:
- Fixed #1305
2021-04-23 09:29:44 +03:00
Risto Lahtela
18a1708a09 Updated Floodgate extension
- Added bedrockUsername to the where clause on the update statement
  to prevent insertion of duplicate data.
  Unfortunately removing UNIQUE constraints would require recreation of the table,
  and detecting the constraint would be more effort to implement
  - this might make some data inaccurate but it is what it is.

Affects issues:
- Fixed #1825
2021-04-23 09:16:29 +03:00
Risto Lahtela
b87208a649 Clean-up updateGraphs function
Affects:
- #1861
2021-04-23 09:06:16 +03:00
Risto Lahtela
9ccbda0ebd Use exceptionally instead of handle in SQLDB
The wrong method was in use for error handling completable future
2021-04-23 09:01:59 +03:00
Risto Lahtela
bd7336b411 Plan API 5.2-R0.9: Fixed access issue with package private classes
Affects issues:
- Fixed #1862
2021-04-23 08:56:11 +03:00
Antti Koponen
e70158250f
Fix Highcharts dark mode switching (#1861)
* Fix Highcharts dark mode switching

Dark/light mode wasn't getting applied because of empty graph objects in the graphs array. Includes a hack for Highcharts directly mutating the passed theme object on every update() call.
2021-04-23 08:39:16 +03:00
dependabot-preview[bot]
3f275fd7e4 Bump dagger-compiler from 2.34.1 to 2.35 in /Plan
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.34.1 to 2.35.
- [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.34.1...dagger-2.35)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-23 05:36:41 +00:00
dependabot-preview[bot]
5dc642759b Bump dagger from 2.34.1 to 2.35 in /Plan
Bumps [dagger](https://github.com/google/dagger) from 2.34.1 to 2.35.
- [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.34.1...dagger-2.35)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-23 05:25:35 +00:00
Risto Lahtela
fdc59c535d Updated Quests Extension
- Fixed some mistakes in the SQL

Affects issues:
- Fixed #1857
2021-04-22 09:48:08 +03:00
Risto Lahtela
ac68d9af01 Registered FastLogin extension
- Tracks PremiumStatus for players

Affects issues:
- Close #1599
2021-04-22 09:28:18 +03:00
Risto Lahtela
058b3f8d0e Fixed row_number patches when an old version added data to the database after 2021-04-22 08:54:16 +03:00
dependabot-preview[bot]
8c0f2b1106 Bump gradle-aggregate-javadocs-plugin from 2.2.+ to 3.0.1 in /Plan
Bumps [gradle-aggregate-javadocs-plugin](https://github.com/nebula-plugins/gradle-aggregate-javadocs-plugin) from 2.2.+ to 3.0.1.
- [Release notes](https://github.com/nebula-plugins/gradle-aggregate-javadocs-plugin/releases)
- [Commits](https://github.com/nebula-plugins/gradle-aggregate-javadocs-plugin/commits/v3.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-22 05:33:02 +00:00
Risto Lahtela
b4eac7511c
Update versions.txt 2021-04-21 18:03:22 +03:00
Risto Lahtela
f26289c445 Registered AuthMe Extension
- Displays alts with same IPS
- Displays last login date

Affects issues:
- Close #1552
2021-04-21 08:49:32 +03:00
Antti Koponen
5216e854f5
Fix NPE with invalid placeholders (#1856)
Cache task was using Objects.requireNonNull which threw an NPE if an invalid placeholder was given. If this is the case, refrain from storing the value in the cache.
2021-04-21 07:58:30 +03:00
Yannick Schinko
91ea079e28
Add offline player support for PAPI (#1855)
Affects issues:
- Fixed #1854
2021-04-21 07:57:44 +03:00
Risto Lahtela
1a19ec85f6 Hide player tables from server page with a special field
- values_for differentiates between different table server and player tables
  It is an INT field because Groups might get their tables at some point.

  0 for player
  1 for server
  (2 for group)

Affects issues:
- Fixed #1722
2021-04-20 10:34:10 +03:00
dependabot-preview[bot]
148ee6ae57 Bump mysql-connector-java from 8.0.23 to 8.0.24 in /Plan
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.23 to 8.0.24.
- [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)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-20 05:30:46 +00:00
Yannick Schinko
23509ae69a
Changed gradle warpper to bin distribution (#1852)
That is *significantly* smaller to download. And devs don't need the docs locally.
2021-04-20 08:27:12 +03:00
Yannick Schinko
330dc17035
Added "_raw" placeholder variants for further processing (#1851)
These placeholders can be more easily used to be processed in plugins that process placeholders (like scoreboards)
2021-04-20 08:26:15 +03:00
Risto Lahtela
b1ebf55ce1 Registered ProtectionStones extension
- Adds 3 tables: Owned regions, Member regions and Homes

Affects issues:
- Close #1840
2021-04-19 10:37:24 +03:00
Risto Lahtela
0161f40419 Update Litebans extension
- Added a datapoint for player names of players who connected with the same IP

Affects issues:
- Close #1813
2021-04-18 20:32:28 +03:00
Risto Lahtela
8853793de1 Moved operator status transaction to further down the join event pipeline
Affects issues:
- #1827
2021-04-18 09:34:39 +03:00
Risto Lahtela
74a36a7a7a Added average tps to "During low tps spikes" 2021-04-18 09:26:03 +03:00
Risto Lahtela
599bf4a837 LargeStoreQueries now stores missing world names as well.
Affects issues:
- Fixed #1848
2021-04-18 09:23:09 +03:00
Risto Lahtela
acf15a1e86 Registered KingdomsX Extension
Affects issues:
- Close #1608
2021-04-17 09:43:55 +03:00
Risto Lahtela
2247b9099c Plan API 5.2-R0.8: Reduced builder compiler errors 2021-04-17 09:40:07 +03:00
Risto Lahtela
9bf0838026 Plan API 5.2-R0.7: Group method databuilders & reduced builder compiler errors 2021-04-17 09:35:18 +03:00
Risto Lahtela
1c946e7490 Added missing server UUID to operator and ban status transactions
Affects issues:
- #1827
2021-04-17 08:24:42 +03:00
Risto Lahtela
62b387da53 Add missing server parameter to join address pie method call
Affects issues:
- Fixed #1827
2021-04-17 08:09:38 +03:00
Risto Lahtela
5d32a97154 Added the missing Database Patch class files 2021-04-16 16:42:02 +03:00
Risto Lahtela
a8716e533e Rewrote transactions for storing extension table data
Affects issues:
- Possibly fixed #1522
- Possibly fixed #1838
2021-04-16 16:28:03 +03:00
Risto Lahtela
53120ad65a Registered MyPet extension
- Added data about the current pet of the player

Affects issues:
- Close #1230
2021-04-16 10:58:39 +03:00
Risto Lahtela
3e65d46164 Reduced dynamic table limit for extensions to 25 rows
Affects issues:
- Close #1762
2021-04-15 20:24:34 +03:00
Risto Lahtela
a015925751 Updated DKBans Extension
- Handled cases where player might be null

Affects issues:
- Fixed #1847
2021-04-15 20:22:28 +03:00
Risto Lahtela
5f4ee93f5f Stop using Paper virtual address method for join addresses
It is returning some garbage
2021-04-15 20:03:20 +03:00
Risto Lahtela
d1e00da51a Started using player UUID instead of name in URLs
- Changed instances where player name was given in a link instead of UUID where possible
  - Could not change for Extensions where "isPlayerName=true" is set for String data, the UUID is
    not available from the query

- Changed 404 error message to have '/player/{uuid/name}' instead of '/player/PlayerName'
- Changed export directory from names to uuids, change log should recommend export users to clear
  their player directory and to run /plan export players
- Fixed issue where Web users with level 2 could not access their own player page via /player/{uuid}

Affects issues:
- Close #1841
2021-04-15 10:13:32 +03:00
Risto Lahtela
1bded295e2 Fixed "Plan" appearing as server name on session accordion 2021-04-15 09:42:43 +03:00
Risto Lahtela
272defb205 Prevent use of / & and ? in a server name
Affects issues:
- Fixed #1831
2021-04-15 09:42:17 +03:00