Commit Graph

1175 Commits

Author SHA1 Message Date
ljacqu
9a68aa5517 Proper Javadoc example / add test for StringUtils
- Proper example for the purpose of javadoc and how it could look like
- Fix containsAny to be null safe
- Add tests
2015-11-21 08:28:53 +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
504106f835 Added base of setGroup method in permissions manager 2015-11-21 03:01:45 +01:00
Tim Visée
06d6bd4a7e Fixed formatting in PermissionsManager class 2015-11-21 02:43:32 +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
adcd70b91d auto cleanup 2015-11-21 01:15:52 +01:00
Gabriele C
ada992785c login process cleanup 2015-11-21 00:36:46 +01:00
Gabriele C
68ae6ee701 remove useless inventory store event 2015-11-20 23:59:25 +01:00
Gabriele C
d6355adb51 cleanup 2015-11-20 23:52:20 +01:00
Gabriele C
ba483af807 fix project layout 2015-11-20 23:43:26 +01:00
Gabriele C
35ef562d35 Update pom.xml 2015-11-20 23:36:25 +01:00
Gabriele C
4d2e48ede7 Merge pull request #67 from ljacqu/unit-tests
Unit tests
2015-11-20 23:23:49 +01:00
ljacqu
84de22c9c0 Refactor Log4JFilter and improve branch coverage 2015-11-20 23:17:50 +01:00
ljacqu
019390dfe0 Add unit test dependencies and create test for Log4JFilter
Note that the new dependencies in the pom have the scope set to test, so
they will not be included into the built artifact. A first test class
illustrates the general way unit tests can be set up with JUnit, Mockito
and Hamcrest matchers.
2015-11-20 23:00:13 +01:00
Tim Visée
4978f195f8 Use different logger in permissions manager 2015-11-20 20:50:45 +01:00
Tim Visée
9932242f6f Merge pull request #66 from AuthMe-Team/PermissionsManager
Created permissions manager, with proper permissions support
2015-11-20 20:42:06 +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
8ba126b681 Updated permissions checking system in command handler 2015-11-20 20:13:23 +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
eae6eb384f Updated soft depends 2015-11-20 20:04:59 +01:00
Tim Visée
5e7e7a14fd Added comment to permissions manager 2015-11-20 20:03:44 +01:00
Tim Visée
71e24fe80a Improved permissions manager 2015-11-20 20:01:43 +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
f17f1fe5fb Fixed plugin listener 2015-11-20 19:56:06 +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
Tim Visée
fa28bb6d20 Added PermissionsEx dependency 2015-11-20 19:50:20 +01:00
Tim Visée
facc09a933 Added PermissionsEx repository 2015-11-20 19:49:55 +01:00
Tim Visée
1acbd99002 Added required permissions library for bPermissions 2015-11-20 19:48:48 +01:00
Tim Visée
a629d99922 Added required permissions libraries 2015-11-20 19:46:03 +01:00
Tim Visée
e3c4655b19 Added new permissions manager class, based on DungeonMaze's one 2015-11-20 19:43:10 +01:00
DNx5
9a79332933 add getPlayer method into Utils class 2015-11-17 09:32:33 +07:00
DNx5
3e1c7edb2d reorder isAuthAvailable call 2015-11-17 08:47:14 +07:00
DNx5
6bc5bb3cb1 optimize some code. 2015-11-17 06:54:24 +07:00
DNx5
f6c6a7c6d4 update and cleanup PlayerAuth 2015-11-17 05:04:34 +07:00
Xephi
4a49809ff2 Change to is Empty 2015-11-16 18:52:54 +01:00
DNx5
6f1af92a58 remove speed already done in join process 2015-11-15 04:49:03 +07:00
DNx5
1af937651c fix geoip lagging if server cant download the file. 2015-11-15 04:24:36 +07:00
Alexandre Vanhecke
f533d6462b Merge pull request #65 from Xephi/master
Merge pull request #266 from AuthMe-Team/master
2015-11-11 01:54:38 +01:00
Alexandre Vanhecke
e509766be8 Merge pull request #266 from AuthMe-Team/master
Rewrite Email system
2015-11-11 01:54:16 +01:00
Xephi59
8dadcbd7dd Remove useless Exclusion 2015-11-11 01:52:45 +01:00
Xephi59
3b802d03b1 Add non html content 2015-11-11 01:50:23 +01:00
Xephi59
46d39c7864 Fix attachment 2015-11-11 01:49:15 +01:00
Xephi59
a9a057c278 Fix Pom 2015-11-11 01:42:19 +01:00
Xephi59
10606a22e6 Change default mail api to apache one 2015-11-11 01:28:04 +01:00