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
Xephi59
121dd7e6fb
Add Spigot API - 1.9 PlayerSpawnLocationEvent
2016-05-02 02:13:19 +02:00
ljacqu
1f0f3f1bea
#675 Clean up country protection code
...
- Move validation to validation service
2016-04-30 14:11:38 +02:00
games647
c8b191fda0
Add warning if hideTablist is not compatible with the mc version
...
(Fixes #680 )
2016-04-30 13:05:31 +02:00
ljacqu
e6dacd6951
Merge branch 'master' of https://github.com/AuthMe-Team/AuthMeReloaded into 432-dependency-injection
2016-04-30 12:17:33 +02:00
ljacqu
3c6415a6a4
#432 Use injector instantiate hash algorithms
2016-04-30 12:17:18 +02:00
ljacqu
908399e271
#432 Injector - prevent static field injection, add more tests
2016-04-30 10:44:32 +02:00
ljacqu
b32e5da4c5
#611 Admin unregister forces player to register even for optional registration
...
- Make /authme unregister behave the same way as /unregister for optional registration: user is informed but can continue playing; no teleportation to spawn
2016-04-30 09:30:52 +02:00
ljacqu
2c491803d3
Injector - disallow static PostConstruct methods, add more tests
2016-04-29 23:49:03 +02:00
ljacqu
7f44ecdb40
Create event consistency test + test code cleanup
2016-04-29 22:39:46 +02:00
ljacqu
8d489efffd
#683 Plaintext to SHA256: Add warning message + skip SHA hashes
...
- Add message not to stop the server before conversion finishes
- Skip hashes starting with $SHA$ during conversion
- Create unit tests
2016-04-29 21:58:32 +02:00
ljacqu
077cb242f0
#550 Show welcome message only after login
...
- Never send welcome message just after registration (with no subsequent login)
- Always run force command options upon registration
2016-04-29 21:16:42 +02:00
ljacqu
ee08eb9efb
Replace Java 1.8 method with 1.7
2016-04-27 23:15:32 +02:00
ljacqu
5963628fa6
#432 Add field injection to AccountsCommand
2016-04-27 22:59:44 +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
a78e0408c6
#449 Remove use of legacy settings in encryption methods
2016-04-23 12:46:30 +02:00
ljacqu
0dab887848
Code householding
...
- Various migrations from legacy settings to new settings
- PlayerListener: use shouldCancelEvent() to see if chat should be canceled
- Merge permission manager listener with general server listener
2016-04-23 00:18:03 +02:00
ljacqu
1182b58b99
Player listener - migrate legacy setting use to new settings
2016-04-22 21:55:25 +02:00
ljacqu
2cd43d599d
Minor - MyBB has alphanumerical salts, not restricted to hexadecimal
2016-04-22 21:24:37 +02:00
games647
c67527aac0
Fix vanished players are visible after join ( Fixes #670 )
2016-04-22 17:04:46 +02:00
ljacqu
00cb01b3bd
#663 Don't print stacktrace when encountering invalid hash formats
2016-04-21 18:05:47 +02:00
ljacqu
e818395575
#667 /authme switchantibot throws NullPointerException
...
- Antibot was not provided to CommandService (from where it's retrieved in the SwitchAntiBot command) because it was initialized afterwards
2016-04-20 21:39:13 +02:00
ljacqu
37fb29f8b9
#638 Register with Wordpress fails with SQL exception
...
- Remove semicolon in query, looks like executeBatch() does not like it
2016-04-20 21:22:57 +02:00
Gabriele C
4911499333
Allow player falling, avoid useless lag and deny jumps! #618
2016-04-15 22:16:13 +02:00
Gabriele C
4040cd9ba6
#658 Add hide_chat setting
2016-04-15 21:50:32 +02:00