Commit Graph

4334 Commits

Author SHA1 Message Date
Risto Lahtela
e9a5457cd6 Removed some bad test data from geolocation test 2020-08-13 09:49:44 +03:00
Risto Lahtela
460a0e110f Attempt to reduce load when lock wait timeout is exceeded
- Delay is dynamically adjusted if the exception occurs again
- The transaction is attempted again

Affects issues:
- Possibly fixed #1546
2020-08-12 14:07:45 +03:00
Risto Lahtela
fef717cd33 Database open failure now disables the plugin
Affects issues:
- Fixed #1394
2020-08-12 13:27:42 +03:00
Risto Lahtela
57d9a2762c Added a height: auto property to img
Affects issues:
- Possibly fixed #1527
2020-08-12 12:54:13 +03:00
Risto Lahtela
dd9c8428a1 Enabled Sponge Webserver by default
Affects issues:
- Close #1548
2020-08-12 12:42:15 +03:00
Risto Lahtela
9659ef2f08 Added instructions for SQLite corruption
Affects issues:
- Close #1545
2020-08-08 18:04:05 +03:00
Risto Lahtela
89572adb86 Added 'Player Analytics' to a phrase in locale
Allows translation of this line

Affects issues:
- Close #1538
2020-08-08 17:56:50 +03:00
Risto Lahtela
4804d9be9b Skip invalid sessions when adding ping to them
Root cause for invalid sessions unknown

Affects issues:
- Fixed #1544
2020-08-08 17:51:59 +03:00
Risto Lahtela
2b85c75b7f Use utf8mb4 by default on every VARCHAR field on MySQL
Added instructions for users experiencing errorcode 1366

Affects issues:
- Fixed #1509
2020-08-08 17:49:15 +03:00
Risto Lahtela
01ffe8cbe1 Added more context for errorcode 1213
There was not enough context to appropriately figure out if the
exception was logged due to 3 attempts failing beforehand.

Attempt limit was increased to 5

Affects issues:
- Close #1522
2020-08-08 17:31:22 +03:00
Risto Lahtela
b2b983b05a Tell what to do when missing MySQL privilege
Affects issues:
- Close #1510
2020-08-08 17:20:17 +03:00
Risto Lahtela
9e235518b3 Escape json data in /v1/players endpoint
Improper serialization was causing issues loading the page

Affects issues:
- Fixed #1516
2020-08-08 17:16:15 +03:00
Risto Lahtela
23b9d79dca Moved bukkit ping method check to enable
This static block was causing compatibility issues with some plugins that
modify classes at runtime.

