Merge pull request #1386 from AuthMe/1367-mysql-notNull-toggle
ljacqu
2017-10-28 18:49:23 +02:00
20ca4f9dc9#1368 Improve the look of /authme debug - Add a colored title for each command execution within /authme debug - Fit more texts on one line
ljacqu
2017-10-28 17:13:01 +02:00
c6fbc1187f#1367 MySQL not null changer: List 'not null' and default values separately - Check not only for NOT NULL constraint but also if a column has a default value - Use suffixes instead of colors only so the command is usable via console
ljacqu
2017-10-28 15:41:16 +02:00
#1190 Show settings warnings on reload also (#1384)
ljacqu
2017-10-28 14:15:38 +02:00
d40109929cFix describeHashAlgos tool task - Handle case when Argon2 library is not loaded - Account for hash algorithms with null as associated impl. class
ljacqu
2017-10-28 13:40:06 +02:00
fbd8049af5Minor: Make email check in '/email change' case-insensitive
ljacqu
2017-10-28 13:10:02 +02:00
8422581a82Merge pull request #1380 from Pantoflarz/patch-1
Gabriele C
2017-10-25 18:03:35 +02:00
df69f144c9Update help_pl.yml
Adam Szczygieł
2017-10-25 15:20:24 +01:00
5a329efb4aUpdate strings and fix color codes (#1375)
lifehome
2017-10-23 17:03:57 +08:00
39647013b2Cleanup
Gabriele C
2017-10-23 08:36:49 +02:00
cd85c51fbePerform join process only on player join
Gabriele C
2017-10-23 08:31:06 +02:00
8fe92da119#1150 - Add Argon2 support
Alexandre Vanhecke
2017-10-23 00:10:48 +02:00
90a7b47217Improve Polish translation in help messages. (#1376)
Kacper Duras
2017-10-22 22:48:14 +02:00
78e2763984Help 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
07b4309340Readme: fix team link and mention of now deprecated hashes
ljacqu
2017-10-22 09:37:49 +02:00
b211c97395Minor: 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
c37c0ce436Fix CodeClimate config test to account for new test exclusion entry
ljacqu
2017-10-21 19:55:56 +02:00
6cf2535109Exclude test classes from Checkstyle checks
ljacqu
2017-10-21 19:51:48 +02:00
241b17a1c8Update HU messages
montlikadani
2017-10-08 20:37:03 +02:00
4e8deec258Move #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
7d445217d6Merge 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
718c38aa24Fix 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
1487fc0d9eDelete team.txt
Gabriele C
2017-10-12 14:14:45 +02:00
1c07be61b0Merge pull request #1353 from MineSAT/patch-10
Gabriele C
2017-10-10 19:02:46 +02:00
a39edde297Add note to caching option
Gabriele C
2017-10-09 10:19:27 +02:00
29c30f6c22Fix unit testing
Gabriele C
2017-10-09 09:44:22 +02:00
41af94aab2Add DisplayNameNoColor tag in welcome/join messages #1344
Gabriele C
2017-10-09 09:25:20 +02:00
fafbef6be7Prevent another deadlock in LuckPermsHandler #1350
Gabriele C
2017-10-09 09:05:09 +02:00
45dda0debaPrevent 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
f21605bbb1Fix failing test
ljacqu
2017-10-08 20:08:46 +02:00
bd7d84a6d2Small 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
649b027e5bOutput used permission system in /authme debug perm
ljacqu
2017-09-17 09:09:11 +02:00
6c6fbaf12dLogin performance (#1331)
Gabriele C
2017-09-17 09:05:13 +02:00
9392291b36Fix luckperms permission check
Gabriele C
2017-09-14 21:03:08 +02:00
a5466a8937Fix luckperms user cleanup
Gabriele C
2017-09-14 20:50:09 +02:00
f754331de6Implement LuckPerms permission handler
Gabriele C
2017-09-14 20:39:15 +02:00
e1466425a1Print 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