Commit Graph

3658 Commits

Author SHA1 Message Date
Rsl1122
9e825aac24 Disabled SQLite rollbacks on 1.8.8 or older
- SQLite version on 1.8.8 does not support savepoints that are in
  use with Transactions, so they have been disabled.
2019-08-21 10:40:26 +03:00
Rsl1122
98462c3ac4 Improved concurrency access in some places
- FileWatcher should no longer throw ConcurrentModificationException
- SessionCache should no longer throw ConcurrentModificationException
2019-08-21 09:58:05 +03:00
Rsl1122
cd33f6bc32 Disabled systems after all database tests 2019-08-18 10:04:35 +03:00
Rsl1122
ae5a1df7cd Fixed afk tracker config access 2019-08-18 09:45:03 +03:00
Rsl1122
9613c1d7b8 Removed afk permission from map on leave (Memory leak) 2019-08-18 09:40:38 +03:00
Rsl1122
f9389c0ef8 Ported afk permission optimization to sponge
- Sponge AFK listener no longer constantly asks for afk permission
2019-08-18 09:34:16 +03:00
Risto Lahtela
aa4eecbe07
Update versions.txt 2019-08-12 16:13:07 +03:00
Risto Lahtela
b94189a60e
[Merge] Version 4.9.3 (#1141)
PR for version 4.9.3
2019-08-12 16:12:13 +03:00
Rsl1122
b5b08491f8 Fix compile error in test 2019-08-12 15:45:52 +03:00
Rsl1122
1f1a2960f9 Bump version to 4.9.3 2019-08-12 15:25:01 +03:00
Rsl1122
aca1f90dfe Isolated QueryAPI subscribers from one another
- Exceptions no longer block rest from execution.
2019-08-12 15:22:04 +03:00
Rsl1122
8bc47db666 Fixed ViaVersion extension on bungee 2019-08-12 15:11:25 +03:00
Risto Lahtela
d2799a6151
Artifact archiving 2019-08-12 14:33:49 +03:00
Rsl1122
63dcc63287 Fixed scope of platform dependencies on a dependency 2019-08-12 11:26:26 +03:00
Rsl1122
e100068e78 Registered advanced ban listeners
Affects issues:
- Close #1135
2019-08-12 11:04:03 +03:00
Rsl1122
b87f715492 Updated extensions with sql bug
- Replaces REMOVE with DELETE in AAC, nuVotifier, ProtcolSupport &
  ViaVersion extensions
- ViaVersion extension factory no longer split into many

Affects issues:
- Close #1137
2019-08-12 10:15:40 +03:00
Rsl1122
e66b63281d Made build in extension registration more resistant:
- Attempt to reduce the amount of exceptions that might slip through
  and fail to start Plan

Affects issues:
- Close #1134
2019-08-12 09:32:18 +03:00
dependabot-preview[bot]
3ab4d2b68a Bump org.sonarqube from 2.7 to 2.7.1 in /Plan
Bumps org.sonarqube from 2.7 to 2.7.1.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 06:25:02 +00:00
dependabot-preview[bot]
6f32d4929c Bump slf4jVersion from 1.7.27 to 1.7.28 in /Plan
Bumps `slf4jVersion` from 1.7.27 to 1.7.28.

Updates `slf4j-nop` from 1.7.27 to 1.7.28
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.27...v_1.7.28)

