e0e4cd112d#761 Restore permission group in sync with limbo players - Couple AuthGroupHandler closer to the LimboService: whenever a limbo player is restored, the auth group should be restored as well. This fixes some consistency issues. - Move AuthGroupHandler into limbo package and make it package-private - Change permission handler to skip any empty groups (prevents odd command output e.g. for BukkitPermissions)
ljacqu
2017-04-29 22:37:34 +02:00
d4c1370da6#923 Add commands to run on unregister
ljacqu
2017-04-29 19:08:10 +02:00
578f63b944#923 Create /authme purgeplayer command - Create command to purge a specific player name - Update docs
ljacqu
2017-04-29 18:31:37 +02:00
82d74ca0a7Move close methods out of sql datasource utils class As noticed by @Gnat008 - We need two different implementations for MySQL and SQLite because SQLite uses an older version where #isClosed is not implemented
ljacqu
2017-04-29 08:18:43 +02:00
61c215d337Try to fix protoclllib repo link
Gabriele C
2017-04-24 14:46:50 +02:00
5dd73e9594Fix ProtocolLib repo url
Gabriele C
2017-04-23 11:51:11 +02:00
d0dbc14358Minor - fix some small todo's
ljacqu
2017-04-23 11:02:43 +02:00
e56a3c0ab6#815 Save yaw & pitch for last login in SQL data sources
ljacqu
2017-04-22 13:30:03 +02:00
70298a830bRemove outdated todo
ljacqu
2017-04-21 20:29:50 +02:00
07633a89c8Create SQL data source utils class - Extract logic used in SQLite and MySQL for logging and closing SQL objects - Decided to leave buildAuthFromResultSet methods individually as this might be more implementation-specific - Rename DataSource#close to DataSource#closeConnection to fix conflict with static import
ljacqu
2017-04-18 22:55:39 +02:00
04ca36fe53Use more specific query to get logged in players without email - Reduces the amount of data returned from the DB and the work required to build objects
ljacqu
2017-04-18 22:30:54 +02:00
b0c05afaa7Create util method to check if email is empty - Create method to check if email is empty or the default AuthMe email (avoids repetition) - Check that input email has '@' inside text (relates to #1105)
ljacqu
2017-04-18 21:24:33 +02:00
2c31ccc020Merge pull request #1166 from AuthMe/debug-command-permissions
ljacqu
2017-04-17 01:04:57 +02:00
2a747c7d01#1034 Create permissions for debug sections - Add an individual permission for each debug section (including wildcard perm) - Create test for DebugCommand - Refactor tests for the enum permission nodes to use the same abstract class - Update related project files (plugin.yml, permission docs, command docs)
ljacqu
2017-04-14 19:54:17 +02:00
cbec5427f2#1162 New API class: implement ignored review remarks
ljacqu
2017-04-14 18:11:47 +02:00
bf38782790Implement ARGON2 hash (#1165)
Gabriele C
2017-04-14 18:03:27 +02:00
5a93ed32f1Fix API test package
Gabriele C
2017-04-14 14:03:40 +02:00
ff7b9077e8We dislike craftbukkit!
Gabriele C
2017-04-14 02:05:36 +02:00
4a94307ba0Merge pull request #1160 from Maxetto/patch-7
Gabriele C
2017-04-14 01:46:05 +02:00
eb0c0587a1Merge pull request #1164 from timvisee/master
Gabriele C
2017-04-14 01:38:03 +02:00
adb007108d#1147 Drop SingleFilePersistenceHandler in favor of DistributedFilesPersistenceHandler - Remove SingleFilePersistenceHandler: DistributedFilesPersistenceHandler with segment size 1 can be used instead - Rename SegmentFilesPersistenceHolder to DistributedFilesPersistenceHandler - Rename SeparateFilePersistenceHandler to IndividualFilesPersistenceHandler to match LimboPersistenceType entry - Add link to limbo page on Wiki in the settings
ljacqu
2017-03-28 21:42:01 +02:00
a764598f88Adjust repo links in code
ljacqu
2017-03-28 08:11:00 +02:00
2070f22968Security - if any Throwable is thrown on initialization AuthMe should shut down - Found via #1149
ljacqu
2017-03-27 21:41:35 +02:00
7d17608a0b#1148 Update devbukkit page links
Gabriele C
2017-03-27 19:12:25 +02:00
616871ffa5Drop CraftBukkit support
Gabriele C
2017-03-27 17:49:15 +02:00
7ea63667f3Update some links
Gabriele C
2017-03-26 22:15:23 +02:00
a56e404446Fix readme format
Gabriele C
2017-03-26 22:05:11 +02:00
1f02ef6f6eMerge pull request #1083 from AuthMe/master
Gabriele C
2017-03-26 19:52:12 +02:00
1f4192e5af#1145 Remove PlayerListener from visibility test exclusions
Gabriele C
2017-03-26 19:39:40 +02:00
fc47a0a74fForce US decimal format
Gabriele C
2017-03-26 16:12:53 +02:00
6be6e8e851Exclude jacoco fields from consistency test - Fix wrong condition check :)
ljacqu
2017-03-26 14:53:52 +02:00
dbd0e04a2eExclude jacoco fields from consistency test - The Jacoco plugin adds fields "$jacocoData" to the classes which make the test fail
ljacqu
2017-03-26 14:47:39 +02:00
75f84945fcMisc code householding - Checkstyle config: allow todo comments with issue number - Create consistency tests across all classes, ensuring: unique class names, users of expiring collectors implement HasCleanup, non-private fields are only constants - Fix tag replacement in PlayerListener for {DISPLAYNAME}
ljacqu
2017-03-26 13:20:40 +02:00
8cf7983027#1034 Add debug sections for spawn and input validation
ljacqu
2017-03-26 12:10:51 +02:00
c54231b255#1138 Show warning for hashes that will be deprecated in 5.4 - Introduce Usage.DEPRECATED to mark the hash algorithms accordingly - Log warning when such a deprecated hash algorithm is used - Update hash algorithms doc page
ljacqu
2017-03-25 00:23:54 +01:00
b7901c6b59Simplify exclusion of enum properties in SettingsConsistencyTest - Allow enum values to be absent if they are deprecated
ljacqu
2017-03-24 23:23:40 +01:00
a2d62ea6d9#1116#1117 Add command usage hints and remove unused message keys - Add usage message on argument mismatch where available - Remove unused message keys - Create tool task to search for a message key's usages and to find unused keys
ljacqu
2017-03-24 23:03:10 +01:00
2f90a45f43#1036 Remove 'allowSpeed' option - Option is no longer needed as the plugin user can configure how/if the speeds should be restored now
ljacqu
2017-03-24 21:26:34 +01:00
3e95d30c6bImprove dependency graph task - Simplify logic for converting a dependency description to its display name - Add new common supertypes
ljacqu
2017-03-23 23:15:04 +01:00
dfd81b069aFix titles in readme
ljacqu
2017-03-23 10:43:29 +01:00
32a664ef59Update checkstyle config and CodeClimate exclusions - Add new checkstyle checks: require Javadoc on large private methods, default in switch, declaration order & others - Update path exclusions in CodeClimate config to match newly renamed classes (e.g. PHPBB -> PhpBB) - Create consistency check testing that excluded paths exist as classes - Fix some trivial violations
ljacqu
2017-03-23 10:34:28 +01:00
e77828b228Update docs / update recovery code command in email message - Update docs to reflect new commands, configurations (account recovery, limbo handling) and messages - Change message for the recovery code email to contain the new command
ljacqu
2017-03-22 23:14:02 +01:00
ce40b3798bAdd logging for when a player changes their password or has a new one generated
EbonJaguar
2017-03-22 17:54:30 -04:00
4053a0e328If recovery code is required, dont send new password
EbonJaguar
2017-03-22 17:11:18 -04:00
da8b33f1bcMake Travis update JDK 8 version
ljacqu
2017-03-22 08:55:18 +01:00
7dbf5551c9Cleanup: avoid injecting Injector directly - Inject SingletonStore to restrict the possible functions - Refactor PasswordSecurityTest to correspond to the usual way of testing
ljacqu
2017-03-21 22:59:21 +01:00
4e54fa4a4eRestrict changing password after recovery to the same username
Gnat008
2017-03-21 17:38:53 -04:00
d19748fe5b#1034 Debug commands: permission checker + data statistics - Create debug command to check if a player has the given permission - Create debug command that outputs the size of various caches / DB info / number of saved instances in injector
ljacqu
2017-03-21 22:00:21 +01:00
ed0126d06cAdd a couple tests
Gnat008
2017-03-21 16:48:20 -04:00
3c45ca8425#1100 Check that auth exists for /email show - This case should never happen, but better to be safe
ljacqu
2017-03-20 20:57:09 +01:00
7f16e80442Add EqualsHashCode check to checkstyle config - Enables checkstyle verification that hashCode() is overridden if equals(Object) is overridden (and vice versa)
ljacqu
2017-03-18 20:24:25 +01:00
603217f894Minor - add DS_Store to gitignore
ljacqu
2017-03-17 19:48:42 +01:00
8f197bbebf#1128 Rename converter classes to start with uppercase letter
ljacqu
2017-03-17 19:28:40 +01:00
6bd0b7c4e0#1128 Rename files to match new case of Java classes
ljacqu
2017-03-17 19:17:38 +01:00