Commit Graph

3063 Commits

Author SHA1 Message Date
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 79309c3c05 Update to ConfigMe 1.4.0 2023-08-23 07:27:35 +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 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 db04fd2a5b Avoid setting field with reflection on a JDK class - fails on newer JDK versions 2023-06-20 17:03:06 +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
Gabriele C d7437bd2b1 Bump log4j dependency (keep in sync with 1.12.2) 2022-10-27 02:08:02 +02:00
ChanceSD 0d29c18ab4
Fix automatic antibot (#2611) 2022-09-02 13:54:22 +02:00
Gabriele C 75b3a571e1 Always specify Locale on toLowerCase and toUpperCase usages, fixes AuthMe not working correctly on machines with turkish locale. ('I'.toLowerCase() => 'ı') 2022-08-20 04:41:04 +02:00
Gabriele C c38e2aba28 Fix bungee message order (login -> connect) 2022-08-18 03:41:31 +02:00
Gabriele C 6f1c63e693 Add delay to bungee force-login messages 2022-08-18 03:39:40 +02:00
Gabriele C b65ffd7c74 Send logout message to bungee on self-unregister 2022-08-18 02:04:08 +02:00
Gabriele C 7c8bbe6294 Remove cache-update bungee messages, always use the player in the context to send bungee messages, minor codestyle changes 2022-08-18 01:48:34 +02:00
Gabriele C 24d03aa1e2 Add missing "MARIADB" datasource backend to the configuration file, remove "mySQLDriverClassName" property as it is no longer needed. 2022-07-28 18:11:57 +02:00
HarvelsX a9898fd806 Add support MariaDB driver: https://github.com/AuthMe/AuthMeReloaded/issues/2556; 2022-07-25 12:14:26 +03:00
HarvelsX ed4200b23f Fix column check: https://github.com/AuthMe/AuthMeReloaded/issues/2543; 2022-07-25 12:14:17 +03:00
Gabriele C 0ac1854a52 Implement allowPublicKeyRetrieval option in mysql datasource 2022-07-18 13:03:05 +02:00
Gabriele C a67a4bb72b Don't let unrestricted usernames bypass the locked ip-username check 2022-07-17 18:40:11 +02:00
Lê Huy Mạnh Tân f1f5434b4b
Finished translating messages_vn.yml (#2569)
Fixed some typo's and finished translating
2022-07-16 18:36:10 +02:00
Caro 7530528432
Add test for AuthMeApi.getLastLoginMillis (#2562) 2022-07-16 18:35:42 +02:00
games647 0b6c92949c
Add test for the warning if the BungeeCord is enabled 2022-07-06 15:27:49 +02:00
Ghost_chu 25cf85a7dc
Execute simple check before enable BungeeCord hook.
This commit added a simple check that check spigot.yml -> settings.bungeecord status by using AuthMe built-in method bukkitService.isBungeeCordConfiguredForSpigot() and disable hook if it enabled and not behind an BungeeCord proxy.

Register plugin message channel without BungeeCord proxy will allow attacker send fake login payload to treat AuthMe login with Plugin Message for him and bypass the user login.

This commit also updated SettingsWarner for new behavior.
2022-07-06 15:39:06 +08:00
ItsLukassz 5c83f5e261
Finished translating messages_lt.yml (#2498)
Fixed some typo's and finished translating
2022-02-05 14:07:32 +01:00
ljacqu 571c6106a7 Fix some Checkstyle issues
- Remove unused imports
- Fix issues relating to line length / whitespace
- Update Checkstyle suppression in matcher classes with new check name
2022-01-30 10:32:49 +01:00
ljacqu 6bff48467b Fix SQL integration test to auto-increment IDs properly 2022-01-30 09:40:08 +01:00
ljacqu d5b6d1584c Initialize logger in MySqlDefaultChangerTest 2022-01-06 00:32:43 +01:00
Gabriele C 5a3e585883
Fix #2467 2021-12-25 15:38:07 +01:00
Gabriele C b74496fb15 Update to Spigot 1.18 api
+ Add legacy jar for 1.17 and previous
2021-11-28 18:17:10 +01:00
Gabriele C c4534e9546 Merge branch 'master' of https://github.com/AuthMe/AuthMeReloaded 2021-11-28 17:01:58 +01:00
Gabriele C 70db362e2a Add legacyHashes hint to the LoginSecurity converter #2449 2021-11-28 17:01:35 +01:00
Tomasz 94e9253aba
Update messages_pl.yml (#2447)
* Update messages_pl.yml
2021-11-28 16:48:25 +01:00
Gabriele C 31564d8284 Relocate MySQL connector and fix migrations 2021-11-28 16:47:47 +01:00
ljacqu 6be9cec16e #2413 Always use ArrayList for LimboPlayer groups to prevent issue with Gson 2021-10-09 15:08:20 +02:00
ljacqu a99daea5ce Fix failing test
- Add missing setup of ConsoleLogger
2021-10-09 15:00:47 +02:00
myunco 0c85efc227
Update messages_zhcn.yml (#2422)
Fixed a small error
2021-09-27 21:11:55 +02:00
bundabrg 80e37578b1
If a player is not registered then we send a LOGIN plugin message on join (#2275)
* If a player is not registered then we send a LOGIN plugin message on join

* Make looking up a profile optionally quiet

This prevents an issue where a forcedLogin of a player that doesn't exist occurring when an unregistered player switches a server. The first login would tell AuthBungee that the player is logged in, and subsequent switches would have AuthBungee send a performLogin back that would then send an unregistered player error message to the player.

Co-authored-by: bundabrg <bundabrg@grieve.com.au>
Co-authored-by: Gabriele C <sgdc3.mail@gmail.com>
2021-08-30 11:35:36 +02:00
Typical fae9f0e3ff
Update messages_vn.yml (#2408) 2021-08-29 18:09:39 +02:00
Gabriele C 97a599c885 Implement MySQL 8 support #1779 2021-08-21 23:22:21 +02:00
Gabriele C 18c31e3a42 Update MySQL driver class name
+ implement fallback to the legacy driver
2021-08-21 22:54:36 +02:00
David Maes d969d314b3
LuckPerm: keep contexts active after reload of groups (#2186)
* Use context aware groups

* Revert "Use context aware groups"

This reverts commit 5adc6ef7

* Keep luckperm contexts after authentication

* Code cleanup

* Code cleanup

* Fix nullpointer for context maps

* Code cleanup

* Use uuids for sqlite and postgresql

* Revert "Use uuids for sqlite and postgresql"

This reverts commit 05296e5f23.

* Cleanup imports

* Fix test

Co-authored-by: David Maes <david.maes@kbc.be>
2021-08-21 22:19:45 +02:00
SiderealArt 0b8aae4f0f
Create help_zhtw.yml (#2381) 2021-08-21 22:07:52 +02:00
Hao Wang c5175395f7 fix a flaky test 2021-07-16 11:48:55 -07:00
Ruoshi Lin 5c23d3343d
Fix SQLite file not found issue (#2371)
When OP customize bukkit/spigot plugins directory location, SQLite file will still on default directory.
It will cause directory not found exception. Also let SQLite file not correct in the plugin directory.

Co-authored-by: Yuehu Lin <dev@fntsr.tw>
2021-06-28 09:41:35 +02:00
Gabriele C 5d9b941471 Update the authors list, enhance the "/authme about" command 2021-06-26 17:53:24 +02:00