Commit Graph

4013 Commits

Author SHA1 Message Date
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
Rsl1122
b320718f78 Size reduction for screens smaller than 1500px 2019-09-30 20:51:46 +03:00
Rsl1122
de33cb1b4f Encoded player & server names in URLs 2019-09-30 15:53:43 +03:00
Rsl1122
56dae4c829 Fixed db error on reload when export is running 2019-09-30 14:31:22 +03:00
Rsl1122
756851fcc2 ThrowawayTransactions (on database close)
Some transactions can now be ignored on shutdown to reduce hang time.

Affects issues:
- Close #1152
2019-09-30 14:22:03 +03:00
Rsl1122
e6696abffa PlaceholderAPI support (Thanks to aidn5) 2019-09-29 13:00:55 +03:00
Rsl1122
8134bfb436 Fixed exception in RemoveInvalidResultsTransaction 2019-09-29 11:45:11 +03:00
Rsl1122
4d58197adc Fixed timezone issue with all graphs 2019-09-29 10:56:39 +03:00
Aurélien
ce45271c49 Fixed a small TYPO in locale_FR (#1169) 2019-09-29 10:41:18 +03:00
Risto Lahtela
084e3754aa
[Merge] Interface Redesign #1168
Affects issues:
- Close #1021
2019-09-28 12:42:42 +03:00
Risto Lahtela
b78c65dfb3
Update versions.txt 2019-09-28 12:35:40 +03:00