Commit Graph

68 Commits

Author SHA1 Message Date
Tim Visée 36c50c4507 Reformatted code with new code style 2015-11-23 21:46:34 +01:00
AuthMe-Team 9ec2d6d059 Stuff from the common floobits workspace
Author:    AuthMe-Team <AuthMeTeam@123NoEmail.com>
2015-11-23 20:23:52 +01:00
ljacqu e456203fc6 Refactor Utils#getOnlinePlayers and add background info 2015-11-22 01:30:07 +01:00
Gabriele C 579c51f4a2 Remove the old Vault group management system. (THIS COMMIT BREAKS THE COMPILATION) 2015-11-21 20:16:07 +01:00
ljacqu 58dc15123c Add tests for LogoutCommand and RegisterCommand. Add more generic mockUtil 2015-11-21 17:18:45 +01:00
ljacqu 4e8614fdf7 Add test for LoginCommand; create AuthMe mock test util
Had to create a getter for the Management instance in the AuthMe class for mocking, but fields should generally not be accessed globally. Hopefully soon we will be able to make the field private.
2015-11-21 17:18:28 +01:00
ljacqu d81ef3168e Command refactor - remove unused fields, reduce variable "scope"
Minor refactorings in the command section for familiarization.

1. Removed suppressWarning("Deprecated") - the method is deprecated for a reason and we should be made aware of that.
2. Removed same javadoc on ExecutableCommand implementation that just had the same as the interface (this is just clutter; @Override signals that it's an implementing class and a developer can view the superclass javadoc)
3. In places where the AuthMe instance was retrieved at the top but used at the very bottom, moved it to the bottom to reduce its "scope"
2015-11-21 17:18:14 +01:00
Gabriele C bd1f868c6d standard javadoc 2015-11-21 01:31:18 +01:00
Gabriele C 118c79401a Prepare the project for javadocs 2015-11-21 01:27:06 +01:00
Gabriele C adcd70b91d auto cleanup 2015-11-21 01:15:52 +01:00
Tim Visée 3500ee6fb7 Replaced code that used legacy deprecated permissions methods 2015-11-20 20:23:03 +01:00
Gabriele C ddda62aa14 cleaup 2015-11-07 00:13:29 +01:00
DNx5 375162ab67 update email commands to use new async process 2015-11-03 14:41:05 +07:00
DNx5 ce432aa25a add exception to datasource method signature. 2015-11-03 12:38:24 +07:00
DNx5 872856e729 create teleportTospawn method in Utils class 2015-11-03 03:42:02 +07:00
Tim Visée 6d46827936 Removed unused TODO 2015-11-02 20:20:59 +01:00
Tim Visée 9bcc210428 Updated developer in version command according to team.txt 2015-11-02 13:22:43 +01:00
Gabriele C 5e7c5560cf Cleanup2: The Revenge 2015-11-02 00:09:40 +01:00
Gabriele C e60a5190f9 Fix conflict
Conflicts:
	src/main/java/fr/xephi/authme/AuthMe.java
2015-11-01 23:37:12 +01:00
Gabriele C 175da3f6fc Cleanup! 2015-11-01 23:35:10 +01:00
Tim Visée 3643afdea3 Moved Utils class to util package 2015-11-01 23:29:47 +01:00
Tim Visée 0fbeefc488 Reverted javax mail implementation 2015-11-01 23:16:09 +01:00
Tim Visée 40fc2c893d Fixed captcha command dependency initializing too early 2015-11-01 21:49:47 +01:00
Tim Visée dc0129d980 Implemented convert command 2015-11-01 21:44:13 +01:00
Tim Visée bd6a95c3a8 Implemented the captcha command, fixed permissions for email commands
Implemented the captcha command.
Fixed missing permission configurations for all email commands.
2015-11-01 21:36:56 +01:00
Tim Visée 3e16866b23 Implemented the email recover command 2015-11-01 21:28:17 +01:00
Tim Visée b10d3d3974 Implemented the email change command 2015-11-01 21:26:00 +01:00
Tim Visée 4c536a5204 Implemented the email add command 2015-11-01 21:20:08 +01:00
Tim Visée 7f63056cc9 Implemented the unregister command 2015-11-01 21:06:19 +01:00
Tim Visée ebefca73b7 Implemented the logout command 2015-11-01 21:00:41 +01:00
Tim Visée ebd25e16a0 Moved authme command 2015-11-01 20:57:33 +01:00
Tim Visée a36553f75f Implemented the changepassword command 2015-11-01 20:57:13 +01:00
Tim Visée ae76759dc0 Implemented the register command 2015-11-01 20:50:25 +01:00
Tim Visée 1fad2b401c Removed unused code 2015-11-01 20:17:52 +01:00
Tim Visée 67ad350754 Moved help command 2015-11-01 19:26:04 +01:00
Tim Visée 7700799e82 Forced the password parameter for login command 2015-11-01 19:19:50 +01:00
Tim Visée 6e222c1bc9 Implemented the login command 2015-11-01 19:13:55 +01:00
Tim Visée 913ba56343 Implemented the base of the resetname command 2015-11-01 19:03:23 +01:00
Tim Visée afd46edb39 Implemented the forcelogin command 2015-11-01 18:57:28 +01:00
Tim Visée 14eb8e28cf Implemented getip command 2015-11-01 18:54:03 +01:00
Tim Visée c11ca35774 Improved the switchantibot command 2015-11-01 18:46:57 +01:00
Tim Visée e3a6c73b58 Implemented the switchantibot command 2015-11-01 18:41:03 +01:00
Tim Visée 559072b3c6 Implemented the purgelastposition command 2015-11-01 18:35:40 +01:00
Tim Visée e4d46ae9b9 Implemented the unregister command 2015-11-01 18:30:29 +01:00
Tim Visée 2d935d5fef Implemented the changepassword command 2015-11-01 18:27:25 +01:00
Tim Visée 8ead129423 Implemented the firstspawn command 2015-11-01 18:23:03 +01:00
Tim Visée c9eef4f174 Implemented the spawn command 2015-11-01 18:19:36 +01:00
Tim Visée 4ff8cb8c59 Implemented the purgebannedplayers command 2015-11-01 18:17:13 +01:00
Tim Visée ff909d0c31 Implemented the setfirstspawn command 2015-11-01 18:12:15 +01:00
Tim Visée 79dd26da0f Implemented the setspawn command 2015-11-01 18:10:24 +01:00