Updates `slf4j-api` from 1.7.27 to 1.7.28
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.27...v_1.7.28)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 06:18:10 +00:00
dependabot-preview[bot]
650e3998e4 Bump jacoco-maven-plugin from 0.8.3 to 0.8.4 in /PlanPluginBridge
Bumps [jacoco-maven-plugin](https://github.com/jacoco/jacoco) from 0.8.3 to 0.8.4.
- [Release notes](https://github.com/jacoco/jacoco/releases)
- [Commits](https://github.com/jacoco/jacoco/compare/v0.8.3...v0.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-12 06:11:45 +00:00
Rsl1122
1ef4b61319 Removed vintage engine (JUnit 4) dependency 2019-08-10 09:19:15 +03:00
Rsl1122
5dca308e18 Replaced JUnit 4 imports 2019-08-10 08:57:12 +03:00
Rsl1122
b1a299a9b2 Moved Velocity tests to JUnit 5 2019-08-10 08:51:09 +03:00
Rsl1122
cc8d7b8e9f Moved Sponge tests to JUnit 5 2019-08-10 08:40:21 +03:00
Rsl1122
c3f9d77698 Moved Bukkit tests to JUnit 5 2019-08-10 08:36:14 +03:00
Rsl1122
b5fb947724 Moved Bungee tests to JUnit 5 2019-08-10 08:15:43 +03:00
Rsl1122
0e18a4221a Bump org.sonarqube to version 2.7.1 2019-08-09 19:55:50 +03:00
Rsl1122
68cb7d9121 Changed jacoco report directory 2019-08-09 18:30:43 +03:00
Risto Lahtela
fe99c621f0
Update versions.txt 2019-08-09 10:19:58 +03:00
Risto Lahtela
c9421d9528
[Merge] Version 4.9.2 (#1133)
PR for version 4.9.2
2019-08-09 10:18:23 +03:00
Rsl1122
6a9fe25f14 Bump version to 4.9.2 2019-08-09 09:47:08 +03:00
Rsl1122
a802a56223 Updated Server platform versions
- Updated Bukkit versions to 1.13.2
  - Removed RegisterCommandFilter due to removed dependencies
  - Added api-version: 1.13 to plugin.yml
- Updated Bungee to 1.13

Affects issues:
- Close #1086
2019-08-09 09:42:33 +03:00
Rsl1122
eba36e45a5 Added nuVotifier to softdepend 2019-08-09 09:22:26 +03:00
Risto Lahtela
b05ca2e5eb
Enforced some upper-limit checkstyle rules (#1132)
* Checkstyle: Enforced catch parameter name

* Checkstyle: Enforced ClassFanOutComplexity 85

* Checkstyle: Enforced ClassTypeParameterName

* Checkstyle: Enforced CommentsIndentation

* Checkstyle: Enforced CovariantEquals

* Checkstyle: Enforced CyclomaticComplexity 18

* Checkstyle: Enforced DefaultComesLast

* Checkstyle: Enforced EmptyCatchBlock

* Checkstyle: Enforced EmptyForIteratorPad

* Checkstyle: Enforced EmptyStatement

* Checkstyle: Enforced FileLength 1750

* Checkstyle: Enforced GenericWhitespace

* Checkstyle: Enforced HideUtilityClassConstructor

* Checkstyle: Enforced IllegalInstantiation

* Checkstyle: Enforced IllegalThrows

* Checkstyle: Enforced LambdaParameterName

* Checkstyle: Enforced LineLength 3000

* Checkstyle: Enforced MissingOverride

* Checkstyle: Enforced PackageAnnotation

* Checkstyle: Enforced NestedTryDepth 1

* Checkstyle: Enforced UnnecessaryParentheses

* Checkstyle: Enforced MethodLength 150

* Checkstyle: Enforced NoWhitespaceAfter
2019-08-09 09:02:46 +03:00
Rsl1122
cf21eccbdf Enabled jacoco xml report 2019-08-08 21:01:48 +03:00
Risto Lahtela
df80790672
Update versions.txt 2019-08-08 14:46:23 +03:00
Rsl1122
79a22c1ee5 Updated ProtocolSupport extension
- Disables ProtocolSupport join listener if ViaVersion is present

Affects issues:
- Close #1124
2019-08-08 14:11:32 +03:00
Rsl1122
24831c7246 Updated APF & changed reloading
Reloads are now done with a separate Thread instead of a task
to avoid exceptions if the reload task is cancelled while the
plugin is being reloaded.

Affects issues:
- Close #1125
2019-08-08 11:42:33 +03:00
Rsl1122
a129c24e7a Added PKCS12 support
Affects issues:
- Close #1102
2019-08-08 10:13:43 +03:00
Risto Lahtela
8fe59ae83c
Parallel test execution, moved clean-up 2019-08-07 14:58:52 +03:00
Rsl1122
8d62cd78ab Updated nuVotifier Extension to R0.2
Affects issues:
- Close #1123
2019-08-07 14:39:17 +03:00
dependabot-preview[bot]
0153bb1a6f Bump slf4jVersion from 1.7.26 to 1.7.27 in /Plan
Bumps `slf4jVersion` from 1.7.26 to 1.7.27.

Updates `slf4j-nop` from 1.7.26 to 1.7.27
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.26...v_1.7.27)

Updates `slf4j-api` from 1.7.26 to 1.7.27
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.26...v_1.7.27)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-07 09:59:44 +00:00
Risto Lahtela
84e30e09dc
Removed --no-daemon flag 2019-08-07 09:29:53 +03:00
dependabot-preview[bot]
858b64a5ae Bump caffeine from 2.7.0 to 2.8.0 in /Plan
Bumps [caffeine](https://github.com/ben-manes/caffeine) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/ben-manes/caffeine/releases)
- [Commits](https://github.com/ben-manes/caffeine/compare/v2.7.0...v2.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-07 05:52:20 +00:00
Rsl1122
484f3d5976 Fixed some code smells
! Removed BukkitImporter#getNames
- Refactored duplicate code in PerServerAggregateQueries
- Refactored duplicate code in BaseUserQueries
- Refactored duplicate code in GeoInfoQueries
- Refactored duplicate code in PingQueries
- Refactored duplicate code in 3 patches
- Refactored many duplicated string literals (SQL)
! Removed unnecessary Exception in GeoInfoStoreTransaction
2019-08-06 22:34:50 +03:00
Rsl1122
846cce0eed Changed Database tests to JUnit 5
Affects issues:
- Close #1110
2019-08-06 14:35:13 +03:00
Rsl1122
239f087f41 Database preparing test utility 2019-08-06 13:49:13 +03:00
Rsl1122
a28e1e0a64 Removed SeleniumDriver JUnit 4 rule 2019-08-06 13:21:34 +03:00
Rsl1122
59b33d5ff8 Parallel gradle execution where possible 2019-08-06 12:16:28 +03:00
Rsl1122
b8cc29e7ee Added a pre-commit script 2019-08-06 12:16:28 +03:00