Xephi
37b6a2f96f
Enable antibot automatically and check for bot into AsyncPreLogin #719
2016-05-23 10:03:10 +02:00
ljacqu
53043ddc0d
Create tool task that checks Mock fields of test classes
2016-05-21 11:54:54 +02:00
Gabriele C
6af65e6cd4
Fix wrong logic (my fault)
2016-05-20 22:02:26 +02:00
Gabriele C
6285a2137f
Revert "Idk why, but it doesn't work!"
...
This reverts commit 0c2ee34db392a705e1a2335acfc8a74398054ce9.
2016-05-20 22:00:52 +02:00
Gabriele C
0c2ee34db3
Idk why, but it doesn't work!
2016-05-20 21:27:47 +02:00
ljacqu
5adf819910
Minor - remove unused services from PurgeCommand
...
- Found by sgdc3 in 95b65ae20a855d8d89aa42432553fc6f051b5c46
2016-05-20 18:03:22 +02:00
ljacqu
244e1a2b7d
Injector - don't use instantiation fallback if PostConstruct method is present
...
- Do not instantiate classes with instantiation fallback if they have a PostConstruct method - thanks @sgdc3 for the hint
- Change Injector test to check exception messages also
2016-05-20 17:57:14 +02:00
Gabriele C
2edcb703c1
Wtf was that? D:
2016-05-20 15:53:39 +02:00
Gabriele C
8dd5420e1a
Whoops
2016-05-20 15:46:46 +02:00
Gabriele C
4303dca469
Apply no teleport to the respawn listener, remove Settings usage from the PlayerListener
2016-05-20 15:45:34 +02:00
Gabriele C
6abad1970c
Revert "Cleanup"
...
This reverts commit 95b65ae20a855d8d89aa42432553fc6f051b5c46.
2016-05-20 14:58:41 +02:00
Gabriele C
92287cb5dd
Delay the first "please login/register" message on join
2016-05-19 23:18:16 +02:00
Gabriele C
95b65ae20a
Cleanup
2016-05-19 23:06:55 +02:00
ljacqu
4d634086cd
#701 Alternate accounts are shown to all players with their own name
2016-05-19 22:02:15 +02:00
ljacqu
f014485789
Service injector - implement stricter requirements for PostConstruct methods
...
- Implement similar restrictions as prescribed by the PostConstruct documentation:
- Class may have at most one method annotated with PostConstruct
- PostConstruct method must return void
- Javadoc: replace mentions of injector construction where any injection method was meant
2016-05-19 21:50:48 +02:00
ljacqu
14002ee75c
#704 Reload settings of ConsoleLogger on /authme reload
2016-05-19 19:46:02 +02:00
ljacqu
92a8a5dd41
#704 Remove reloading from hash algorithms
...
- A new instance is created for every hash operation, so reloading will never happen on those classes
2016-05-18 19:09:38 +02:00
Gabriele C
df2329fd9a
Fix conflict
2016-05-16 16:27:59 +02:00
Xephi59
9db330646e
Try to fix #419
2016-05-15 17:52:54 +02:00
games647
0fc7674aa4
Introduce isLogin() for backwards compatibility with Plugins like
...
GuiRules (Fixes #705 )
2016-05-14 14:40:56 +02:00
Gabriele C
c2c60caa5b
Revert "Fix #705 "
...
This reverts commit 9e688b410dac6e9f906aa95a00e073f912769bc2.
2016-05-14 14:33:30 +02:00
Gabriele C
9e688b410d
Fix #705
...
Idk why the player becomes null, maybe the isOnline check is enought
2016-05-14 00:25:24 +02:00
ljacqu
e04f7dc711
#704 Implement reloading via injector
...
- Create interfaces Reloadable and SettingsDependent to recognize reloadable classes
- Iterate through instances in injector to reload
2016-05-12 19:51:10 +02:00
games647
5c850e46c4
Clean up a bit
2016-05-11 17:16:29 +02:00
games647
4bad04b160
Add debug statements for finding the source of #419
2016-05-11 16:57:41 +02:00
games647
b1957c9812
Do not lookup twice for banned players
2016-05-09 21:51:21 +02:00
games647
45ddacc88a
Merge origin/master into balancedPurge
2016-05-09 21:16:39 +02:00
ljacqu
223f56425b
#699 Unit test that config.yml values correspond to property defaults
...
- Create unit test
- Correct offending values
2016-05-09 21:15:11 +02:00
games647
3673e15ff7
Fix missing change from ee08087871955a7387d6360713b9974bca53f159
...
(Fixes #697 ) Thanks to @ljacqu for pointing that out
2016-05-09 21:04:38 +02:00
games647
74041725fa
Collect offline players only once
2016-05-09 13:17:20 +02:00
games647
0bd6ac5cc8
Make the purge progress run more balanced ( Fixes #696 )
2016-05-09 13:09:40 +02:00
ljacqu
b728b297b8
#256 Add migration for moved properties
2016-05-08 22:30:53 +02:00
games647
ee08087871
Fix a couple race conditions ( Fixes #698 and #697 )
2016-05-08 20:44:18 +02:00
ljacqu
8e878d6a5a
Remove BukkitService from CommandService, inject where needed instead
2016-05-08 13:50:20 +02:00
ljacqu
5e5836f167
#432 Injector improvements
...
- Separate FieldInjection from default fallback for no-Inject public no-args constructor classes
- Make CommandInitializer a normal, instantiable service
- Add various injections instead of fetching through command service
2016-05-08 11:15:56 +02:00
Gabriele C
3e6223dc5a
I'm so stupid
2016-05-05 23:01:06 +02:00
Gabriele C
09e2845cea
Delete unused Profiler
2016-05-05 19:43:12 +02:00
Gabriele C
76a1ff29b0
Start working on #423
2016-05-05 19:36:26 +02:00
Gabriele C
dc65a4bd39
Fix #439
2016-05-05 19:16:08 +02:00
Gabriele C
7c52460c87
Merge branch 'pre-injector'
2016-05-04 18:03:33 +02:00
Gabriele C
1ea2f98727
Start working on #687
...
Next step: Future return of the async registration
2016-05-04 18:01:47 +02:00
Gabriele C
f38d3b4545
Remove deprecated method usage
2016-05-04 17:35:04 +02:00
Gabriele C
5ceabe2146
Cleanup
2016-05-04 17:26:58 +02:00
ljacqu
23317caa46
Merge pull request #125 from AuthMe-Team/432-dependency-injection
...
432 dependency injection
2016-05-03 18:54:35 +02:00
NoChanceSD
0ea95fb93c
Simplify force spawn location settings by grouping them
...
Also, seems to work fine. Closes https://github.com/Xephi/AuthMeReloaded/issues/256
2016-05-03 16:36:05 +01:00
ljacqu
491dc06de4
Fix RegisterAdminCommand test verifying that online player is kicked
2016-05-02 19:57:54 +02:00
ljacqu
f76a68cb26
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 432-dependency-injection
...
Conflicts:
src/main/java/fr/xephi/authme/AuthMe.java
src/main/java/fr/xephi/authme/command/executable/authme/RegisterAdminCommand.java
src/main/java/fr/xephi/authme/hooks/PluginHooks.java
src/main/java/fr/xephi/authme/listener/AuthMePlayerListener.java
src/main/java/fr/xephi/authme/listener/AuthMeServerListener.java
src/test/java/fr/xephi/authme/command/executable/authme/RegisterAdminCommandTest.java
2016-05-02 19:48:12 +02:00
ljacqu
9af596327a
#432 Inject in commands: DataSource / AntiBot / PasswordSecurity / PlayerCache
...
- Inject the services instead of passing them through the command service
2016-05-02 18:52:34 +02:00
Xephi59
20a237dbdf
[DEV] This test would fail until player couldn't be returned as he was
...
kicked
2016-05-02 03:38:25 +02:00
Xephi59
e97b4641a1
Kick player only Synchronously
2016-05-02 02:39:53 +02:00