Commit Graph

3063 Commits

Author SHA1 Message Date
games647 e7338f7c92
Raise BCrypt default cost factor for current computing power (#2360)
Fixes #2356
2021-06-24 18:26:21 +02:00
Gabriele C f2a660712e Move onJoinMessage to HIGH priority 2021-06-07 02:26:58 +02:00
ljacqu 5be9b380e5 Fix failing AuthMeInitializationTest 2021-05-27 10:26:29 +02:00
Typical 04831c8dcd
Update messages_vn.yml (#2327) 2021-05-26 21:41:43 +02:00
Andrea Cavalli 3393d989d9
Fix java 16 compatibility issue (#2342) 2021-05-26 21:40:59 +02:00
Pietro T 12cf3aa060
Fix #2018. using player's health value instead of isDead (which is unreliable) (#2302) 2021-03-31 20:47:34 +02:00
games647 fc8c9d8748
Open GEO connection after checking config values
(Related #2289)
2021-03-28 22:41:03 +02:00
Gabriele C d50ad908d7
Fix typo in database setrings properties 2021-03-15 10:20:56 +01:00
Hex3l b1e9b43294
adds proxy sessions, fixing auto login from bungee messages issues (#2285) 2021-03-15 02:49:45 +01:00
Gabriele C 543c9782be
Fix wrong default mysql driver class #2303 2021-03-15 02:46:37 +01:00
Gabriele C 8a42a77519 Bump spigot and bstats version 2021-03-14 03:12:01 +01:00
Eric-01 4e55f26a41
Added /log command to the allowCommands sequence (#2290) 2021-03-14 02:53:00 +01:00
MacacoLew f2bdaa0454
Specify the Driver Class Name ("com.mysql.cj.jdbc.Driver") (#2262)
* Specify the Driver Class Name ("com.mysql.cj.jdbc.Driver")

TODO: Configurable Driver Class Name

* Update DatabaseSettings.java

* Update MySQL.java
2021-03-14 02:46:17 +01:00
WaveWSBS 51c9e35848
Update messages_zhcn.yml (#2230)
enhanced some translation
Chinese is a beautiful and complicated language. 
the way last translator translate was to hard? i guess? just not friendly
i did some minor changes, now the language isn't so hard. and i also change the translation of 2fa. 两步验证 is cool. but 双重认证 is more accurate
plz aprove
2020-11-26 11:10:26 +01:00
Daniel Dušek 99baed7038
Get Czech localizations to 100% (#2204) 2020-10-06 16:41:06 +03:00
ljacqu ac5868787a Update to ConfigMe 1.2.0 2020-09-07 21:33:00 +02:00
ljacqu e92721e597 #2158 Remove unneeded SQLite migration of column length
- SQLite always returns a column length of 2,000,000 as they don't really have a column length restriction, cf. https://stackoverflow.com/questions/35413956/trying-to-get-the-column-size-of-a-column-using-jdbc-metadata
2020-08-29 11:09:13 +02:00
Alexander Emelyanov 2eabb0d09d
Add player's IP into login logger (#2064) (#2169) 2020-08-20 00:59:17 +02:00
Gabriele C eeb5530f61 Fix sqlite migrater logic #2158
Co-Authored-By: ljacqu <ljacqu@users.noreply.github.com>
2020-07-18 01:05:22 +02:00
Gabriele C e291a0415b Attempt to fix issue #2158 2020-07-17 18:07:42 +02:00
Gabriele C a1021f9dc3 Fix totp column size #2154 2020-07-16 00:18:51 +02:00
Gabriele C 990830c395 Bump spigot api version, fix BukkitService.runTaskTimerAsynchronously() #2150 2020-07-10 20:55:15 +02:00
Achime11 330d4e3043 Fixing Romanian translations and completing it 2020-06-29 14:21:33 +03:00
Gabriele C 06be8ea6f4 Port thread safety/performance optimizations from #1992 2020-06-26 22:23:50 +02:00
galaipa 5544fd047d
Update Euskara (basque) translation (#2138) 2020-06-25 15:23:46 +02:00
Yudi afff3e4776
Update messages_br.yml (#2086)
* Update messages_br.yml

* Update messages_br.yml
2020-05-16 14:59:07 +02:00
Madis Otenurm 8dad073cd9
Estonian improvements (#2081) 2020-05-16 14:57:55 +02:00
ljacqu d51781fe5c Fix failing tests 2020-05-02 13:08:56 +02:00
luckybl0ck d2c2d0fb39
Update messages_ru.yml (#2079)
* Update messages_ru.yml

* Update messages_ru.yml
2020-04-22 12:20:07 +02:00
Leo Garbe 35a3ad1867
Fixed unrestricted inventories (#2080) 2020-04-22 12:18:48 +02:00
Bane Biddix 6fb6728fae
Update messages_pt.yml (#2047) 2020-03-30 22:15:21 +02:00
Melih Budak e02eee26e3
Update messages_tr.yml (#2052)
Updated Turkish Lang
2020-03-30 22:14:22 +02:00
Twonox d3ebf69bb8
Update messages_fr.yml (#2035) 2020-03-12 11:56:33 +01:00
ljacqu 7d4dfe3ee3 Fix failing tests after Mockito upgrade 2020-03-03 08:22:00 +01:00
ljacqu f7911edd60
#1448 Create AuthMePlayer to get player data from API with (#2000)
* #1448 Create AuthMePlayer to get player data from API with

* #1448 Add tests for new API method & AuthMePlayer

* #1448 Create AuthMePlayer to get player data from API with
- Use Optional for all values that may be null

* #1448 Add comment that AuthMePlayer data does not update itself
2020-02-12 20:06:42 +01:00
Gabriele C 0e8da5a556 Fix the GeoIp DB updater 2020-01-26 22:29:14 +01:00
Drc-DEV 8fb21c5fb4 Add method to get the registration date to the API (#1993)
* Add method to get the registration date to the API

* Removed unnecessary check

* Add method to get the registration IP to the API
2020-01-24 23:09:28 +01:00
Gabriele C b85ba98d85 Add bStats pluginId 2020-01-22 10:47:08 +01:00
Gabriele C 4796069ff8 Link to EssentialsX's MaxMind license tutorial 2020-01-21 10:33:46 +01:00
Gabriele C a43127dd2b
Update the GeoIp database download method [BREAKING] (#1990)
* Update the GeoIp database download method [BREAKING]

Now GeoIp database updates require a ClientID and a LicenseKey, which can be obtained for free at https://www.maxmind.com/en/accounts/current/license-key

* Codestyle
2020-01-21 10:28:50 +01:00
Yudi 08974d8213 Update br translations (#1984)
* Update help_br.yml

* Update messages_br.yml

* Update messages_br.yml

* Update help_br.yml

* Update help_br.yml
2020-01-10 19:43:35 +01:00
ljacqu b17231a2c5 Update translations doc page 2019-12-28 12:07:30 +01:00
Edward bcfdd31734 Update messages_uk.yml (#1975)
* Update messages_uk.yml

* Update messages_uk.yml

* Fix apostrophe
2019-12-28 12:00:12 +01:00
Edward cb41e27ae3 Update messages_ru.yml (#1974)
* Update messages_ru.yml

* Update messages_ru.yml
2019-12-28 11:51:12 +01:00
Kristjan Krušič 10f9650a2f Added Slovenian (SI) translation, also fixed some en stuff. (#1973) 2019-12-28 11:50:22 +01:00
Gabriele C e05c07799d Compile against 1.15 api, update luckperms to 5.0 (breaking change) 2019-12-12 16:41:44 +01:00
EdPlaysMC 71cda72b8a Update messages_zhcn.yml (#1939)
Completed the translation of TODO and fixed some grammar mistakes
2019-12-12 15:40:05 +01:00
ljacqu 442737c27c Output server details if AuthMe stops because of server type (#1946) 2019-12-08 20:12:30 +01:00
ljacqu 51260fd22d Disable regular Hikari log statements during test execution
- Also use mock logger instead of a real one in a few select tests to reduce the log output during tests
2019-11-03 17:38:14 +01:00
ljacqu 39fbb4ac05 Remove tests calling hidden constructor of util classes
- Newer versions of JaCoCo now ignore hidden constructors out of the box so we don't need the dummy method that calls the constructor for coverage anymore
2019-11-03 11:27:18 +01:00
ljacqu e31cb5bb9e Fix some CodeClimate issues
- Mostly missing Javadoc on methods & line length violations
2019-11-03 10:54:43 +01:00
ljacqu 2673eb0f8e Mockito: Replace deprecated verifyZeroInteractions with verifyNoInteractions 2019-10-26 21:56:54 +02:00
ljacqu 776d1e5fa3 Fix failing test
- googleauth uses a new website to generate QR codes, cf. https://github.com/wstrange/GoogleAuth/issues/77
2019-10-26 21:52:43 +02:00
Maxime Michaud 0cf9ec4759 One mistake corrected in help_fr.yml (#1932)
vour ---> vous
2019-10-26 15:40:37 +02:00
Maxime Michaud 7f832d4b16 Small mistakes (#1931) 2019-10-26 15:39:53 +02:00
Arvind Kumar d6711d83b3 Fixes in documentation (#1927)
* Fixed typos and grammer in documentation
2019-10-17 08:34:27 +02:00
Jordie ab872f2622 Updated messages_nl.yml with missing translations. (#1921)
* Updated messages_nl.yml with missing translations.

* Updated messages_nl.yml.
2019-10-07 07:59:13 +02:00
Bruno Marques 88b535d3fb Update messages_br.yml (#1898)
Added messages who was missing in this translation.
2019-08-25 10:43:46 +02:00
Maxetto d5f2af6739
Update italian translation 2019-08-21 23:32:17 +02:00
ljacqu 7ab7c688c3 Update translations doc & translation files 2019-08-15 21:17:45 +02:00
Wunderharke 5fb760bab1 Update messages_de.yml (#1890)
Added missing german strings (fixed).
2019-08-15 04:43:43 +02:00
Gabriele C d30580d5d4
Listener optimizations (#1884)
* Drop CraftBukkit support, listeners cleanup

* Codestyle

* Codestyle

* Remove useless player.saveData() calls

* Micro optimization on the join process

* Requested changes

* Fix unit test

* Test onPlayerHeldItem listener

* Requested changes

* Remove unused import
2019-08-11 23:47:50 +02:00
ljacqu e2f2ff0763 #1874 Output number of loggers in /authme debug stats 2019-08-11 11:36:28 +02:00
ljacqu 363e85e363 Set up logger at start of initialization to avoid NPE on errors later on
- Thanks to sgdc3 for the hint
2019-08-11 11:32:03 +02:00
ljacqu 647ee245e0 #1874 Format debug messages in log, use Java 8 date formatter
- Format debug messages properly in the authme.log as well
- Replace DateFormat with Java 8's DateTimeFormatter (which is thread-safe)
2019-08-10 22:44:57 +02:00
ljacqu f268f7cd65 Fix verifyMessages tool task not finding English messages for todo comments 2019-08-10 22:34:45 +02:00
Gabriele C 48357831cd
Revert "Packet based movement freeze (#1879)" (#1882)
This reverts commit db3acce70c.
2019-08-07 10:49:23 +02:00
Gabriele C db3acce70c Packet based movement freeze (#1879)
* Remove unused files
* Remove walk/fly speed from limbo player
* Implement packet based movement freeze
2019-08-07 06:47:00 +02:00
Hex3l fadda43d13 Improves spawn choice if undefined (#1880)
* Improves spawn choice if undefined #1700

* Just a missing line <.<

* Moves the checks into the "default" case
2019-08-07 01:01:55 +02:00
ljacqu d87fa860e6 Add test for UuidUtils 2019-08-06 19:42:06 +02:00
ljacqu c34f00f759 #1874 Introduce individual ConsoleLogger instance per class (#1875)
* #1874 Introduce individual ConsoleLogger instance per class
- Create ConsoleLoggerFactory from which a separate logger can be created for each class
- Allows to support individual log level settings in the future

* Fix CodeStyle issue

* Replace full class name with import

* Update usages after merge from master
2019-08-06 15:15:16 +02:00
Alexandre Vanhecke 254d4d75a2 Add optional column for players uuids (#1840) 2019-08-06 15:13:13 +02:00
ljacqu ae68667f5e Add Maven profile to skip Javadoc generation for local builds (#1878)
* #1877 Add Maven profile to skip Javadoc generation for local builds

* Make it nicer
2019-08-06 01:12:01 +02:00
ljacqu 7bede2528f
#1523 Create admin commands to handle players' 2FA data (#1876)
* #1523 Create admin commands to handle players' 2FA data
- Create admin command to view if a player has enabled 2FA
- Create admin command to disable 2FA for a specified player
2019-08-05 19:31:59 +02:00
ljacqu f0d3d085c6 #1574 Use server name in 2FA QR code link instead of IP 2019-08-02 15:38:13 +02:00
ljacqu c00109074a Minor: create dummy string of specific length with better method 2019-08-02 15:29:06 +02:00
ljacqu 210a4f61cb #1219 Make 2FA tokens one-use only (#1848)
- Make TotpAuthenticator keep track of the used codes and reject any known ones
2019-07-06 18:26:43 +02:00
Pronin Egor ae1b0c4cac Update messages_ru.yml (#1843) 2019-06-24 20:08:38 +02:00
ljacqu fc06558687 Minor: change bukkit service to return a plain collection of Player
- List is read-only and can be easily "upcast" to Collection<Player>
- Remove awkward hack that was needed for mocking the method previously (issues with generics)
2019-06-22 23:50:06 +02:00
ljacqu 81cf14fbc1 #1752 #1830 Do not hide inventory if player is not registered 2019-06-22 23:30:56 +02:00
ljacqu 4be130b71b Fix #1493 Extract handling of message file paths to a separate class with constants 2019-06-22 22:37:32 +02:00
ljacqu ff2f43bdc5 #1743 Stop mobs from targetting players when not authenticated 2019-06-22 20:54:01 +02:00
ljacqu d1b6161687 Minor: print stack trace if AuthMe is disabled due to exception, remove unused imports 2019-06-17 22:47:15 +02:00
ljacqu 6903e058d5 Undo star imports 2019-06-17 22:02:10 +02:00
ljacqu e9cd16aaac Undo star imports 2019-06-17 21:58:25 +02:00
Gabriele C 951c648311 Update to 1.14.2 2019-06-04 10:44:47 +02:00
Gabriele C ce4bb43dee Remove bPermissions support 2019-05-02 10:42:24 +02:00
ljacqu 7f1894c5be Remove no longer needed method in test class 2019-04-27 12:46:39 +02:00
Gabriele C 59c69de63d
Fix 1.8 - 1.13 compatibility 2019-04-24 17:22:42 +02:00
Gabriele C 5b97841699 Add 1.14 compatibility 2019-04-23 17:18:42 +02:00
ljacqu 53b8442309 Add Serbian to translation doc, rename from "rs" to "sr", fix percentage bar images 2019-04-14 11:10:07 +02:00
Srđan Cokić b897f7c25f Translation to Serbian (RS) (#1792)
* Create messages_rs.yml

* Create help_rs.yml
2019-04-13 17:30:27 +02:00
Alexandre Vanhecke 44cb787577 Add an option to disable MySQL server certificate check - Fix #1735 2019-04-05 22:31:47 +02:00
ljacqu c856191659 Update to ConfigMe 1.1.0
- Squash of PR #1764
2019-03-01 20:22:38 +01:00
lifehome ffb957ff19 Fix a typo (#1763) 2019-02-28 12:27:39 +01:00
Gabriele C a347b4a9bb
Remove sponsor message 2019-01-12 14:03:02 +01:00
Gabriele C bdbb7d79fd
Specify licensing in about command 2019-01-12 12:17:08 +01:00
Madis fdded6be9f Minor fixes for Estonian (#1724)
Informal _you_, untranslated word, typo fix
2019-01-09 02:28:35 +01:00
Gabriele C 98efa35183
Happy new year! 2019-01-01 03:52:25 +01:00
Kristjan Krušič 696bcc7ba6 Update the copyright year to 2018 just in time. (#1721)
We can't just skip from 2017 to 2019.
2019-01-01 03:50:41 +01:00