Commit Graph

4158 Commits

Author SHA1 Message Date
ljacqu
6161d95f56 Keep Mockito versions in sync; small fixes after JUnit 5 migration 2023-12-21 17:27:19 +01:00
ljacqu
13087f7322 Replace "InjectDelayed" extension everywhere with Mockito extension
- Remove custom extension and InjectDelayed/BeforeInjecting annotations
- Revert injector version to same stable version as on master
2023-12-20 13:44:24 +01:00
ljacqu
67ec2189b2 Update test dependencies / remove unnecessary public modifiers
- Update JUnit, Hamcrest, Mockito versions
- Remove Hamcrest exclusion from Mockito (they've removed Hamcrest as dependency a long time ago)
- Remove public modifiers from test methods and refactor them to be in line with our usual pattern
2023-12-20 10:12:44 +01:00
ljacqu
ee424378ca Merge branch 'master' into junit5-migration
# Conflicts:
#	src/test/java/fr/xephi/authme/service/GeoIpServiceTest.java
2023-12-20 09:54:07 +01:00
ljacqu
9b93e0e4b6 Disable GeoIP with config: remove field, fix tests 2023-09-24 18:25:54 +02:00
3meraldK
65a272d6cb Config option to disable GeoIP database #2720 2023-09-24 17:26:16 +02:00
ljacqu
2de4a60f3a Revert "Update to ConfigMe 1.4.0"
- ConfigMe uses a different version from SnakeYAML, causing issues because it uses a newer configuration. For now, we stay on 1.3 as a quick fix.
This reverts commit 79309c3c05.
2023-08-24 15:09:50 +02:00
ljacqu
d3a55011c9 Merge remote-tracking branch 'origin/master' into junit5-migration
# Conflicts:
#	src/test/java/fr/xephi/authme/api/v3/AuthMeApiTest.java
#	src/test/java/fr/xephi/authme/output/Log4JFilterTest.java
#	src/test/java/fr/xephi/authme/process/register/AsyncRegisterTest.java
#	src/test/java/fr/xephi/authme/security/crypts/AbstractEncryptionMethodTest.java
#	src/test/java/fr/xephi/authme/service/ValidationServiceTest.java
#	src/test/java/fr/xephi/authme/settings/SettingsWarnerTest.java
#	src/test/java/fr/xephi/authme/settings/commandconfig/CommandManagerTest.java
#	src/test/java/fr/xephi/authme/util/StringUtilsTest.java
2023-08-23 11:12:56 +02:00
ljacqu
79309c3c05 Update to ConfigMe 1.4.0 2023-08-23 07:27:35 +02:00
ljacqu
80c1c2edac Dependabot: Remove ignore entry for unused dependency
- The previous commit specified to ignore mockito-junit-jupiter, which is not used by this project -> remove entry
2023-08-23 06:33:36 +02:00
ljacqu
f098cc0762 Dependabot: Ignore Mockito 5 updates
- Mockito 5 requires Java 11, which we're not yet using
2023-08-23 06:30:31 +02:00
ljacqu
a1b4ccb736
Merge pull request #2735 from Obydux/master 2023-08-02 09:23:07 +02:00
Obydux
550b3a1b69 Minor spelling mistake 2023-07-30 18:43:11 +03:00
Obydux
7bfb79f4dd Actually finish the Lithuanian translation 2023-07-30 17:54:08 +03:00
ljacqu
44b255512d Remove myself from plugin authors list
- I'm still around :) but don't need my username to be part of the log when a MC server crashes :)
2023-07-25 21:38:12 +02:00
dependabot[bot]
7a76050cc7
Bump h2 from 2.1.214 to 2.2.220 (#2726)
Bumps [h2](https://github.com/h2database/h2database) from 2.1.214 to 2.2.220.
- [Release notes](https://github.com/h2database/h2database/releases)
- [Commits](https://github.com/h2database/h2database/compare/version-2.1.214...version-2.2.220)

---
updated-dependencies:
- dependency-name: com.h2database:h2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-16 19:23:27 +02:00
dependabot[bot]
e11f36412f
Bump mariadb-java-client from 3.0.8 to 3.1.4 (#2718)
Bumps [mariadb-java-client](https://github.com/mariadb-corporation/mariadb-connector-j) from 3.0.8 to 3.1.4.
- [Release notes](https://github.com/mariadb-corporation/mariadb-connector-j/releases)
- [Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mariadb-corporation/mariadb-connector-j/compare/3.0.8...3.1.4)

---
updated-dependencies:
- dependency-name: org.mariadb.jdbc:mariadb-java-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-16 19:22:56 +02:00
dependabot[bot]
abcd2640bb
Bump mysql-connector-j from 8.0.31 to 8.0.33 (#2717)
Bumps [mysql-connector-j](https://github.com/mysql/mysql-connector-j) from 8.0.31 to 8.0.33.
- [Changelog](https://github.com/mysql/mysql-connector-j/blob/release/8.0/CHANGES)
- [Commits](https://github.com/mysql/mysql-connector-j/compare/8.0.31...8.0.33)

---
updated-dependencies:
- dependency-name: com.mysql:mysql-connector-j
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-16 19:22:43 +02:00
dependabot[bot]
974e6780a5
Bump EssentialsX from 2.19.7 to 2.20.0 (#2713)
Bumps [EssentialsX](https://github.com/EssentialsX/Essentials) from 2.19.7 to 2.20.0.
- [Release notes](https://github.com/EssentialsX/Essentials/releases)
- [Commits](https://github.com/EssentialsX/Essentials/compare/2.19.7...2.20.0)

---
updated-dependencies:
- dependency-name: net.essentialsx:EssentialsX
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-16 19:22:23 +02:00
dependabot[bot]
b6bf9dabcc
Bump sqlite-jdbc from 3.39.3.0 to 3.42.0.0 (#2712)
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.39.3.0 to 3.42.0.0.
- [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.39.3.0...3.42.0.0)

---
updated-dependencies:
- dependency-name: org.xerial:sqlite-jdbc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-16 19:22:13 +02:00
dependabot[bot]
642ff72ee0
Bump postgresql from 42.5.0 to 42.6.0 (#2711)
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.5.0 to 42.6.0.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.5.0...REL42.6.0)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-16 19:22:03 +02:00
ljacqu
f24d6c5b5f Update translation doc page, add comment for missing entries, fix verifyMessages task 2023-06-21 12:15:57 +02:00
Ramune
df6931d4b1
Add Japanese (#2719) 2023-06-21 12:00:21 +02:00
ljacqu
793ab1d75b
Merge pull request #2634 from AuthMe/dependabot/maven/org.apache.maven.plugins-maven-shade-plugin-3.4.1
Bump maven-shade-plugin from 3.4.0 to 3.4.1
2023-06-20 23:16:47 +02:00
ljacqu
db04fd2a5b Avoid setting field with reflection on a JDK class - fails on newer JDK versions 2023-06-20 17:03:06 +02:00
ljacqu
2e3448ab58
Merge pull request #2707 from haer0248/patch-1
Update messages_zhtw.yml
2023-06-20 15:04:28 +02:00
猫又おにぎり
c4d1c41059
Update messages_zhtw.yml 2023-05-03 13:37:12 +08:00
ljacqu
9fd532d798 Minor: Rename StringUtils#isEmpty to #isBlank
- Better fits the naming used by other tools and also the JDK (String#isBlank as of JDK 11)
2022-12-30 08:44:29 +01:00
ljacqu
779e62674e #2661 Remove mocks of InetAddress (which is a sealed class in JDK 19)
- Remove mocks of InetAddress in favor of using real InetAddress instances. This fixes test issues under JDK 19, where InetAddress has been changed to a sealed class
2022-12-30 08:27:51 +01:00
dependabot[bot]
ca6e301d46
Bump maven-shade-plugin from 3.4.0 to 3.4.1
Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.4.0...maven-shade-plugin-3.4.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-shade-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-28 03:05:07 +00:00
Gabriele C
a14df80a87 Merge remote-tracking branch 'origin/master' 2022-10-27 02:08:13 +02:00
Gabriele C
d7437bd2b1 Bump log4j dependency (keep in sync with 1.12.2) 2022-10-27 02:08:02 +02:00
dependabot[bot]
569b8ba2d3
Bump mockito-core from 4.8.0 to 4.8.1 (#2632)
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.8.0...v4.8.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-27 01:48:10 +02:00
Gabriele C
87c60a5b44
Update github workflow 2022-10-27 01:47:32 +02:00
Gabriele C
3741fb4cec Merge remote-tracking branch 'origin/master' 2022-10-09 23:39:50 +02:00
Gabriele C
ddca37ab73 Require Java 11 compiler (JRE 1.8 compatible) 2022-10-09 23:39:39 +02:00
dependabot[bot]
0c83c6d9d8
Bump checker-qual from 3.25.0 to 3.26.0 (#2626)
Bumps [checker-qual](https://github.com/typetools/checker-framework) from 3.25.0 to 3.26.0.
- [Release notes](https://github.com/typetools/checker-framework/releases)
- [Changelog](https://github.com/typetools/checker-framework/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-3.25.0...checker-framework-3.26.0)

---
updated-dependencies:
- dependency-name: org.checkerframework:checker-qual
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-09 22:04:41 +02:00
dependabot[bot]
681689bd5c
Bump mariadb-java-client from 3.0.7 to 3.0.8 (#2621)
Bumps [mariadb-java-client](https://github.com/mariadb-corporation/mariadb-connector-j) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/mariadb-corporation/mariadb-connector-j/releases)
- [Changelog](https://github.com/mariadb-corporation/mariadb-connector-j/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mariadb-corporation/mariadb-connector-j/compare/3.0.7...3.0.8)

---
updated-dependencies:
- dependency-name: org.mariadb.jdbc:mariadb-java-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-09 22:04:24 +02:00
dependabot[bot]
1492d8d4a1
Bump maven-jar-plugin from 3.2.2 to 3.3.0 (#2620)
Bumps [maven-jar-plugin](https://github.com/apache/maven-jar-plugin) from 3.2.2 to 3.3.0.
- [Release notes](https://github.com/apache/maven-jar-plugin/releases)
- [Commits](https://github.com/apache/maven-jar-plugin/compare/maven-jar-plugin-3.2.2...maven-jar-plugin-3.3.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-jar-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-09 22:04:15 +02:00
dependabot[bot]
12978a82d1
Bump maven-shade-plugin from 3.3.0 to 3.4.0 (#2618)
Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.3.0...maven-shade-plugin-3.4.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-shade-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-09 22:04:07 +02:00
dependabot[bot]
a865f9bc2d
Bump sqlite-jdbc from 3.39.2.1 to 3.39.3.0 (#2615)
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.39.2.1 to 3.39.3.0.
- [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.39.2.1...3.39.3.0)

---
updated-dependencies:
- dependency-name: org.xerial:sqlite-jdbc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-09 22:03:57 +02:00
dependabot[bot]
683c897c0f
Bump mockito-core from 4.7.0 to 4.8.0 (#2613)
Bumps [mockito-core](https://github.com/mockito/mockito) from 4.7.0 to 4.8.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.7.0...v4.8.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-09 22:03:47 +02:00
Gabriele C
fefeead323 Fix duplicated repository in pom.xml 2022-10-09 22:03:09 +02:00
dependabot[bot]
3f5353a328
Bump checker-qual from 3.24.0 to 3.25.0 (#2612)
Bumps [checker-qual](https://github.com/typetools/checker-framework) from 3.24.0 to 3.25.0.
- [Release notes](https://github.com/typetools/checker-framework/releases)
- [Changelog](https://github.com/typetools/checker-framework/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-3.24.0...checker-framework-3.25.0)

---
updated-dependencies:
- dependency-name: org.checkerframework:checker-qual
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 22:10:46 +02:00
dependabot[bot]
dca829650c
Bump sqlite-jdbc from 3.39.2.0 to 3.39.2.1 (#2610)
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc) from 3.39.2.0 to 3.39.2.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.39.2.0...3.39.2.1)

---
updated-dependencies:
- dependency-name: org.xerial:sqlite-jdbc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 22:10:37 +02:00
dependabot[bot]
37b8728197
Bump postgresql from 42.4.2 to 42.5.0 (#2609)
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.4.2 to 42.5.0.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.4.2...REL42.5.0)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 22:10:30 +02:00
dependabot[bot]
50a1f9de98
Bump EssentialsX from 2.19.6 to 2.19.7 (#2608)
Bumps [EssentialsX](https://github.com/EssentialsX/Essentials) from 2.19.6 to 2.19.7.
- [Release notes](https://github.com/EssentialsX/Essentials/releases)
- [Commits](https://github.com/EssentialsX/Essentials/compare/2.19.6...2.19.7)

---
updated-dependencies:
- dependency-name: net.essentialsx:EssentialsX
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-07 22:10:20 +02:00
Gabriele C
51760c4a8c
Change the essentialsx repository 2022-09-07 22:09:29 +02:00
ChanceSD
0d29c18ab4
Fix automatic antibot (#2611) 2022-09-02 13:54:22 +02:00
ljacqu
63780e3f7c
Add Checkstyle rule to disallow toLowerCase() and toUpperCase() without Locale (#2606) 2022-08-21 01:12:57 +02:00