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
38cc217cff
Revert certain JavaDoc changes
...
Ideally JavaDoc should provide additional information to the developer
as to the method's purpose and usage. Typically you do not add the
return type of the method and the parameter's types since this can be
seen in the code.
A short description of what the parameter really is (e.g. a String can
hold many types of information) is a lot more beneficial. A JavaDoc
statement simply restating the parameter types and the method name is,
put bluntly, simply noise, since all of these things are already
contained in the code itself.
Similarly, @see references are great for pointing to other, related
methods but aren't very helpful to point to a superclass method (the
implemented or overriden method) since it is implied by @Override. A
developer can navigate easily to the superclass method with any
reasonable IDE.
2015-11-21 07:41:56 +01:00
Tim Visée
5ff9b7550e
Combined Plugin and Server listener, removed plugin listener
2015-11-21 02:33:59 +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
d6355adb51
cleanup
2015-11-20 23:52:20 +01:00
Tim Visée
4978f195f8
Use different logger in permissions manager
2015-11-20 20:50:45 +01:00
Tim Visée
a4b2306e16
Added some comments to legacy permissions methods
2015-11-20 20:23:52 +01:00
Tim Visée
3500ee6fb7
Replaced code that used legacy deprecated permissions methods
2015-11-20 20:23:03 +01:00
Tim Visée
33ca2691b2
Updated deprecated information for legacy permission methods
2015-11-20 20:16:02 +01:00
Tim Visée
10b69403fc
Deprecated legacy permissions methods
2015-11-20 20:11:46 +01:00
Tim Visée
ffd36ba325
Updated authmePermissable methods in main class
2015-11-20 20:08:02 +01:00
Tim Visée
82e65250b8
Added permissions manager to main class, along with a setup and get method
2015-11-20 20:01:31 +01:00
Tim Visée
5df1dc2dfb
Created plugin listener
2015-11-20 19:55:19 +01:00
Tim Visée
66365d6cf9
Removed unused code
2015-11-20 19:53:00 +01:00
Xephi59
10606a22e6
Change default mail api to apache one
2015-11-11 01:28:04 +01:00
Gabriele C
8a4f2c5ef8
I love to clean code and stuff
2015-11-10 19:28:17 +01:00
Gabriele C
7f4db3a85b
cleanup
2015-11-10 18:38:01 +01:00
Gabriele C
d4498521c3
Remove useless hikari sqlite mode
2015-11-08 01:35:13 +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
Gabriele C
3fc2bcde6d
Merge pull request #61 from timvisee/master
...
Moved Utils class to util package
2015-11-01 23:31:26 +01:00
Tim Visée
3643afdea3
Moved Utils class to util package
2015-11-01 23:29:47 +01:00
Gabriele C
43327e9892
Merge pull request #60 from timvisee/master
...
Added intelligent command manager and help system
2015-11-01 23:24:53 +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
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
a36553f75f
Implemented the changepassword command
2015-11-01 20:57:13 +01:00
Tim Visée
5093e8ff78
Implemented the register command (2)
2015-11-01 20:51:16 +01:00
Tim Visée
6e222c1bc9
Implemented the login command
2015-11-01 19:13:55 +01:00
Tim Visée
e3a6c73b58
Implemented the switchantibot command
2015-11-01 18:41:03 +01:00
Tim Visée
2fcb5f1183
Added plugin name and version constants, implemented these
2015-11-01 16:58:13 +01:00
Tim Visée
7463d123e9
Disabled legacy /authme command
2015-11-01 16:54:42 +01:00
Tim Visée
690c7d9532
Added CommandHandler instance
2015-11-01 16:13:34 +01:00
Gabriele C
7cea79eefc
cleanup
2015-11-01 14:41:41 +01:00
vanhec_a
f722fa161a
Add a join blocker in case Cache Loading
2015-10-31 17:34:16 +01:00
Gabriele C
9c19f568fd
fix conflict
2015-10-12 17:51:05 +02:00
vanhec_a
5b98759b61
Change how purge logged works at starting/stopping server
2015-10-12 15:01:57 +02:00
vanhec_a
3c0e6e06c7
Fix some case when connection is not available
2015-10-12 14:57:56 +02:00
Gabriele C
41bbbf0a96
custom graphs
2015-10-10 00:31:47 +02:00
Gabriele C
3567fc909d
Organize imports
2015-10-09 19:18:24 +02:00
Gabriele C
a502a479b8
Fix compatibility
2015-10-06 21:04:06 +02:00
Gabriele C
807d302b60
1.5.2 compatibility
2015-10-06 19:17:03 +02:00
Gabriele C
aac4320f46
Fix build
2015-10-06 17:11:14 +02:00
Gabriele C
7aea267051
Fix conflict
2015-10-06 17:03:59 +02:00
vanhec_a
99fca1cb20
Fix Import
2015-10-06 12:32:12 +02:00
DNx5
4d4931af3f
added reload function into module manager
2015-10-06 08:08:32 +07:00