Commit Graph

3973 Commits

Author SHA1 Message Date
Risto Lahtela
52b425360d
Update README.md 2019-10-22 10:26:12 +03:00
Risto Lahtela
44b7e25bb5
Update README.md 2019-10-20 15:09:41 +03:00
Risto Lahtela
9909507360
Update versions.txt 2019-10-19 14:40:11 +03:00
Rsl1122
d20427ca5e Fixed some warnings reported by tools 2019-10-19 14:17:58 +03:00
Rsl1122
194bbe9850 Tests against Activity index calculation mismatch 2019-10-19 14:09:29 +03:00
Rsl1122
d17a962505 Prevented unregistered player export
Error was reported on Discord that exporting on join sometimes
caused a BadRequestException

A check was added to prevent exporting non-registered players.
2019-10-19 13:56:04 +03:00
Rsl1122
2c714fe4e9 Improved Webserver Exception handling
- BindException printed a stacktrace on console.
- Bungee threw EnableException with Webserver disabled

- Now writes a easy to read error about bind error
- No longer mandates webserver to start on Bungee (Export possible).

Affects issues:
- Invalidate / Close #1184
2019-10-19 13:38:31 +03:00
Rsl1122
50a0e3ccdd Changed export open options
FlatIcon_circle.png is truncated to 0 bytes on second write.

Added WRITE Open option to the FileOutputStream

Affected issues:
- Possibly fixed #1194
2019-10-19 13:18:15 +03:00
Rsl1122
e41b270f1b Fix recursive replacement in NetworkPageExporter
A replacer could replace same String multiple times and produce
../../../../server/ instead of intended ../server/

Changed method call from replace to replaceOnce
A single instance of server/ exists in the file.

Affected issues:
- Possibly fixed #1195
2019-10-19 13:07:07 +03:00
Rsl1122
d07c83e111 Increased JSON request timeout
Some JSON requests were timing out with slow internet speeds.

Request timeout increased: 20s -> 45s

Affects issues:
- Close #1185
2019-10-19 12:52:21 +03:00
Rsl1122
c46eac3121 Fixed 3 H2 SQL Errors
Three different SQL queries were causing errors on a H2 database.

Found causes:
- [42001-199] Extra parentheses around subquery: '... FROM (subquery)'
- [HY004 not found] H2 performs query type checks at compile time and
  thus parametized  variables inside SELECT need to be implicitly cast
  to a type

Fixes:
- Removed extra parentheses around 2 queries
- Added a cast to CHAR to a query

Affects issues:
- Fixed #1183
2019-10-19 12:46:32 +03:00
Rsl1122
ce8a5d331f Reproduced errors in #1183 2019-10-19 12:46:30 +03:00
Rsl1122
549cad4da5 Use getDouble with SQL function AVG()
MySQL that restricts float being queried with getLong caused an
SQLException

All usages of getLong with AVG function replaced with
getDouble cast to long.

Affects issues:
- Fixed #1181
2019-10-19 12:42:25 +03:00
Rsl1122
68c845e71b Use getDouble with SQL function AVG()
MySQL that restricts float being queried with getInt caused an
SQLException

All usages of getInt with AVG function replaced with
getDouble cast to int.

Affects issues:
- Fixed #1181
2019-10-19 00:06:46 +03:00
Rsl1122
55401c86c1 Removed usage of Server name in JS
Improper sanitation was causing issues when server name contained
a single quote symbol.

.server-name replacement was not in use so the offending line of
JS code could be removed.

Affects issues:
- Fixed #1191
2019-10-19 00:00:33 +03:00
Rsl1122
a5fbe76c39 Updated AdvancedBan Extension to newer version
Reported StringIndexOutOfBoundsException was likely caused by
AdvancedBans giving something else than UUID with getUuid() method.

Fixed by rejecting Strings smaller than 32 characters
(UUID with dashes is 36)

Affects issues:
- Fixed #1192
2019-10-18 23:57:45 +03:00
Rsl1122
18c4b23e1f Updated NucleusExtension to newer version
Reported NoSuchMethodError did not seem to make sense.
Compiled the extension with newest api version to get it fixed.