Affects issues:
- Possibly fixed #1492
- References https://github.com/konsolas/AAC-Issues/issues/1971
2020-08-08 17:02:20 +03:00
dependabot-preview[bot]
0f0e425e9b Bump mockito-core from 3.4.4 to 3.4.6 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.4.4 to 3.4.6.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.4.4...v3.4.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-30 05:54:49 +00:00
Saph1s
f40941868a
Update to locale_RU.txt by Saph1s (#1537)
New phrases have been translated
2020-07-30 08:53:44 +03:00
dependabot-preview[bot]
b9e64e770f Bump mockito-junit-jupiter from 3.4.4 to 3.4.6 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.4.4 to 3.4.6.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.4.4...v3.4.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-30 05:46:40 +00:00
dependabot-preview[bot]
c2d537421d Bump commons-text from 1.8 to 1.9 in /Plan
Bumps commons-text from 1.8 to 1.9.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 05:59:37 +00:00
dependabot-preview[bot]
65c4760da2 Bump dagger from 2.28.1 to 2.28.3 in /Plan
Bumps [dagger](https://github.com/google/dagger) from 2.28.1 to 2.28.3.
- [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.28.1...dagger-2.28.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-24 05:48:41 +00:00
dependabot-preview[bot]
b1e6a4e1ff Bump dagger-compiler from 2.28.1 to 2.28.3 in /Plan
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.28.1 to 2.28.3.
- [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.28.1...dagger-2.28.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-24 05:39:58 +00:00
dependabot-preview[bot]
a192558e2b Bump sqlite-jdbc from 3.32.3 to 3.32.3.1 in /Plan
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.32.3 to 3.32.3.1.
- [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.32.3...3.32.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-24 05:39:23 +00:00
dependabot-preview[bot]
7f88c448ca Bump mockito-core from 3.4.2 to 3.4.4 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.4.2 to 3.4.4.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.4.2...v3.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 06:12:34 +00:00
dependabot-preview[bot]
5a3d2aa9a1 Bump bungeecord-api from 1.16-R0.2 to 1.16-R0.3 in /Plan
Bumps [bungeecord-api](https://github.com/SpigotMC/BungeeCord) from 1.16-R0.2 to 1.16-R0.3.
- [Release notes](https://github.com/SpigotMC/BungeeCord/releases)
- [Commits](https://github.com/SpigotMC/BungeeCord/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 06:04:26 +00:00
dependabot-preview[bot]
a5a96e5a3b Bump mockito-junit-jupiter from 3.4.2 to 3.4.4 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.4.2 to 3.4.4.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.4.2...v3.4.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 06:04:00 +00:00
dependabot-preview[bot]
f858c58089 Bump mockito-junit-jupiter from 3.4.0 to 3.4.2 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.4.0 to 3.4.2.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.4.0...v3.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-17 05:54:35 +00:00
dependabot-preview[bot]
19c2b88893 Bump mockito-core from 3.4.0 to 3.4.2 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.4.0 to 3.4.2.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.4.0...v3.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-17 05:47:13 +00:00
dependabot-preview[bot]
3d29aa0d98 Bump commons-lang3 from 3.10 to 3.11 in /Plan
Bumps commons-lang3 from 3.10 to 3.11.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-17 05:45:45 +00:00
dependabot-preview[bot]
95cd7ea9bd Bump mockito-junit-jupiter from 3.3.3 to 3.4.0 in /Plan
Bumps [mockito-junit-jupiter](https://github.com/mockito/mockito) from 3.3.3 to 3.4.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.3.3...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 10:36:47 +00:00
dependabot-preview[bot]
564a6ab537 Bump mockito-core from 3.3.3 to 3.4.0 in /Plan
Bumps [mockito-core](https://github.com/mockito/mockito) from 3.3.3 to 3.4.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v3.3.3...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 10:26:46 +00:00
dependabot-preview[bot]
dd214ff201 Bump mysql-connector-java from 8.0.20 to 8.0.21 in /Plan
Bumps [mysql-connector-java](https://github.com/mysql/mysql-connector-j) from 8.0.20 to 8.0.21.
- [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>
2020-07-13 10:25:23 +00:00
dependabot-preview[bot]
165cc44a8f Bump bungeecord-api from 1.16-R0.1 to 1.16-R0.2 in /Plan
Bumps [bungeecord-api](https://github.com/SpigotMC/BungeeCord) from 1.16-R0.1 to 1.16-R0.2.
- [Release notes](https://github.com/SpigotMC/BungeeCord/releases)
- [Commits](https://github.com/SpigotMC/BungeeCord/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 10:24:55 +00:00
Risto Lahtela
4b83a2b5d3
Update versions.txt 2020-06-27 12:37:51 +03:00
Rsl1122
da7c3a0f97 Removed infinite loop from error logging.
God damn it was a dumb mistake again

Affects issues:
- Fixed #1491
2020-06-27 12:22:43 +03:00
Rsl1122
e86e55785f Added test case for suppressed error logging 2020-06-27 12:13:02 +03:00
Rsl1122
3524b96536 Reproduced issue #1491 in a unit test
Exception with a cause runs into an infinite loop.
2020-06-27 12:08:00 +03:00
dependabot-preview[bot]
d7cfb8f5ca Bump bungeecord-api from 1.13-SNAPSHOT to 1.16-R0.1 in /Plan
Bumps [bungeecord-api](https://github.com/SpigotMC/BungeeCord) from 1.13-SNAPSHOT to 1.16-R0.1.
- [Release notes](https://github.com/SpigotMC/BungeeCord/releases)
- [Commits](https://github.com/SpigotMC/BungeeCord/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-25 05:43:30 +00:00
dependabot-preview[bot]
ac29aa235b Bump dagger-compiler from 2.28 to 2.28.1 in /Plan
Bumps [dagger-compiler](https://github.com/google/dagger) from 2.28 to 2.28.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.28...dagger-2.28.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 05:52:59 +00:00
dependabot-preview[bot]
295785255c Bump dagger from 2.28 to 2.28.1 in /Plan
Bumps [dagger](https://github.com/google/dagger) from 2.28 to 2.28.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.28...dagger-2.28.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 05:44:39 +00:00
dependabot-preview[bot]
70e4dbc50b Bump sqlite-jdbc from 3.31.1 to 3.32.3 in /Plan
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.31.1 to 3.32.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.31.1...3.32.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 06:06:55 +00:00
Risto Lahtela
5cf414223e
Update README.md 2020-06-19 22:13:15 +03:00
Risto Lahtela
f951488e39
Update versions.txt 2020-06-19 19:13:05 +03:00
Risto Lahtela
ca9a5cee93 Implemented IP Whitelist
Whitelist allows limiting which IP addresses can view the page.

Affects issues:
- Close #1405
2020-06-19 17:25:02 +03:00
Risto Lahtela
c66af02477 Fixed several commands running database queries on server thread 2020-06-19 16:48:15 +03:00
Risto Lahtela
f62e76bcf5 Fix plan unregister permission check
- If the permission check was false, due to && the deletion would complete.
  This seems like a thought error when trying to figure out the condition
  for this if clause.

The confusing use of negation was replaced with a more readable
if clause that clearly signifies intent of the check.

Affects issues:
- Fixed #1487
2020-06-19 16:44:00 +03:00
Risto Lahtela
47ef46eb97 Handle null player for PlaceholderAPI
Affects issues:
- Fixed #1493
2020-06-19 16:38:23 +03:00
Risto Lahtela
e0946ebc9d Added missing return statement to InspectCommand
Affects issues:
- Fixed #1494
2020-06-19 16:36:09 +03:00
Risto Lahtela
c5ecc4fbbd Added serverTimezone to default MySQL Launch Options
Affects issues:
- Close #1495
2020-06-19 16:31:42 +03:00
Risto Lahtela
2fa98b4967 Updated error hashing function
- Reduces memory usage by creating a single int instead of StringBuilder.
- Reduces memory usage by reducing new object allocations when building
  readable stacktrace

Affects issues:
- Fixed #1491 (Root cause unknown)
2020-06-19 16:29:53 +03:00
dependabot-preview[bot]
dd99c7cac3 Bump geoip2 from 2.13.1 to 2.14.0 in /Plan
Bumps [geoip2](https://github.com/maxmind/GeoIP2-java) from 2.13.1 to 2.14.0.
- [Release notes](https://github.com/maxmind/GeoIP2-java/releases)
- [Changelog](https://github.com/maxmind/GeoIP2-java/blob/master/CHANGELOG.md)
- [Commits](https://github.com/maxmind/GeoIP2-java/compare/v2.13.1...v2.14.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 05:39:07 +00:00
dependabot-preview[bot]
3c5fd14baa Bump com.github.johnrengelman.shadow from 5.2.0 to 6.0.0 in /Plan
Bumps com.github.johnrengelman.shadow from 5.2.0 to 6.0.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-16 05:38:31 +00:00
Risto Lahtela
7d114d21ce
Removed update notifications for builds 565-600
This is due to issues in the error handling code that could lead to server crashes.
2020-06-14 22:14:36 +03:00