8fe92da119#1150 - Add Argon2 support
Alexandre Vanhecke
2017-10-23 00:10:48 +02:00
90a7b47217
Improve Polish translation in help messages. (#1376)
Kacper Duras
2017-10-22 22:48:14 +02:00
78e2763984
Help translations: remove entry for /authme purge second argument (no longer exists) - Remove unknown entries as found by the verifyHelpTranslations tool task
ljacqu
2017-10-22 09:51:32 +02:00
07b4309340
Readme: fix team link and mention of now deprecated hashes
ljacqu
2017-10-22 09:37:49 +02:00
b211c97395
Minor: delete PlainText implementation - It never gets used anymore and could cause security issues if we did accidentally use it as EncryptionMethod
ljacqu
2017-10-22 09:26:02 +02:00
d6e2369f36#792 Force migration of SQLite when necessary (#1371)
ljacqu
2017-10-22 09:16:48 +02:00
c37c0ce436
Fix CodeClimate config test to account for new test exclusion entry
ljacqu
2017-10-21 19:55:56 +02:00
6cf2535109
Exclude test classes from Checkstyle checks
ljacqu
2017-10-21 19:51:48 +02:00
241b17a1c8
Update HU messages
montlikadani
2017-10-08 20:37:03 +02:00
4e8deec258
Move #isNpc method to PlayerUtils - After dropping our hook to CombatTagPlus it is not relevant for it to be in PluginHooksService anymore
ljacqu
2017-10-21 12:08:23 +02:00
1651a61063#792#814 Implement SQLite migration, allow last IP to be nullable in MySQL - Old SQLite setups have the last IP column as NOT NULL but without a default value. With the new concept (where we don't set a last IP on player registration) it fails. - Create an /authme debug child that allows to migrate SQLite (tricky because SQLite does not support dropping or modifying columns) - Allow last IP column to be NOT NULL in MySQL as well (extend MySQL /authme debug child) - Add TODO comments with follow-up issue to extend our commands with new registration IP field
ljacqu
2017-10-21 10:24:40 +02:00
b5ea48085c#792 DataSource: when creating registrationDate column, set all rows to the current date
ljacqu
2017-10-20 21:31:58 +02:00
ea824ea3f0#1016 Update hash algorithms list, add test that Deprecated annotation is in sync between enum and hash impl. class
ljacqu
2017-10-19 21:52:55 +02:00
fca77b940f#1016 Deprecate MD5, SHA1, SHA512: no longer allowed for active use - Deprecate unsalted hashes: if such a hash is configured, move it to the legacy hashes setting to still support the existing hashes in the database but hash all passwords from now on with our default, SHA256.
ljacqu
2017-10-19 21:30:19 +02:00
7d445217d6
Merge redundant ConsoleLogger#debug overloads - No need to distinguish between String[] and Object[] because log4j only has methods for Object[]
ljacqu
2017-10-19 20:14:17 +02:00
22e95493de#1031 Introduce hasSession field in datasource (#1351)
Gabriele C
2017-10-15 18:32:51 +02:00
ea58e20c3d#792 Include registration date into purging logic - Take MAX(reg_date, login_date) as timestamp to compare against - Remove the second "all" parameter to include entries with 0 registration date -> we expect registration date to always be set to the current date, so the parameter becomes obsolete
ljacqu
2017-10-15 18:29:01 +02:00
1df5308e56#792#814 Create command to remove NOT NULL constraints - Create command under /authme debug that allows to change the 'nullable' status of MySQL columns (currently last date and email only) - We need to offer a default value for forum integrations that have a NOT NULL email column. Offering a command avoids us from force-migrating existing databases while still offering migrations in both directions - Change in default value handling: lack of values are not handled by setting default values to the PlayerAuth anymore, and reading a default value from the database into a PlayerAuth will be translated into null by the PlayerAuth builder - When a new database is created, email and lastlogin are now nullable and lack a default a value
ljacqu
2017-10-15 12:56:13 +02:00
718c38aa24
Fix failing LoginSecurityConverterTest: allow tolerance for java.sql.Date to millis conversion
ljacqu
2017-10-14 19:51:26 +02:00
52d6476058#792 Add columns for registration IP and registration date - Add columns for reg date and IP - Rename "ip" to "last IP"
ljacqu
2017-10-14 17:37:34 +02:00
1487fc0d9e
Delete team.txt
Gabriele C
2017-10-12 14:14:45 +02:00
1c07be61b0
Merge pull request #1353 from MineSAT/patch-10
Gabriele C
2017-10-10 19:02:46 +02:00
a39edde297
Add note to caching option
Gabriele C
2017-10-09 10:19:27 +02:00
29c30f6c22
Fix unit testing
Gabriele C
2017-10-09 09:44:22 +02:00
41af94aab2
Add DisplayNameNoColor tag in welcome/join messages #1344
Gabriele C
2017-10-09 09:25:20 +02:00
fafbef6be7
Prevent another deadlock in LuckPermsHandler #1350
Gabriele C
2017-10-09 09:05:09 +02:00
45dda0deba
Prevent deadlock in LuckPermsHandler #1350
Gabriele C
2017-10-09 09:02:14 +02:00
7afda20288#1338 Implement ''/authme messages help' to generate a fully complete help text file (#1349)
ljacqu
2017-10-09 07:19:38 +02:00
5be3f8facc#1095 Update SMF hash algorithm to generate salt as SMF does - The salt isn't used for password hashing but SMF requires that there be one to generate the authentication cookie. This does not yet enable registration from Minecraft: SMF has other non-null columns that need to be tackled. This is a first step.
ljacqu
2017-10-08 22:42:37 +02:00
f21605bbb1
Fix failing test
ljacqu
2017-10-08 20:08:46 +02:00
83d6d92a5c
Minor - don't read welcome message if unused
ljacqu
2017-10-08 20:05:04 +02:00
5b1d8c6429
Use String#replace over String#replaceAll (the latter uses regex)
ljacqu
2017-10-08 17:32:05 +02:00
f1bed873d5
Minor - remove code duplication
ljacqu
2017-10-08 01:22:25 +02:00
bd7d84a6d2
Small docs cleanup - NewAPI class will be removed in 5.5, not 5.4 - Add entry for "Deprecated" recommendation in hash algorithms page - Mention possibility of wildcards for restricted user rules
ljacqu
2017-09-17 11:32:12 +02:00
649b027e5b
Output used permission system in /authme debug perm
ljacqu
2017-09-17 09:09:11 +02:00
6c6fbaf12d
Login performance (#1331)
Gabriele C
2017-09-17 09:05:13 +02:00
3d67305e9e
Fix country code link #1330
sgdc3
2017-09-16 14:04:32 +02:00
3d26357df6
Use Utils.isEmailEmpty #1329
sgdc3
2017-09-16 14:02:16 +02:00
9392291b36
Fix luckperms permission check
Gabriele C
2017-09-14 21:03:08 +02:00
a5466a8937
Fix luckperms user cleanup
Gabriele C
2017-09-14 20:50:09 +02:00
f754331de6
Implement LuckPerms permission handler
Gabriele C
2017-09-14 20:39:15 +02:00
e1466425a1
Print the "Forgot your password? ..." message only if the user has set the recovery email address #1329
Gabriele C
2017-09-14 18:24:14 +02:00