ljacqu
e75cff5fb8
Remove static injections in ListenerService
...
- Get other classes via Inject annotation
- Remove no longer needed Utils methods (relates to #736 )
- Create tests for ListenerService and AuthMeBlockListener
- Performance improvement: keep unrestricted names as Set instead of List for faster contains() method
2016-06-02 12:46:54 +02:00
ljacqu
02079f1f5c
#432 Create custom dependency injector
2016-04-27 22:49:20 +02:00
ljacqu
59d3bc95c0
Move getOnlinePlayers() from Utils to BukkitService; delete Wrapper
2016-04-23 15:24:41 +02:00
ljacqu
3674ac087c
Code householding + settings migration
...
- Migrate and remove unused properties in legacy Settings
- Add forgotten space in Register command
- Fix javadoc errors shown on Jenkins
2016-04-15 15:17:58 +02:00
ljacqu
e2b50b72a5
Get player via BukkitService; add unit tests for commands
2016-04-08 19:56:44 +02:00
Gabriele C
ee177e8a3a
Remove the IPManager
...
We don't need it anymore
2016-04-08 14:34:21 +02:00
ljacqu
9ea75c502c
#567 Move email validation logic to validation service
2016-04-03 20:44:13 +02:00
DNx5
ff17e4ca6b
Minor improvement.
2016-04-01 13:05:26 +07:00
DNx5
f7408c3e14
Improve AutoPurge feature, #627
2016-04-01 11:32:13 +07:00
ljacqu
8b27444a49
#421 Create PluginHooks
...
- PluginHooks manages third-party plugins and allows to perform actions and queries on them, instead of public fields on the AuthMe main class
2016-03-12 18:24:34 +01:00
ljacqu
dede592c55
#547 add process service to AsyncJoin
2016-02-28 20:03:06 +01:00
ljacqu
42ae30ed3a
#450 Move Settings#isEmailCorrect to Utils class
2016-01-31 21:22:19 +01:00
DNx5
fa31fd92b8
Fix #417
2016-01-07 14:14:08 +07:00
ljacqu
531327dd9b
Minor - make AuthMe.database private
...
- In favor of AuthMe.getDataSource()
2015-12-29 11:55:57 +01:00
ljacqu
74ceb66430
#306 Remove singleton getters in admin commands
...
- Note: this commit does not remove all singleton getters
2015-12-26 17:57:53 +01:00
games647
8c1eef3f59
Remove gamemode and flying switching
...
Fixes Xephi/AuthMeReloaded#355
Fixes Xephi/AuthMeReloaded#320
Fixes Xephi/AuthMeReloaded#258
Fixes Xephi/AuthMeReloaded#246
2015-12-23 15:00:44 +01:00
ljacqu
bfebf6dc44
Add tests for CommandUtils, move purgeDirectory to its only use
2015-12-14 21:37:20 +01:00
Gabriele C
e4fbe4ec53
Fix npc issues ( #320 )
...
This will fix 1 bug..... and will generate new ones! :P
2015-12-08 20:52:45 +01:00
DNx5
93484a3449
Merge remote-tracking branch 'origin/master' into authme-process
...
Conflicts:
src/main/java/fr/xephi/authme/cache/limbo/LimboCache.java
src/main/java/fr/xephi/authme/listener/AuthMePlayerListener.java
src/main/java/fr/xephi/authme/process/register/AsyncRegister.java
src/main/java/fr/xephi/authme/settings/Settings.java
2015-12-05 03:23:50 +07:00
Tim Visée
fdc747d007
Refactored player permissions enum, to make the name suit better
2015-12-01 16:19:05 +01:00
DNx5
8a6ab3edb5
Setup unrestricted names into lowercase.
2015-12-01 02:14:28 +07:00
ljacqu
364583e7db
Change use of String permissions to the permission enums
2015-11-28 21:59:29 +01:00
ljacqu
b916a38d80
Fix UtilsTest and replace the last test setups not to use reflections
2015-11-28 17:13:33 +01:00
ljacqu
77f2f80eaf
Testing - start change to non-reflection WrapperMock test setup
2015-11-26 22:25:02 +01:00
ljacqu
93cddb7a5c
Merge enum branch into master
2015-11-26 21:45:06 +01:00
DNx5
0601ab0e40
Remove unauthenticated chat recipients
...
only authenticated players can see the chat
2015-11-26 07:03:22 +07:00
ljacqu
498c3342f2
Create Wrapper as singleton; fix UtilsTest
2015-11-25 22:34:27 +01:00
ljacqu
0065a6a827
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into enums
2015-11-24 23:32:54 +01:00
Gabriele C
2c0d140da9
Try to fix NPC issues
2015-11-24 23:23:51 +01:00
ljacqu
72fe710b8c
Fix UtilsTest, create MessageKeyTest
2015-11-24 22:21:36 +01:00
ljacqu
e4c82e04ff
Merge upstream/master into ljacqu/enums
2015-11-24 21:59:55 +01:00
Gabriele C
fb6ddb4b59
Cleanup
2015-11-24 17:47:10 +01:00
DNx5
e39ab8a644
removed old GeoIP data check.
2015-11-24 22:08:09 +07:00
DNx5
5be476e2d6
ignore yaw changes in player move event.
2015-11-24 21:55:55 +07:00
DNx5
8e9bfc6299
update playerloginevent and some listener.
...
i hope it will fix the lag issues.
2015-11-24 07:15:58 +07:00
ljacqu
16a69d4126
Merge upstream/master into ljacqu/enums
2015-11-23 23:31:26 +01:00
ljacqu
6422f90114
Create Wrapper for instances / revise MockUtils
...
- Add test resources folder
- Create basic test for Messages (todo: add concrete tests)
- Create WrapperMock
- Change UtilsTest (todo: make it work)
2015-11-23 23:25:03 +01:00
Tim Visée
09067ddbd1
Removed redundant code, fixed some warnings, other minor fixes
2015-11-23 22:18:04 +01:00
Tim Visée
82bf0f45ca
Finalized some fields, removed redundant code, various other fixes
2015-11-23 22:14:03 +01:00
Tim Visée
36c50c4507
Reformatted code with new code style
2015-11-23 21:46:34 +01:00
Tim Visée
2e868c7492
Reformatted all code files, cleaned up the project
2015-11-23 21:33:08 +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
Gabriele C
69a09aec17
cleanup
2015-11-22 21:06:08 +01:00
ljacqu
e456203fc6
Refactor Utils#getOnlinePlayers and add background info
2015-11-22 01:30:07 +01:00
ljacqu
fc3f685de0
Create UtilsTest
...
Had to create a getGameServer() method in AuthMe in order to be able to catch this call in tests and replace it with a mock implementation of the actual server. The supertype method getServer() is declared as final, which makes it impossible to mock with Mockito.
While there are frameworks that manipulate the bytecode to mock final calls, it is much easier and less risky to simply delegate the server retrieval through another method.
2015-11-21 23:09:04 +01:00
Tim Visée
e45aa88504
Fixed result not being returned
2015-11-21 21:03:50 +01:00
Tim Visée
89b5444d69
Fixed addNormal method, updated it's JavaDocs
2015-11-21 20:50:12 +01:00
Tim Visée
7902cd87bb
Added return statement for setGroup method, updated it's JavaDocs
2015-11-21 20:47:56 +01:00
Tim Visée
6dc4066563
Added group support check to setGroups method in Utils class
2015-11-21 16:08:41 +01:00
Tim Visée
69d6518b30
Improved setGroup method in Utils class, to replace legacy permissions code
2015-11-21 16:03:00 +01:00