Affects issues:
- Possibly fixed #1196
2019-10-18 23:48:03 +03:00
dependabot-preview[bot]
cd911c552d Bump mysql-connector-java from 8.0.17 to 8.0.18 in /Plan
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.17 to 8.0.18.
- [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>
2019-10-14 05:52:30 +00:00
dependabot-preview[bot]
9d8241b116 Bump gson from 2.8.5 to 2.8.6 in /Plan
Bumps [gson](https://github.com/google/gson) from 2.8.5 to 2.8.6.
- [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.5...gson-parent-2.8.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-07 08:43:22 +00:00
Rsl1122
de5635d9bd Fixed dependency scope (GriefDefender) 2019-10-06 11:49:28 +03:00
Rsl1122
de0e71333c Registered GriefDefender Extension 2019-10-06 11:39:51 +03:00
Rsl1122
774fe39415 Updated Essentials Extension
+ Economy support by Vankka
2019-10-06 11:39:50 +03:00
Risto Lahtela
dcf47f1120
Removed comment from Webserver.Disable_Webserver (#1180) 2019-10-06 11:38:32 +03:00
Risto Lahtela
d05ece6106
Fixed exception on Caller.updatePlayer (#1179)
* Caller.updatePlayer(null, null) now fails silently
* Updated DKBans Extension

Fixes update call with null UUID

Affects issues:
- Close #1176
2019-10-06 11:07:21 +03:00
Risto Lahtela
0c38f6f8c6
Create release-drafter.yml 2019-10-06 11:02:23 +03:00
Risto Lahtela
e5136dbed2
Disabled CoreProtect Extension (#1178)
Affects issues:
- Close #1165
2019-10-06 10:43:35 +03:00
Risto Lahtela
f75adde86e
Update README.md 2019-10-05 11:46:18 +03:00
Risto Lahtela
dfac01e29f
Update versions.txt 2019-10-05 11:32:36 +03:00
Rsl1122
7581968e27 Fixed javadoc errors 2019-10-05 11:27:19 +03:00
Risto Lahtela
69efa14825
[Merge] Version 5.0 (#1175) 2019-10-05 10:35:02 +03:00
Rsl1122
e4962cc578 Release Candidate -> Release 2019-10-05 09:29:41 +03:00
Rsl1122
02e2b29d01 Registered DKCoins extension by Vankka 2019-10-05 09:21:08 +03:00
Rsl1122
177c0af7d2 Fixed catch in Placeholder registering 2019-10-04 20:22:57 +03:00
Rsl1122
84853ccec2 3 wide tables now go to their own tab 2019-10-04 20:20:42 +03:00
Rsl1122
4c55c642bd Fixed Placeholder Registration on Bukkit 1.14 2019-10-04 20:20:41 +03:00
Rsl1122
00de6e535e Escaped escape characters for /v1/players 2019-10-04 10:36:39 +03:00
Rsl1122
b5bed1e77e Fixed checkstyle error 2019-10-03 23:10:05 +03:00
Rsl1122
37a69b60d9 Registered DKBans Extension 2019-10-03 21:10:14 +03:00
Rsl1122
2f32035845 Fixed /server page on exported /network page 2019-10-02 20:38:02 +03:00
Rsl1122
d58d6d231e Fixed /server, /player links in exported pages 2019-10-02 20:15:39 +03:00
Rsl1122
9520f95f36 Fixed exported /players page 2019-10-02 20:10:32 +03:00
Rsl1122
fb205cb3e0 Fixed redirect loop 2019-10-02 19:33:04 +03:00
Rsl1122
02f37f7b62 Fixed exception on AdvancedBan '/ban Player' 2019-10-02 19:27:34 +03:00
dependabot-preview[bot]
9d127fb70c Bump mockito-junit-jupiter from 3.0.0 to 3.1.0 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.0.0...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 07:06:25 +00:00
dependabot-preview[bot]
8106851cac Bump mockito-core from 3.0.0 to 3.1.0 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.0.0...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 06:44:22 +00:00
dependabot-preview[bot]
8e27fdd346 Bump org.sonarqube from 2.7.1 to 2.8 in /Plan
Bumps org.sonarqube from 2.7.1 to 2.8.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-02 06:38:27 +00:00
Rsl1122
d90273da50 Redirect on an invalid server address 2019-10-02 09:37:40 +03:00
Rsl1122
aebf6c0b25 Escaped backslashes in names (json) 2019-10-02 09:33:07 +03:00
Rsl1122
20ee5c2533 Fixed error on config file update 2019-10-01 14:30:56 +03:00
Rsl1122
63d08ae4db Relative font-size reduction 2019-10-01 11:21:34 +03:00